565 Commits

Author SHA1 Message Date
Aga Wronska
b85ec6d0ee Merge "Revert "Revert "Make status bar translucent. Make drawer appera below status bar."" with a fix for cts tests." into nyc-dev 2016-03-25 16:14:15 +00:00
Tomasz Mikolajewski
50c8d49d4c Merge "Make the activated root color darker in DocumentsUI for better a11y." into nyc-dev 2016-03-24 09:37:58 +00:00
Tomasz Mikolajewski
588d6934d5 Make the activated root color darker in DocumentsUI for better a11y.
Bug: 27724950
Change-Id: Ie1150aae6e6dabe1dc460a99deec4ccfa48ec080
2016-03-24 17:02:46 +09:00
Daichi Hirono
b2ef9ed7c4 Merge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev 2016-03-24 02:50:18 +00:00
Aga Wronska
78efc9f3d2 Revert "Revert "Make status bar translucent. Make drawer appera below
status bar."" with a fix for cts tests.

This reverts commit 0574d169ba1e649d8bd54d28ba74b9707e675e37.

Change-Id: I33deeef839092956a67ec31bcdbfbbd540db8b68
2016-03-23 14:47:47 -07:00
Felipe Leme
9eb5555aa6 Merge "Allow Scoped Directory Access on whole volume." into nyc-dev 2016-03-23 17:58:48 +00:00
Geoff Mendal
2daca7a181 Import translations. DO NOT MERGE
Change-Id: I98b04d1538e8c5d6e797f23b2ef195c166cd0a16
Auto-generated-cl: translation import
2016-03-23 07:17:21 -07:00
Tomasz Mikolajewski
2bd66d68d8 Merge "Revert "Make the accent color darker in DocumentsUI for better accessibility."" into nyc-dev 2016-03-23 09:46:20 +00:00
Daichi Hirono
b9129bede2 Merge "Revert "Make status bar translucent. Make drawer appera below status bar."" into nyc-dev 2016-03-23 08:32:01 +00:00
Daichi Hirono
0574d169ba Revert "Make status bar translucent. Make drawer appera below status bar."
This reverts commit 4639136c3b4bc22064323a193f06d6585e1a171a.
The commit breaks the following CTS tests.

 * android.appsecurity.cts.DocumentsTest#testCreateExisting FAIL
 * android.appsecurity.cts.DocumentsTest#testCreateNew FAIL

BUG=27805363,27570567

Change-Id: Ic9f1d98714a78afe548eb5ae9afa118ddc83cccc
2016-03-23 17:29:06 +09:00
Daichi Hirono
c545f5e617 Fix the directory item height in grid view.
BUG=27565668

Change-Id: I3d5615b46542dcd0f22f5e9968d3ee5bfe1af19a
2016-03-23 16:35:32 +09:00
Daichi Hirono
50da0ac660 Use mipmap instead of drawable for app icon of DocumentsUI.
App icon can be redered in various size and mipmap automatically
switches to high-resolution resources regardless of screen size when the
icon is rendered in large size.

BUG=27804140

Change-Id: Ib14a4d8ec8ac601f46510ad50ab18f28408b8fc1
2016-03-23 14:40:05 +09:00
Tomasz Mikolajewski
4b9b03e6b2 Revert "Make the accent color darker in DocumentsUI for better accessibility."
We have to change the color only in a specific place,
not the accent color everywhere.

This reverts commit 8e22d69df21e638452d07f5dd12f323fb40059a5.

Change-Id: I6d712fc1d0275f91b20ff90f91450e849cbb1622
2016-03-23 00:58:05 +00:00
Tomasz Mikolajewski
18bbea9c96 Merge "Update colors for list/grid view." into nyc-dev 2016-03-23 00:20:27 +00:00
Tomasz Mikolajewski
13bcd7b3c3 Merge "Make the accent color darker in DocumentsUI for better accessibility." into nyc-dev 2016-03-23 00:20:05 +00:00
Ben Kwa
71432a08c6 Merge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev 2016-03-22 17:30:52 +00:00
Ben Kwa
e912e8af99 DocsUI: Switch the launcher icon to Downloads.
Switch to using the "Downloads" icon for this app in the launcher.

BUG=25954736

Change-Id: I44092505b02bccdbe8d49463dbb327f836dd6155
2016-03-22 10:24:57 -07:00
Aga Wronska
5f7d673f3b Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev 2016-03-22 17:04:28 +00:00
Tomasz Mikolajewski
87cc84e7d6 Update colors for list/grid view.
Bug: 27578805
Change-Id: Ibddc84cf1d1d577fcb22084aaea5e3a98ffcae3c
2016-03-22 15:49:46 +09:00
Tomasz Mikolajewski
8e22d69df2 Make the accent color darker in DocumentsUI for better accessibility.
Bug: 27724950
Change-Id: I8c44ed6caf2b4e2933f8231e61cfbae00f4feecf
2016-03-22 13:43:06 +09:00
Aga Wronska
1719b3555d Add config flag to show/hide internal storage.
Hide internal storage by default.

Revert "Always show intern storage."

This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276

Change-Id: I04ea8b9a307babcea003f9bec200d41265a42c7f
2016-03-21 17:33:27 -07:00
Felipe Leme
db892b84e5 Allow Scoped Directory Access on whole volume.
There are some scenarios where an app needs access to the whole SD Card,
not subdirectories. For example, user might have a SDCard with
directories like vacation_pictures (instead of Pictures/vacation);
another example is a file management app.

BUG: 27676858
Change-Id: I20ef713de7e4dfa7e2d7d07bab11898af186d673
2016-03-21 14:25:17 -07:00
Aga Wronska
4639136c3b Make status bar translucent. Make drawer appera below status bar.
Change-Id: I6089a7b5d88514f5df9212839709d38daeb3be8b
Fixed: 27570567
2016-03-21 10:53:13 -07:00
Geoff Mendal
f2189e945e Import translations. DO NOT MERGE
Change-Id: I032236836b7ce9f766a9f8819a683b9066254737
Auto-generated-cl: translation import
2016-03-21 07:10:50 -07:00
Geoff Mendal
bc0f989cba Import translations. DO NOT MERGE
Change-Id: I97e3392c322f11a08bce3c58e5a1c19736809a80
Auto-generated-cl: translation import
2016-03-19 13:39:18 +05:30
Aga Wronska
15066a4069 Merge "Change enter/exit folder animation speed and delay." into nyc-dev 2016-03-18 23:26:20 +00:00
Aga Wronska
632f91b653 Change enter/exit folder animation speed and delay.
Change-Id: I6150911fdfe331d76171b1806fe776540309405f
Fixed: 27654570
2016-03-17 19:43:09 -07:00
Aga Wronska
836ed4a582 Merge "Add config flag to hide home directory ("Documents") from the roots list. Make home root hidden by default." into nyc-dev 2016-03-18 00:54:16 +00:00
Aga Wronska
824ac17ae3 Generate more descriptive delete confirmation message.
Change-Id: I194ef353aec9d2841b5f3fc8dfd76df6286ce969
Fixed: 27489240
2016-03-17 16:44:10 -07:00
Aga Wronska
b4129d785c Add config flag to hide home directory ("Documents") from the roots list.
Make home root hidden by default.

Change-Id: Ia9f97f3cad7ab102d65e01d6e0dd9bc39ab72f21
Fixed: 27683725
2016-03-17 11:57:29 -07:00
Felipe Leme
8a2d1d9c3d Merge "Polished Scoped Directory Access UI." into nyc-dev 2016-03-16 16:22:20 +00:00
Geoff Mendal
e8ec8bd1f4 Import translations. DO NOT MERGE
Change-Id: I33545a8fee9b65fa3e11fdb86c1b6c9d2bcdc7ec
Auto-generated-cl: translation import
2016-03-16 07:14:47 -07:00
Felipe Leme
493611f541 Polished Scoped Directory Access UI.
- Set proper style on custom alert dialog view.
- Fixed padding.
- Removed redundant style.
- Fixed checkbox color.

BUG: 26750152

Change-Id: Ibf3984e1b0a092affc58f1377b89b6ab7ea2a3aa
2016-03-15 16:56:15 -07:00
Felipe Leme
adccb9950e Add a "Do not ask again" checkbox.
When an app request access to a scoped directory which the user already
denied access, it will display a "Do not ask again" checkbox; if the
user checks that option, further requests will be automatically
rejected.

The history of denials is stored in the shared property file.

The UI is not polished yet, the style will be fixed in a future change.

BUG: 26750152

Change-Id: I181923adfb6a1c7c1c17e305d6838314280417fc
2016-03-15 11:12:53 -07:00
Steve McKay
178e407181 Minor animation cleanup.
Delete unused animators and add a cautionary warning.

Change-Id: I10c79ccef42147c01e4db256a082dc20b3f30de1
2016-03-11 14:08:35 -08:00
Steve McKay
ce71082254 Centralize animation related resources.
Fix minor bug in animation (use height not width).

Change-Id: I357224086b2732fe9ad49a145db3e82259a87891
2016-03-11 13:50:03 -08:00
Steve McKay
a45612b777 Merge "More snazzy animation for UX happiness." into nyc-dev 2016-03-11 15:42:02 +00:00
Bill Yi
f5fec3273f Import translations. DO NOT MERGE
Change-Id: I7b062c5a86c4ddd248859b41c335aa74be16e6b3
Auto-generated-cl: translation import
2016-03-10 18:45:30 -08:00
Steve McKay
0ba383693a More snazzy animation for UX happiness.
Slide up/down and fade in/out.

Bug: 26918725
Change-Id: I4ef8e31d3e1f6087369daddbfd0a74bca3ff6937
2016-03-10 18:20:19 -08:00
Steve McKay
32c90f1d53 Merge "Make disabled items look disabled." into nyc-dev 2016-03-09 18:35:33 +00:00
Steve McKay
df72a43218 Make disabled items look disabled.
Update app to use color-selectors for item text.

Bug: 27246583
Change-Id: I2ba0b89e4640b987da248957f8ba5e6760d1b21d
2016-03-09 09:51:19 -08:00
Geoff Mendal
a61798943a Import translations. DO NOT MERGE
Change-Id: If7a6ec897bf79a8cf93a325ec6957ed79e673787
Auto-generated-cl: translation import
2016-03-09 07:12:47 -08:00
Aga Wronska
836202114a Merge "Added word 'selected' to action bar description of selected elements" into nyc-dev 2016-03-09 00:39:39 +00:00
Aga Wronska
91c1a434c1 Added word 'selected' to action bar description of selected elements
Bug: 27296839
Change-Id: I30d3b726f281872da298dbc481a22241fbd45a9a
2016-03-08 16:34:14 -08:00
Steve McKay
ebc3c60fb9 Merge "Show more menu items on larger devices." into nyc-dev 2016-03-08 23:29:24 +00:00
Steve McKay
f830017bd7 Show more menu items on larger devices.
Bug: 27036292, 27406771
Change-Id: I1ceee3c69fbda33a6c51c0ff4f28e52911c1ca7d
2016-03-08 15:15:48 -08:00
Aga Wronska
407e10e25f Merge "Applied Material design rules to calculate drawer width" into nyc-dev 2016-03-08 22:32:42 +00:00
Aga Wronska
5df50368ee Applied Material design rules to calculate drawer width
Bug: 27437727
Change-Id: I2f634815d5e534053e0ed7a66631df9bddf32bd5
2016-03-08 14:22:16 -08:00
Steve McKay
67f50e64e0 Make delete dialog match spec.
Bug: 27535181
Change-Id: Icd2347003747b4e7674048f632dbe47a1607f8b2
2016-03-08 09:25:24 -08:00
Geoff Mendal
0595d78d12 Import translations. DO NOT MERGE
Change-Id: I6e0ba0cb89a831434306e8681b9c66d803394103
Auto-generated-cl: translation import
2016-03-07 07:13:50 -08:00