335 Commits

Author SHA1 Message Date
Jeff Sharkey
c4d774d5d8 am 461b3896: Merge "DocumentsUI: Add content description for nav." into lmp-dev
* commit '461b3896babdbfb365282378df89cde2dddb5a3a':
  DocumentsUI: Add content description for nav.
2014-10-13 22:04:06 +00:00
Jeff Sharkey
b7b30f691c DocumentsUI: Add content description for nav.
Bug: 17922955
Change-Id: I44c0107d8dd03aab36da55deeb864e328b492124
2014-10-13 12:55:18 -07:00
Baligh Uddin
09ec0c35ff Import translations. DO NOT MERGE
Change-Id: Ifd383e3b819d7364b2fa38231abd7605538fceae
Auto-generated-cl: translation import
2014-09-28 22:21:17 -07:00
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
Jeff Sharkey
c9d7150680 Manage mode shouldn't block for other providers.
When loading DocumentsUI in management mode (for Downloads), we
normally focus on a single authority and let the other providers
keep loading async.  However, when one of the providers kicks a
change notification, we end up blocking the main thread.

Simple fix is to move the blocking into the AsyncTask.

Bug: 17452691
Change-Id: Ie5212ad825b7df719690b29941c9ae9ba2cabe4b
2014-09-10 15:27: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
Alan Viverette
03d30a573b Make sure we're obtaining themed drawables correctly
Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
2014-08-14 19:59:50 +00: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
770a532886 Separate MIME icons for some office formats.
Bug: 12548097
Change-Id: I11808854e0a4fae2636a04f75599e022b4a8440f
2014-08-08 22:23:32 +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
fa5ec770ec Use system collator for display names.
Continue sorting directory names first, but use system collator in
case-insensitive ordering.

Bug: 13545569
Change-Id: I24b314c9ef42f397bc96f474d9593bdefc0061d1
2014-08-06 00:56:45 +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
291258c880 Merge "Import translations. DO NOT MERGE" 2014-06-10 15:28:19 +00:00
Jeff Sharkey
d734c698e3 am 99f4fe07: Merge "Refactor directory API to "opening document tree."" into lmp-preview-dev
* commit '99f4fe0797adb8350f92c7d1ba11776d1947e768':
  Refactor directory API to "opening document tree."
2014-06-10 11:18:54 +00:00
Jeff Sharkey
b9fbb7290b Refactor directory API to "opening document tree."
Cleans up API so it consistently refers to opening or working with a
subtree of documents.  Also separates isChildDocument() support from
the concept of directory tree selection.

Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
2014-06-09 17:07:58 -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
Jeff Sharkey
fdb3cf3867 am 50386c57: am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit '50386c5701a0bc08e7a851cd92f44e985a4b2cca':
  Set ActionMode title to the number of selected files
2014-05-10 19:55:25 +00:00
Jeff Sharkey
ef5a7d78ab am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit 'ddba067f0fa1560ce3e1aff58d512824ac2e2d7d':
  Set ActionMode title to the number of selected files
2014-05-10 19:49:20 +00:00
Jeff Sharkey
f521ee6fa9 am e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795':
  Set ActionMode title to the number of selected files
2014-05-10 19:42:02 +00: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
Stefan Wysocki
22d3990273 Set ActionMode title to the number of selected files
After change of orientation ActionMode is recreated without previously
set title. It needs to be updated in onCreateActionMode callback.

Change-Id: If5f36e8ad6d1b5cf04ed242611fd037969d73517
2014-04-28 10:47:34 +02: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