History log of /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c8d4e22a72c1ed4b45193ab3b3c671454771adf1 01-Mar-2016 Steve McKay <smckay@google.com> Don't show title in delete confirmation.

Also, remove "unhide" from Adapter, since it is unused.
Had to add a custom layout because Alert didn't do a
good job. LOTS of work for a yes/no!

Bug: 27205772
Change-Id: Ic20d73b54fd142287e07402877ac339300b4bbb7
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
a1f7680f535a30aa816d129c072870031c8a2eb6 25-Feb-2016 Steve McKay <smckay@google.com> Update preconditions to be asserts...

Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
76be620a6ff64196ed2ef8c098522a86b9b2adb9 12-Jan-2016 Steve McKay <smckay@google.com> Grid view padding + explicit background.

Also move section break holder into the wrapper class.

Change-Id: I949e81af180f11514aff558615cfeda44cb96a3c
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
53aaec12bc7136d2defd63f232b3fc97e1907643 08-Jan-2016 Ben Kwa <kenobi@google.com> Merge "Hide the divider in list mode."
90bf9f5f28e78ac71782907ba0b3bea4e4111f0a 08-Jan-2016 Ben Kwa <kenobi@google.com> Hide the divider in list mode.

BUG=26399570

Change-Id: I5013bf9ae80c003419f3f22dcf2a7e6787c19711
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
f5ce1035d41b590c5a25074242baed9dbd48ef3f 08-Jan-2016 Ben Kwa <kenobi@google.com> Fix home key behaviour when there are no subdirs in cwd.

The divider is extraneous when a directory contains only subdirs, or
only files. The "only dirs" case works (the divider is omitted) but in
the case where a directory contains only files, a divider gets inserted
at position 0, which messes up navigation. This change adds code to
avoid adding a divider when a directory contains only files.

BUG=26406821

Change-Id: I7333911baf94e34bf428a3dd18b55694a73e3a62
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
955e46d004cf484267aef6181722ac19ffaf073d 05-Jan-2016 Steve McKay <smckay@google.com> Fix event relay to correctly dispatch events.

This fixes:
- UI to show selection which was broken in ag/838866
- Delete undo, which throws IOB exception
when undoing a a full delete of all entries.

Change-Id: Idbb43510974e130d283313602a71ac15ad10aadf
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java
ef16f5f41106eaa89e5fdf0958e408a6faf7a5f4 23-Dec-2015 Steve McKay <smckay@google.com> Move Adapters to their own classes.

Move section break support into a separate wrapper class.
Fix issue where intermediate directory updates were briefly showing hidden files.
Add a rudimentary test for ModelBackedDocumentsAdapter.

Bug: 26293561, 26383237, 26293561, 26309025
Change-Id: I1fa489b110754d8801091b2009caebe9d2278701
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/SectionBreakDocumentsAdapterWrapper.java