3871fd16d026d7f37c617b999806636fa4b90e47 |
|
11-Apr-2016 |
Tomasz Mikolajewski <mtomasz@google.com> |
Fix selecting with touch in multi-window. Bug: 28068983 Change-Id: Ie3ce0540a22a352c55fa18cb5be2cde28417e556
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.java
|
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/DocumentHolder.java
|
df72a432182b175b559fe0907b09d3ad10bb6a7b |
|
08-Mar-2016 |
Steve McKay <smckay@google.com> |
Make disabled items look disabled. Update app to use color-selectors for item text. Bug: 27246583 Change-Id: I2ba0b89e4640b987da248957f8ba5e6760d1b21d
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.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/DocumentHolder.java
|
e3dfebf8464e8608ff790cca67609aff7d8c2820 |
|
19-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Enable dragon drop for touch. - Start a drag when the user long-presses on an already-selected item. - Start a drag when the user mouse-drags on an already-selected item. - Add highlighting of drop targets. BUG=20556237 Change-Id: I450fd6768eeb08906304227385476942d641fd11
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.java
|
6792489dc490eb029469f73490a560c76e84dc98 |
|
27-Jan-2016 |
Ben Kwa <kenobi@google.com> |
Refactor key handling and selection. - Pull key handling code out of the MultiSelectManager. - Tighten up the semantics around range selection: - Create an API on MultiSelectManager for handling multi-select. - Make the range selection more opinionated (e.g. more state checks), to simplify the design and code. BUG=25195767 Change-Id: I4bbe446ed3059150499db3d28e581b2e68405266
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.java
|
0436a757211bd5b485ba5e484ee37082c59e1c47 |
|
15-Jan-2016 |
Ben Kwa <kenobi@google.com> |
Rework selection handling for items in the DirectoryFragment. - Remove the gesture detector from the MultiSelectManager, and consolidate gesture detection and event dispatch logic in DirectoryFragment.GestureListener. - Route single-tap events through the DocumentHolder, so that it can apply view-specific logic, like making a tap on the item's icon select rather than activate. - Consolidate event handling logic in the ItemEventListener. - Add new unit tests for DocumentHandler. BUG=24326546 Change-Id: Id15cdd11b13e4c063c1baff95aa8ee09c190d6c3
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.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/DocumentHolder.java
|
d839149843e0b4b481da6406718a15b544c093b0 |
|
17-Dec-2015 |
Ben Kwa <kenobi@google.com> |
Refactor DocumentHolder. Primary goals of this refactor are to reduce DirectoryFragment bloat, and to simplify the code (especially the binding code) for the different layouts. - Decouple DocumentHolder from DirectoryFragment. - Move it into its own file. - Move binding code from DirectoryFragment into DocumentHolder. - Split DocumentHolder implementation into three separate subclasses, for grid items, list items, and dividers. BUG=24326989 Change-Id: I217bf4e5b8e1b33173b8b0275591a8c5d8e9161c
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/DocumentHolder.java
|