Support sorting in storage UI.

Extract mode information into DisplayState which is now consistent
across directory traversal.  Use grid mode by default when working
with images.  Dialog to switch sort order.

Add testing UI to exercise until we have real clients.

Change-Id: Ic423584d4559732fb3d2aea9e0406b57d43f6e6d
6 files changed
tree: 7d8b3a5724fcff929a85b8bedffa7940cc0d6005
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml