First pass at new system UI for download manager.
authorSteve Howard <showard@google.com>
Thu, 2 Sep 2010 01:21:32 +0000 (18:21 -0700)
committerSteve Howard <showard@google.com>
Wed, 8 Sep 2010 23:18:59 +0000 (16:18 -0700)
commit217149efdc4a559c38442da179f548e125c0afc5
treea7bc0486913bf0bc735d91ac073e8e32ea2c02db
parent6951c6304f5acad616652c0efc3f59ec4ec2a7e5
First pass at new system UI for download manager.

This is the initial checkin for a new system UI for the download
manager.  This UI shows all entries present in the Download Manager
database, sorted by either date or size.  It allows the user to
monitor status, open files, and delete/cancel entries.

The code was initially copied from the "Downloads" page of
packages/apps/Browser, since the design is based on that UI.  Much of
the code is changed, although DateSortedExpandableListAdapter is
nearly identical.

The code is not quite finished, but this is very much a working first
pass.

Change-Id: I7fe102e9f2998e57d893cc3c0f5f6da1cf2db549
18 files changed:
Android.mk
ui/Android.mk [new file with mode: 0644]
ui/AndroidManifest.xml [new file with mode: 0644]
ui/res/anim/footer_appear.xml [new file with mode: 0644]
ui/res/anim/footer_disappear.xml [new file with mode: 0644]
ui/res/drawable-hdpi/ic_launcher_drm_file.png [new file with mode: 0644]
ui/res/drawable-mdpi/ic_launcher_drm_file.png [new file with mode: 0644]
ui/res/layout/download_list.xml [new file with mode: 0644]
ui/res/layout/download_list_item.xml [new file with mode: 0644]
ui/res/layout/list_group_header.xml [new file with mode: 0644]
ui/res/menu/download_menu.xml [new file with mode: 0644]
ui/res/values/dimen.xml [new file with mode: 0644]
ui/res/values/strings.xml [new file with mode: 0644]
ui/src/com/android/providers/downloads/ui/DateSortedDownloadAdapter.java [new file with mode: 0644]
ui/src/com/android/providers/downloads/ui/DateSortedExpandableListAdapter.java [new file with mode: 0644]
ui/src/com/android/providers/downloads/ui/DownloadAdapter.java [new file with mode: 0644]
ui/src/com/android/providers/downloads/ui/DownloadItem.java [new file with mode: 0644]
ui/src/com/android/providers/downloads/ui/DownloadList.java [new file with mode: 0644]