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
11 files changed
tree: 5242e380a31326613b067f73e32d29a444194c94
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. CleanSpec.mk
  7. proguard.flags