summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Ensure list scrolling API is in parity with view scrolling API" into ↵Alan Viverette2013-09-031-1/+2
|\ | | | | | | klp-dev
| * Ensure list scrolling API is in parity with view scrolling APIAlan Viverette2013-09-031-1/+2
| | | | | | | | Change-Id: Icaf533c0085b80f3c52cc026e0da7468698724f9
* | Merge "VideoView: add addSubtitleSource" into klp-devLajos Molnar2013-09-031-0/+3
|\ \ | |/ |/|
| * VideoView: add addSubtitleSourceLajos Molnar2013-08-301-0/+3
| | | | | | | | | | | | | | | | A way to add external subtitle file to VideoView. Change-Id: Ic110238408550a5b4088851bc5da5e94eb58d831 Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 10326117
* | Merge "Improve constant names for settings injection API" into klp-devTom O'Neill2013-09-031-3/+4
|\ \
| * | Improve constant names for settings injection APITom O'Neill2013-08-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Add timing for getStatus() call to encourage implementors to be fast - Affects b/10461474 Change-Id: I503cbae5cf27008c587a39ab4e60d8e09daedecc
* | | Add drawable for Apdu Services, fix build.Martijn Coenen2013-09-031-0/+1
| | | | | | | | | | | | Change-Id: I7c138adb60b2efe19377b58b35360cd234628424
* | | NFC: @hide and remove abstract from processCommandApdu().Martijn Coenen2013-09-031-1/+0
| | | | | | | | | | | | | | | | | | | | | Replaced by new version with Bundle extras. Bug: 10550349 Change-Id: If5f284c6d9b14ab32670ebc84881f459813b5b56
* | | Merge "Fix build; add new ScaleGestureDetector constructor" into klp-devMindy Pereira2013-09-031-0/+1
|\ \ \
| * | | Fix build; add new ScaleGestureDetector constructorMindy Pereira2013-09-031-0/+1
| | | | | | | | | | | | | | | | Change-Id: I1b6e7ef36ce79852acd6cefe03fc94143641ff0e
* | | | Merge "Add doubletap swipe to scalegesturedetector" into klp-devMindy Pereira2013-09-031-0/+1
|\ \ \ \
| * | | | Add doubletap swipe to scalegesturedetectorMindy Pereira2013-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I070b09ed7295e0c3e07c6dffcdaba20226f7c2a3
* | | | | Merge changes Ic710807d,I88dfcc8c into klp-devKenny Root2013-09-031-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Unhide functions to allow ECDSA support Add support for DSA and ECDSA key types
| * | | | | Unhide functions to allow ECDSA supportKenny Root2013-09-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10600582 Change-Id: Ic710807d7e771737521e0abd83af2f666ec1199c
* | | | | | Merge "HCE API review." into klp-devMartijn Coenen2013-09-031-7/+7
|\ \ \ \ \ \
| * | | | | | HCE API review.Martijn Coenen2013-08-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeping some of the old stuff @hide until all clients have upgraded. Bug: 10550349 Change-Id: Id5de7ab74c9b38c179fd20bd4746d95b7df8f033
* | | | | | | Merge "Public API for RemoteControlClient ratings and editable metadata" ↵Jean-Michel Trivi2013-09-031-0/+16
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | into klp-dev
| * | | | | | Public API for RemoteControlClient ratings and editable metadataJean-Michel Trivi2013-08-291-0/+16
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A rating for RemoteControlClient content is: - a value between 0 and 100 - or a value indicating there is no rating For a same piece of content, a rating can come from: - the user - "others" (i.e. not the user), to provide an average rating Rating styles are: - heart (a toggle) - thumb up / down - stars (with a configurable maximum number of stars) For editable metadata, add: - methods to control which keys can be edited, - interface for an application to receive new values for a key. Rating by user is editable metadata. Bug 8440498 Change-Id: Ia9f61e750772658051cea1ac7c316187717f0f58
* | | | | | Merge "New recents behavior to match spec." into klp-devJeff Sharkey2013-09-031-0/+1
|\ \ \ \ \ \
| * | | | | | New recents behavior to match spec.Jeff Sharkey2013-09-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated behavior queries each documents root for recently modified documents. It uses a new variant of DirectoryLoader which limits the maximum number of parallel queries to relieve memory pressure. When first started, it waits up to 500ms for everyone to finish, then publishes whatever results are ready, and then refreshes results as each straggler finishes. New RootCursorWrapper that always blends in authority and rootId columns, which are used for binding root details from blended cursors. Bug: 10593596, 10329994 Change-Id: Icc0d4a2f1b6166edc72f78a4c88f444eeba6f2f0
* | | | | | | Merge "Refactoring of DocumentsContract." into klp-devJeff Sharkey2013-09-031-44/+47
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Refactoring of DocumentsContract.Jeff Sharkey2013-08-311-44/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combines related columns and constants onto the same class so they are easier to discover. Move back to surfacing roots with columns so they are consistent with documents. Advanced roots are represented with a flag instead of distinct types. Flags to indicate supporting of well-known media types, instead of arbitrary an MIME filter. Reintroduce well-formed rootId to support recents. Always use the expanded version of "documents" in constants, methods, and argument names. Refactor DocumentProvider method names to clearly distinguish if a single item or multiple could be returned, and of which type. Add documentation to clearly define which methods have already been overridden. Bug: 10567506, 10567557 Change-Id: I981f26ab82f2b520a19aa1ce66f659de50d7fac0
* | | | | | | Merge "DO NOT MERGE. Remove service component for KLP." into klp-devMatthew Williams2013-08-301-15/+2
|\ \ \ \ \ \ \
| * | | | | | | DO NOT MERGE. Remove service component for KLP.Matthew Williams2013-08-301-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) As discussed, lack of internal clients -> remove SyncService component from KLP. This CL reverts that addition. 2) Also includes javadoc cleanup of existing API. 3) Fix naming of allowMetered() -> disallowMetered() in API 4) Removed one-off sync in the future, as it doesn't make sense for sync adapters. Change-Id: I1b17094e6edafb2955cdfb99f39b44274fbe86f9
* | | | | | | | Merge "Update captioning APIs" into klp-devAlan Viverette2013-08-301-6/+16
|\ \ \ \ \ \ \ \
| * | | | | | | | Update captioning APIsAlan Viverette2013-08-291-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CaptioningManager is now a first-class service in Context and can have listeners added to it to monitor changes. BUG: 10260603, 10461210 Change-Id: I2df5b2997537bb343d902b7ace3343ad483f3717
* | | | | | | | | Fix bug #10549094 KLP API Review: android.util.LayoutDirectionFabrice Di Meglio2013-08-291-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use constant class instead of an interface - make it final Change-Id: I1bde76eb84cd92427e4e1fc2483cdecec429ae99
* | | | | | | | Merge "Cleanup API typo" into klp-devJason Sams2013-08-301-3/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Cleanup API typoJason Sams2013-08-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 10548782 Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0
* | | | | | | | | Merge "Print spooler security and some new print service facing APIs." into ↵Svetoslav Ganov2013-08-291-7/+14
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | klp-dev
| * | | | | | | | | Print spooler security and some new print service facing APIs.Svetoslav Ganov2013-08-291-7/+14
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Updated the security mode of the print spooler. Now the spooler is not signed with the system key, it is not a privileged app so if it gets compromised (PDF rendering is a potential attack vector) it cannot access dangerous permissions. Also only the system can bind to the spooler. 2. Added APIs for asking a print service to start and stop tracking a given printer. This is need for the case when the user selects the printer and the print service should do a best effort to keep the system updated for the current state of the printer. 3. Added APIs for putting a print job in a blocked state. A print service would report the print job as blocked if for some reason the printer cannot proceed, e.g. 99 pages are printed but there is no paper for the last one. The user has to add more paper and the print service can resume the job. 4. Changed the read/write APIs to use ParcelFileDescriptor instead of FileDescriptor since the latter does not have a clean API for detaching the wrapped Linux file descriptor when one wants to push it to native. 5. Added API for getting the size of the printed document so the print service can avoid handling big filed over cellular network or ask the user if needed. 6. Now the print services that are preinstalled on the system image are automatically enabled. Change-Id: Ia06c311d3d21cabb9e1368f13928e11cd0030918
* | | | | | | | | GridLayout changes for API councilAdam Powell2013-08-291-2/+0
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Hide set/getPrinter methods. A change/addition like this should happen for all views if it happens, not just for one specific view. * Follow Android style guidelines for fields. Bug 10549037 Change-Id: I1823d7bbbd8bcc678c5be2358ca23a8dc6dbfd15 (cherry picked from commit 916159461bf17e13c245a709935a0d1133e0ed91)
* | | | | | | | Merge "Unhide USAGE_IO_INPUT functions" into klp-devJason Sams2013-08-291-0/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Unhide USAGE_IO_INPUT functionsJason Sams2013-08-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9c1a7e5d65adee133b99b9a94729ab0b3d5a097f
* | | | | | | | | Merge "Add an API for querying HCE service selection mode." into klp-devMartijn Coenen2013-08-291-0/+4
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | |
| * | | | | | | | Add an API for querying HCE service selection mode.Martijn Coenen2013-08-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows applications to differentiate between the case where another app is the default, or the case where the selection mode is "Ask every time". Also, parse new requireDeviceUnlock attribute in ApduServiceInfo. Bug: 10262585 Change-Id: Icac508fe00054132574731532c05a1138edb24f5
* | | | | | | | | Merge "Add requireDeviceUnlock attribute for NFC HCE." into klp-devMartijn Coenen2013-08-291-1/+2
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add requireDeviceUnlock attribute for NFC HCE.Martijn Coenen2013-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added AID description, and renamed PackageManager feature. The old name has to stay at least for a bit, because we are already deploying apps in our builds that use the constant. Bug: 10461409 Bug: 10461753 Change-Id: I7a5bb023bb567dd8b0a17e8e54e9559d7fcf64f5
* | | | | | | | | Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-devIsaac Katzenelson2013-08-291-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Add ACTION_SHOW_ALARMS to Clock APISam Blitzstein2013-08-291-0/+1
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add in an action to jump to the alarms page of a clock app. Helpful for quick settings, for example. Bug: 10506871 Change-Id: Ia18708c7962543911864dfaefa17d5356eed1b45
* | | | | | | | Merge "Stronger DocumentsProvider contract." into klp-devJeff Sharkey2013-08-291-39/+52
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | |
| * | | | | | | Stronger DocumentsProvider contract.Jeff Sharkey2013-08-281-39/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a contract class requires that a provider implement it exactly with little help. This change introduces a DocumentsProvider abstract class that provides a client-side implementation of the contract that greatly reduces developer burden, and improves correctness. This also moves to first-class DocumentRoot objects, and moves calls with complex side effects to be ContentProvider.call() invocations, offering more granular permission control over Uri operations that shouldn't be available through Uri grants. This new design also relaxes the requirement that root information be burned into every Uri. Migrate ExternalDocumentsProvider and DocumentsUI to adopt new API. Bug: 10497206 Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
* | | | | | | | Merge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-devJohn Spurlock2013-08-291-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE.John Spurlock2013-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And add more colour to the docs. Bug:10460791 Change-Id: I703d927101bb034ba6dd061e6afd3e1946440fe5
* | | | | | | | | Merge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." ↵Isaac Katzenelson2013-08-281-1/+0
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | into klp-dev
| * | | | | | | | Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.Sam Blitzstein2013-08-281-1/+0
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead, apps that pick up these intents should automatically delete alarms and timers, unless the user is taken into the app to explicicitly specify the time/length. Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c
* | | | | | | | Implement new accessibility APIs in lists, text viewAlan Viverette2013-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sets contentInvalid for TextViews with errors, sets collection and item properties in AbsListView, GridView, and ListView. BUG: 10391326 Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b
* | | | | | | | Merge "Add public API for obtaining drag-to-open listener" into klp-devAlan Viverette2013-08-281-0/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add public API for obtaining drag-to-open listenerAlan Viverette2013-08-271-0/+2
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 10457019 Change-Id: I66485521c54b82033044834e7aab6707a3049e6b
* | | | | | | Merge "Print APIs update." into klp-devSvetoslav Ganov2013-08-281-4/+30
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |