summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove hardcoded typeface pointersBilly Hewlett2012-07-112-167/+41
| | | | | | | | | | | There were a number of extraneous typeface pointers, one per language, in TextLayoutCache. Removing these makes adding additional supported fonts easier. This checkin now properly unrefs typefaces returned by SkCreateTypefaceForScript. Additionally, all harfbuzz shaped fonts (with exceptions Greek, Cyrillic, Hangul) should call SkCreateTypefaceForScript. Change-Id: I7dcf603a89e5ff52c6dab8fb87ae1807a79c351c
* 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-0922-111/+3
|\ \
| * | Minor cleanup of left overs from GlowPadView integration.Jim Miller2012-06-2922-111/+3
| | | | | | | | | | | | | | | | | | | | | - remove unused "chevron" assets - reduce memory footprint in SystemUI by not loading unused handle drawable. Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
* | | Merge "Fixing index-out-of-bounds in AppWidgetService. (Bug 6717459)"Winson Chung2012-07-091-6/+23
|\ \ \
| * | | Fixing index-out-of-bounds in AppWidgetService. (Bug 6717459)Winson Chung2012-06-251-6/+23
| | | | | | | | | | | | | | | | Change-Id: I9d676fbb2110f01eb1d36adc59437a6a5ec97cc2
* | | | Merge "Isolate layout and animation wallpaper objects."Craig Mautner2012-07-095-63/+99
|\ \ \ \
| * | | | Isolate layout and animation wallpaper objects.Craig Mautner2012-07-095-63/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide separate copies of mWallpaperTarget, mWallpaperTokens, and mLower/UpperWallpaperTarget in the layout and animation sides of Window Manager. Simplify constructors of WindowAnimator and WindowStateAnimator. Change-Id: I7e35794a432c25c4194c046e9e27150d1c905403
* | | | | 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
* | | | | | | | Merge "Add Bitmap.isPremultiplied()"Romain Guy2012-07-092-18/+48
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Add Bitmap.isPremultiplied()Romain Guy2012-07-092-18/+48
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also adds extra information in the documentation about premultiplied values. Change-Id: I51aacb8696340d23354ebf6d7284605d1a790b69
* | | | | | | 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.
| | * \ \ \ \ \ Merge "Pass SearchView suggestion cursor exception to Log."Romain Guy2012-07-061-2/+2
| | |\ \ \ \ \ \
| | | * | | | | | 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 "Import translations. DO NOT MERGE"Ying Wang2012-07-091-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Import translations. DO NOT MERGEYing Wang2012-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2890a480cd440ac12b72399d5c0337b861427d9b Auto-generated-cl: translation import
* | | | | | | | | Merge "Import translations. DO NOT MERGE"Ying Wang2012-07-0934-136/+68
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | Import translations. DO NOT MERGEYing Wang2012-07-0934-136/+68
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3a6b05441aa0aae2765548b91990c780ffb490a7 Auto-generated-cl: translation import
* | | | | | | | 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
* | | | | | | | Merge "Fix hang on rotation."Craig Mautner2012-07-093-5/+7
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix hang on rotation.Craig Mautner2012-07-093-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent optimization to only send updates to WindowManagerService when there is something to report backfired. One bit indicating change had negative polarity so the update should also have been sent when this bit was cleared. This change alters the bit to positive polarity. Fixes bug 6780496. Change-Id: I3336812a60534ebffc9e94b2fb1d0df4d6969bca
* | | | | | | | | 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 d5f7d9b5: am 15796e52: Merge "docs: add largeHeap attribute to app ↵Scott Main2012-07-031-0/+14
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manifest doc external issue 33967" into jb-dev * commit 'd5f7d9b59d920dfa88e1753f6723c016b1815d7c': docs: add largeHeap attribute to app manifest doc external issue 33967
| * | | | | | | | am 15796e52: Merge "docs: add largeHeap attribute to app manifest doc ↵Scott Main2012-07-031-0/+14
| |\ \ \ \ \ \ \ \ | | | |_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external issue 33967" into jb-dev * commit '15796e52df1626ae27a6a88c6e905fd3b80868c9': docs: add largeHeap attribute to app manifest doc external issue 33967
| | * | | | | | | Merge "docs: add largeHeap attribute to app manifest doc external issue ↵Scott Main2012-07-031-0/+14
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33967" into jb-dev
| | | * | | | | | | docs: add largeHeap attribute to app manifest docScott Main2012-07-031-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external issue 33967 Change-Id: I69e5d3da78098842c4710708f4d389637dd0fe6b
* | | | | | | | | | am 31f38d69: am e469e74f: docs: new sitemap text fileScott Main2012-07-032-4187/+5589
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | / / / / / | |_|_|_|/ / / / / |/| | | | | | | | * commit '31f38d692c5112a8a4dd339fc2fd5115a3ede806': docs: new sitemap text file
| * | | | | | | | am e469e74f: docs: new sitemap text fileScott Main2012-07-032-4187/+5589
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e469e74fd339efcfe88b56780f4380b0d1dd2ce8': docs: new sitemap text file
| | * | | | | | | docs: new sitemap text fileScott Main2012-07-032-4187/+5589
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia28407054216997126873bb855d55c9caeeb05b4
* | | | | | | | Make setting wallpaper offset immediate.Craig Mautner2012-07-031-27/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wallpaper offset was passing through H Handler before being set. It isn't part of animation and wasn't going through animation anyways. This change goes back to original implementation of setting wallpaper offset directly from call. Change-Id: Ied88e2dc042af814b5ba91c7efb839bd82682567
* | | | | | | | Use new object to sync DimAnimator.Craig Mautner2012-07-033-36/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The controls for the DimAnimator were going through the H Handler to sync with the Animator. We are switching to using the LayoutToAnimator object for passing data from layout to animator. Change-Id: Ib6d0afabba781c88bcc1c525e3ae424cf19ac1ad
* | | | | | | | Merge "Swap source and destination transfer objects."Craig Mautner2012-07-034-63/+68
|\ \ \ \ \ \ \ \
| * | | | | | | | Swap source and destination transfer objects.Craig Mautner2012-07-034-63/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will be better to have the object that moves layout parameters to animation on the layout side, and the object that moves animation parameters back to layout on the animation side. That way we can do partial filling of these objects without calling across. We may never do partial draining of these objects. Change-Id: I88826fa97350f96e309beef386885f55a9a73305
* | | | | | | | | Merge "Fix the build"Romain Guy2012-07-031-3/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Fix the buildRomain Guy2012-07-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iee3be26dd0167ddd80dd11c4bcbf21f6684d2a68
* | | | | | | | | Step 2 in consolidating wallpaper animation.Craig Mautner2012-07-031-74/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Separate updateWindowsAndWallpaperLocked into two methods, updateWindowsLocked and updateWallpaperLocked. Eliminates mForceHiding. Change-Id: I3958cfae09283aaa7f1781d1b54ef224d8e80f3f
* | | | | | | | | am 480785da: am fd516987: docs: misc bugs from external trackerScott Main2012-07-037-715/+19
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | * commit '480785dabb4f9ecc0cb7d68741b4a502d670916d': docs: misc bugs from external tracker
| * | | | | | | | am fd516987: docs: misc bugs from external trackerScott Main2012-07-037-715/+19
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | * commit 'fd516987de29a48425da5ee5aace5be40adcc674': docs: misc bugs from external tracker
| | * | | | | | | docs: misc bugs from external trackerScott Main2012-07-037-715/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50
* | | | | | | | | Merge "Deprecate unsupported widgets."Romain Guy2012-07-033-6/+17
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | |