summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Add full screen size preset to WearableExtenderGriff Hazen2014-05-271-0/+1
| | | | | | | For custom display notifications. Bug: 14838838 Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
* Add confidence to the heart rate monitor definition and clarify onAccuracyChangeEtienne Le Grand2014-05-231-0/+1
| | | | Change-Id: I686d07dcd603bf3c3be3c1471de8be3b4e240855
* Api updates for wearable extensions to notificationsGriff Hazen2014-05-221-80/+60
| | | | | | | | | | | | 1. Move Extender outside of Builder 2. Rename apply/applyTo to extend 3. Move Wearable extenders into Notification.java 4. Collapse Builder model into single classes 5. Use Bundle for storage: no new parcelable types. Minor fix to RemoteInput to use flags int for boolean options. Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
* Fixes to WearableActionExtensionsGriff Hazen2014-05-201-5/+5
| | | | | | | | | * Add missing parcelable creator. * Review fixes. * Minor doc fixes. * Kill SIZE_FULLSCREEN Change-Id: Iaf6458fdd3482202aa416ebaf2302f79cb48635e
* Add wearable notification extensions to frameworks/base.Griff Hazen2014-05-201-0/+74
| | | | Change-Id: Ic312cec7dc11e637002ff2be3975940a93a6babf
* Add RemoteInput, Grouping, and Extender to Notification api.Griff Hazen2014-05-201-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | RemoteInputs annotate actions and content intents to request input from the user as part of an intent being sent. Results are sent along using ClipData to avoid unparcel of developer provided bundle values. A helper method is expexted to be used to extract results. Grouping allows notifications to be bundled together, with an optional summary notification for display on older platforms. SortKey is an important part of grouping since child notifications will likely have a prescribed ordering. It is also useful in top level notifications for apps that want to provide an ordering all other fields being equal. Also provide a fluid way to to extend Actions and Notifications using Extenders, e.g.: Notification n = new NotificationCompat.Builder(context) .setOption1() .apply(new SomeExtender() .setOption2()) .build(); This helps extension libraries provide a nice API experience for devs. Change-Id: Ib3438ef854772c2c34d21bf1eb4ed7c9e032106f
* Add PackagManager flag for WebView system feature.Ben Murdoch2014-05-191-0/+1
| | | | | | | | | Add a flag for PackageManager.hasSystemFeature to determine if a functional webview is available on the device. Bug: 13438487 Change-Id: I770f7e924b3e5fa6be0397904acf18c9306096e4
* Add support for extendable actions to Notification.Griff Hazen2014-05-151-0/+10
| | | | Change-Id: I2945a6994a28fc454af3f84e75c96d7619547f01
* Set KITKAT_WATCH to be level 20, document API specific changes.Justin Koh2014-05-131-1/+1
| | | | | Bug: 14116162 Change-Id: Iab094dbd0add414a365234c275bd473787b8803b
* Hide new methods in notificationlistenerservice DO NOT MERGEJustin Koh2014-05-131-3/+0
| | | | | | | Hide new methods in notificationlistenerservice for now. Bug: 14116162 Change-Id: Ib57fd2feff174ab8638bd172710873e9e2be553a
* Merge "DO NOT MERGE Hide more leanback stuff." into klp-modular-devTim Kilbourn2014-05-121-2/+0
|\
| * DO NOT MERGE Hide more leanback stuff.Tim Kilbourn2014-05-061-2/+0
| | | | | | | | | | | | | | | | - leanback intent category - FLAG_IS_GAME Bug: 14116162 Change-Id: I5665dda4c47e24a06707df4989ee117b4e91c246
* | Merge "DO NOT MERGE Hide leanback packagemanager apis." into klp-modular-devTim Kilbourn2014-05-121-4/+1
|\ \ | |/
| * DO NOT MERGE Hide leanback packagemanager apis.Tim Kilbourn2014-05-061-4/+1
| | | | | | | | | | Bug: 14116162 Change-Id: I410d720013ba4e2bc1b0f8a6973daba5ca9008c6
* | DO NOT MERGE: Add android.hardware.camera.external feature.Eino-Ville Talvala2014-05-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | This feature will be listed by Android devices that allow for an external camera to be connected to it. Such camera devices may not always be available or connected. Also clarify that android.hardware.camera.any also encompasses devices that list android.hardware.camera.external. Change-Id: I57497758877e4286c1f0116961731d483b56808f
* | Merge "Adding a HeartRate Feature" into klp-modular-devVinod Krishnan2014-05-071-0/+1
|\ \
| * | Adding a HeartRate FeatureVinod Krishnan2014-05-051-0/+1
| | | | | | | | | | | | | | | | | | Bug: 14140142 Change-Id: I080bf12995355eac7621ef46e1a4a64d1f865500
* | | Clean up WindowInsets API for releaseAdam Powell2014-05-061-12/+3
| |/ |/| | | | | | | | | | | | | | | Hide window decor inset methods and rename the clone* methods to have less baggage. Bug 14566960 Change-Id: Ia06bb959fd77acd6ff69f337c3200047a529612a
* | Merge "DO NOT MERGE Hide banner manifest attribute." into klp-modular-devTim Kilbourn2014-05-061-1/+0
|\ \
| * | DO NOT MERGE Hide banner manifest attribute.Tim Kilbourn2014-05-061-1/+0
| | | | | | | | | | | | | | | Bug: 14116162 Change-Id: I42a73183bee52286ff315fa5b0f58bfdfc020485
* | | Merge "onWindowDismissed API cleanup" into klp-modular-devAdam Powell2014-05-061-4/+0
|\ \ \ | |/ / |/| |
| * | onWindowDismissed API cleanupAdam Powell2014-05-051-4/+0
| |/ | | | | | | | | | | | | | | | | Move the window swipe to dismiss plumbing off of Window.Callback into its own internal interface implemented by Activity and Dialog. Make it internal API instead of public. Apps should control this via the window feature setting. Change-Id: I64cd237fa7eab08719b2c34e31dac7d34f02563a
* | Update current.txt after hiding isGame.Tim Kilbourn2014-05-061-1/+0
| | | | | | | | Change-Id: I034126f464fdd759c19ff55000004d36463d9cd6
* | Merge "Hide startMethodTracingSampling DO NOT MERGE" into klp-modular-devJustin Koh2014-05-051-1/+0
|\ \
| * | Hide startMethodTracingSampling DO NOT MERGEJustin Koh2014-05-051-1/+0
| | | | | | | | | | | | | | | Bug: 14116162 Change-Id: I68470f02a2b6c2f0d9a1cb52bb4b7eeea10b43cf
* | | Merge "Hide KeyEvent#isCancelKey, isConfirmKey DO NOT MERGE" into ↵Justin Koh2014-05-051-2/+0
|\ \ \ | | | | | | | | | | | | klp-modular-dev
| * | | Hide KeyEvent#isCancelKey, isConfirmKey DO NOT MERGEJustin Koh2014-05-051-2/+0
| | | | | | | | | | | | | | | | | | | | Bug: 14116162 Change-Id: I6b947c9b46bb5ea094b39428bb432e8f6fc6b57a
* | | | Merge "Hide InputDevice#supportsSource DO NOT MERGE" into klp-modular-devJustin Koh2014-05-051-1/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Hide InputDevice#supportsSource DO NOT MERGEJustin Koh2014-05-051-1/+0
| |/ / | | | | | | | | | | | | Bug: 14116162 Change-Id: I7c0ae516596f965083622aa77281abf6d47dc0b7
* | | DO NOT MERGE Hide Notification categories from API 20 (KKWT)Griff Hazen2014-05-051-16/+0
|/ / | | | | | | | | | | Bug: 14116162 Change-Id: I59e499dde9a06a4bf455eecb3665afaa1b574dae
* | Merge "Hide HDMI CEC from KKWT DO NOT MERGE" into klp-modular-devJustin Koh2014-05-051-134/+0
|\ \
| * | Hide HDMI CEC from KKWT DO NOT MERGEJustin Koh2014-05-051-134/+0
| |/ | | | | | | | | | | Hide HDMI CEC from KKWT. Bug: 14116162 Change-Id: I086a5e51bd848a5097ccb0c47900fde30db2e7aa
* | Merge "Hide getRequiredPermission in android.hardware.Sensor DO NOT MERGE" ↵Justin Koh2014-05-051-1/+0
|\ \ | | | | | | | | | into klp-modular-dev
| * | Hide getRequiredPermission in android.hardware.Sensor DO NOT MERGEJustin Koh2014-05-051-1/+0
| |/ | | | | | | | | | | | | Hide getRequiredPermission in android.hardware.Sensor. Bug: 14116162 Change-Id: I1e5c8361f6d0710c5da78d9506f70fa40a814b92
* | Merge "Hide UsbDevice changes in KKWT DO NOT MERGE" into klp-modular-devJustin Koh2014-05-051-3/+0
|\ \
| * | Hide UsbDevice changes in KKWT DO NOT MERGEJustin Koh2014-05-051-3/+0
| |/ | | | | | | | | | | Hide UsbDevice changes in KKWT. Bug: 14116162 Change-Id: I1582b9d536b243fa18beca6fdd8f379f9e32e137
* | Merge "Hide getDeviceGlobalActionKeyTimeout" into klp-modular-devJustin Koh2014-05-051-1/+0
|\ \
| * | Hide getDeviceGlobalActionKeyTimeoutJustin Koh2014-05-051-1/+0
| |/ | | | | | | | | | | | | | | Hide getDeviceGlobalActionKeyTimeout, as requested. Remove mention from @deprecated notice. Bug: 14441321 Change-Id: Ic6e84e718c2eaa15a86d8cd4d13645be88490b61
* | Hide NsdServiceInfo additions for KKWT DO NOT MERGEJustin Koh2014-05-051-3/+0
|/ | | | | | Hide NsdServiceInfo additions for KKWT. Bug: 14116162 Change-Id: I98755a2524168be5e833a634192fd49ff3c32346
* Make global action key timeout configurable.Justin Koh2014-05-021-1/+2
| | | | | | | | Make global action key timeout configurable: deprecated the old public method and created a new one: getDeviceGlobalActionKeyTimeout. Bug: 14441321 Change-Id: Ifa9b136984a9f02cfe4040baeff11275174967c5
* Add activity attribute allowEmbeddedCraig Mautner2014-04-241-0/+1
| | | | | | | | Activitys without allowEmbedded=true may not be launched in an ActivityView. Fixes bug 13693121. Change-Id: I431d554300fc3504ab1bc7d73a58d5dad24f8639
* Add support for dynamically setting the virtual display surface.Jeff Brown2014-04-161-0/+2
| | | | | | | | | Previously, the surface that backs a virtual display had to be set at the time when the display was created. This change now makes it possible to set or remove the surface later. The virtual display is treated as if it were "off" while no surface is attached to it. Change-Id: Ib4fdbbb8b4ee79f0fb9ceb648f9bda4a8fa6a2ca
* Merge "RenderScript bicubic resize intrinsic [DO NOT MERGE]" into ↵Jason Sams2014-04-161-0/+9
|\ | | | | | | klp-modular-dev
| * RenderScript bicubic resize intrinsic [DO NOT MERGE]Jason Sams2014-04-161-0/+9
| | | | | | | | Change-Id: Icebfb3137aacddce0705834c6d4d2547c709cb0a
* | DO NOT MERGE Add isRound to WindowInsetsAdam Powell2014-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | isRound allows a view to determine whether the window it is contained within obscures the corners of the window content. This allows views aware of this property to adapt their layout accordingly. Switch ViewRootImpl to use dispatchApplyInsets instead of fitSystemWindows. Change-Id: Ic3e3936b73815b2593cb9720af1a309fbd18406e Conflicts: core/java/android/view/ViewRootImpl.java
* | Declare VersionCodes.KITKAT_WATCH.Jeff Brown2014-04-161-0/+1
|/ | | | | | | The constant does not have a final value yet but is useful for documentation purposes during development. Change-Id: Iddd9b956eff822a9a25e9df483b5bd3979189023
* DO NOT MERGE Refactoring of fitSystemWindows to applyWindowInsets for viewsAdam Powell2014-04-151-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying insets is now handled by: * WindowInsets class - Encapsulate system insets and local decor insets into a single object, written specifically so that new inset categories may be added later. Apps cannot construct their own WindowInsets, only clone with optional modifications. This is to prevent losing data in the event of new insets added in the future. * onApplyWindowInsets - Actually perform the application of insets. * OnApplyWindowInsetsListener - Allow an app to use a separate Listener object to apply insets to a View. This allows for things like support lib integration in custom views written for older versions where the verifier would otherwise complain about the use of the new WindowInsets class as a method parameter. It also allows for applying insets in a custom way without writing a custom view. * dispatchApplyWindowInsets - Dispatch the call to self and children in turn, if applicable. An OnApplyWindowInsetsListener will override the behavior of the view's default onApplyWindowInsets method; a listener wishing to call down to the 'superclass' implementation as part of its own operation should call view.onApplyWindowInsets. App code should generally not override this method and instead override onApplyWindowInsets or provide a listener. Compatibility support with the existing fitSystemWindows method has been provided in both directions: for code that previously called fitSystemWindows on arbitrary views and also for code that overrode the fitSystemWindows method in custom views. A view that supports the newer onApplyWindowInsets mechanism should not mix that behavior with other calls to fitSystemWindows or vice versa. Support lib-style code should take care to consistently use one mechanism or the other at runtime. Change-Id: Ie88b96e0382beb5d3c3f6cd013f7043acbc0a105
* Add support for custom TXT records in NSDChristopher Lane2014-04-141-0/+3
| | | | Change-Id: I8e6dc9852ad4d273c71ad6a63a7fbd28a206806d
* Merge "Add stringType and requiredPermissions to SensorManager.java, as well ↵Aravind Akella2014-04-111-0/+25
|\ | | | | | | as a permission for the heart rate sensor" into klp-modular-dev
| * Add stringType and requiredPermissions to SensorManager.java, as well as a ↵Aravind Akella2014-04-111-0/+25
| | | | | | | | | | | | | | | | permission for the heart rate sensor This reverts commit 819239e5bec90ee3c861ac45fffac4a832a183a1. Change-Id: I4bbb222e5c9dc65aed03aa28fd9e0f00fe335819