e934ce6f8430f50d1d22bccd3b341b982f5541ee |
|
25-Mar-2015 |
Steve McKay <smckay@google.com> |
Implement a standalone file manager activity. Change-Id: Iaf86ef416b979cea4ab3890d3a26f09741392c3d
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
fa5ec770ec9278b471670969ca56e1bdec3d050e |
|
06-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Use system collator for display names. Continue sorting directory names first, but use system collator in case-insensitive ordering. Bug: 13545569 Change-Id: I24b314c9ef42f397bc96f474d9593bdefc0061d1
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
5d321d472d9983db52610393e6506e2b2d2da4bf |
|
29-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Guard against missing document columns. When filtering and sorting, guard against missing columns to avoid crashing entire app. Bug: 11377065 Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
954be0232655d316bc5decbbd35579af902c75c2 |
|
04-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Show loading, error, and info messages as footers. A provider can include extras in their Cursors to indicate that loading is ongoing, or include an error or informational message, which are now shown in footer views. Fix registration to always get change notifications. Test provider that verifies common provider behavior of holding a reference to "cloud" resources that are released by GC when the remote Cursor is closed. Also used to validate Recents behavior for slow providers. Bug: 10599268 Change-Id: I331c31058dbb80261e7d279b851197c65ac87e32
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
251097b3789632000ccdaf7fb7d66a82ff37d882 |
|
03-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
New recents behavior to match spec. Updated behavior queries each documents root for recently modified documents. It uses a new variant of DirectoryLoader which limits the maximum number of parallel queries to relieve memory pressure. When first started, it waits up to 500ms for everyone to finish, then publishes whatever results are ready, and then refreshes results as each straggler finishes. New RootCursorWrapper that always blends in authority and rootId columns, which are used for binding root details from blended cursors. Bug: 10593596, 10329994 Change-Id: Icc0d4a2f1b6166edc72f78a4c88f444eeba6f2f0
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
b51331116eb2ebbc41aaf69142916f9af6dffdd5 |
|
02-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Instance state, fix sharing, Durable objects. Remember instance state across configuration changes, and enable rotation. This remembers current modes and in-progress traversals. Always finish action modes after launching an action. Fix sharing by always putting Uris in extras, and always wrap in a chooser. Find common MIME types when sharing multiple documents. Fix downloads launching by following directory MIME type change. Introduce "Durable" which is like Parcelable, but can be used for both byte[] storage and Parcel transport. Make both DocumentInfo and DocumentStack durable. Disable recents until new behavior is implemented. Bug: 10460236, 10446265, 10533674, 10456344, 10456702 Change-Id: I4eaf2b0b4cde611c69a1e7b5f1586f6b02019b27
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|
5dfb345df7cb17b3a7e534a80a270b4afe7934da |
|
01-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Use Cursors directly when binding documents. Instead of creating a DocumentInfo for every list item, bind the adapter against Cursor directly. Create new SortingCursorWrapper which performs sorting at query time and keeps a O(1) mapping from sorted to unsorted positions in the underlying Cursor. Suppress extra loader passes that had been kicked off. Use unstable provider when querying to guard against broken providers. Bug: 10567506, 10510851 Change-Id: I535814da6b17c38de04a1175e0afcc78c6b966ce
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/SortingCursorWrapper.java
|