summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Add an API to allow for creating private virtual displays.Jeff Brown2013-06-181-0/+7
| | | | | | | | | | | This change enables applications to create a private virtual display that renders its content to a surface of its own creation. The display is private in the sense that only the application that owns the display is allowed to place windows upon it. Mirroring and blanking is also disabled for these displays. Bug: 9192512 Change-Id: I852ea07f0c7df1d244e354e3daca3a6960285ca0
* Merge "Add Y8 and Y16 image format"Zhijun He2013-06-181-1/+1
|\
| * Add Y8 and Y16 image formatZhijun He2013-06-181-1/+1
| | | | | | | | | | | | | | These APIs are hidden. Also correct the value of RAW_SENSOR. Bug: 9254294 Change-Id: Ic6271f5f6bfcfdd8b545d69a9a2154241c34d73b
* | Adding traits APIs to AccessibilityNodeInfo.Svetoslav2013-06-181-0/+50
|/ | | | | | | | | This change adds several traits and properties to AccessibilityNodeInfo aiming to allow better description of native Android components to accessibility services as well as mapping web content to native Android node info tree. Change-Id: I36b893cbaa6213c9d02d805e9dc36b6d792b4961
* am 96fefaa2: am b87e6138: am 618ed234: Merge "Track nio API change."Elliott Hughes2013-06-141-1/+1
|\ | | | | | | | | * commit '96fefaa23bf95ae6736df90f018cb8c86cb943c3': Track nio API change.
| * am b87e6138: am 618ed234: Merge "Track nio API change."Elliott Hughes2013-06-141-1/+1
| |\ | | | | | | | | | | | | * commit 'b87e6138d169e5fd23b964056431e2c357323fd2': Track nio API change.
| | * am 618ed234: Merge "Track nio API change."Elliott Hughes2013-06-141-1/+1
| | |\ | | | | | | | | | | | | | | | | * commit '618ed2340283263164f578f818cc09148aacb9ed': Track nio API change.
| | | * Track nio API change.Elliott Hughes2013-06-141-1/+1
| | | | | | | | | | | | | | | | Change-Id: I6a6d6c9e5f658b66dca0db226d2d91ee5f8ab2c7
* | | | Add scheme specific part to IntentFilter.Dianne Hackborn2013-06-121-0/+9
| | | | | | | | | | | | | | | | Change-Id: I063d086cdc742800b8e31ddf2942f2e9230e2785
* | | | Revert "Generate PDF from Canvas."Svetoslav Ganov2013-06-121-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 923c633ccfda45312fec5a3484b6cc1308cc71ab Change-Id: Ie49f593ec702c1ecf96a5cc1fafa680c1db08747
* | | | Generate PDF from Canvas.Svetoslav Ganov2013-06-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds simple APIs that enable an Android application to generate a PDF document by drawing content on a canvas. Change-Id: Iddcd126b3af37c73d99262f6b276caa07b998c1d
* | | | Merge "Add getters for ListView header & footer divider drawing attrs."Alan Viverette2013-06-121-0/+2
|\ \ \ \
| * | | | Add getters for ListView header & footer divider drawing attrs.Alan Viverette2013-06-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6104055 Change-Id: I874d631ec6fbb0e99790a3f37d00d589c1d63d34
* | | | | Merge "Fix build."Dianne Hackborn2013-06-121-0/+1
|\ \ \ \ \
| * | | | | Fix build.Dianne Hackborn2013-06-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I166c744e0f6bf62ac06b4797b87e064e14d0b85e
* | | | | | Fix buildGlenn Kasten2013-06-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iacac057570e9fcfe850ee597c0a26b2d06ab7910
* | | | | | am 3826e8bd: am 37490462: Merge "Unhide MediaExtractor.getPsshInfo()" into ↵Marco Nelissen2013-06-111-0/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit '3826e8bd6e30dbda90f330e4b3facbccc8c4bb9e': Unhide MediaExtractor.getPsshInfo()
| * | | | | am 37490462: Merge "Unhide MediaExtractor.getPsshInfo()" into jb-mr2-devMarco Nelissen2013-06-111-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '374904621a79eb12416da4a26be515ae9a2d243a': Unhide MediaExtractor.getPsshInfo()
| | * \ \ \ \ Merge "Unhide MediaExtractor.getPsshInfo()" into jb-mr2-devMarco Nelissen2013-06-111-0/+1
| | |\ \ \ \ \
| | | * | | | | Unhide MediaExtractor.getPsshInfo()Marco Nelissen2013-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/9373882 Change-Id: I2af42656d6a7eb19e8e9ec798b615dab0d9d33cb
* | | | | | | | am be173f6a: am 8fb120b6: Merge "add ViewGroup\'s layoutMode attribute to ↵Scott Main2013-06-111-0/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | / / / | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | public resources bug: 9359960" into jb-mr2-dev * commit 'be173f6a16619ed82469bda7cf0df7c3763d3c81': add ViewGroup's layoutMode attribute to public resources bug: 9359960
| * | | | | | am 8fb120b6: Merge "add ViewGroup\'s layoutMode attribute to public ↵Scott Main2013-06-111-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | resources bug: 9359960" into jb-mr2-dev * commit '8fb120b67d785dc5ab0ebdb8efd7988da1a94365': add ViewGroup's layoutMode attribute to public resources bug: 9359960
| | * | | | add ViewGroup's layoutMode attribute to public resourcesScott Main2013-06-101-0/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | bug: 9359960 Change-Id: I9d3d45c6494ded12170c88f5080bbb0a58d0fd74
* | | | | Merge "Make constants final"Romain Guy2013-06-111-4/+4
|\ \ \ \ \
| * | | | | Make constants finalRomain Guy2013-06-101-4/+4
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: Ifd54e55011ab63a10ddf851529ce4779447133e0
* | | | | Add View methods isAttachedToWindow and hasLayoutAdam Powell2013-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isAttachedToWindow does what it says on the label and provides a standard, public API for checking a view's attachment state. This removes the need for tracking this out of band in response to onAttachedToWindow/onDetachedFromWindow in custom view implementations. hasLayout returns true whenever the view has been through at least one call to layout() since the last time it was attached to or detached from a window. This allows for standard checks in code that needs to behave differently if first layout has not completed yet, such as whether or not to no-op an animation in order to set up initial state. Change-Id: I8dab70dcd5a22a32e260ed50987ccdaa4100072b
* | | | | Add dynamic scene creation/transition capabilityChet Haase2013-06-101-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add TransitionManager.beginDelayedTransition() to handle starting a transition on the next frame for a given scene root based on all changes that take place between the first call to that method and the next animation frame. Issue #9321937 Transitions: consider batching up multiple scene actions Change-Id: I3fc92b6b4ec5ff42b1e678bcfd385703e32eba2a
* | | | Merge "Fix the build"Romain Guy2013-06-071-0/+1
|\ \ \ \
| * | | | Fix the buildRomain Guy2013-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I506b24e2228d49badc513fdd839671ba50bb2faf
* | | | | Initial commit of new camera API, mostly just the interface.Eino-Ville Talvala2013-06-071-0/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New core API classes in android.hardware.photography - android.media.Image and android.media.ImageReader classes for application access to direct hardware image buffers. - Additions to android.graphics.ImageFormat to describe new image types needed by new camera API. - Some documentation included; very little implementation. Bug: 9111736 Change-Id: I0680f35944d1cb8845b7dc0c67edc8c0f0864573
* | | | | Merge "Optimizing AccessibilityNodeInfo caching."Svetoslav2013-06-071-0/+7
|\ \ \ \ \
| * | | | | Optimizing AccessibilityNodeInfo caching.Svetoslav2013-06-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Before we were firing an accessibility event from the common predecessor of views with accessibility related state changes every X amount of time. These events designate that the tree rooted at the source is invalid and should not be cached. However, some of the state changes do not affect the view tree structure and we can just refresh the node instead of evicting and recaching nodes infos for views that did not change. Hence, we need a way to distinguish between a subtree changed over a node changed. Adding a new event type will not work since if say two siblings have local changes and their predecessor fires a window state change event, the client will drop the subtree rooted at the parent including the two views with changes. Subsequent, more specialized events emitted from the two changed siblings will be useless since the parent which did not changed is already evicted from the cache. Conversely, if the specialized events are fired from the two siblings with local changes and they are refreshed in the cache the subsequent window state change event from the common predecessor will force the refreshed nodes to be evicted. Hence, to enable distinction between node being changed and a subtree baing changed while not changing existing behavior, we will fire only window content change event with an additional argument specifying what changed - node or a subtree for now. Also if the changes are local to a view we fire the window content changed event from the view. So, the two siblings will fire such an event independently and the client will know that these are local changes and can just refresh the node. If the changes are structural, then we fire the window state change event from the common predecessor. 2. Added the input type of a text view as one of the properties reported by an AccessibilityNodeInfo. It is nice to prompt the user what input is expected. 3. Added a bundle for optional information to AccessiiblityNodeInfo. For example, it will be used for putting web specific properties that do not map cleanly to Android specific ones in WebView. 4. AccessibilityInteractionController was not taking into account whether the current accessibility focused node is shown before returing it. Hence, a disconnected node would be returned and caching it puts our cahche in an inconsistent state. Change-Id: I8ed19cfb4a70bdd7597c3f105487f1651cffd9e0
* | | | | | am 20c3a1b4: am 47aa51d0: am 70b74646: Merge "Track libcore changes."Elliott Hughes2013-06-061-6/+13
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | * commit '20c3a1b47abc630cd18ac0c113529f9082a8af9b': Track libcore changes.
| * | | | | am 70b74646: Merge "Track libcore changes."Elliott Hughes2013-06-061-6/+13
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | * commit '70b74646b8114b7ee9e35ce4283ecab8c8528dcc': Track libcore changes.
| | * | | | Track libcore changes.Elliott Hughes2013-06-061-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3484927 Change-Id: I3a3c4a9f0ad6055261f705987bc576cd28bebb46
* | | | | | Merge "reveal the notification extras"Chris Wren2013-06-061-0/+32
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | reveal the notification extrasChris Wren2013-06-061-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic97e3485dc23eeb5cfb565a5cef98489acdec8a2
* | | | | | Fix mistake in current APIs.Alan Viverette2013-06-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5f41108a2c28169c0a5433993fea5bb1b6037c5a
* | | | | | Merge "Fix CrossFade transition"Chet Haase2013-06-061-0/+8
|\ \ \ \ \ \
| * | | | | | Fix CrossFade transitionChet Haase2013-06-061-0/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small fixes in CrossFade to handle more general situations. Also, added API to CrossFade to enable different behaviors during the transition. Change-Id: I12d17ab8f8f96be370c070373112ad8a62df9115
* | | | | | Merge "Deprecate DrawableStateList.getChildren() and add getChild()."Alan Viverette2013-06-061-0/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Deprecate DrawableStateList.getChildren() and add getChild().Alan Viverette2013-06-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves from exposing the internal structure of a drawable state list to only exposing the data. Adds getCapacity() and mutate() as package-private APIs to support various drawable subclasses. Change-Id: Id08743f979287e1a305f069ccc3c0085a7da6f7b
* | | | | | Merge "Unhide MotionEvent#actionToString."John Spurlock2013-06-051-0/+1
|\ \ \ \ \ \
| * | | | | | Unhide MotionEvent#actionToString.John Spurlock2013-06-051-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also clarify the input as unmasked, and fix a few other found doc issues in related methods. Change-Id: I1338a17dea0282b99229925dea8e48693e177eaa
* | | | | | Allow TTS service to identify caller.Przemyslaw Szczepaniak2013-06-051-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new field (+setter and getter) to SynthesisRequest with Uid of a calling process. TTS service will be able to discover packages names associated with caller using PackageManager.getPackagesForUid. This will allow to block buggy or poorly designed programs from an unintentional DDoS attacks against TTS service. Bug: 8625440 Change-Id: I5ac0ea191f952495c00301f17efdf28205353ae4
* | | | | Use ArrayMap instead of HashMap in transitionsChet Haase2013-06-041-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new ArrayMap class is more efficient for small collections. Transitions use maps all over the place to collect/use property values in setting up the transition animations. Changing to ArrayMap should be more efficient, especially in terms of memory allocations and GCs. Issue #9276256 Transitions: Reduce memory allocations Change-Id: I07b7d4ba68d5a207808eca11943aa3578fa90e3e
* | | | Merge "Fix a bug resolving the correct icon/logo in action bars"Adam Powell2013-06-011-0/+3
|\ \ \ \
| * | | | Fix a bug resolving the correct icon/logo in action barsAdam Powell2013-05-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some abstraction-breaking magic in ActionBarView and replace it with proper resolution of the icon/logo when creating a window. The old implementation relied on the ActionBarView's context being an Activity. Bug 9171554 Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
* | | | | am 6474d840: am 636af7a1: Merge "Rename CALLBACK_FLAG_ACTIVE_SCAN for ↵Jeff Brown2013-05-301-1/+1
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | clarity." into jb-mr2-dev * commit '6474d8407cb1551608fc403861e11cf514f8558e': Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity.
| * | | am 636af7a1: Merge "Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity." into ↵Jeff Brown2013-05-301-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | jb-mr2-dev * commit '636af7a1cb90bb2f422bc85356d30f5b4e9342e6': Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity.