summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Handle animations in Views' rectangle clipping methods." into ics-mr1Gilles Debunne2011-12-023-38/+98
|\
| * Handle animations in Views' rectangle clipping methods.Gilles Debunne2011-12-013-38/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getChildVisibleRect and getLocationInWindow do not take the new mTransformationInfo View attribute. As a result, these methods return invalid value during an animation Bug 5638710 Changes in Patch Set 2: - temporary allocations removed using static thread local variables (method calls are NOT reentrant). - scroll should be handled *before* applying the transformation matrix. Fixed the call order in View#getLocationInWindow() Patch set 4: fix from comments. Patch set 5: <p>s Change-Id: I15dc44c0659305d9029c59a47aba3a738bb35ae1
* | Merge "Fix updateDoubleTapZoom logic" into ics-mr1John Reck2011-12-021-5/+6
|\ \
| * | Fix updateDoubleTapZoom logicJohn Reck2011-12-011-5/+6
| | | | | | | | | | | | | | | | | | Bug: 5698099 Change-Id: I83578e57cf809cbe7781d988302f0925dfddec80
* | | Merge "Disable GLES20Canvas on emu w/o native GL" into ics-mr1Jesse Hall2011-12-021-1/+10
|\ \ \
| * | | Disable GLES20Canvas on emu w/o native GLJesse Hall2011-12-021-1/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | When the emulator is run without '-gpu on', GLES20 isn't supported, so claiming GLES20Canvas is available will lead to catastrophic failure. This change makes GLES20Canvas available when compiled in and either not running on the emulator, or running on the emulator with native GL acceleration enabled. Change-Id: I89c944f9e3c9585224f5aa0877335ea48ea4a468
* | | Merge "(de)activating spell check taken into account immediately" into ics-mr1Gilles Debunne2011-12-021-10/+26
|\ \ \
| * | | (de)activating spell check taken into account immediatelyGilles Debunne2011-12-011-10/+26
| |/ / | | | | | | | | | | | | | | | | | | Test for a change in the spell checker activate state on every spell check. Add/remove suggestion spans accordingly. Change-Id: I750f30b81464b85cebc695bdb0449ec038fc17df
* | | Merge "More social integration." into ics-mr1Dianne Hackborn2011-12-011-0/+13
|\ \ \ | |/ / |/| |
| * | More social integration.Dianne Hackborn2011-12-011-0/+13
| | | | | | | | | | | | Change-Id: I9be09e08bda5db6c05f5beabc380708a11ead43b
* | | Broken build. New methods made private.Gilles Debunne2011-12-011-2/+2
| | | | | | | | | | | | Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
* | | Merge "Scroll performance improved in multiline TextEdit" into ics-mr1Gilles Debunne2011-12-012-12/+39
|\ \ \
| * | | Scroll performance improved in multiline TextEditGilles Debunne2011-11-292-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Measuring line widths, glyph by glyph slows down the scrolling process for long text (for some reason, width measure efficiency is affectedi by text length, maybe because the whole text has to be passed to JNI layers). This optimization avoids this computation in the case where there is no possible horizontal scroll. This is a cherry pick of 145957 into ICS-MR1 Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
* | | | Merge "Performance improvement in TextView" into ics-mr1Gilles Debunne2011-12-011-7/+17
|\ \ \ \
| * | | | Performance improvement in TextViewGilles Debunne2011-11-291-7/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a SpanSet to minimize the number the calls to getSpans. This is a cherry pick of 145653 in ICS-MR1 Change-Id: I0a6e1fc7bd7a89325c2925bf98d59626d5e12995
* | | | Merge "Better handles' visibility test" into ics-mr1Gilles Debunne2011-12-011-30/+48
|\ \ \ \
| * | | | Better handles' visibility testGilles Debunne2011-12-011-30/+48
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking if the hotspot position is visible instead of checking if it is part of the clipped visible rectangle. Bug 5638710 Patch set 2: synchronize static variables you will. Patch set 3: renaming and refactored the while loop. Patch set 4: synchronize you will (again) Patch set 5: parent Change-Id: I330510f491c85f910fc61598936113ad07d304e4
* | | | Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service ↵Matthew Xie2011-12-011-9/+25
|\ \ \ \ | |_|_|/ |/| | | | | | | record" into ics-mr1
| * | | Unlink the Binder DeathRecipient when removing a Bluetooth service recordJason Simmons2011-12-011-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix holds a reference to the Reaper objects, so that they don't get GCed and cause the error - unlink not called on death recipients. bug 5602314 Change-Id: Ib8a9e254d7c9ebe9d54f5c10b3daa31d062b4df0
* | | | Merge "Fix memory leaks in the accessibility layer." into ics-mr1Svetoslav Ganov2011-12-011-7/+8
|\ \ \ \
| * | | | Fix memory leaks in the accessibility layer.Svetoslav Ganov2011-12-011-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AccessibilityServiceConnection chache should be shared between all interrogating threads. bug:5664337 Change-Id: I151041d0b358e87ac47ea5c1c258f90a8b252420
* | | | | Merge "No clicking on volume icon in volume dialog." into ics-mr1Amith Yamasani2011-12-011-22/+0
|\ \ \ \ \
| * | | | | No clicking on volume icon in volume dialog.Amith Yamasani2011-11-301-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't disable volume slider when it hits zero. Show correct icon for Silent mode in Power menu. Bug: 5586083 Change-Id: Iaa957fc08e314e0de1c007dfc967a1d960080aab
* | | | | | Merge "TextViews keep focus after Done" into ics-mr1Gilles Debunne2011-12-011-3/+2
|\ \ \ \ \ \
| * | | | | | TextViews keep focus after DoneGilles Debunne2011-11-301-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the ViewRoot tries to focus something else and as a result it will scroll back to the top of a form with many fields, which is annoying. Change-Id: I1de10f76fe4b82bc4097fc13c629450d6f999fd0
* | | | | | | Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1Gilles Debunne2011-12-011-3/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Revert "IME action (done, next...) correctly handled"Gilles Debunne2011-11-301-3/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | This reverts commit efbad5fb90fe990d42bf30c63e42558bd9bdb5d8.
* | | | | | Merge "Fix crash with HTML5 video." into ics-mr1Ben Murdoch2011-12-011-0/+11
|\ \ \ \ \ \
| * | | | | | Fix crash with HTML5 video.Ben Murdoch2011-12-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing check for native HTTP stack inside CookieManager.getCookie(WebAddress) and CookieManager.setCookie(WebAddress) - private APIs that now will throw an exception as the legacy cookie table no longer exists with WebViewDatabase version 11. Bug: 5690908 Change-Id: I51ae848d03b04d6021d314dda4a199675e38ab02
* | | | | | | Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1Daniel Sandler2011-12-012-25/+0
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Put screensavers back in the icebox for now. DO NOT MERGE.Daniel Sandler2011-11-302-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5689684 Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c
* | | | | | | Merge "fix position of WebTextView on scrolling layers" into ics-mr1Bart Sears2011-11-301-11/+22
|\ \ \ \ \ \ \
| * | | | | | | fix position of WebTextView on scrolling layersMichael Kolb2011-11-301-11/+22
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5677828 depends on CL: 152845 Change-Id: Ia6fce3ef64954d99fe044e801d7f083055c8b880
* | | | | | | Merge "Working around issue where setting min height on RelativeLayout ↵Adam Cohen2011-11-301-30/+28
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | causes items to collapse. (Bug 5640357)" into ics-mr1
| * | | | | | Working around issue where setting min height on RelativeLayout causes items ↵Winson Chung2011-11-301-30/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to collapse. (Bug 5640357) Change-Id: Ide1822e19045f093c0c1c088839caa5cc8aea287
* | | | | | | Merge "Fixing memory leaks in the accessiiblity layer." into ics-mr1Svetoslav Ganov2011-11-309-285/+331
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Fixing memory leaks in the accessiiblity layer.Svetoslav Ganov2011-11-299-285/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. AccessibilityInteractionConnections were removed from the AccessiiblityManagerService but their DeathRecipents were not unregistered, thus every removed interaction connection was essentially leaking. Such connection is registered in the system for every ViewRootImpl when accessiiblity is enabled and inregistered when disabled. 2. Every AccessibilityEvent and AccessiilbityEventInfo obtained from a widnow content querying accessibility service had a handle to a binder proxy over which to make queries. Hoewever, holding a proxy to a remote binder prevents the latter from being garbage collected. Therefore, now the events and infos have a connection id insteand and the hindden singleton AccessiiblityInteaction client via which queries are made has a registry with the connections. This class looks up the connection given its id before making an IPC. Now the connection is stored in one place and when an accessibility service is disconnected the system sets the connection to null so the binder object in the system process can be GCed. Note that before this change a bad implemented accessibility service could cache events or infos causing a leak in the system process. This should never happen. 3. SparseArray was not clearing the reference to the last moved element while garbage collecting thus causing a leak. bug:5664337 Change-Id: Id397f614b026d43bd7b57bb7f8186bca5cdfcff9
* | | | | | | Merge "Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?" ↵Dianne Hackborn2011-11-301-4/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into ics-mr1
| * | | | | | | Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?Dianne Hackborn2011-11-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calls to get the display size no longer need to acquire the global window lock. Change-Id: I751ea6ed0e20f1f521783f4bd5a8f9c31cd43573
* | | | | | | | Merge "Cache drawable constant states instead of drawables Bug #5678369" ↵Romain Guy2011-11-301-16/+21
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | into ics-mr1
| * | | | | | | Cache drawable constant states instead of drawablesRomain Guy2011-11-301-16/+21
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5678369 Caching drawables directly in a static map was responsible for runtime restarts. If two different UI threads requested the same drawable, the first thread to issue the request would be given a drawable callback belonging to the second thread. This would cause an exception in ViewRootImpl on invalidate. The solution is to store the drawable states and to create a new drawable instance every time a drawable is requested from the cache. This is similar to how preloaded resources are handled. Change-Id: I47e24e2a168cf67a3589185c6cd77b70f9a1c7cf
* | | | | | | Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1Svetoslav Ganov2011-11-304-19/+52
|\ \ \ \ \ \ \
| * | | | | | | NumberPicker incorrectly shown for the old theme.Svetoslav Ganov2011-11-294-19/+52
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. NumberPicker is trying to greedily grow to its max size but if the max size is not specified the default value was the max integer which makes the widget get quite tall in some cases. Now the widget tries to reach the max size only if it has been specified. 2. NumberPicker was not computing its min width when the array of display values is set. 3. DatePicker' layout for the old Theme was adding a margin on the right of the group of spinners and if the calendar view is not shown the spinners were not centered. Added the spinners right margin to the left margin of the calendar view. 4. TimePickerDialog was using the wrong conext and was not dismissable on an outside touch. Same for the DatePickerDialog context. bug:5646161 Change-Id: Ic15f9b3e6291b76493604230ceb4f783a04d4ac7
* | | | | | | Fix superfluous onError callbacks.Narayan Kamath2011-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When stop() is called twice or after done().This relates to bug 5662598 because users using the old deprecated API will see two calls to onUtteranceCompleted. bug:5662598 Change-Id: I5d59cf66b4f4c8650d3f8f9e503ac3f33132c0d0
* | | | | | | Merge "Send animation start notification back to webkit from ui thread" into ↵Chris Craik2011-11-292-6/+21
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | ics-mr1
| * | | | | | Send animation start notification back to webkit from ui threadChris Craik2011-11-292-6/+21
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5239801 depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/ Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25
* | | | | | Merge "WebView animation support" into ics-mr1Teng-Hui Zhu2011-11-291-0/+3
|\ \ \ \ \ \
| * | | | | | WebView animation supportTeng-Hui Zhu2011-11-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the jumping issue when double tapping bug:4982054 Change-Id: Ifb67030a3132fe3820a1fcc8ffc97a1ab474c223
* | | | | | | Merge "Fix application launch shortcuts." into ics-mr1Jeff Brown2011-11-294-4/+95
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fix application launch shortcuts.Jeff Brown2011-11-294-4/+95
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved quick launch bookmarks to support category-based shortcuts instead of hardcoding package and class names for all apps. Added a set of Intent categories for typical applications on the platform. Added support for some of the HID application launch usages to reduce reliance on quick launch for special purpose keys. Some keyboard vendors have hardcoded launch keys that synthesize "Search + X" type key combos. The goal is to encourage them to stop doing this by implementing more of HID. Bug: 5674723 Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593