711 Commits

Author SHA1 Message Date
Ben Kwa
e04b20dd76 am c783a5e7: Merge "Enable apps to exclude their own roots from the DocumentsUI roots list." into mnc-dev
* commit 'c783a5e762b0c4925756b8ca273eb26aab5e7985':
  Enable apps to exclude their own roots from the DocumentsUI roots list.
2015-06-10 18:44:57 +00:00
Ben Kwa
c783a5e762 Merge "Enable apps to exclude their own roots from the DocumentsUI roots list." into mnc-dev 2015-06-10 18:30:31 +00:00
Ben Kwa
77797400ec Enable apps to exclude their own roots from the DocumentsUI roots list.
- Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra)
- Add code to DocumentsActivity to cache the providers of the calling
  app if EXTRA_EXCLUDE_SELF is set on incoming Intents.
- Add code to RootsCache to exclude roots from the calling app.
- Add code to allow only system apps to use EXTRA_PACKAGE_NAME.

Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
2015-06-10 11:24:55 -07:00
Steve McKay
6bcc15ddfd Merge "Delete unused ColumnAdapter class." 2015-06-10 18:07:01 +00:00
Geoff Mendal
09e34e989c Import translations. DO NOT MERGE
Change-Id: I8f8557a777e3b2ed58593aa20d1a2b0f2a5aa33b
Auto-generated-cl: translation import
2015-06-10 08:55:37 -05:00
Geoff Mendal
3c8a0debbf Import translations. DO NOT MERGE
Change-Id: I6eba661705980ad16917844a08123cb49220a102
Auto-generated-cl: translation import
2015-06-10 07:32:57 -05:00
Ben Kwa
c65ef084f9 am 86804949: am 8f051476: am 907c695d: Merge "Add a divider between the roots selector and files list." into mnc-dev
* commit '86804949c92860b1392665762c1dfa484ab69849':
  Add a divider between the roots selector and files list.
2015-06-09 18:11:38 +00:00
Ben Kwa
4edd0b2a9e am b71ef5e0: am 30fefe40: am 7c04308f: Merge "Clean up icons in DocumentsUI." into mnc-dev
* commit 'b71ef5e046de6acf80771b6a031167d6eefde6b8':
  Clean up icons in DocumentsUI.
2015-06-09 18:11:21 +00:00
Ben Kwa
8f0514769e am 907c695d: Merge "Add a divider between the roots selector and files list." into mnc-dev
* commit '907c695d40a95fc4d06969adeceea1756390d3c3':
  Add a divider between the roots selector and files list.
2015-06-09 17:53:22 +00:00
Ben Kwa
907c695d40 Merge "Add a divider between the roots selector and files list." into mnc-dev 2015-06-09 17:48:31 +00:00
Ben Kwa
30fefe40c6 am 7c04308f: Merge "Clean up icons in DocumentsUI." into mnc-dev
* commit '7c04308f51486644d474326eb19159af00ffaa17':
  Clean up icons in DocumentsUI.
2015-06-09 17:46:02 +00:00
Ben Kwa
a6a50d037b Add a divider between the roots selector and files list.
BUG=21643911

Change-Id: Ie7c4d1a014b9fbdccb91d80907c89e2309c9891f
2015-06-09 10:43:59 -07:00
Ben Kwa
7c04308f51 Merge "Clean up icons in DocumentsUI." into mnc-dev 2015-06-09 17:35:20 +00:00
Ben Kwa
11be5de36c Clean up icons in DocumentsUI.
- Remove unused icons.
- Replace improperly sized icons with properly sized (24dp) ones.

BUG=21643433

Change-Id: I67595b6bfbbf94f11abe6c1feabe633488decc84
2015-06-08 14:11:33 -07:00
Geoff Mendal
124103fa52 Import translations. DO NOT MERGE
Change-Id: I8592894958f93b88c36e60e0484f5a1ff6a1bc3a
Auto-generated-cl: translation import
2015-06-08 08:45:04 -05:00
Geoff Mendal
25f4db51fa Import translations. DO NOT MERGE
Change-Id: I6c8699b70e45e6cc05d76d9fbeccbf218228f1fd
Auto-generated-cl: translation import
2015-06-08 07:22:18 -05:00
Ben Kwa
fc181d7b9e am e4c632f8: am 7eb2d726: am 8dbb4328: Merge "Fix drawer selection to match Material spec." into mnc-dev
* commit 'e4c632f820128e54a21c08922f1e843c599bfa73':
  Fix drawer selection to match Material spec.
2015-06-05 01:27:27 +00:00
Ben Kwa
7eb2d726e8 am 8dbb4328: Merge "Fix drawer selection to match Material spec." into mnc-dev
* commit '8dbb43289ccc6bf85399eb3737be0dd5f01de923':
  Fix drawer selection to match Material spec.
2015-06-05 01:04:52 +00:00
Ben Kwa
8dbb43289c Merge "Fix drawer selection to match Material spec." into mnc-dev 2015-06-05 00:51:54 +00:00
Ben Kwa
50698068c1 Fix drawer selection to match Material spec.
- highlighted text changed to match the application primary color
- change highlighted background to light gray
- remove highlight icon tinting (provides insufficient contrast against
  the new light gray background)

BUG=18685226

Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11
2015-06-04 16:28:16 -07:00
Steve McKay
b390585471 Delete unused ColumnAdapter class.
Change-Id: I8aacd3c5d5fab8dea5e47cfad6a95e3da1eb5222
2015-06-03 16:27:02 -07:00
Steve McKay
b437da904f Merge "Fix typo in paste warning string." 2015-06-03 20:06:53 +00:00
Steve McKay
549636b2aa Fix typo in paste warning string.
BUG=21545788
Change-Id: I6e6265104bb8759c092f247223aef6c0426d844a
2015-06-03 11:23:45 -07:00
Geoff Mendal
f806744fce Import translations. DO NOT MERGE
Change-Id: I7855e24fc4715b1bf7cf978dd40b3bd66f242427
Auto-generated-cl: translation import
2015-06-03 11:51:22 -05:00
Geoff Mendal
91b00537e4 Import translations. DO NOT MERGE
Change-Id: I83528fc8a3736d1f951bee05155b956352b8be19
Auto-generated-cl: translation import
2015-06-03 10:03:46 -05:00
Steve McKay
db770eb43c am 92dce157: Update hamburger share, and delete icons to use the 24x MD icons.
* commit '92dce1578747f501c48b2542146956744675b784':
  Update hamburger share, and delete icons to use the 24x MD icons.
2015-06-02 23:21:18 +00:00
Steve McKay
92dce15787 Update hamburger share, and delete icons to use the 24x MD icons.
BUG=18685222,17699796
Change-Id: I4b14b83eca7fe30e250e1252cb384bc94e05e0a4
(cherry picked from commit e07525536b7edf584ffc96ba69951794d6096b57)
2015-06-02 23:07:40 +00:00
Steve McKay
e8260443b5 Merge "Update hamburger share, and delete icons to use the 24x MD icons." 2015-06-02 23:07:25 +00:00
Steve McKay
e07525536b Update hamburger share, and delete icons to use the 24x MD icons.
BUG=18685222,17699796
Change-Id: I4b14b83eca7fe30e250e1252cb384bc94e05e0a4
2015-06-02 15:01:14 -07:00
Ben Kwa
371dee33df Merge "Fix text on move notifications and toasts." 2015-06-02 14:20:36 +00:00
Jeff Sharkey
e2de54a17d am 819bf267: am 1bf1af04: am d659f450: Fix the build months later?
* commit '819bf2675518585b529943603d46df1d4e50e6b1':
  Fix the build months later?
2015-06-01 17:25:34 +00:00
Geoff Mendal
9014d993f5 Import translations. DO NOT MERGE
Change-Id: I1b4387cd9c47aaaa2399d203fbd547a9c07f466f
Auto-generated-cl: translation import
2015-06-01 09:24:50 -07:00
Geoff Mendal
14a4c5d418 Import translations. DO NOT MERGE
Change-Id: I04d01f1c65927634e8b27c3780e5e392fcdba28b
Auto-generated-cl: translation import
2015-06-01 07:51:58 -07:00
Geoff Mendal
c3ae228e99 Revert "Import translations. DO NOT MERGE"
This reverts commit 50d10ccbc092d28533e6730c7e5abe10d785d0ce.

Change-Id: I689bf971848ebec0a88282c39e57113aee6d44cb
2015-06-01 14:05:47 +00:00
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
Steve McKay
46d57bd8a6 Merge "Do more work off main thread." 2015-05-28 17:05:22 +00:00
Steve McKay
ab7865cd1e Do more work off main thread.
Create List<DocumentInfo> in asynctask to avoid UI jank.

Change-Id: I0a1274b4903c48332c2593714a2e7972b7b2686c
2015-05-27 16:19:14 -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
Ben Kwa
43655392fa am 02dcb640: am c016b3ba: am 7a3b2012: Merge "Ensure that the copy notification is always cancelable." into mnc-dev
* commit '02dcb640a1002abd6da4cd7541f45559f907121c':
  Ensure that the copy notification is always cancelable.
2015-05-27 22:06:39 +00: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
Ben Kwa
c016b3ba7d am 7a3b2012: Merge "Ensure that the copy notification is always cancelable." into mnc-dev
* commit '7a3b2012ea4d079a50edb8aa101a353830219d29':
  Ensure that the copy notification is always cancelable.
2015-05-27 21:34:10 +00:00