1190 Commits

Author SHA1 Message Date
Geoff Mendal
0595d78d12 Import translations. DO NOT MERGE
Change-Id: I6e0ba0cb89a831434306e8681b9c66d803394103
Auto-generated-cl: translation import
2016-03-07 07:13:50 -08:00
Guang Zhu
c5a511ad0c fix DocumentsUI tests makefile
For instrumentation test apks, it should not statically include
Java libraries that are already present in the app module being
instrumented. They only need to be on classpath during compile
time.

Bug: 26689464
Change-Id: I68d4be95e30ae70bbab23d016a87eb085c10cc50
2016-03-06 00:47:59 +00: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
Aga Wronska
8d07a1d757 Merge "Fixed arranging the views when in tablet landscape layout." into nyc-dev 2016-03-04 19:15:59 +00:00
Aga Wronska
511ee39691 Fixed arranging the views when in tablet landscape layout.
Bug: 27473988
Change-Id: Id0333af9d9c63e1292d234543cd5950ae201f66a
2016-03-04 11:13:07 -08:00
Tomasz Mikolajewski
6d6bbf5f28 Merge "Add broken assert in performance tests of DocumentsUI." into nyc-dev 2016-03-04 02:31:41 +00:00
Steve McKay
eef85e0c02 Merge "Show proper icons for SD and USB attached storage." into nyc-dev 2016-03-03 19:39:18 +00: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
Tomasz Mikolajewski
58f2ccbedf Add broken assert in performance tests of DocumentsUI.
Bug: 27370274
Change-Id: Ibdacd82b384d37d76527c622d9986876fe84fcbd
2016-03-03 18:26:56 +09:00
Steve McKay
3b8db2dc0e Merge "Correctly determine when to show details cell." into nyc-dev 2016-03-03 03:21:27 +00:00
Aga Wronska
8755301017 Merge "Force show keyboard when presenting FragmentDialogs with EditText." into nyc-dev 2016-03-03 01:06:44 +00:00
Aga Wronska
02c532fb54 Force show keyboard when presenting FragmentDialogs with EditText.
Bug: 26823589
Change-Id: I593ed0e7ef40c9c95c311ca529d3826d73496458
2016-03-02 16:32:00 -08:00
Steve McKay
1c1219b250 Correctly determine when to show details cell.
Logic was messed up resulting in no file size and messed up date
    on files.

Change-Id: I02547803de00e1836b20fdf31694ccfd94a8b8f9
2016-03-02 14:06:20 -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
Tomasz Mikolajewski
0d26fdb6cd Merge "Fix DocumentUI's perf tests compile failure." into nyc-dev 2016-03-02 09:00:48 +00:00
Tomasz Mikolajewski
f4628336b2 Fix DocumentUI's perf tests compile failure.
It compiled locally, but not on the APCT.

Bug: 27370274
Change-Id: I7f10f3bf5b370d8e92311febfdcae133148e1312
2016-03-02 17:57:46 +09:00
Tomasz Mikolajewski
ed82931cae Merge "Add a missing include in DocumentsUI Android.mk." into nyc-dev 2016-03-02 08:06:04 +00:00
Tomasz Mikolajewski
04049407a8 Add a missing include in DocumentsUI Android.mk.
Without it, perf tests were not built on APCT.

Bug: 27370274
Change-Id: Ie154526d240bb9d1b4cce6fc089d502bf808c366
2016-03-02 17:03:47 +09:00
Tomasz Mikolajewski
cf057efaff Fix broken tests due to uninitialized roots.
Change-Id: I014657cab86ffa17290ab8990f0adaa6f6451e15
2016-03-02 14:40:43 +09:00
Tomasz Mikolajewski
1a06789959 Merge "Add scaffolds for performance tests of DocumentsUI" into nyc-dev 2016-03-02 05:35:04 +00:00
Tomasz Mikolajewski
ae6d6b494c Add scaffolds for performance tests of DocumentsUI
Bug: 27370274
Change-Id: I14dea1b85cd84c8bb3c0eee27b2954108bfa4f8b
2016-03-02 13:01:11 +09:00
Steve McKay
de5ec832b1 Merge "Fix roots filtering for move operations." into nyc-dev 2016-03-02 01:33:33 +00:00
Steve McKay
ea9ec291ed Fix roots filtering for move operations.
Add test coverage for the Downloads case.
This was a regression to my recent cleanup of RootInfo.
Fixed logic to not exclude basically *everything* when a
    directory is in the set of files to be copied.

Bug: 27303346
Change-Id: I4d5608e0d8d95448b027b20107a11a7a5e46d45e
2016-03-02 01:32:30 +00:00
Steve McKay
d6689d99f7 Merge "Ensure directory names are aligned correctly..." into nyc-dev 2016-03-01 22:30:15 +00:00
Steve McKay
d511a090d2 Merge "Don't assert against Recents title." into nyc-dev 2016-03-01 21:39:27 +00:00
Steve McKay
355d82b67e Don't assert against Recents title.
It was causing a failure.

Bug: 27383076
Change-Id: Ieb4693783831443e05f32333c181371b0eb4fb93
2016-03-01 13:36:22 -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
Felipe Leme
3e166b27fc Created metric events for scoped directory access API.
BUG: 27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
2016-03-01 10:12:58 -08:00
Tomasz Mikolajewski
88d5592ff2 Merge "Remove revealLauncher and revealApp from tests." into nyc-dev 2016-03-01 01:38:52 +00:00
Steve McKay
a1f7680f53 Update preconditions to be asserts...
Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
2016-02-29 14:47:40 -08:00
Ben Kwa
bfbf22b029 Merge "Clean up drag-n-drop." into nyc-dev 2016-02-29 15:27:29 +00: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
Steve McKay
a35eb70b0a Merge "Fix broken ModelBackedDocumentsAdapterTest." into nyc-dev 2016-02-27 01:25:13 +00:00
Steve McKay
58fe5374fd Fix broken ModelBackedDocumentsAdapterTest.
Bug: 27386958
Change-Id: I35b6eff03869f865e0899803c6035c320c437cb6
2016-02-26 17:24:10 -08:00
Steve McKay
550784f8ce Merge "Mark Recents as supporting CREATE." into nyc-dev 2016-02-27 01:11:19 +00:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Steve McKay
327c31383f Mark Recents as supporting CREATE.
Allows Recents as copy/move destination.
Allows Recents (create fragment) for CREATE actions.

Change-Id: I46c4792470d2361c62b26e4a66521d56ce3da474
2016-02-26 15:31:15 -08:00
Aga Wronska
95f44e8f8e Merge "Clear selection mode when changing root" into nyc-dev 2016-02-26 21:32:27 +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
d559743a0d Clear selection mode when changing root
Bug: 27364691, 27142316
Change-Id: I961f3eef67b51a2de999d34edbacd21e4b51c2a4
2016-02-26 13:26:35 -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
Ben Kwa
990489d3a0 Clean up drag-n-drop.
- Enable drag/drop into the current directory.  But...
- Disallow drag/drop from the current directory, into itself.
- Only deselect items when the drop event was handled.

BUG=27359886
BUG=27157111

Change-Id: I7dd46b4a6ebfeb1022ccded39fe5d9a39404ccf7
2016-02-26 09:20:03 -08:00
Aga Wronska
6543be5c17 Fix SearchView background too high
Bug: 27293462
Change-Id: Id694fc9c1a7d6e21534e74e20f95c8c080861598
2016-02-25 17:19:17 -08:00