172 Commits

Author SHA1 Message Date
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
Jeff Sharkey
46106ca28e am 686fa2db: am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit '686fa2db5b8feeb9e378aeb8e5dbac2f79ef2153':
  Show spinner while waiting for mutations.
2013-10-24 12:35:22 -07:00
Jeff Sharkey
04d45a0bdd Show spinner while waiting for mutations.
When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456
2013-10-23 15:48:05 -07:00
Craig Mautner
21a31f9e11 am 73b25d6a: am bd0a4143: am b3a08be2: Merge "Use dialog animations for dialog style." into klp-dev
* commit '73b25d6ac0d310702c5f582680e415dfb773b35f':
  Use dialog animations for dialog style.
2013-10-15 04:02:45 -07:00
Craig Mautner
73b25d6ac0 am bd0a4143: am b3a08be2: Merge "Use dialog animations for dialog style." into klp-dev
* commit 'bd0a4143302834c3d1a1343e82f6d4da7888308e':
  Use dialog animations for dialog style.
2013-10-14 19:00:47 -07:00
Craig Mautner
d2d76ac6b9 Use dialog animations for dialog style.
Using activity animations on non-fullscreen activities that sit over
a wallpaper activity cause the exiting activity to show up underneath
the next activity. If the next activity happens to be a wallpaper
activity then this will be janky as the exiting activity will go from
on top of the incoming activity to on top of the wallpaper as it
animates away.

Fixes bug 11200253.

Change-Id: I7e81c50cfe7ae106da2d62f5866f43fc046181c5
2013-10-14 15:52:58 -07:00
Baligh Uddin
f26eb745bc Import translations. DO NOT MERGE
Change-Id: I306a6beb87c56f6cfa29dca52b5864b6b5526151
Auto-generated-cl: translation import
2013-10-10 19:18:34 -07:00
Baligh Uddin
5ab664c159 Import translations. DO NOT MERGE
Change-Id: I4bdcff01e1271ee4a7695a9bb646cd84530f654e
Auto-generated-cl: translation import
2013-10-10 19:16:51 -07:00
Jeff Sharkey
d6269b1575 am ab5cbb7b: am 0e438c2a: am a27366ef: Merge "Ellipsize titles in middle, otherwise end." into klp-dev
* commit 'ab5cbb7bb58b17936193d6411a9f8c3e6015d9f9':
  Ellipsize titles in middle, otherwise end.
2013-10-07 13:24:19 -07:00
Jeff Sharkey
ab5cbb7bb5 am 0e438c2a: am a27366ef: Merge "Ellipsize titles in middle, otherwise end." into klp-dev
* commit '0e438c2a1b4e2de34702ce8332b3853db703dbdb':
  Ellipsize titles in middle, otherwise end.
2013-10-07 13:21:21 -07:00
Jeff Sharkey
a27366efc4 Merge "Ellipsize titles in middle, otherwise end." into klp-dev 2013-10-07 20:17:54 +00:00
Jeff Sharkey
2c4b99fbe6 Ellipsize titles in middle, otherwise end.
Long document titles can include distinguishing details at the end
of the title, so ellipsize in the middle.  All other details ellipsize
at the end.

Bug: 11081420
Change-Id: I2c266ebc594d2ad383033b435acb8adb5fb823bc
2013-10-07 11:39:07 -07:00
Baligh Uddin
c7ca4f3b45 Import translations. DO NOT MERGE
Change-Id: I8a383e97ab65a046b2e78e255993abfa2fd1a1db
Auto-generated-cl: translation import
2013-10-07 10:45:01 -07:00
Baligh Uddin
0ea4be04a0 Import translations. DO NOT MERGE
Change-Id: I4365c56d96fc1e1aa97e05d154ce23441c5b1431
Auto-generated-cl: translation import
2013-10-07 10:43:11 -07:00
Jeff Sharkey
43c0dd7f20 am 402401e6: am 2dcba613: am 5b491d63: Merge "Custom pressed states, fixed column sizes." into klp-dev
* commit '402401e666b0b5068ebcb0e45d0ed9c06dd4674e':
  Custom pressed states, fixed column sizes.
2013-10-04 17:36:13 -07:00