History log of /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/GridDirectoryHolder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3c09b4b9b26ca5eedaac65cafad3efba18502cb 16-Mar-2016 Ben Kwa <kenobi@google.com> DocsUI: Don't animate selection changes on all bind events.

When directory contents update, this causes all items to be bound, which
can cause flickering even though item selection state hasn't changed.

Add a boolean var to trigger UI animations only when selection changes
are triggered by the selection manager.

BUG=27680153

Change-Id: I892d8111cf3ba7e1610d94af4a1a646f1cdb5546
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/GridDirectoryHolder.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/GridDirectoryHolder.java
22937c9fc71beb045384417fe226504b1f003470 24-Feb-2016 Ben Kwa <kenobi@google.com> Type-to-focus improvements.

- Fix handling of tab and backspace keys while in type-to-search mode.
- Fix search term highlighting on directory items in grid view.
- Switch to a time-based search model. Typing starts a search. The
current search expires if no keys are pressed for 500 ms.
- Make type-to-focus case-insensitive.

BUG=27336167
BUG=27324974

Change-Id: I92633222c9a04af24729501c48885eabebf00696
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/GridDirectoryHolder.java
ddc3d21ef9da87a851b4be852b22003d65248431 08-Jan-2016 Ben Kwa <kenobi@google.com> Add checkmark icons for selection.

- Add a new checkmark icon.
- Modify the grid and list items to include the check icon in the
appropriate location.
- Add code to various DocumentHolder subclasses to cross-fade between
icons when things are selected/deselected.
- Create new dimensions quantities to represent new icon sizes.
- Clean up xml files.

BUG=24326546

Change-Id: Ib3f04c8274d35ac3b95ed13730df340e8b7c36c6
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/GridDirectoryHolder.java
f8a51f6fcbec4dbc61bab3c5a06cd62971a4df43 22-Dec-2015 Ben Kwa <kenobi@google.com> Update grid items to look more like the mocks.

- Create a new layout for directory items, which have a different
layout (no thumbnail, size or mod_date).

- Add drop shadows.

Also refactor a few things in the DocumentHolder and child classes to
make things more efficient and cleaner.

BUG=24326989,26229570

Change-Id: I05df52b071667190d4c4c671f50d25498383cdaa
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/GridDirectoryHolder.java