History log of /packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f7ee10edaac1214e23f267a595014b510562d1e 26-May-2017 Ben Lin <linben@google.com> Passing SelectionDetails to DragAndDropManager.

Bug: 37567847
Change-Id: I793866dd39ec2f1ce772c45ef658d5b46efbf04d
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
2e81db6f2030ec6c8dd758c3020ce5db8363bf25 28-Apr-2017 Garfield Tan <xutan@google.com> Fix crash when dragging documents from Recents.

Also not allow user to move from Recents (DnD or Ctrl+X).

Bug: 37712649
Change-Id: I5d63b6359ca478e77479872832f8f759d17c92e6
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
da2c0f0b075ad9f770182e706c2ec158989568a7 11-Apr-2017 Garfield Tan <xutan@google.com> Allow user control move/copy during drag and drop.

* Refactor some shared drag and drop logic into one single place.
* Add a workaround for updating badges across windows.
* Add unit tests for DragAndDropManager

Bug: 29581353
Change-Id: I2fcf950194457501e35e1bbc2e00ab68d7962666
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.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/dirlist/DragStartListener.java
d020212fdad3be1537dfa47ff5b67e3bc4272d5e 11-Nov-2016 Ben Lin <linben@google.com> Add Drag and Drop states to RootList.

Also, changed Drag Shadow to 100% opaque.

Bug: 32772075
Change-Id: I8629e4c1caed3cef6460866e5fd39f14801ccbb4
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
1c45629929c31cf7903cf955a48f170a8cdee255 08-Oct-2016 Ben Lin <linben@google.com> Updating DropShadow as drag and drop hovers over views.

Also moved DragShadowBuilder to Activity level (needs constant reference
to it).

Bug: 31182423
Change-Id: Id3a09cff863d529f92e15e23c6cf53a2ca9da20d
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
329eb937ce0e2ff9fb1ff807624a9e56cf3a3c6d 11-Oct-2016 Ben Lin <linben@google.com> Allow Drag and Drop to form new selection with CTRL held down.

Bug: 31992361
Change-Id: I90036b1b9b3573de289a7bce2d2fb07f69ef5651
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.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/dirlist/DragStartListener.java
d9caa6ab53aa784acaf241c0ded3c4ae2d342bf8 16-Sep-2016 Steve McKay <smckay@google.com> Move State to base and root stuff to roots.

And move Shared to base.
And lots more to base.

Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
d080506e3aa8547605cd4783eb660775d7d2b8ee 15-Sep-2016 Steve McKay <smckay@google.com> Move more classes to more specific locations.

Moved .model classes to .base.
Deleted some unused classes.
Moved functional tests into a new .funcitonal package.
Followup to 1450250.

Change-Id: Ic087fe4a014d9179fab3dc6f833aaf73373f9452
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
5a305b41ecd9c563c54bda9ff3c0d0f3739c5bda 08-Sep-2016 Ben Lin <linben@google.com> Prevent Drag n' Drop/Spring-load onto a selected folder.

Bug: 29538691
Change-Id: I01b1bb59ea816d6dc328dbf7830640442041bcfb
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
f0fceb4cd731f70270970279791365cc6f6e4a49 08-Sep-2016 Steve McKay <smckay@google.com> Don't try to drag non-model-backed views.

Refactor DragStartListener to allow test confirmation of the fix.
Move DragShadowBuilder related code into DragShadowBuilder.Factory.
Further de-concrete-couple DragStartListener from handlers.
Give event handling names in DragStartListener a wee bit more explicit meaning.

Bug: 31350922
Change-Id: I5b4ff88b65c40d3ccadcda3338e547b2c5c6ac32
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java
35f99e02f3fa8af21139be216fc57c123779808d 31-Aug-2016 Ben Lin <linben@google.com> Refactor of BandController/DragStarter/GestureDetector.

- DragStartHelper refactored into DragStartListener, and has no
dependency on framework class
- BandController setup code with RecyclerView moved to
ListeningGestureDetector
- Bulk of code to start drag (drag shadow, Clipper data, drag
title/icon) moved to DragStartListener
- Remove scrolling ability with gesture if using mouse

Change-Id: I8adf7edee6adcf4db3354df757a95e601397066e
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/DragStartListener.java