538 Commits

Author SHA1 Message Date
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
Aga Wronska
4730beb85c Changed breadcrumb arrow to match mocks
Bug: 27136601
Change-Id: I03b3d789c1edf8de7f3d92238045cca123ce5e72
2016-03-04 16:12:38 -08:00
Aga Wronska
b6db022312 Made breadcrumb drop down match mocks
Bug: 27136601
Change-Id: I93af07a45defaddd7f5785fac8b686984a889583
2016-03-04 14:05:39 -08:00
Steve McKay
ba23e54d26 Show proper icons for SD and USB attached storage.
Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
2016-03-03 10:58:36 -08:00
Steve McKay
8db100e4a3 Merge "Don't show title in delete confirmation." into nyc-dev 2016-03-02 19:56:21 +00:00
Ben Kwa
f8d6fa2c5a Merge "Tweak root item layouts." into nyc-dev 2016-03-02 19:39:06 +00:00
Steve McKay
b4672ef6df Merge "Always show intern storage." into nyc-dev 2016-03-02 18:49:28 +00:00
Steve McKay
7c4395804e Always show intern storage.
Only show debug root when devel mode is enabled.
Remove all traces of "advanced".

Bug: 27297398

Change-Id: Ie7e8be282531bd245351d56ababa8ca625c10fd2
2016-03-02 10:47:59 -08:00
Geoff Mendal
a302da37a7 Import translations. DO NOT MERGE
Change-Id: If6f96f29b8c300b1edc27cf0725dfe3492465e7d
Auto-generated-cl: translation import
2016-03-02 07:14:03 -08:00
Steve McKay
c8d4e22a72 Don't show title in delete confirmation.
Also, remove "unhide" from Adapter, since it is unused.
Had to add a custom layout because Alert didn't do a
    good job. LOTS of work for a yes/no!

Bug: 27205772
Change-Id: Ic20d73b54fd142287e07402877ac339300b4bbb7
2016-03-01 12:46:29 -08:00
Steve McKay
8b8a6fd193 Ensure directory names are aligned correctly...
In list view...and don't show dir dates, even when present.
In fact, no details on folders at all when in list view.
Also improve layout of files without details (if they exist).

Bug: 27406730
Change-Id: Ida4b5f99666c4a145ca98a3c15c480e59a76b4a6
2016-03-01 11:49:21 -08:00
Geoff Mendal
c78750a61b Import translations. DO NOT MERGE
Change-Id: Ibf90518a4ea01d2cfc6bb3d43867ae2b499dfea8
Auto-generated-cl: translation import
2016-02-29 07:16:29 -08:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Ben Kwa
ec76030999 Tweak root item layouts.
- Make stuff line up better.
- Visually distinguish root names from their descriptions.

BUG=26793290

Change-Id: Ibb050b205b7dc69415c736486bc3b7deef0b0767
2016-02-26 13:29:00 -08:00
Aga Wronska
f6fde7e044 Merge "Don't translate our trusted quick view package val." into nyc-dev 2016-02-26 19:30:00 +00:00
Steve McKay
0a544d5aeb Don't translate our trusted quick view package val.
Change-Id: I74574e38705940b72be8afc8e3ec163fb6ccdef4
2016-02-26 11:27:09 -08:00
Aga Wronska
6543be5c17 Fix SearchView background too high
Bug: 27293462
Change-Id: Id694fc9c1a7d6e21534e74e20f95c8c080861598
2016-02-25 17:19:17 -08:00
Steve McKay
7a3b811122 Delete confirmation and notification improvements.
Bug: 27344527, 27347647, 27136182
Change-Id: Ia33f05b449a0bc30704e116287e18094e30382e0
2016-02-25 15:47:16 -08:00
Steve McKay
da48a9aa07 Only ellipsize at end of strings.
Bug: 27339484, 27338617
Change-Id: I5e908c862cf9d6a2ba0c7552434914f18fbab716
2016-02-24 12:59:32 -08:00
Geoff Mendal
fdce862c95 Import translations. DO NOT MERGE
Change-Id: I5f452609d36a3b910e3fadab6f31913371da0f19
Auto-generated-cl: translation import
2016-02-22 07:11:59 -08:00
Ben Kwa
7b300ff369 Merge "Implement type-to-focus in the DirectoryFragment." into nyc-dev 2016-02-19 00:39:27 +00:00
Steve McKay
e2af078488 UX cleanups.
Visually separate directory background from sidebar.
Lower shadows so the "real" effect isn't so prominent.

Hitchhikders:
Consolidate bool values in config.xml files (were in dimens.xml).
Add missing supportsRecents & supportsSearch methods
    to RootInfo.
Rename RecentLoader to RecentsLoader so it doesn't defy
    searching for "Recents" string.
Move Downloads below the divider.

Change-Id: I06c76e26ec6df6541860a1448865c67ed953ed43
2016-02-18 22:21:03 +00:00
Ben Kwa
a4acc90b0a Implement type-to-focus in the DirectoryFragment.
Add a helper to the FocusManager, to handle alphanumeric keystrokes.
- Build a search index mapping document titles to adapter positions, and
  keep it up-to-date.
- Intercept alphanumeric keystrokes and build up a search string from
  them.
- Use the search string and index to set focus in the directory listing.
- Highlight code is written, but not activated in the UI for now, to
  minimize surface area for potential breakages.  Revisit enabling
  highlights for O.

BUG=24988911

Change-Id: I148ff5583c655338d12bc06d6484a9ed7aa528ad
2016-02-18 12:04:35 -08:00
Steve McKay
25a7ee08f6 Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev 2016-02-17 17:46:24 +00:00
Geoff Mendal
fb7a4e73de Import translations. DO NOT MERGE
Change-Id: Ic8d25da29dbdb3132a51bef32045c166f48b8bc6
Auto-generated-cl: translation import
2016-02-17 07:11:49 -08:00
Steve McKay
ab3b8936dc Remove "HOME" directory. Use "Documents" instead.
Use "Folder" as home icon for now.

Bug:27148009
Change-Id: I9f57bba1c8e51ae7887861923f5baa8f69ec2e6e
2016-02-16 14:52:35 -08:00
Aga Wronska
f9b78bb69d Merge "Fix focus issues in directory fragment * Empty directory view gets focus when shown * Skip opening drawer when showing empty search results * Fix typo" into nyc-dev 2016-02-16 18:29:50 +00:00
Aga Wronska
d4b1753170 Fix focus issues in directory fragment
* Empty directory view gets focus when shown
    * Skip opening drawer when showing empty search results
    * Fix typo

Bug: 27109140
Change-Id: Ie62d48e1c3f78e5244d88067587b3e5986f99a03
2016-02-16 10:15:24 -08:00