History log of /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c4011fceaaf1e4d8aeaf1b371f97a6793f7cae76 29-Jun-2016 Steve McKay <smckay@google.com> Allow quick view package to be set via setprop.

This allows testers to turn it on via adb.

Bug: 29875957
Change-Id: If4563a1799a7c1a1adead9ecfdb4c6ef0c07f82b
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
6be540666ab6c52e103c8e1faf03945fe2b5fa3c 25-Apr-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix index computation for quick viewing.

Bug: 28305994
Change-Id: I8c7abc83bd5ca6f01533a4a7ed0bb995c00833af
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
76572d6f19f5635618a72e56014ca5a879b6a48d 11-Apr-2016 Tomasz Mikolajewski <mtomasz@google.com> Restrict selection to 1000 items in DocumentsUI.

Bug: 27208679
Change-Id: I5e500724a3fb9af5b8f59e0c959523da5066b1fd
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
dcc68fdd0ca1f0d2d2dfb979dd837ac2dd2e16f3 12-Apr-2016 Steve McKay <smckay@google.com> Daeal with null cursors more leniently.

Since modelId may not in fact result in a cursor.
Bug: 28074284

Change-Id: I8632c9c7d5e3da32080c07033089173105c03646
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
c05d98f64e62f57c34e3e00b05261e94b781b1e3 07-Mar-2016 Tomasz Mikolajewski <mtomasz@google.com> Improve sorting performance by 2.5 times.

This CL replaces List<String> with String[], which prevents from
calling get() and set() multiple times within a loop, in favor of
System.arraycopy().

Scanning a directory with 10K files went down from 1200ms to 450ms.

Bug: 27286016
Change-Id: Id533480934f739905a845cb0e13fe862e361b3db
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
32a34d337977618d95ab183f65627a4ff4b9a390 16-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Limit number of ClipData items for a quick viewer to 1000.

Bug: 20822219
Change-Id: I774be914ddeea0335dc646000a1d5c997ea73fd4
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
3d988a969f39ca34ef89c449a0675164499c9a3a 15-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Provide siblings in a sorted orders in DocumentsUI.

Bug: 27192158
Change-Id: Idefd2ba3027cd4630fcd2aefade9e6b4952e7125
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
c2b1237ca53fe2de68bdd9e59c1dd3572679965d 20-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Do not launch a quick viewer unless it's whitelisted.

Bug: 26697917
Change-Id: Ibe2c7c462380c219d6ce5b5c69af6dac0df62d41
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
862b9641e39997f5189dadf0f0c6776f911f344e 07-Dec-2015 Ben Kwa <kenobi@google.com> Re-enable sorting in the DirectoryFragment.

- Move sorting from the back-end (using SortingCursorWrapper) to the the
front-end (in DocumentsAdapter). This makes it such that re-sorting
the directory contents doesn't necessitate a reload.
- Update DirectoryLoaders to just return unsorted results, and rely on
the UI to sort them.
- Remove the (now-unused) SortingCursorWrapper.
- Update Model tests to test sorting.

BUG=26024369

Change-Id: I871cc0e496267d381ae546e0309125d04649415a
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
1eafb666c24736be4454c199a62c256c55e86bc4 23-Oct-2015 Steve McKay <smckay@google.com> Address followup comments from 793838.

Change-Id: Ie77112ea38796f970a8f688c1c94aeb05f46ab78
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
3b2ad11fca93f07ab552ea41452e43168888833b 16-Oct-2015 Steve McKay <smckay@google.com> Enable explicit package for quick view intent.

Define the package in config...suitable for setup via overlay.
Undefined by default makes the feature disabled on phones...n stuff.
Fall back to single-file QUICK_VIEW.
Work around 24963914 (for now).

Bug: 24963914
Change-Id: Ia9c5a606d294ae053fd5e60d015f0aa0010eba4f
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
7a3b88cf56ded3afb9bd6d1ad150b2d6b1f2f4d7 24-Sep-2015 Steve McKay <smckay@google.com> Move State to a separate file.

Update remaining local DEBUG definitions to use Shared.DEBUG.

Change-Id: I3ed4d4b184836da161adff14bd3d9ca01b435847
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
58efce36cd1b26006e08ddd696292bf06fc34c81 20-Aug-2015 Steve McKay <smckay@google.com> Use type inference where possible.

Normalize use of Annotations like VisibleForTesting, Nullable and so on.
Also, fix a small issue where we were not doubling the marging on cells when calculating columns for grid view.

Change-Id: Ia02f683c2682fa8d0963d13f253a359911d27965
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
6eaf3863c81779233c032b7f7fc5b90e94f5f70a 04-Aug-2015 Steve McKay <smckay@google.com> Populate quick view intent w/ file uris.

Change-Id: Ie4f15b11be1939f8b71752505caa9d74ab9f9680
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java