History log of /packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c1a32aea59f47b06f3157a7f87ef5b9bf45f7627 20-Apr-2017 Ben Lin <linben@google.com> Disable Move/Move to/Cut to clipboard for read-only files.

Bug: 37357780
Change-Id: I26f4e604c080b79f54f5ee9f9a07535d577e4a0a
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.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/tests/common/com/android/documentsui/ui/TestDialogController.java
0d83d32b66332034b17b327352693b125e9b3a05 06-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Add progress dialog for transfer operations.

Previously we'd show operations progress in the notification,
which is inconvenient and not exposed to users when the user
stays in the app.

This CL solves this issue by showing a progress bar in the
current activity. Note, that the operation will continue when
the user closes the activity. Also, the user can click on
"Continue in background" to continue working on something else
while copying/moving/compressing/etc.

Finally, it's easier for user to cancel an operation now.

Test: Tested manually.
Bug: 35072376
Change-Id: I15b4842270f12fd746adb14dd5329f305ff371e3
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java
23ac60cd2b1beb59b6cd760b91c7e1b1f7e8fe49 14-Mar-2017 Garfield Tan <xutan@google.com> Add a confirmation dialog before overwriting a file in picker.

And some related refactoring in picker.

Test: Manually tested and auto tests pass.
Bug: 34339143
Change-Id: I0e87a20819756858f4c4eab70e9191cb525f84d9
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java
179f0695a8d4a0d87d28303f8d6e5e9c7194d981 20-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Show a snackbar for archived files when can't be quick viewed.

Test: Unit tests.
Bug: 35582807
Change-Id: Icf2489b4ed7c62da37b610104c88b5c29a926178
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java
68689622255bc831ad0f832de4c8f82c319fdb29 10-Nov-2016 Ben Lin <linben@google.com> Add Snackbar for Deletion so TalkBack can speak about it.

Also, moved Rename to Snackbar static method.

Bug: 32488613
Change-Id: Ie9347c05ee06b20c8f55b05e32c37b1ea02680fe
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.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/tests/common/com/android/documentsui/ui/TestDialogController.java
eed2f4ec78227b5e173ff667a5517637a91b9a30 04-Oct-2016 Steve McKay <smckay@google.com> Move document-opening logic into ActionHandlers.

Add tests for:
viewing
previewing
managing (apks and partial files)
opening containers
showing chooser

Fix issue where partial files weren't being managed correctly.

Change-Id: I1d62bcd0fd5262d6354f0ddc2327d3f0d22c1f3b
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java
c8889af6757ecb348fb8fd6dadf84d67d3478cbf 23-Sep-2016 Steve McKay <smckay@google.com> Move delete support into base ActionHandler.

Introduce an "Addons" interface that describes all of the
extra stuff we expose in our concrete Activities allowing
us to write test doubles for our Activities.
Add new "ui" package for UI specific stuff like:
Introduce DialogController, isolating dialog business in
a separate class (that can be easily replaced with a double)
Move delete confirmation and snackbar-error reporting
into this class.
Introduce a Messages class for building messages, but isolated
from implementation details.
Add test for delete logic in ActionHandler (now that the
code is unit-testable.)
Introduce new ClipStore interface to improve testability
of code that depends on clip storage...but in this
CL we don't yet cover any of that.

Decouple all ActionHandler impls from their
Change-Id: Ic1449e501c855cdb72bf7666f4b67b9a9e9c1b49
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/TestDialogController.java