summaryrefslogtreecommitdiff
path: root/packages/DocumentsUI/src/com/android/documentsui/QuickViewIntentBuilder.java
AgeCommit message (Collapse)Author
2016-07-29Delete orig DocumentsUI.Steve McKay
Bug: 29224737 Change-Id: I6d6327918adba699d2ed3652bc2dbea27f872284
2016-06-29Allow quick view package to be set via setprop.Steve McKay
This allows testers to turn it on via adb. Bug: 29875957 Change-Id: If4563a1799a7c1a1adead9ecfdb4c6ef0c07f82b
2016-04-25Fix index computation for quick viewing.Tomasz Mikolajewski
Bug: 28305994 Change-Id: I8c7abc83bd5ca6f01533a4a7ed0bb995c00833af
2016-04-19Restrict selection to 1000 items in DocumentsUI.Tomasz Mikolajewski
Bug: 27208679 Change-Id: I5e500724a3fb9af5b8f59e0c959523da5066b1fd
2016-04-12Daeal with null cursors more leniently.Steve McKay
Since modelId may not in fact result in a cursor. Bug: 28074284 Change-Id: I8632c9c7d5e3da32080c07033089173105c03646
2016-03-08Improve sorting performance by 2.5 times.Tomasz Mikolajewski
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
2016-02-18Limit number of ClipData items for a quick viewer to 1000.Tomasz Mikolajewski
Bug: 20822219 Change-Id: I774be914ddeea0335dc646000a1d5c997ea73fd4
2016-02-16Provide siblings in a sorted orders in DocumentsUI.Tomasz Mikolajewski
Bug: 27192158 Change-Id: Idefd2ba3027cd4630fcd2aefade9e6b4952e7125
2016-01-21Do not launch a quick viewer unless it's whitelisted.Tomasz Mikolajewski
Bug: 26697917 Change-Id: Ibe2c7c462380c219d6ce5b5c69af6dac0df62d41
2015-12-16Re-enable sorting in the DirectoryFragment.Ben Kwa
- 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
2015-10-26Address followup comments from 793838.Steve McKay
Change-Id: Ie77112ea38796f970a8f688c1c94aeb05f46ab78
2015-10-16Enable explicit package for quick view intent.Steve McKay
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
2015-09-23Move State to a separate file.Steve McKay
Update remaining local DEBUG definitions to use Shared.DEBUG. Change-Id: I3ed4d4b184836da161adff14bd3d9ca01b435847
2015-08-20Use type inference where possible.Steve McKay
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
2015-08-04Populate quick view intent w/ file uris.Steve McKay
Change-Id: Ie4f15b11be1939f8b71752505caa9d74ab9f9680