summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Clarify comments for WebSettings.Mikhail Naganov2012-02-081-21/+41
| | | | | | | | | | | setLoadsImagesAutomatically getLoadsImagesAutomatically setBlockNetworkImage getBlockNetworkImage setBlockNetworkLoads getBlockNetworkLoads Change-Id: Ic1486266a77254044425cdb51cce5c982ea0617c
* Merge "Update the comment for View#clearFocus"Svetoslav Ganov2012-02-011-2/+8
|\
| * Update the comment for View#clearFocusSvetoslav Ganov2012-02-011-2/+8
| | | | | | | | Change-Id: I779f94e88821574c74e5e76d99ae555a47042c12
* | Merge "Fix bug 5339708 - edge case in ListView focus restoration"Adam Powell2012-02-011-0/+1
|\ \
| * | Fix bug 5339708 - edge case in ListView focus restorationAdam Powell2012-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some apps have managed to hit this edge case in monkey runs. In layoutChildren an attempt to findFocus() fails when items are focusable. When ListView attempts to restore focus to this view, bad things happen. Change-Id: Ie8bb1bab847898e342c16fbe3ff1a6153d6f69df
* | | Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics"Fabrice Di Meglio2012-02-011-8/+4
|\ \ \
| * | | Fix bug #5262565 Need to remove CharCount TextDirectionHeuristicsFabrice Di Meglio2012-02-011-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | - was missing a clean of the attrs.xml file Change-Id: I58155fa624326e8ae11f8b88d8a27d2c44cb467b
* | | | Merge "Deprecate ACTION_BACKGROUND_DATA_SETTING_CHANGED."Jeff Sharkey2012-02-011-0/+11
|\ \ \ \
| * | | | Deprecate ACTION_BACKGROUND_DATA_SETTING_CHANGED.Jeff Sharkey2012-01-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broadcast is no longer sent, except during first boot after platform upgrade. Change-Id: I7a9c105b5783ca9f9c3aca2efff6fe5c13a4c1fd
* | | | | Merge "Support automatic cancellation of Loaders."Jeff Brown2012-02-015-57/+256
|\ \ \ \ \
| * | | | | Support automatic cancellation of Loaders.Jeff Brown2012-02-015-57/+256
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I18d3f49e413f48fcdd519d15e99c238ad54d35b9
* | | | | | Merge "Add optional metadata to initiliaze the render threat."Romain Guy2012-02-012-16/+52
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Add optional metadata to initiliaze the render threat.Romain Guy2012-02-012-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The render threat is likely to break your application if you initiate it. As such it must be explicitely requested using the following meta-data tag in your manifest's application tag: <meta-data android:name="android.graphics.renderThread" android:value="true" /> Change-Id: Ibf0a48af2a0d091562bf6907eac970e3d1d601c4
* | | | | | Merge "Add Developer Option setting for Animator scaling."Chet Haase2012-02-011-4/+20
|\ \ \ \ \ \
| * | | | | | Add Developer Option setting for Animator scaling.Chet Haase2012-02-011-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new setting allows users to set a scale factor for the duration and startDelay of all Animator-based animations. This setting is very similar to the Transition animation scale and Window animation scale settings, except this one applies specifically to Animator animations. The property is only accessible by users through the Settings UI, not programmatically. The value applies system-wide and is picked up per-process at the time of the first ValueAnimator construction. Change-Id: I3d5fbc956695c88d01c30820259da3e107ffd8a3
* | | | | | | Merge "Fix NPE"John Reck2012-02-011-2/+3
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Fix NPEJohn Reck2012-02-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9c05a11f971f033322b8988abf852c95cbaba8a5
* | | | | | | Implement background vs foreground broadcastsChristopher Tate2012-02-011-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before now, receiving a broadcast would cause a process to be hoisted to foreground priority / cgroup. This is no longer the case: broadcasts by default are handled in the background, with a suitably increased timeout interval. When a given broadcast needs to be dealt with in a more timely manner, the issuer can set the new FLAG_BROADCAST_FOREGROUND flag on the Intent, which will produce the old foreground-priority behavior. To avoid priority inversions, foreground broadcasts are tracked on a separate outgoing queue and can be in flight simultaneously with a background-priority broadcast. If there is already a background-level broadcast in flight to a given app and then a foreground-level one is dispatched to that app, the app [and its handling of both broadcasts] will be properly hoisted to foreground priority. This change is also essentially the first step towards refactoring the broadcast-handling portions of the Activity Manager into a more independent existence. Making BroadcastQueue a top-level class and regularizing its operation viz the primary Activity Manager operation is the next step. Change-Id: If1be33156dc22dcce318edbb5846b08df8e7bed5
* | | | | | | Merge "Speedup the accessibility window querying APIs and clean up."Svetoslav Ganov2012-02-0114-269/+1047
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Speedup the accessibility window querying APIs and clean up.Svetoslav Ganov2012-01-2314-269/+1047
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Now when an interrogating client requires an AccessibilibtyNodeInfo we aggressively prefetch all the predecessors of that node and its descendants. The number of fetched nodes in one call is limited to keep the APIs responsive. The prefetched nodes infos are cached in the client process. The node info cache is invalidated partially or completely based on the fired accessibility events. For example, TYPE_WINDOW_STATE_CHANGED event clears the cache while TYPE_VIEW_FOCUSED removed the focused node from the cache, etc. Note that the cache is only for the currently active window. The ViewRootImple also keeps track of only the ids of the node infos it has sent to each querying process to avoid duplicating work. Usually only one process will query the screen content but we support the general case. Also all the caches are automatically invalidated so not additional bookkeeping is required. This simple strategy leads to 10X improving the speed of the querying APIs. 2. The Monkey and UI test automation framework were registering a raw event listener for accessibility events and hence perform connection and cache management in similar way to an AccessibilityService. This is fragile and requires the implementer to know internal framework stuff. Now the functionality required by the Monkey and the UI automation is encapsulated in a new UiTestAutomationBridge class. To enable this was requited some refactoring of AccessibilityService. 3. Removed the *doSomethiong*InActiveWindow methods from the AccessibilityInteractionClient and the AccessibilityInteractionConnection. The function of these methods is implemented by the not *InActiveWindow version while passing appropriate constants. 4. Updated the internal window Querying tests to use the new UiTestAutomationBridge. 5. If the ViewRootImple was not initialized the querying APIs of the IAccessibilityInteractionConnection implementation were returning immediately without calling the callback with null. This was causing the client side to wait until it times out. Now the client is notified as soon as the call fails. 6. Added a check to guarantee that Views with AccessibilityNodeProvider do not have children. bug:5879530 Change-Id: I3ee43718748fec6e570992c7073c8f6f1fc269b3
* | | | | | | am 414cc6cf: am 9af875ec: am 5e095939: docs: update menu guide with CAB and ↵Scott Main2012-02-011-3/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | popup menu, plus many other revisions * commit '414cc6cfcdb6d766d095f0af1da76e7da946af84': docs: update menu guide with CAB and popup menu, plus many other revisions
| * \ \ \ \ \ \ am 5e095939: docs: update menu guide with CAB and popup menu, plus many ↵Scott Main2012-02-011-3/+9
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | other revisions * commit '5e0959393426371dadef2c7905d5c915a1ac2dd4': docs: update menu guide with CAB and popup menu, plus many other revisions
| | * | | | | | | docs: update menu guide with CAB and popup menu, plus many other revisionsScott Main2012-02-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5faedd5f5b812ca58eb2085b0c036570de861f15
* | | | | | | | | Merge "Use PackageManager to detect wifi-only devices in ↵Xia Wang2012-02-015-47/+59
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ConnectivityManagerTest."
| * | | | | | | | | Use PackageManager to detect wifi-only devices in ConnectivityManagerTest.Brett Chabot2012-02-015-47/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9749bf9024a73af095d4a681bb902594828ad599
* | | | | | | | | | Merge "Update preload drawables to not include pre-holo assets."Dianne Hackborn2012-02-011-109/+8
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Update preload drawables to not include pre-holo assets.Dianne Hackborn2012-01-311-109/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id73bcb67961aef8b84e2664dd9edf39208ab6fa5
* | | | | | | | | | | am 1a8a8b73: am 0b2701b7: Merge "docs: change that stated as a few doc fixes ↵Scott Main2012-02-013-68/+139
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag c * commit '1a8a8b73d48261384a0f63df894b68db97e7b02c': docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug.
| * | | | | | | | | | am 0b2701b7: Merge "docs: change that stated as a few doc fixes and turned ↵Scott Main2012-01-313-68/+139
| |\ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a form * commit '0b2701b7344fb7b7b6f9a1c1c99c8ede81b49d2d': docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug.
| | * | | | | | | | | docs: change that stated as a few doc fixes and turned intoScott Main2012-01-313-68/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug. Change-Id: Ia4b33559bd5ad2cbae8b53966999cf7f5038b125
* | | | | | | | | | | Add tools specific annotations to the API.Xavier Ducrohet2012-01-312-0/+73
| |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those annotations are not runtime retention and have zero impact on the device builds. Change-Id: I18d905fccfe18eb621e1411d7ae7ba97910cc727
* | | | | | | | | | aapt now sorts the strings in the resource string pool.Dianne Hackborn2012-01-311-0/+1
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In our current environment with very many translations, this can save a lot of RAM -- for example over 200K in Gmail just by sorting the strings in the Gmail .apk (not the framework). Also add a new aapt command to print the contents of the resource table string pool. Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
* | | | | | | | | Support select allJohn Reck2012-01-312-2/+6
| |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external/webkit CL: 161648 Change-Id: I9cdff2e2e9a1e986ef10946924da85c7b577352b
* | | | | | | | Merge "Webkit text selection"John Reck2012-01-312-245/+177
|\ \ \ \ \ \ \ \
| * | | | | | | | Webkit text selectionJohn Reck2012-01-302-245/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idec1ea19b773f100a88ebdb903a250ab923651d9
* | | | | | | | | Merge "Add new ViewPropertyAnimator utility methods"Chet Haase2012-01-311-0/+142
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add new ViewPropertyAnimator utility methodsChet Haase2012-01-311-0/+142
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users have requested the ability to sequence ViewPropertyAnimator animations. it is not possible with AnimatorSet, which only takes objects of type Animator (which VPA does not extend). But the AnimatorSet model is not appropriate for VPA anyway, since it is not possible to set up a VPA ahead of time to start later; it's just not the way that VPA is intended to work. Instead, there are now two new methods on VPA, onStart() and onEnd(). These methods take a Runnable which is executed when the animation starts or ends. These methods should allow other VPAs or other arbitrary code to execute at the start or finish of any particular VPA animation, allowing simple sequencing without the overhead of creating listeners and monitoring the cancelation status of the VPA. Additionally, this change adds a new method withLayer() which sets a hardware layer on the VPA's target view for the duration of the animation. This was already possible, but required writing boilerplate code to create a listener and override the start/end methods to add and remove the layer. This utility method makes this common use case much simpler and less error-prone. Change-Id: I819978517e17c647ffb7028063cd0adde68ff691
* | | | | | | | | Merge "Proper equals/hashCode impls in Rect and RectF"Romain Guy2012-01-311-3/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Proper equals/hashCode impls in Rect and RectFRomain Guy2012-01-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
* | | | | | | | | resolved conflicts for merge of 20d06540 to masterScott Main2012-01-311-5/+5
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | Change-Id: I80da9a11b4538c070b0000cfa3ea6cd865e46aef
| * | | | | | | | am 4b2eb9a5: Merge "docs: fix typos and clarify some grammar in summary ↵Scott Main2012-01-311-7/+7
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external issue 21548" into ics-mr1 * commit '4b2eb9a50bbead0b756944ebffd01c89916896ad': docs: fix typos and clarify some grammar in summary external issue 21548
| | * | | | | | | docs: fix typos and clarify some grammar in summaryScott Main2012-01-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external issue 21548 Change-Id: Ic38921cb64390b42651f3971efeb4b76101dfc14
| * | | | | | | | am 1bae8066: Merge "Fix issue #5823276 again: home repaints after ↵Dianne Hackborn2012-01-201-0/+5
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | full-screen app is exited" into ics-mr1 * commit '1bae80668cc1d12bb4a4b93bce1960b2601de131': Fix issue #5823276 again: home repaints after full-screen app is exited
| | * | | | | | | Merge "Fix issue #5823276 again: home repaints after full-screen app is ↵Dianne Hackborn2012-01-201-0/+5
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exited" into ics-mr1
| | | * | | | | | | Fix issue #5823276 again: home repaints after full-screen app is exitedDianne Hackborn2012-01-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't consider a window as a candidate for the top fullscreen window if it is not going to be a candiate for layout. This fix does not include the change to ignore app tokens that are hidden. This causes problems in some dialogs that stay hidden until their app is ready to display, but need to perform a series of relayouts during that time to get to the right size. Dropping this part of the change still (mostly?) seems to allow us to avoid the bad states. Change-Id: Ic052cb1499d3287f47e9ffeac5cd2470ee5a308c
| * | | | | | | | | am ad1f4a2c: Merge "Implement a max time bound for rotation. (DO NOT ↵Jeff Brown2012-01-201-13/+24
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE)" into ics-mr1 * commit 'ad1f4a2ca825b8524c6bed494a7cf3ca70ee7e28': Implement a max time bound for rotation. (DO NOT MERGE)
| | * | | | | | | | Merge "Implement a max time bound for rotation. (DO NOT MERGE)" into ics-mr1Jeff Brown2012-01-201-13/+24
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | |
| | | * | | | | | | Implement a max time bound for rotation. (DO NOT MERGE)Jeff Brown2012-01-181-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also relaxed the settle time constraints a little bit. With this change, a rotation proposal will always be advertised within 500ms even if the device is still shaking around. Bug: 5496491 Change-Id: I0bf562f4c19c0be45c016254f2f881d265f8e266
| * | | | | | | | | am c3c36b4f: am 9d25b82d: Merge "Rename LOG_ASSERT to ALOG_ASSERT"Jean-Baptiste Queru2012-01-191-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c3c36b4fe5863c8ac0ea5470be633e8fade9c483': Rename LOG_ASSERT to ALOG_ASSERT
| | * \ \ \ \ \ \ \ \ am 9d25b82d: Merge "Rename LOG_ASSERT to ALOG_ASSERT"Jean-Baptiste Queru2012-01-191-1/+1
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9d25b82d280c2d979d500e7da4447148f32f820b': Rename LOG_ASSERT to ALOG_ASSERT