155 Commits

Author SHA1 Message Date
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
Baligh Uddin
15800b793b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-04 22:53:07 +00:00
Jeff Sharkey
402401e666 am 2dcba613: am 5b491d63: Merge "Custom pressed states, fixed column sizes." into klp-dev
* commit '2dcba613a736b1c0ba2f9c18c32f171f7bbb1a23':
  Custom pressed states, fixed column sizes.
2013-10-04 15:10:16 -07:00
Jeff Sharkey
2dcba613a7 am 5b491d63: Merge "Custom pressed states, fixed column sizes." into klp-dev
* commit '5b491d630b6628a3558cb1135ac1bc242eab3381':
  Custom pressed states, fixed column sizes.
2013-10-04 15:07:13 -07:00
Jeff Sharkey
ca25db0cb3 Custom pressed states, fixed column sizes.
Use custom pressed state assets.  Use fixed column sizes to prevent
truncating of long dates on small screens.

Also tear down any active CAB when switching fragments.

Bug: 11032418, 11028212
Change-Id: I2bf3dc3f693319b4b55cc901ed460f60faceba35
2013-10-04 14:48:08 -07:00
Baligh Uddin
d2354f6fd9 Import translations. DO NOT MERGE
Change-Id: I45d02518d9cc8094fe3877c1d906ac14522a8635
Auto-generated-cl: translation import
2013-10-04 12:26:43 -07:00
Baligh Uddin
dfe1303d93 Import translations. DO NOT MERGE
Change-Id: Id6fb45a4be5a4e32cd673127862ff413526dcc7b
Auto-generated-cl: translation import
2013-10-04 12:23:39 -07:00
Baligh Uddin
e2aea6f859 Import translations. DO NOT MERGE
Change-Id: I6630568359b173cd95d9b76743f682c6e92c7371
Auto-generated-cl: translation import
2013-10-02 12:03:19 -07:00
Jeff Sharkey
322594c4a4 am 6d7de848: am 1fc9eb78: am 16326f70: Merge "Fix animations, padding in RTL mode." into klp-dev
* commit '6d7de848d7c4f8c6556c05dab79eb532874a82b3':
  Fix animations, padding in RTL mode.
2013-10-02 09:44:16 -07:00
Jeff Sharkey
b6ab3b982b am 7f60e70e: am 666b998b: am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '7f60e70e815d381035b141843395830407c198d9':
  Detect wedged ContentProviders, treat as ANR.
2013-10-02 09:43:21 -07:00
Jeff Sharkey
6d7de848d7 am 1fc9eb78: am 16326f70: Merge "Fix animations, padding in RTL mode." into klp-dev
* commit '1fc9eb78ab7009250be52a79de5acab108a37312':
  Fix animations, padding in RTL mode.
2013-10-02 09:37:07 -07:00
Jeff Sharkey
7f60e70e81 am 666b998b: am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '666b998b67fe7bb6fc11dd6d683a18b5690afd39':
  Detect wedged ContentProviders, treat as ANR.
2013-10-02 09:35:14 -07:00
Jeff Sharkey
1fc9eb78ab am 16326f70: Merge "Fix animations, padding in RTL mode." into klp-dev
* commit '16326f7085ebb05e4229d96c6e539eb9ecb2d3de':
  Fix animations, padding in RTL mode.
2013-10-01 18:46:08 -07:00
Jeff Sharkey
ee3e1603fd Fix animations, padding in RTL mode.
Show directory animations coming in from left-side when in RTL
language.  Also fix NinePatchDrawable to correctly mirror its padding
when auto-mirrored, and fix InsetDrawable to propagate the layout
direction to the wrapped Drawable.

Bug: 10987190, 11030793
Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
2013-10-01 16:03:00 -07:00
Jeff Sharkey
666b998b67 am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev
* commit '364fc14f544712a2d32cc0f32e84dfe4127376a6':
  Detect wedged ContentProviders, treat as ANR.
2013-10-01 10:31:47 -07:00
Jeff Sharkey
7aa7601c09 Detect wedged ContentProviders, treat as ANR.
All ContentProvider calls are currently blocking, making it hard for
an app to recover when a remote provider is wedged.  This change adds
hidden support to ContentProviderClient to timeout remote calls,
treating them as ANRs.  This behavior is disabled by default.

Update DocumentsUI to use a 20 second timeout whenever interacting
with a storage provider.

Bug: 10993301, 10819461, 10852518
Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
2013-10-01 09:50:41 -07:00
Baligh Uddin
b669ce2d81 Merge "Import translations. DO NOT MERGE" 2013-10-01 02:43:43 +00:00
Jeff Sharkey
a2c42861a1 am cc637d9a: Merge "New roots UX, async, performance, docs." into klp-dev
* commit 'cc637d9ae5920ac2f685090f595dc1e1643d71cc':
  New roots UX, async, performance, docs.
2013-09-30 17:09:48 -07:00