9de5807754666ce80295d15ff681c0d4921cd5e8 |
|
20-Jan-2018 |
Felipe Leme <felipeal@google.com> |
Created a SharedMinimal helper. This class contains the bare minimum shared stuff that can be used without bloating the APK size of the minimal app that is used on Android TV. Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest Bug: 72100982 Change-Id: I29deeaeda86fa34d04d2aef2c4d20b34de2c86c1
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
028b263084b9ab70e15f8f2ed1df9545032b7dd0 |
|
26-Oct-2017 |
Geoffrey Pitsch <gpitsch@google.com> |
Fix crash when attempting to focus when no items are visible. Judging from stack, monkey test is somehow getting into a state where no items are currently visible. Safeguard this edge case from crashing. Test: docsui unittest Change-Id: I10dee1dfd8373012f4a1bedcbda851653c12f5ee Fixes: 64589752
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
365e3cb1e103bff2303aa98fc8699e5e2eab1eb5 |
|
31-Aug-2017 |
Steve McKay <smckay@google.com> |
Cleanup of Selection APIs. Improved consistency in naming, updated some docs... baby steps, much more documentation is needed. Replace "Manager" noun w/ "Helper" noun for better consistency with RecycleView naming standards. Cleanup idiosyncracies in usage is DocumentsUI. Make SelectionManager responsible for notifying RecyclerView of selection changes allowing all notifications to be isolated in the listener interface. This also eliminates a requirement that Adapter implementations add plumbing to dispatch item change notifications to RecyclerView. Bug: 64847011 Test: Increased coverage. Change-Id: Icdf3815f2f4bbce8751d740d362228a204666f35
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
53c8e803529c01faf6cefe60b25f75cc65f0537d |
|
21-Aug-2017 |
Steve McKay <smckay@google.com> |
Extract SelectionManager interface. This will be necessary to decouple selection manager from DocumentsUI. Why? In order eliminate the "reset" method that DocumentsUI depends on to accommodate it's fragment transaction model...without incuring further DocumentsUI refactoring costs. Eliminate refs to documetnsui.Shared. Update tests to not use AndroidTestCase. Change-Id: I56cc85c3659e2116203f829c6f0d46b32a6d3cb6 Bug: 64847011 Test: Small and medium passing.
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
82cc533f784ab1765296728743f2d44e296a213b |
|
19-Aug-2017 |
Steve McKay <smckay@google.com> |
Decouple SelectionManager from DocumentsAdapter. Extract interface for access to stable ids. Bug: 64847011 Test: hachiko test -b -s && hachiko -m Change-Id: I92af2e4f2f2ba30257ec2d538c384561a4f673b3
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
ed895580275101312d7d6fa6ebf78b79b4905a1e |
|
28-Apr-2017 |
Jon Mann <jonmann@google.com> |
Allow focus from mouse click Test: added unit tests and updated existing tests Bug: 32839582 Change-Id: I5526429be3cbdd10a812db06f87c06e839b3da68
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
e967033315ed64bca8c89d601d187fd12754f1fb |
|
07-Mar-2017 |
Garfield Tan <xutan@google.com> |
Lift loader to activity level. Also fix a bug that leaves DocumentsUI in a weird state if it fails to obtain root document. Change-Id: Ibb67bfd0114f45f41c0000078ca56767b5a4542b Tests: Manual tests and auto tests. Bug: 35934082
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
98f8c5f502e049a6b85439d773949cdbaa0f78ae |
|
03-Mar-2017 |
Steve McKay <smckay@google.com> |
Add Feature Flag support. Bug: 35923154 Change-Id: I34dd956e8309c779e7a3f35eadc3d84132b970ce
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
340ab17f468789bb507daeae116cf7940ba84b03 |
|
27-Jan-2017 |
Ben Lin <linben@google.com> |
Fixing Keyboard Navigation to match spec. Couple known problems still: - Tabs go to the search/sort/etc icons first, as opposed to the breadcrumb. - There's no "focus" indicator for the sort items. Test: Manually checked, works. Bug: 32411179 Bug: 34243462 Bug: 31995556 Change-Id: I39240c0bafee9236f5ea5b760eff437739074cd3
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
b62d4e5804d807703697ad7eeb85131a35ce4ab4 |
|
19-Dec-2016 |
Ben Lin <linben@google.com> |
Don't handle key events given to DocHolders of Message type. This also fixed an issue regarding toggling focus between roots and dirList. Bug: 33740063 Change-Id: I020c3a1c02cdc74b3ba3a13ff0455aff393303e9
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
92ae43d5d22331aad83e1a4302a7e1975f66354e |
|
08-Nov-2016 |
Steve McKay <smckay@google.com> |
Move Injector impl into separate class. Change-Id: I070114479755571e93b9256e0cbf35780b962033
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
047182631669608af946480c2545a10acb2ef1bf |
|
08-Nov-2016 |
Steve McKay <smckay@google.com> |
Shared input handling and injection. Change-Id: I41ae072e55ecc60b708274b5c67bed3a486bf080
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
75b7b9039cf0efcb188e916c6f510328bfe099a8 |
|
02-Nov-2016 |
Ben Lin <linben@google.com> |
Let focused item also act as a starting anchor for range selection. Bug: 31991343 Change-Id: Id59cc99a61550cd4a13feb508f13889a8598a3c9
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
d947f0192142c7db40d7dfaa8d0c6caaa1cf7c36 |
|
18-Oct-2016 |
Ben Lin <linben@google.com> |
Add Cut/Copy/Delete operation to currently focused item. Also removed ability to focus on items in the directory list while there's an on-going selection to avoid having a weird state of both focus and selection. Shift extension still works, just that once user puts focus on RootsFragment, they won't be able to focus back into DirectoryFragment. Bug: 32141890 Change-Id: I14c06f8616b63d04f0b5f489032f7006f91416a8
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
5b0a2c187a9e446b683687817d22cbe443585223 |
|
07-Oct-2016 |
Steve McKay <smckay@google.com> |
Inject SelectionManager instead of passing on reset. Move more delete functionality into ActionHandler. Make ActionModeController Activity scoped. Name most "Config" objects (relating to scope) to ContentScope. Clear focus info when resetting FocusManager. Bug: 31658228 Change-Id: I6dbdb07ded83c75b82aec5773a60ef0febb6f02c
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|
17b761eb2f837d3ac079c07fc33877d6049c3cba |
|
21-Sep-2016 |
Steve McKay <smckay@google.com> |
Add support for quick viewing files with spacebar. Make FocusManager an activity owned object. Include WRITE permission when building quick view intent. Only send APKs to Downloads managed flow.... Don't do anything w/ partial files. Change-Id: I03f2d61f852cf11fd928fc592e47aca933eb72d2
/packages/apps/DocumentsUI/src/com/android/documentsui/FocusManager.java
|