538 Commits

Author SHA1 Message Date
Geoff Mendal
50d10ccbc0 Import translations. DO NOT MERGE
Change-Id: If4637a964f9f435c9b9189069574d017a711dc26
Auto-generated-cl: translation import
2015-06-01 06:48:42 -07:00
Geoff Mendal
db52f0a5db Import translations. DO NOT MERGE
Change-Id: I40a24917618ab5fb0c5ef063b6ccc6b845bf0ec9
Auto-generated-cl: translation import
2015-05-30 19:36:14 -07:00
Jeff Sharkey
1bf1af0492 am d659f450: Fix the build months later?
* commit 'd659f450f3d9c113cbd2ddc4f592b7fc64d1c9cf':
  Fix the build months later?
2015-05-30 18:36:41 +00:00
Jeff Sharkey
d659f450f3 Fix the build months later?
Change-Id: Ic5902fbe39cf2b536eb75682ad18f06e1ad8983e
2015-05-30 11:20:45 -07:00
Geoff Mendal
bbb98b4ed0 Revert "Import translations. DO NOT MERGE"
This reverts commit d2c3a7d7cca2bd828266cd362b00d7d2dfd41f5c.

Change-Id: Idd6e026369a191b5e4449c8decbba8d08e20de92
2015-05-30 04:11:03 +00:00
Geoff Mendal
d2c3a7d7cc Import translations. DO NOT MERGE
Change-Id: I83cdf342c0886f0b1d81104aa3f872b215077fbf
Auto-generated-cl: translation import
2015-05-29 20:49:11 -07:00
Geoff Mendal
cdd71a3087 Revert "Import translations. DO NOT MERGE"
This reverts commit f3173d8a1797fd812997b9246502a05df0591363.

Change-Id: I7e24d340c24f7ba4b67a72d54e57c3558caa7267
2015-05-29 15:33:18 +00:00
Geoff Mendal
f3173d8a17 Import translations. DO NOT MERGE
Change-Id: I30219f300510a51079cb2e514c00f476590e06d5
Auto-generated-cl: translation import
2015-05-29 07:31:36 -07:00
Ben Kwa
05b7b15310 Fix text on move notifications and toasts.
Some of these still said "copying" instead of "moving".

BUG=21366117

Change-Id: Ib50aaa05617f4f8a88069436a954b56f7be15a44
2015-05-28 16:34:24 -07:00
Daichi Hirono
ac990ceb38 DocumentUI: Plish the design of footer bottons.
* Remove the directory name from "pick" button.
 * Allign buttons at right.
 * Fix bug that the pick button turns to be hidden after screen rotation.

BUG=20285152

Change-Id: I909d52f341bf67c5627431a354a9b0ccec152a05
2015-05-27 15:32:30 -07:00
Steve McKay
f3bd63ce97 Merge "Add copy/paste menus to StandaloneMode." 2015-05-27 21:59:18 +00:00
Steve McKay
bdbd0ffdf2 Add copy/paste menus to StandaloneMode.
Execute encoding/decoding of clipboard data in background...
was seeing a lot of red flashes for large file selections.
Move the majority of the Clipboard management code into a
shared DocumentClipper class.

Hide the copy-to and move-to menus in same.

BUG=20915675
Change-Id: Iff59e846afe6f1e90e6be816f5860d8b7efe3ae1
2015-05-27 14:55:14 -07:00
Geoff Mendal
76ebd220fa Import translations. DO NOT MERGE
Change-Id: I51e9176740832e7d46efd122b296e2aaa5337ddc
Auto-generated-cl: translation import
2015-05-27 07:25:06 -05:00
Geoff Mendal
32156a7586 Import translations. DO NOT MERGE
Change-Id: Id4da8170bceabc117824f81c25a6019f5584ce0b
Auto-generated-cl: translation import
2015-05-25 09:53:44 -05:00
Geoff Mendal
6e91a5d569 Import translations. DO NOT MERGE
Change-Id: Id533c68ca918a7bdf39d17265eae110533317f0f
Auto-generated-cl: translation import
2015-05-25 08:13:11 -05:00
Geoff Mendal
dc038f3246 Import translations. DO NOT MERGE
Change-Id: Ibc636bc980ceaead21d2eaf2dd813de284341ab0
Auto-generated-cl: translation import
2015-05-21 06:10:03 -07:00
Geoff Mendal
b2f4cc4a32 Import translations. DO NOT MERGE
Change-Id: Ib09a5fcee231389504566419f9cc1d1ab1fbce0b
Auto-generated-cl: translation import
2015-05-21 05:09:18 -07:00
Daichi Hirono
15a5593309 am b7d072f4: Merge "DocumentUI: Plish the design of footer bottons." into mnc-dev
* commit 'b7d072f42fd4fcb2e6e2d7a88ede2d4cee05127c':
  DocumentUI: Plish the design of footer bottons.
2015-05-19 22:34:38 +00:00
Ben Kwa
cc3452136e Fix UI for file moves.
Change the destination picker to have a "MOVE" button when moving files.

BUG=20880263

Change-Id: I69686a2f13daa0f0048113e1a2ad71dd37b3de1c
2015-05-19 15:22:36 -07:00
Daichi Hirono
e9cbfe8e5a DocumentUI: Plish the design of footer bottons.
* Remove the directory name from "pick" button.
* Allign buttons at right.
* Fix bug that the pick button turns to be hidden after screen rotation.

BUG=20285152
Change-Id: I909d52f341bf67c5627431a354a9b0ccec152a05
2015-05-18 11:27:15 +09:00
Ben Kwa
ed6fcb5929 Merge "Add a move feature to DocumentsUI." 2015-05-15 16:10:30 +00:00
Ben Kwa
0b4a3c47c6 Add a move feature to DocumentsUI.
Add a menu item (protected behind a system property) for moving files.
Add an extra to the copy intent for transfer mode (copy/move).
Add code to CopyService to delete files after copy when in move mode.
Add tests.

BUG=20559838

Change-Id: I983f57a528327d1e7a12982b599094aad2c856ed
2015-05-15 07:48:28 -07:00
Geoff Mendal
3432c92c2e Import translations. DO NOT MERGE
Change-Id: If35fe8294f23f310f29af829d0eb48a5b8ca375e
Auto-generated-cl: translation import
2015-05-13 05:16:19 -07:00
Steve McKay
e37d2ba7ae Merge "Minor updates improving menu behavior." 2015-05-12 01:50:42 +00:00
Steve McKay
b46383bc9d Minor updates improving menu behavior.
1) Ensure advanced options are always visible.
2) Position search before create folder.
3) Force create-directory into the overflow menu.

And the rider on the bill...

4) Disable Drag/Drop with a static boolean flag.

Change-Id: I173cedf0eb7e11d824377b77ce701eb88de7c1e1
2015-05-11 11:48:51 -07:00
Steve McKay
3ac67f6cf9 am b3100f4b: Merge "Delete StandaloneActivity from M (DO NOT MERGE)" into mnc-dev
* commit 'b3100f4b13159deb0b5736aedca1659dfe3c762b':
  Delete StandaloneActivity from M (DO NOT MERGE)
2015-05-11 16:33:59 +00:00
Steve McKay
b3100f4b13 Merge "Delete StandaloneActivity from M (DO NOT MERGE)" into mnc-dev 2015-05-11 16:21:02 +00:00
Steve McKay
6e02dc8cd6 Delete StandaloneActivity from M (DO NOT MERGE)
The activity is already disabled by default.
Fix an issue where copy support error handling was attempting to invoke StandaloneActivity.

Change-Id: If15c312a183cae1b2a84517e7f7b3123c11bd619
2015-05-11 16:19:00 +00:00
Geoff Mendal
ebb3a45a67 Import translations. DO NOT MERGE
Change-Id: I0999d1abf6951574e9ba7fc6c8a608aaea4540de
Auto-generated-cl: translation import
2015-05-11 06:14:14 -07:00
Geoff Mendal
545f6501cf Import translations. DO NOT MERGE
Change-Id: Icb2312f9d041e55146a3c52b87b225511fab9b07
Auto-generated-cl: translation import
2015-05-11 05:16:42 -07:00
Steve McKay
3da8afcf30 Add rudimentary keyboard operation support.
Currently only select-all/copy/paste of files is supported.
Note, I wasn't able to push all code into DirectoryFragment,
as Jeff Sharkey suggested, as it doesn't have direct access
to KeyEvents. Bridged this from StandaloneActivity.

Change-Id: I082c457c9c4372e689d3acbca9ae11cd5c554a63
2015-05-06 15:31:19 -07:00
Vladislav Kaznacheev
42a6bbc5a4 Experimental drag&drop in DocumentsUI
Change-Id: If8911f33c6e1de2252d5bdcd5862799c5c4a202a
2015-05-05 12:36:00 -07:00
Geoff Mendal
b3530295b6 Import translations. DO NOT MERGE
Change-Id: I43378ea885cdb018cd8b8cda5b8be304817e8ee8
Auto-generated-cl: translation import
2015-04-29 05:18:45 -07:00
Geoff Mendal
e67b93962d Import translations. DO NOT MERGE
Change-Id: I4bcfc305120a6a1342978d6763628b08c7086a8a
Auto-generated-cl: translation import
2015-04-27 05:34:04 -07:00
Geoff Mendal
c9f5cb8caf Import translations. DO NOT MERGE
Change-Id: I79db3fdb8e2c5e86259a6c5cefe5e0790a07bc92
Auto-generated-cl: translation import
2015-04-24 23:44:04 -07:00
Tomasz Mikolajewski
eafb267bd9 Update strings for the copy error dialog to match the latest specs.
Change-Id: I9adeff3e7e9435237b4b3337e4c687eec39b0335
2015-04-23 19:10:14 +02:00
Daichi Hirono
517577ea96 DocumentsUI: Stop to override fixed size of dialog in CreateDirectoryDialog.
Previously CreateDirectoryDialog overrides fixed size defined in the application
theme. As a result, the dialog is shown as vertically long.

The CL specifies explicitly specifies the default theme for dialog when creating
the dialog to stop override the application theme.

BUG=20239384
Change-Id: I7227bd91705c32f5196b666bbe94ff32b5cb4af8
2015-04-23 15:02:15 +09:00
Alan Viverette
40a38f3062 Implement DayNight theme for DocumentsUI
Also fixes tint colors for icons to use themed colorControlNormal.

Bug: 20421157
Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
2015-04-22 16:51:08 -07:00
Geoff Mendal
e58224f266 Import translations. DO NOT MERGE
Change-Id: I0893584e89cfc86caea9f5f5f43f8d7dd94873d8
Auto-generated-cl: translation import
2015-04-22 05:20:51 -07:00
Geoff Mendal
3ac2032586 Import translations. DO NOT MERGE
Change-Id: If0652f6630dbfb0110c8b13a479cb59c1af22bcc
Auto-generated-cl: translation import
2015-04-20 05:21:16 -07:00
Geoff Mendal
67a8ad3b65 Import translations. DO NOT MERGE
Change-Id: If7a0cfd12e5ed935ad521bd48eb82dd6cad3084f
Auto-generated-cl: translation import
2015-04-17 20:22:14 -07:00
Daichi Hirono
fbad74b29c Merge "Stop to take multiline file name in the create directory dialog." 2015-04-17 00:59:51 +00:00
Daichi Hirono
ba383eb576 Stop to take multiline file name in the create directory dialog.
BUG=20275734

Change-Id: I1b0847598eb06091193bb63e6ab3a57033798c10
2015-04-16 16:45:33 +09:00
Geoff Mendal
b47a7fe7c6 Import translations. DO NOT MERGE
Change-Id: Ia8ffbde888155d62a59ca824069187db7b9895b8
Auto-generated-cl: translation import
2015-04-15 05:16:32 -07:00
Tomasz Mikolajewski
3b5adaaca1 Merge "Add an initial version of the copy failure dialog to DocumentsUI." 2015-04-15 04:02:14 +00:00
Daichi Hirono
de021abe40 DocumentsUI: Polish buttons of copy destination dialog.
* Add cancel button to directory picker dialog.
* Turns "select" label to "copy to" label for copy destination picker.

BUG=20170953

Change-Id: I66214804aed75a6fccc716d1a01163c634e73d7f
2015-04-15 12:57:53 +09:00
Tomasz Mikolajewski
61686593fd Add an initial version of the copy failure dialog to DocumentsUI.
Change-Id: Ibdfde661aa5b636570c017d3d00565c193d595a3
2015-04-15 12:39:27 +09:00
Geoff Mendal
e7477d6672 Import translations. DO NOT MERGE
Change-Id: I37c3e2c0945bebbf7dd814bad8aa9de1e2c6bef7
Auto-generated-cl: translation import
2015-04-13 05:21:38 -07:00
Jeff Sharkey
1407d4c777 DocumentsUI roots can have settings.
Roots use a flag to indicate they have settings, and DocumentsUI
offers to launch towards someone who handles a new Settings intent.

Slight rename of browse intent for clarity.

Bug: 19993667
Change-Id: I86302ec1cfac5e435d8bc5701bdb85fb9b0dcbae
2015-04-12 22:02:44 -07:00
Geoff Mendal
fff84a87e1 Import translations. DO NOT MERGE
Change-Id: I4be4f944cd8c87529e04aa4c8e19198020c1b262
Auto-generated-cl: translation import
2015-04-10 23:01:52 -07:00