History log of /packages/apps/DocumentsUI/src/com/android/documentsui/selection/BandController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/selection/BandController.java
f88bc0b6f1945db1eb11afcfb15bc2c08b13ba9f 09-Feb-2017 Ben Lin <linben@google.com> Better event handling when coming from a trackpad.

Trackpad introduces some interesting behavior. For example, on a regular
two finger scroll, the following sequence of events happens:

ACTION_DOWN
ACTION_POINTER_DOWN
ACTION_MOVE
...
ACTION_MOVE
ACTION_POINTER_UP
ACTION_UP

Since our band selection always assume only ACTION_UP events happen
after ACTION_MOVE and nothing else, our assetion breaks due to a
ACTION_POINTER_UP inbetween. Actively checking this now works.
Futhermore, BandController#shouldStart() should not just return false if
it's secondary click, but rather return false if it's anything that's
not-primary (ie. tertinery, or even no-button clicks).

We also want to scroll for two-finger scrolling, while not scrolling
when mouse dragging. We can check for PointerCount() to disambiguate the
two behaviors.

Bug: 34889365
Change-Id: Ibd20639607201d9534855b2f224763f5aaff19f9
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/BandController.java
7b38f3465c3779384a17e84cc04609d9d68b56f4 14-Dec-2016 Ben Lin <linben@google.com> [multi part] Moving Empty/Error/No Results view and Info/Error bar into
DocsHolders.

This still currently only has one of info/error as opposed to all of
them. I will split them up and include them both if Cursor has them on a
follow up.

Also:
- Removed all things regarding "hidden model ids"
- Added more files & and a folder that throws Exception in DemoProvider

Bug: 33399053
Bug: 32972298
Change-Id: I612fc3990a3e2b6fe0e779de4de24bd65ab47933
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/BandController.java
9fea31221781942638f460d9ede5d9fd7ec21d11 11-Oct-2016 Ben Lin <linben@google.com> Adding blocking to DirectoryLoader when Band Selection is active.

Bug: 29538016
Change-Id: Ib297afaf8b28d030ce10337efc7965717d2fa375
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/BandController.java
4f78ba643270b9d84da1952d8e408220b25ec6fd 05-Oct-2016 Steve McKay <smckay@google.com> Move selection to selection pkg, make activity scoped.

Move all other selection related classes to selection pkg.

Change-Id: I57a3964fada55b0f4d073f05a7833455235221b9
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/BandController.java