commit | fa131a2ff399fd1d544f759b063268fb4e8a3e70 | [log] [tgz] |
---|---|---|
author | Vikram Aggarwal <viki@google.com> | Thu Feb 02 13:56:22 2012 -0800 |
committer | Vikram Aggarwal <viki@google.com> | Thu Feb 02 13:56:22 2012 -0800 |
tree | 5242e380a31326613b067f73e32d29a444194c94 | |
parent | c43bc0a606e41144a780c4f873b5450e0ede0c91 [diff] |
Make ViewMode focussed and small. 1. ViewMode is no longer aware of tablet versus phone UI. This is the responsibility of the ActivityController now. 2. onViewModeChange receives the new mode as an integer rather than the ViewMode object. 3. Rather than a plethora of isXMode() isYMode() methods, client classes need to manually check getMode() against ViewMode.X ViewMode.Y constants. Change-Id: Ib06196671ad49328c40cc9237667c0a1daf328f7