dcc68fdd0ca1f0d2d2dfb979dd837ac2dd2e16f3 |
|
12-Apr-2016 |
Steve McKay <smckay@google.com> |
Daeal with null cursors more leniently. Since modelId may not in fact result in a cursor. Bug: 28074284 Change-Id: I8632c9c7d5e3da32080c07033089173105c03646
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
c2dd99a6da7ec4d2ad44df6105eab613b35f0178 |
|
24-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Merge "Type-to-focus improvements." into nyc-dev
|
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/FocusManager.java
|
9b3524d8397ff2bebf64331063a14a40b61924f4 |
|
24-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Fix a crash when browsing empty roots. BUG=27292682 Change-Id: I383fd359a959e86fca3f6716575027aa3b4723cf
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
7b300ff36932a4815f1f85b9ea73ec9a373dee10 |
|
19-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Merge "Implement type-to-focus in the DirectoryFragment." into nyc-dev
|
a4acc90b0a0bbfa55ed247a3ae04c766c885d220 |
|
11-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Implement type-to-focus in the DirectoryFragment. Add a helper to the FocusManager, to handle alphanumeric keystrokes. - Build a search index mapping document titles to adapter positions, and keep it up-to-date. - Intercept alphanumeric keystrokes and build up a search string from them. - Use the search string and index to set focus in the directory listing. - Highlight code is written, but not activated in the UI for now, to minimize surface area for potential breakages. Revisit enabling highlights for O. BUG=24988911 Change-Id: I148ff5583c655338d12bc06d6484a9ed7aa528ad
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
86bf12397bd0073f0acee9bb1c8b4099eb40b31f |
|
17-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Fix focus issues on RV. Don't set focusable=false - that's the wrong thing to do, per Yigit. For now, just temporarily make the RV unfocusable while performing the focus search for kb navigation. BUG=27221751 Change-Id: I37ed77eb2aecf522a85c8a7c181e89c0bf73765d
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
c345079b74f74531767240dbfa6cf049b2861a2d |
|
11-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Handle spacebar events. Space/Shift-space scrolls the files list up/down. BUG=25195555 This is a re-land of ag/864217. Change-Id: I496d43d8a0c0833493ec2d5b36ecb7cbeb619853
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
d3107e88945b7cd3ee192664b45263f180d91c4a |
|
11-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Merge "Revert "Handle spacebar events."" into nyc-dev
|
be660049bbad7e0cbe3f53233fc6304bd66e232c |
|
11-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Revert "Handle spacebar events." This reverts commit ef8eb5c9dd45cc94219d6e889d026f53ecc5c7e9. Change-Id: I6c473d09eae8289da1deb86a8f043aa88de4c6f0
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
d7211c85d676dbb6071bb765c352c748f08d5458 |
|
10-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Make left- and right- arrow jump rows in grid mode. Like ChromeOS. Pressing left at the beginning of a row of files in grid mode, will move focus up to the end of the preceding row. Analogous behaviour for right-arrow at the end of a row. BUG=27127282 Change-Id: I3b36c1da6559aaf01558807913502f8ab87a9e6e (cherry picked from commit f55e5b714d4adc9f343ab7e691a6846ffa6cd7b1)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
4a993b240d2e43dd88b39368ee86483e9979d9e5 |
|
11-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Merge "Allow multiple range selections using the shift key." into nyc-dev
|
83df50f9971d79fcffe78a9ea1a9eeebcea996bc |
|
10-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Allow multiple range selections using the shift key. - Introduce an API on MultiSelectManager for starting/ending range selections. - Navigation with the shift key pressed extends the current range selection (or starts a new one, if one isn't in progress). - Navigation without the shift key pressed will end the current range selection. BUG=27124371 Change-Id: Ieddf3ee816812bf5210463536fe63179ef1809ad (cherry picked from commit 09792ef1506f4cbd944e16651508be435d92c5be)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
ef8eb5c9dd45cc94219d6e889d026f53ecc5c7e9 |
|
10-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Handle spacebar events. Space/Shift-space scrolls the files list up/down. BUG=25195555 Change-Id: Ib6351831db77a930920610106cc1da2b710532c6 (cherry picked from commit 870fea3b03d94335b9c7234103bde8fbf813743f)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
2036dad877336bf4d81202c334b1f2c81462bd9f |
|
10-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Introduce ChromeOS-style keyboard navigation. - Turn the DirectoryFragment (DF) and the RootsFragment (RF) into top-level views, and allow switching between them via the tab key. - Disallow arrow-key navigation from switching the user between the DF and RF. - When nothing is explicitly focused, make navigation keys focus the DF. This makes it so that if a user opens DocumentsUI and just starts pressing arrow keys, they'll navigate in the directory listing. - When restoring focus on the DF and RF, remember the last thing that was focused, and restore focus on that thing. BUG=25195767 BUG=25121367 Change-Id: I00e20cbdbe9edfe269fb356440a93ef5d67c5298 (cherry picked from commit 1c9f9222e56482682461013b703590c5c9471018)
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|
b0bfe2df6f180dc944ccb33695cbea6b45c487db |
|
09-Feb-2016 |
Ben Kwa <kenobi@google.com> |
Move focus-related code out of DirectoryFragment. BUG=25195767 Change-Id: Ibf2247a81e8903924037b5f01305593219a8c068
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/FocusManager.java
|