summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Demoted Lohit-Telugu.ttf in fallback lists.Victoria Lease2012-07-172-8/+16
| | | | | | | | | | | | Lohit-Telugu.ttf provides incorrect glyphs for U+FFBC-10007, masking fonts later in the fallback chain that provide correct glyphs for that range. I've temporarily demoted Lohit-Telugu in the fallback order so that this does not happen, and appended a comment that explains why. In the future, when we have our own Telugu font, we can place that with the rest of the Indic fonts in the fallback list. Bug: 6723057 Change-Id: I15fb06dcb7dd13289e226de01c36058134a1b7cb
* Switch to split status/nav bars on all device sizes.Daniel Sandler2012-07-16191-68/+42
| | | | Change-Id: Ie76aa4bdfd76e4a0ffb3949424ab28ef86ec54a1
* Merge "Removing a workaround for incorrect window position on window move."Svetoslav Ganov2012-07-1618-252/+325
|\
| * Removing a workaround for incorrect window position on window move.Svetoslav Ganov2012-07-1618-252/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The window manager was not notifying a window when the latter has been moved. This was causing incorrect coordinates of the nodes reported to accessibility services. To workaround that we have carried the correct window location when making a call from the accessibility layer into a window. Now the window manager notifies the window when it is moved and the workaround is no longer needed. This change takes it out. 2. The left and right in the attach info were not updated properly after a report that the window has moved. 3. The accessibility manager service was calling directly methods on the window manager service without going through the interface of the latter. This leads to unnecessary coupling and in the long rung increases system complexity and reduces maintability. bug:6623031 Change-Id: Iacb734b1bf337a47fad02c827ece45bb2f53a79d
* | am 4094fb3c: am 8d170421: Merge "Fix wrong condition."Romain Guy2012-07-161-1/+1
|\ \ | | | | | | | | | | | | * commit '4094fb3c5b95c88d689238cbf0a9e2c169a5e557': Fix wrong condition.
| * \ am 8d170421: Merge "Fix wrong condition."Romain Guy2012-07-161-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit '8d1704215e80ebec61f6d77c503d83b32d881096': Fix wrong condition.
| | * \ Merge "Fix wrong condition."Romain Guy2012-07-161-1/+1
| | |\ \
| | | * | Fix wrong condition.SeongJae Park2012-07-141-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | Should check width and height, not width and width. Change-Id: Ie84d3605b2a7a0f4776adb876608ea92f56817c4
* | | | Merge "Does not compile!!!"Amith Yamasani2012-07-1318-325/+252
|\ \ \ \
| * | | | Does not compile!!!Amith Yamasani2012-07-1318-325/+252
| | | | | | | | | | | | | | | | | | | | | | | | | Revert "Removing a workaround for incorrect window position on window move." This reverts commit 939f2e43a80f9a6df16b7e18eba5cfffdbf032da
* | | | | Merge "Removing a workaround for incorrect window position on window move."Svetoslav Ganov2012-07-1318-252/+325
|\ \ \ \ \ | |/ / / /
| * | | | Removing a workaround for incorrect window position on window move.Svetoslav Ganov2012-07-1318-252/+325
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The window manager was not notifying a window when the latter has been moved. This was causing incorrect coordinates of the nodes reported to accessibility services. To workaround that we have carried the correct window location when making a call from the accessibility layer into a window. Now the window manager notifies the window when it is moved and the workaround is no longer needed. This change takes it out. 2. The left and right in the attach info were not updated properly after a report that the window has moved. 3. The accessibility manager service was calling directly methods on the window manager service without going through the interface of the latter. This leads to unnecessary coupling and in the long rung increases system complexity and reduces maintability. bug:6623031 Change-Id: Ibbf98afd29439783ba331a7a0cdce55d7f138922
* | | | Refactor GammaFontRendererRomain Guy2012-07-137-37/+153
|/ / / | | | | | | | | | | | | | | | | | | This change is the first step to a shader-based text antialias gamma correction. Change-Id: I9eb02d4c56cb95d05219f712290c865b46141954
* | | Merge "Fix regression in SIM state handling"Jim Miller2012-07-131-1/+0
|\ \ \
| * | | Fix regression in SIM state handlingJim Miller2012-07-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug introduced by If6cb3c6ff952767fc10210f923dc0e4b343cd4ad that accidentally reverted I019d1d8c65c55cbf4d10d4928e1d2b2b242162a6 Change-Id: Ia006bf31387162a520374f3bc9acb6e69197b106
* | | | Merge "Improve rendering speed by disabling scissor tests"Romain Guy2012-07-135-14/+45
|\ \ \ \
| * | | | Improve rendering speed by disabling scissor testsRomain Guy2012-07-135-14/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves execution of display lists, particularly on tiled renderers. The goal is to disable the scissor test as often as possible. Drawing commands are rarely clipped by View bounds so most of them can be drawn without doing a scissor test. The speed improvements scale with the number of views and drawing commands. Change-Id: Ibd9b5e051a3e4300562463805acc4fd744ba6266
* | | | | Don't force RGB-565 for tablet status barGreg Hackmann2012-07-131-4/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RGBX-8888 is preferred on some devices because the HW composer doesn't support RGB-565. SurfaceFlinger can map PixelFormat.OPAQUE to RGB-565 or RGBX-8888 depending on the NO_RGBX_8888 flag. Change-Id: I6848b11f694188b606a5547b6dd386d933e30601 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | | | am d304e8bf: (-s ours) am df523ec5: Merge "Import translations. DO NOT ↵Ying Wang2012-07-130-0/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | MERGE" into jb-dev * commit 'd304e8bfc7094763cdbbfc2d84f71e2912f7bfcf': Import translations. DO NOT MERGE
| * | | am df523ec5: Merge "Import translations. DO NOT MERGE" into jb-devYing Wang2012-07-132-134/+134
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'df523ec5780aece1f63ce05a0ae57773fef50fbf': Import translations. DO NOT MERGE
| | * \ \ Merge "Import translations. DO NOT MERGE" into jb-devYing Wang2012-07-132-134/+134
| | |\ \ \
| | | * | | Import translations. DO NOT MERGEYing Wang2012-07-132-134/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iac7759bb253431f5b75c246938a3cc3a726c8439 Auto-generated-cl: translation import
* | | | | | am 01f03dc3: (-s ours) am 0a386ffa: Text shadow alpha handling incorrect DO ↵Romain Guy2012-07-130-0/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOT MERGE * commit '01f03dc3895352e0d4b50ecb3090b29c591f2502': Text shadow alpha handling incorrect DO NOT MERGE
| * | | | | am 0a386ffa: Text shadow alpha handling incorrect DO NOT MERGERomain Guy2012-07-132-16/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '0a386ffac026e259c408b77c2dd2cc5d2e22b5f8': Text shadow alpha handling incorrect DO NOT MERGE
| | * | | | Text shadow alpha handling incorrectRomain Guy2012-07-132-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DO NOT MERGE External bug: http://code.google.com/p/android/issues/detail?id=34879 This is a regression from ICS. This CL also fixes a bug where a View's alpha would be applied twice. Change-Id: I13a1546228f44d4c169259414b6fa103a6e4a0fa
* | | | | | Merge "Import translations. DO NOT MERGE"Ying Wang2012-07-131-6/+6
|\ \ \ \ \ \
| * | | | | | Import translations. DO NOT MERGEYing Wang2012-07-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iabb056f645a910f3fbaea1e51348c3bef385546e Auto-generated-cl: translation import
* | | | | | | Merge "Import translations. DO NOT MERGE"Ying Wang2012-07-131-8/+8
|\ \ \ \ \ \ \
| * | | | | | | Import translations. DO NOT MERGEYing Wang2012-07-131-8/+8
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8c0c4a930f757e2dd0edd581fe6b815c845dd984 Auto-generated-cl: translation import
* | | | | | | Merge "Import translations. DO NOT MERGE"Ying Wang2012-07-132-134/+134
|\ \ \ \ \ \ \
| * | | | | | | Import translations. DO NOT MERGEYing Wang2012-07-132-134/+134
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iae5f07176cad4505b21f8adc5fef99ac848cc11d Auto-generated-cl: translation import
* | | | | | | Merge "Further isolate layout side from animation side."Craig Mautner2012-07-136-95/+139
|\ \ \ \ \ \ \
| * | | | | | | Further isolate layout side from animation side.Craig Mautner2012-07-136-95/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use local AppWindowAnimators in WindowAnimator rather than using shared WindowManagerService objects. - Use local WindowStateAnimators in AppWindowAnimator rather than use AppToken's WindowState objects. - Remove redundant WindowManagerService parameter passed to AppWindowAnimator ctor. - Keep from copying parameters from performLayout if the parameters haven't changed since the last copy. - Link WindowStateAnimator to AppWindowAnimator to keep from going through WindowStateAnimator.mWin, WindowState.mAppToken and AppWindowToken.mAppAnimator. - Converted attached WindowState in WindowStateAnimator to WindowStateAnimator to eliminate multiple conversions. Change-Id: I5e35af88d8fdc1a7454984eaea91a1bc4f926978
* | | | | | | | Merge "Text shadow alpha handling incorrect"Romain Guy2012-07-132-16/+5
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Text shadow alpha handling incorrectRomain Guy2012-07-132-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | External bug: http://code.google.com/p/android/issues/detail?id=34879 This CL also fixes a bug where a View's alpha would be applied twice. Change-Id: I13a1546228f44d4c169259414b6fa103a6e4a0fa
* | | | | | | | am 6bcfe893: (-s ours) am 0f8e402e: Force invalidates on non-visible views. ↵Chet Haase2012-07-130-0/+0
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | / / / / | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | DO NOT MERGE * commit '6bcfe893d46b1adb5a89920b82707c3d55a53e27': Force invalidates on non-visible views. DO NOT MERGE
| * | | | | | am 0f8e402e: Force invalidates on non-visible views. DO NOT MERGEChet Haase2012-07-132-12/+16
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | * commit '0f8e402e954c6e37102fa70f81a1d8ec47156338': Force invalidates on non-visible views. DO NOT MERGE
| | * | | | | Force invalidates on non-visible views. DO NOT MERGEChet Haase2012-07-122-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 #6813661 offscreen views don't get invalidated properly (may remain invisible when returning onscreen) Change-Id: Ic4b439540084a7163be9afc585bea6560d073280
* | | | | | Merge "Remove redundant computeScroll() call for hw-accelerated views"Chet Haase2012-07-131-5/+8
|\ \ \ \ \ \
| * | | | | | Remove redundant computeScroll() call for hw-accelerated viewsChet Haase2012-07-121-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View.draw() calls computeScroll() to initialize scrolling values correctly. But getDisplayList() also calls computeScroll() for the same reason, resulting in 2 calls to that method for hw-accelerated views. Fix: avoid calling computeScroll() in View.draw() for views with display lists. Change-Id: I57a3862e2d554752cd0fdb862513cbb3dfb3105c
* | | | | | | Merge "Remove obsolete optimization"Romain Guy2012-07-125-28/+5
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Remove obsolete optimizationRomain Guy2012-07-125-28/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2d43c009c62a7f4a4a2e0a6303bdfa692c4b8c8c
* | | | | | | Merge "Make ActionBar aware of layout direction"Fabrice Di Meglio2012-07-126-66/+119
|\ \ \ \ \ \ \
| * | | | | | | Make ActionBar aware of layout directionFabrice Di Meglio2012-07-126-66/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
* | | | | | | | Merge "Make PhoneWindow aware of layout direction"Fabrice Di Meglio2012-07-121-0/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Make PhoneWindow aware of layout directionFabrice Di Meglio2012-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I94508d4ed5d9f9e348c3c19c5e12355f5723659d
* | | | | | | | | Merge "Improve cleanup of file caches."Dianne Hackborn2012-07-126-64/+749
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Improve cleanup of file caches.Dianne Hackborn2012-07-126-64/+749
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rewrites installd's code for deleting cache files to be better: - Isn't really stupid about just deleting directories in the order they are found on the filesytem; now collects all cache files and sorts them by mod time to determine which to delete. - Also deletes cache files in /data/media and for all users. This also tweaks DeviceStorageMonitor to be a little smarter about deciding when to flush cache files, having upper and lower limits that it allows memory to get down to and then flash files to reach the higher free storage limit. This should reduce the amount that we perform flushing when starting to reach the storage limit. Finally add a new pm command to force a cache flush. Change-Id: I02229038e1ad553d1168393e5cb6d5025933271d
* | | | | | | | | | Merge "Fix bug in IME handling of pending key events."Jeff Brown2012-07-121-2/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix bug in IME handling of pending key events.Jeff Brown2012-07-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6812529 Change-Id: I7195a4346d44d65a79969a1bb5daa3bb8a018600