summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
Commit message (Collapse)AuthorAgeFilesLines
* Light icons for DocumentsUI.Jeff Sharkey2014-07-307-9/+33
| | | | | | | | In some cases we want to show light variants. Also tweak drawer sizes and grid padding. Bug: 15836082 Change-Id: Ic6459ff0533a7d346c03db5d7deb3d6da42e7649
* Latest DocumentsUI material asset drop.Jeff Sharkey2014-07-29149-69/+2
| | | | | Bug: 15836082 Change-Id: Ifdd8a42a963071f1c958d56b3f835228f257cf9a
* More DocumentsUI material iteration.Jeff Sharkey2014-07-2927-274/+321
| | | | | | | | | | | | | | Move to using Toolbar for all actions. Drawer contains its own Toolbar with separate title, and hamburger is always visible. Change drawer items to match spec. Switching to Toolbar allows us to remove nasty dialog-on-tablet hacks, yay! This also means we can finally get real IME resizing support. Move to using elevation for all shadows; this removes more nasty hacks around drawing directory shadows. Bug: 15836082 Change-Id: Iba70b898f385a7debd8aabfc98ff39d20bca860d
* First pass at Materializing DocumentsUI!Jeff Sharkey2014-07-28312-379/+511
| | | | | | | | | | | | | | | Initial Material asset drop, which still needs some tweaking. Moved back to framework list item selectors, giving us ripples. Using accent color overlay for activated items. Align all items to new Material grid, including insetting list divider and resizing list items on wide screens. Fix obscure RTL drawing bug. Still lots of work left. Bug: 15836082 Change-Id: I729cc7dcb0271ee62b55d1e036fc28427fc0dd3d
* Remove deprecated locales - DO NOT MERGEBaligh Uddin2014-07-199-493/+0
| | | | Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
* Import translations. DO NOT MERGEBaligh Uddin2014-07-162-3/+3
| | | | | Change-Id: I8c040d7092dcdc68fe1e640a759123b306eff507 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-07-059-2/+442
| | | | | Change-Id: I2f4e298839b4ba9976ec6be66bf22b90eb43e804 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-3018-7/+836
| | | | | Change-Id: Ia81c920a4555c9f2d98668dd83f2436cafd7a98c Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-261-3/+3
| | | | | Change-Id: Ide25c1a618ebed66da3ad87834761ddbf23ff08c Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-251-3/+3
| | | | | Change-Id: Ie973b84c6d4a628cc077b4d493c15de9f7ab3cd6 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-181-3/+3
| | | | | Change-Id: I7e78e5e9d8a5517ce9c6587869b82c0be2f59e4f Auto-generated-cl: translation import
* Merge "Import translations. DO NOT MERGE"Baligh Uddin2014-06-101-3/+3
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-06-091-3/+3
| | | | | | | | | | Change-Id: I707193ee90e9d0d5cb8de2a9987cfe243dd7f440 Auto-generated-cl: translation import
* | am 99f4fe07: Merge "Refactor directory API to "opening document tree."" into ↵Jeff Sharkey2014-06-104-24/+26
|\ \ | |/ |/| | | | | | | | | lmp-preview-dev * commit '99f4fe0797adb8350f92c7d1ba11776d1947e768': Refactor directory API to "opening document tree."
| * Refactor directory API to "opening document tree."Jeff Sharkey2014-06-094-24/+26
| | | | | | | | | | | | | | | | | | Cleans up API so it consistently refers to opening or working with a subtree of documents. Also separates isChildDocument() support from the concept of directory tree selection. Bug: 15429194 Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
* | Import translations. DO NOT MERGEBaligh Uddin2014-06-041-3/+3
| | | | | | | | | | Change-Id: Iae203008f0966dd0803723e366c75e72dcdf3c63 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2014-06-023-5/+5
| | | | | | | | | | Change-Id: I1bd3672acdf5240152f51ab057999b47b97a9823 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2014-05-281-3/+3
| | | | | | | | | | Change-Id: I3fea029ae2a0d46867dcb8461b65f788457f9edf Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2014-05-261-2/+2
|/ | | | | Change-Id: I982d4f179f55bff026a0173a4e8e740be03af4af Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-05-2055-12/+67
| | | | | Change-Id: I154e5f25182ab3b16360623f3433ae8f745594f1 Auto-generated-cl: translation import
* merge master nova by hand, skipped translationsEd Heyl2014-05-1455-67/+12
|\ | | | | | | Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
| * am 50386c57: am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode ↵Jeff Sharkey2014-05-101-0/+2
| |\ | | | | | | | | | | | | | | | | | | title to the number of selected files" * commit '50386c5701a0bc08e7a851cd92f44e985a4b2cca': Set ActionMode title to the number of selected files
| * \ am 21de56a9: Add directory selection to DocumentsProvider.Jeff Sharkey2014-04-237-288/+206
| |\ \ | | | | | | | | | | | | | | | | * commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd': Add directory selection to DocumentsProvider.
| * \ \ am b325345e: Merge "Switch framework Holo references to Quantum.Light"Alan Viverette2014-04-023-5/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae': Switch framework Holo references to Quantum.Light
* | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-121-3/+3
| |_|_|/ |/| | | | | | | | | | | | | | | Change-Id: If60a8ee5762d1e89e73afd0b3d5e79b3ef4916c1 Auto-generated-cl: translation import
* | | | am ddba067f: am f521ee6f: am e3e2c471: Merge "Set ActionMode title to the ↵Jeff Sharkey2014-05-101-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | number of selected files" * commit 'ddba067f0fa1560ce3e1aff58d512824ac2e2d7d': Set ActionMode title to the number of selected files
| * \ \ \ am e3e2c471: Merge "Set ActionMode title to the number of selected files"Jeff Sharkey2014-05-101-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795': Set ActionMode title to the number of selected files
| | * | | | Set ActionMode title to the number of selected filesStefan Wysocki2014-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After change of orientation ActionMode is recreated without previously set title. It needs to be updated in onCreateActionMode callback. Change-Id: If5f36e8ad6d1b5cf04ed242611fd037969d73517
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia11b15d1e802b1f4fb3afbc9261487a5ab364a7f Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-2855-110/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0759dcb477375df5e96160003f421821fb5ba371 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-2355-0/+110
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Change-Id: I71ec42f4923a70bc8e34f16a55ffeb5f63e92ec8 Auto-generated-cl: translation import
* | | | | Add directory selection to DocumentsProvider.Jeff Sharkey2014-04-227-288/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce new ACTION_PICK_DIRECTORY that allows users to grant access to an entire document subtree. Instead of requiring grants for each individual document, this leverages new prefix URI permission grants by defining new "via"-style URIs: content://com.example/via/12/document/24/ This references document 24 by using a prefix grant given for document 12. Internally, we use isChildDocument() to enforce that 24 is actually a descendant (child, grandchild, etc) of 12. Since this is an optional API, providers indicate support with Root.FLAG_SUPPORTS_DIR_SELECTION. Extend DocumentsUI to support picking directories. Expose createDocument() API to work with returned directories. Offer to canonicalize via-style URIs into direct URIs, generating exact permission grants along the way. Override openAssetFile() to pass through CancellationSignal. Move testing code into ApiDemos. Bug: 10607375 Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
* | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ice08934e78e95e0c229189902366db69498d82fa Auto-generated-cl: translation import
* | | | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2014-04-161-3/+3
|\ \ \ \ \
| * | | | | Import translations. DO NOT MERGEBaligh Uddin2014-04-141-3/+3
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Change-Id: I1d43a2f0495c5744cfea7c9a5932522c50f7492a Auto-generated-cl: translation import
* | | | | am b325345e: Merge "Switch framework Holo references to Quantum.Light"Alan Viverette2014-04-023-5/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae': Switch framework Holo references to Quantum.Light
| * | | | Switch framework Holo references to Quantum.LightAlan Viverette2014-04-013-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
| * | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-242-3/+3
|/ / / / | | | | | | | | | | | | | | | | Change-Id: Ie37886c814e5006a99ec64b6d1feafa39ebdc7b8 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBaligh Uddin2014-03-194-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I2e61beac4aa1eb5e5adac7d71653e4d6308cd937 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEGeoff Mendal2014-03-171-1/+1
| |_|/ |/| | | | | | | | | | | Change-Id: Ic78ab9269a3e4b81d94756bcba14123c05969387 Auto-generated-cl: translation import
* | | resolved conflicts for merge of e0b14ea7 to masterKenny Root2013-12-132-5/+5
|\ \ \ | |/ / | | | | | | Change-Id: Ie018d3e2eba1eb2d655c153880e1951b68c2bd51
| * | am 37c69fdd: Merge "Use java.util.Objects instead on internal API"Kenny Root2013-12-132-5/+5
| |\ \ | | |/ | | | | | | | | | * commit '37c69fdd826f3973966430adc1abfbefc19bc16e': Use java.util.Objects instead on internal API
| | * Use java.util.Objects instead on internal APIKenny Root2013-12-132-5/+5
| | | | | | | | | | | | | | | | | | | | | Not needed since java.util.Objects implements all the needed functionality. Change-Id: Icd31d49a9801d1705427f028e9ac927d58e7d34c
* | | Remove deprecated localesBaligh Uddin2013-12-091-53/+0
| | | | | | | | | | | | | | | Bug:11340849 Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
* | | Remove unused imports from frameworks/base.John Spurlock2013-11-203-4/+0
| | | | | | | | | | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* | | am 37ba54ac: am eb4dc749: am 6d0d4b5b: Merge "Mask OOBE when filtering ↵Jeff Sharkey2013-11-192-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | recent documents." into klp-dev * commit '37ba54ac13e6f8cff70d3138a029cfdd4733aba7': Mask OOBE when filtering recent documents.
| * | am eb4dc749: am 6d0d4b5b: Merge "Mask OOBE when filtering recent documents." ↵Jeff Sharkey2013-11-192-1/+5
| |\ \ | | |/ | |/| | | | | | | | | | | | | into klp-dev * commit 'eb4dc749de7f6ee45cae070db960890643e94aff': Mask OOBE when filtering recent documents.
| | * am 6d0d4b5b: Merge "Mask OOBE when filtering recent documents." into klp-devJeff Sharkey2013-11-192-1/+5
| | |\ | | | | | | | | | | | | | | | | * commit '6d0d4b5b5a66ea348c2cdd89a89d4ab7f0483829': Mask OOBE when filtering recent documents.
| | | * Mask OOBE when filtering recent documents.Jeff Sharkey2013-11-182-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a data ownership issue related to recent documents Cursors, and the loader and UI threads can end up traversing the same Cursor at runtime. This change masks OOBE crashes caused by this race until we have time to fix cleanly. Bug: 11736668 Change-Id: I2039a5edcf341fcaedacc2f08bde96fc5a271782
| | | * Import translations. DO NOT MERGEBaligh Uddin2013-11-041-1/+1
| | |/ | | | | | | | | | | | | Change-Id: I51676d5c61313a165f7a1cce21e46cb1c5ebe68d Auto-generated-cl: translation import