186 Commits

Author SHA1 Message Date
Jeff Sharkey
dfa98898cc am 2dc7a1b5: Merge "Always force list divider in DocumentsUI." into lmp-dev
* commit '2dc7a1b57d4261e50d6f24989b3b7022123a4247':
  Always force list divider in DocumentsUI.
2014-09-16 19:55:13 +00:00
Jeff Sharkey
b1e71af498 Always force list divider in DocumentsUI.
DialogWhenLarge recently dropped the divider.

Bug: 17523958
Change-Id: I7ee3ce6853c01dbd3da6fc3e79ef02681b53df4c
2014-09-16 11:40:03 -07:00
Baligh Uddin
5b5a4afc20 Import translations. DO NOT MERGE
Change-Id: Ie385c9b051b20bf52b7c0b266ca4c9147f7fbb90
Auto-generated-cl: translation import
2014-09-14 21:04:22 -07:00
Jeff Sharkey
3ad3b4f11a Add xxxhdpi assets for DocumentsUI.
Bug: 17486169
Change-Id: I26fd257ab9404b1c3985ee6861c9b81ec5e581bc
2014-09-12 14:50:59 -07:00
Baligh Uddin
cb8ae31e07 Import translations. DO NOT MERGE
Change-Id: Id3ea6f77f0d898b4401c226c0de033fe186a2e64
Auto-generated-cl: translation import
2014-09-03 16:12:05 -07:00
Jeff Sharkey
af0fe973b3 Ships passing in the night!
Fix build breakage.

Change-Id: I37e20b7e6838cb95cfd30efb52d68e81b346f8eb
2014-08-29 16:44:09 -07:00
Jeff Sharkey
cbce47001e Final pass at Material DocumentsUI.
Now with treatment for disabled and selected grid items.  Inverts
text and icons in selected drawer items.  Follows upstream color
changes to accent color.  Disables some verbose logging.

Bug: 15836082, 17281688
Change-Id: I97a1c055a2f1a537388a8f5669147618e9698870
2014-08-29 15:40:19 -07:00
Alan Viverette
a1fe772bd7 Update material colors
BUG: 17212898
Change-Id: Ic0806db57e88d5143b4241e419970ffeb2468d50
2014-08-25 16:15:06 -07:00
Baligh Uddin
e3505d6fc7 Import translations. DO NOT MERGE
Change-Id: I6aa82acaaecb2e2484c357c30b252a0aa116a017
Auto-generated-cl: translation import
2014-08-24 11:10:56 -07:00
Baligh Uddin
80631ed867 Import translations. DO NOT MERGE
Change-Id: I287e3613eab6a99a30a025ba979b3eae287478c3
Auto-generated-cl: translation import
2014-08-15 22:05:22 -07:00
Baligh Uddin
3cbd20935a Import translations. DO NOT MERGE
Change-Id: Ice9a22422396849c763e2fcc011567e2527c7556
Auto-generated-cl: translation import
2014-08-11 14:27:01 -07:00
Jeff Sharkey
669f8e7c70 Move DocumentsUI settings into overflow menu.
Also use different strings based on device type to make clearer.

Bug: 13437894
Change-Id: I4053780de2c7197fb45cc53aee7659e9d0d75c0a
2014-08-08 23:00:55 +00:00
Jeff Sharkey
c29dd61cbf More material updates to DocumentsUI.
All assets cut as alpha variants so we apply desired tinting at
runtime.  Small script to automatically generate XML resources.

Bug: 15836082, 16658537
Change-Id: I803b3f0bf6f121194a5445fd1c6600fabaf28f60
2014-08-08 22:22:39 +00:00
Jeff Sharkey
f75eb0dd60 DocumentsUI is only dialog when really large.
Bug: 16780860
Change-Id: Ib20ef9771855beba5b31d19887c1c9c1b8e8e5ed
2014-08-05 17:16:44 +00:00
Jeff Sharkey
a847d79310 Light icons for DocumentsUI.
In some cases we want to show light variants.  Also tweak drawer
sizes and grid padding.

Bug: 15836082
Change-Id: Ic6459ff0533a7d346c03db5d7deb3d6da42e7649
2014-07-30 00:35:57 +00:00
Jeff Sharkey
8a850b4c0e Latest DocumentsUI material asset drop.
Bug: 15836082
Change-Id: Ifdd8a42a963071f1c958d56b3f835228f257cf9a
2014-07-29 23:53:37 +00:00
Jeff Sharkey
f52773fd62 More DocumentsUI material iteration.
Move to using Toolbar for all actions.  Drawer contains its own
Toolbar with separate title, and hamburger is always visible.  Change
drawer items to match spec.  Switching to Toolbar allows us to remove
nasty dialog-on-tablet hacks, yay!  This also means we can finally
get real IME resizing support.

Move to using elevation for all shadows; this removes more nasty
hacks around drawing directory shadows.

Bug: 15836082
Change-Id: Iba70b898f385a7debd8aabfc98ff39d20bca860d
2014-07-29 23:19:45 +00:00
Jeff Sharkey
6963148e22 First pass at Materializing DocumentsUI!
Initial Material asset drop, which still needs some tweaking.  Moved
back to framework list item selectors, giving us ripples.  Using
accent color overlay for activated items.  Align all items to new
Material grid, including insetting list divider and resizing list
items on wide screens.

Fix obscure RTL drawing bug.

Still lots of work left.

Bug: 15836082
Change-Id: I729cc7dcb0271ee62b55d1e036fc28427fc0dd3d
2014-07-28 05:41:43 +00:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Baligh Uddin
caa601385e Import translations. DO NOT MERGE
Change-Id: I8c040d7092dcdc68fe1e640a759123b306eff507
Auto-generated-cl: translation import
2014-07-16 18:07:09 -07:00
Baligh Uddin
d452de61b2 Import translations. DO NOT MERGE
Change-Id: I2f4e298839b4ba9976ec6be66bf22b90eb43e804
Auto-generated-cl: translation import
2014-07-05 14:05:50 -07:00
Baligh Uddin
9b4e5c7910 Import translations. DO NOT MERGE
Change-Id: Ia81c920a4555c9f2d98668dd83f2436cafd7a98c
Auto-generated-cl: translation import
2014-06-30 14:36:07 +00:00
Baligh Uddin
035ef683a1 Import translations. DO NOT MERGE
Change-Id: Ide25c1a618ebed66da3ad87834761ddbf23ff08c
Auto-generated-cl: translation import
2014-06-26 11:40:39 -07:00
Baligh Uddin
03b6c9aa30 Import translations. DO NOT MERGE
Change-Id: Ie973b84c6d4a628cc077b4d493c15de9f7ab3cd6
Auto-generated-cl: translation import
2014-06-25 02:35:44 +00:00
Baligh Uddin
7835f79b54 Import translations. DO NOT MERGE
Change-Id: I7e78e5e9d8a5517ce9c6587869b82c0be2f59e4f
Auto-generated-cl: translation import
2014-06-18 10:15:41 -07:00
Baligh Uddin
5be9a426fd Import translations. DO NOT MERGE
Change-Id: I707193ee90e9d0d5cb8de2a9987cfe243dd7f440
Auto-generated-cl: translation import
2014-06-09 09:50:11 -07:00
Baligh Uddin
67b43c8d33 Import translations. DO NOT MERGE
Change-Id: Iae203008f0966dd0803723e366c75e72dcdf3c63
Auto-generated-cl: translation import
2014-06-04 08:56:03 -07:00
Baligh Uddin
6a64d118f7 Import translations. DO NOT MERGE
Change-Id: I1bd3672acdf5240152f51ab057999b47b97a9823
Auto-generated-cl: translation import
2014-06-02 10:33:49 -07:00
Geoff Mendal
85a3dec955 Import translations. DO NOT MERGE
Change-Id: I3fea029ae2a0d46867dcb8461b65f788457f9edf
Auto-generated-cl: translation import
2014-05-28 10:18:05 -07:00
Baligh Uddin
232389c380 Import translations. DO NOT MERGE
Change-Id: I982d4f179f55bff026a0173a4e8e740be03af4af
Auto-generated-cl: translation import
2014-05-26 12:47:46 -07:00
Baligh Uddin
0d6cfd6fb1 Import translations. DO NOT MERGE
Change-Id: I154e5f25182ab3b16360623f3433ae8f745594f1
Auto-generated-cl: translation import
2014-05-20 09:02:00 -07:00
Ed Heyl
2cf184233b merge master nova by hand, skipped translations
Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
2014-05-14 13:24:53 -07:00
Baligh Uddin
d4ff6712a6 Import translations. DO NOT MERGE
Change-Id: If60a8ee5762d1e89e73afd0b3d5e79b3ef4916c1
Auto-generated-cl: translation import
2014-05-12 09:12:40 -07:00
Baligh Uddin
7a25e41598 Import translations. DO NOT MERGE
Change-Id: Ia11b15d1e802b1f4fb3afbc9261487a5ab364a7f
Auto-generated-cl: translation import
2014-04-30 10:25:32 -07:00
Baligh Uddin
9b0e267f4c Import translations. DO NOT MERGE
Change-Id: I0759dcb477375df5e96160003f421821fb5ba371
Auto-generated-cl: translation import
2014-04-28 10:27:17 -07:00
Baligh Uddin
0547bafcbb Import translations. DO NOT MERGE
Change-Id: I71ec42f4923a70bc8e34f16a55ffeb5f63e92ec8
Auto-generated-cl: translation import
2014-04-23 12:05:40 -07:00
Jeff Sharkey
3e5991c1eb am 21de56a9: Add directory selection to DocumentsProvider.
* commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd':
  Add directory selection to DocumentsProvider.
2014-04-23 07:15:32 +00:00
Jeff Sharkey
21de56a946 Add directory selection to DocumentsProvider.
Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree.  Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:

content://com.example/via/12/document/24/

This references document 24 by using a prefix grant given for
document 12.  Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12.  Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.

Extend DocumentsUI to support picking directories.  Expose
createDocument() API to work with returned directories.

Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way.  Override openAssetFile()
to pass through CancellationSignal.  Move testing code into ApiDemos.

Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
2014-04-22 22:18:21 -07:00
Baligh Uddin
5b9e559734 Import translations. DO NOT MERGE
Change-Id: Ice08934e78e95e0c229189902366db69498d82fa
Auto-generated-cl: translation import
2014-04-16 15:06:32 -07:00
Baligh Uddin
da7cc2c42d Merge "Import translations. DO NOT MERGE" 2014-04-16 15:26:24 +00:00
Baligh Uddin
897da0c9a5 Import translations. DO NOT MERGE
Change-Id: I1d43a2f0495c5744cfea7c9a5932522c50f7492a
Auto-generated-cl: translation import
2014-04-14 10:36:50 -07:00
Alan Viverette
01cefbc5b3 am b325345e: Merge "Switch framework Holo references to Quantum.Light"
* commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae':
  Switch framework Holo references to Quantum.Light
2014-04-02 22:23:17 +00:00
Alan Viverette
3a3395042e am b325345e: Merge "Switch framework Holo references to Quantum.Light"
* commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae':
  Switch framework Holo references to Quantum.Light
2014-04-02 22:18:59 +00:00
Alan Viverette
6259933ec9 Switch framework Holo references to Quantum.Light
Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
2014-04-01 14:57:39 -07:00
Baligh Uddin
935c8f0df9 Import translations. DO NOT MERGE
Change-Id: Ie37886c814e5006a99ec64b6d1feafa39ebdc7b8
Auto-generated-cl: translation import
2014-03-24 10:27:09 -07:00
Baligh Uddin
aa6f9d94a8 Import translations. DO NOT MERGE
Change-Id: I2e61beac4aa1eb5e5adac7d71653e4d6308cd937
Auto-generated-cl: translation import
2014-03-19 10:22:41 -07:00
Geoff Mendal
a97cd79fea Import translations. DO NOT MERGE
Change-Id: Ic78ab9269a3e4b81d94756bcba14123c05969387
Auto-generated-cl: translation import
2014-03-17 10:12:09 -07:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
Baligh Uddin
05938f545d Import translations. DO NOT MERGE
Change-Id: I29e32b9b384864e27601d1abbec101ba5a9f839c
Auto-generated-cl: translation import
2013-10-30 09:27:21 -07:00
Jeff Sharkey
8e0164c566 am 46106ca2: am 686fa2db: am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit '46106ca28e8a679ce2f0609d03ae6ba4b95d7f30':
  Show spinner while waiting for mutations.
2013-10-24 12:40:07 -07:00