summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix for bug 6716343. Use correct offset for mPos reset."Raph Levien2012-07-101-1/+1
|\
| * Fix for bug 6716343. Use correct offset for mPos reset.Raph Levien2012-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | The mPos field in the MeasuredText object is relative to the start of the text (mTextStart), but the pos passed in by the caller of the setPos() method is relative to the character sequence. When spans overlap break boundaries and the paragraph doesn't start at 0, the result is an out of bounds error. This fix uses the correct offset. Change-Id: I12c7a2311a9bdbbea7ab21554a922b7f665a17bf
* | Merge "AccessibilityNodeInfo bounds in screen incorrect if application scale ↵Svetoslav Ganov2012-07-092-3/+41
|\ \ | | | | | | | | | not one V2.0."
| * | AccessibilityNodeInfo bounds in screen incorrect if application scale not ↵Svetoslav Ganov2012-07-092-3/+41
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | one V2.0. 1. If the application does not accommodate different screen density the system applies an application scale equal to the device density over the a default density. The AccessibilityNodeInfo coordinates were not reported after applying the compatibility scale, therefore the bounds in parent and screen were not as perceived by the user. bug:6764586 Change-Id: Id9de3de885210d0725d1f3fde38e769b0cfd12a7
* | Merge "Minor cleanup of left overs from GlowPadView integration."Jim Miller2012-07-091-3/+3
|\ \
| * | Minor cleanup of left overs from GlowPadView integration.Jim Miller2012-06-291-3/+3
| | | | | | | | | | | | | | | | | | | | | - remove unused "chevron" assets - reduce memory footprint in SystemUI by not loading unused handle drawable. Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
* | | am b0f35657: am 1ab2edbc: Merge "Fix bug in parsing attributes for ↵Adam Powell2012-07-091-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | MediaRouteButton" into jb-dev * commit 'b0f356579eb0348fac7157a6348f1e568556a4db': Fix bug in parsing attributes for MediaRouteButton
| * | am 1ab2edbc: Merge "Fix bug in parsing attributes for MediaRouteButton" into ↵Adam Powell2012-07-091-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit '1ab2edbcff94d53856a87010e35ffa50ce4c0502': Fix bug in parsing attributes for MediaRouteButton
| | * \ Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-devAdam Powell2012-07-091-1/+1
| | |\ \
| | | * | Fix bug in parsing attributes for MediaRouteButtonAdam Powell2012-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib61506f7b09b1e043f3f21d2fd46281fbced00f4
* | | | | am 13a3a87f: am dc99555d: Merge "Pass SearchView suggestion cursor exception ↵Romain Guy2012-07-091-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | to Log." * commit '13a3a87fa7264df29a1f698ce80ada2de3561962': Pass SearchView suggestion cursor exception to Log.
| * | | | am dc99555d: Merge "Pass SearchView suggestion cursor exception to Log."Romain Guy2012-07-061-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'dc99555d61d50820b398096bb774ee56b2500476': Pass SearchView suggestion cursor exception to Log.
| | * | | | Pass SearchView suggestion cursor exception to Log.Jake Wharton2012-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an error in fetching a column occurs in your suggestions cursor adapter this will ensure the stacktrace is logged to provide more context about what failed. Change-Id: Iafe4918caebb9b0fb712b758b2d3ace329fd2512
* | | | | | Merge "Force invalidates on non-visible views to traverse the hierarchy"Chet Haase2012-07-092-12/+16
|\ \ \ \ \ \
| * | | | | | Force invalidates on non-visible views to traverse the hierarchyChet Haase2012-07-092-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An optimization prunes invalidates on views which are not inside their parent's bounds. This works in most cases, but it is possible to run a situation where a view has been invalidated (and is thus waiting to be redrawn), but the pruning logic ensures that that draw call will not happen. Further, when/if the view comes into the bounds of its parent again, it may still not be redrawn, because now future invalidates on the view are noop'd because it is already in an invalidated state (and thus will not propagate invalidates up the hierarchy). The fix is to remove the optitmization. This will cause some overhead sending the invalidation request up to the view root, but this overhead is minimal (and only extra for cases of out-of-bounds views), and the more expensive part of rendering these views will still not be done since the view root will avoid re-drawing the hierarchy when the dirty rectangle is empty. Issue #6773607 Layered views animating from offscreen sometimes remain invisible Change-Id: Ia2c1a2b9d3e7f267253cb325ccceff1e7fdbe8bd
* | | | | | | Public JavaDoc for ParseException should not mention WebAddress, as this is ↵Steve Block2012-07-091-3/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not public Change-Id: Iab1e5ff64b6caaecfbd6beac0be02b3b660ff51e
* | | | | | Merge "AccessibilityNodeInfo bounds in screen incorrect if application scale ↵Svetoslav Ganov2012-07-032-0/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | not one."
| * | | | | | AccessibilityNodeInfo bounds in screen incorrect if application scale not one.Svetoslav Ganov2012-07-032-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If the application does not accommodate different screen density the system applies an application scale equal to the device density over the a default density. The AccessibilityNodeInfo coordinates were not reported after applying the compatibility scale, therefore the bounds in parent and screen were not as perceived by the user. bug:6764586 Change-Id: Iae2d6ea81049364194c7cb09df2240b5eda3d939
* | | | | | | am 480785da: am fd516987: docs: misc bugs from external trackerScott Main2012-07-031-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | * commit '480785dabb4f9ecc0cb7d68741b4a502d670916d': docs: misc bugs from external tracker
| * | | | | | am fd516987: docs: misc bugs from external trackerScott Main2012-07-031-1/+1
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | * commit 'fd516987de29a48425da5ee5aace5be40adcc674': docs: misc bugs from external tracker
| | * | | | | docs: misc bugs from external trackerScott Main2012-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50
* | | | | | | Deprecate unsupported widgets.Romain Guy2012-07-033-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I154236f07745b25200e77a473b810f45de07d0ef
* | | | | | | am 7034ed83: am 5a883824: Merge "docs: fix document issue 27549" into jb-devScott Main2012-07-032-10/+10
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '7034ed833fcfc90abb5d3ad7dffed38fee60c797': docs: fix document issue 27549
| * | | | | | am 5a883824: Merge "docs: fix document issue 27549" into jb-devScott Main2012-07-032-10/+10
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '5a883824a2e97e0ccb08b4fe30accde6542f3f39': docs: fix document issue 27549
| | * | | | | Merge "docs: fix document issue 27549" into jb-devScott Main2012-07-032-10/+10
| | |\ \ \ \ \
| | | * | | | | docs: fix document issue 27549Scott Main2012-07-022-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I17995fd70978657a46ccfc77fa2ae84c56a05255
* | | | | | | | Merge "Remove the accessibility focus search code."Svetoslav Ganov2012-07-0310-634/+21
|\ \ \ \ \ \ \ \
| * | | | | | | | Remove the accessibility focus search code.Svetoslav Ganov2012-07-0210-634/+21
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. In JellyBean we have added some APIs to search for next accessibility focus in various directions and set accessibility focus from hover. However, we have decided that there is not clean answer for how this should behave and the APIs were hidden. Now the accessibility service is responsible for that. The unused code is now taken out. 2. This patch also takes out the hidden attribute accessibiligyFocusable since we moved the responsibility for implementing focus search strategy to accessibility services and we did not need that for Jellybean which is a good sign that this is not needed. I general this is one less thing for an app developer to worry about. We can add this if needed later. bug:6773816 Change-Id: I0c858d72c93a2b7ff1f8f35a08d33ec4b9eb85fd
* | | | | | | | Merge "AnnounceForAccessibility is broken for any view that has a ↵Svetoslav Ganov2012-07-031-2/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ContentDescription."
| * | | | | | | | AnnounceForAccessibility is broken for any view that has a ContentDescription.Svetoslav Ganov2012-07-021-2/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The purpose of the View#announceForAccessibility method is to give a message to the user that is not related to a predefined view state change. The current implementation is grabbing the source view's content description which in general overrides the event text which defeats the purpose of the announcement. bug:6721440 Change-Id: I8814914bea38c5f4c04f57391a64cf2bb06cb975
* | | | | | | | am 35cb0650: am 399df567: docs: various link fixes and other typos from ↵Scott Main2012-07-024-10/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external tracker * commit '35cb0650c07f0f3df017784bd3cf724c743f7399': docs: various link fixes and other typos from external tracker
| * | | | | | | am 399df567: docs: various link fixes and other typos from external trackerScott Main2012-07-024-10/+0
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | * commit '399df5677bd116a016664a10a0da432da29e829d': docs: various link fixes and other typos from external tracker
| | * | | | | | docs: various link fixes and other typos from external trackerScott Main2012-07-024-10/+0
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
| * | | | | | When we disconnect shutdown the StateMachine. DO NOT MERGEWink Saville2012-07-021-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to stop the StateMachine threads and release all resources when we disconnect. bug: 6342470 Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
| * | | | | | Enhance StateMachine Quitting and logging support. DO NOT MERGEWink Saville2012-07-024-172/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make StateMachine#quit non-conditional and remove the need to process the SM_QUIT_CMD it is now private. Rename halting to onHalting. Add onQuitting Change the message specific logging to be more generic and change the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add addLogRec(String) and addLogRec(String, State) as the generic logging methods. bug: 5678189 Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7 Conflicts: services/java/com/android/server/NsdService.java
* | | | | | | Merge "Make WebHistoryItem constructor public and hidden"Jonathan Dixon2012-07-021-1/+4
|\ \ \ \ \ \ \
| * | | | | | | Make WebHistoryItem constructor public and hiddenJesse Greenwald2012-06-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Chromium WebView implementation needs to be able to extend this class. Change-Id: I2496f6ab5e3eda13d8e1b39e48ef5a420e9db4ca
* | | | | | | | Merge "Better handling of spaces at ends of lines in StaticLayout."Gilles Debunne2012-07-021-38/+25
|\ \ \ \ \ \ \ \
| * | | | | | | | Better handling of spaces at ends of lines in StaticLayout.Gilles Debunne2012-06-271-38/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skipping spaces at ends of line used to be done only when ok != here (a potential line break was found). Moved this logic up one level to handle all cases. Also moved maxLine test in the block that actually adds a new line. Updated the unit tests accordingly. Change-Id: Ib10bc838b1ffa5b8a60259ea4b622d9fecb2ec70
* | | | | | | | | Merge "UI changes in suggestion menu"Gilles Debunne2012-07-021-7/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | |
| * | | | | | | | UI changes in suggestion menuGilles Debunne2012-06-261-7/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Icons removed for delete and add to dictionary. Words capitalized (in English only) Changed background color to white for words. Note that due to a bug in the interaction between listView and popup window, setting a background to the TextViews paints a solid rectangle, which hides the rounded corners defined in the popup window background. Bug 6712892 Change-Id: Id5bb429463e2debc5e30d571c34426dfa82119d4
* | | | | | | | resolved conflicts for merge of a9c38461 to masterDianne Hackborn2012-06-291-0/+1
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | Change-Id: Ie7044c4f9f15384c3edd328fa8e2932c731d9d5c
| * | | | | | | am bfb752f8: Merge "Fix issue #6761130: Clearing app data in settings does ↵Dianne Hackborn2012-06-291-0/+1
| |\ \ \ \ \ \ \ | | | |_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not clear app\'s USB storage" into jb-dev * commit 'bfb752f8f0e4d73dc251c19d2ef79649fbbe4fd1': Fix issue #6761130: Clearing app data in settings does not clear app's USB storage
| | * | | | | | Merge "Fix issue #6761130: Clearing app data in settings does not clear ↵Dianne Hackborn2012-06-291-0/+1
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | app's USB storage" into jb-dev
| | | * | | | | | Fix issue #6761130: Clearing app data in settings does not clear app's USB ↵Dianne Hackborn2012-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage The package manager calls to clear data / clear cache were not also having default container service clear the data on external storage. Now they do. Change-Id: Ib5e5eb6adf2cac5a4cc094cc1a02ac8cfb6a2edf
* | | | | | | | | Merge "Removing setChildrenLayersEnabled"Michael Jurka2012-06-292-47/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Removing setChildrenLayersEnabledMichael Jurka2012-06-282-47/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I88d8228eadb59160648f2c4e131fcd85945f2109
* | | | | | | | | | am b69c77cd: am 1598a508: Merge "Do not back up / restore the ↵Christopher Tate2012-06-291-3/+0
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rotation-related settings" into jb-dev * commit 'b69c77cd194ccbe24a8b1e5d8457b44d150f9a96': Do not back up / restore the rotation-related settings
| * | | | | | | | | am 1598a508: Merge "Do not back up / restore the rotation-related settings" ↵Christopher Tate2012-06-291-3/+0
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev * commit '1598a50818b638d20120f71bab01c1792ecd4b6a': Do not back up / restore the rotation-related settings
| | * | | | | | | | Merge "Do not back up / restore the rotation-related settings" into jb-devChristopher Tate2012-06-291-3/+0
| | |\ \ \ \ \ \ \ \ | | | |_|/ / / / / / | | |/| | | | | | |