summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* 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-011-22/+0
|\ \ \ | |/ / |/| |
| * | Put screensavers back in the icebox for now. DO NOT MERGE.Daniel Sandler2011-11-301-22/+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 "Fixing memory leaks in the accessiiblity layer." into ics-mr1Svetoslav Ganov2011-11-308-170/+248
|\ \ \ | |/ / |/| |
| * | Fixing memory leaks in the accessiiblity layer.Svetoslav Ganov2011-11-298-170/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-303-17/+51
|\ \ \
| * | | NumberPicker incorrectly shown for the old theme.Svetoslav Ganov2011-11-293-17/+51
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-293-4/+91
|\ \ \ | |_|/ |/| |
| * | Fix application launch shortcuts.Jeff Brown2011-11-293-4/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Cleanup references when turning BT off." into ics-mr1Jaikumar Ganesh2011-11-299-13/+73
|\ \ \
| * | | Cleanup references when turning BT off.Jaikumar Ganesh2011-11-289-13/+73
| | | | | | | | | | | | | | | | | | | | Bug: 5572649 Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b
* | | | Merge "Cleanup static references when quitting." into ics-mr1Jaikumar Ganesh2011-11-291-10/+34
|\ \ \ \ | |/ / /
| * | | Cleanup static references when quitting.Jaikumar Ganesh2011-11-281-10/+34
| |/ / | | | | | | | | | | | | | | | | | | The State machine was leaking references when it was getting created and destroyed. Change-Id: I7904baf0482eef1617071d159d7b283566b4095c
* | | Merge "Extracted text problems" into ics-mr1Gilles Debunne2011-11-293-25/+82
|\ \ \
| * | | Extracted text problemsGilles Debunne2011-11-103-27/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5557258: recent text editing changed in ExtractedText mode is broken. The modifications of the text performed by: - drag and drop - text suggestions, deletion - voice IME's delete button all change the ExtractEditText itself, while they should affect the underlying EditText (and the change will be forwarded to the ExtractEditText). As a results, changes are not actually modifying the underlying text. Created new protected methods in TextView, overloaded in ExtractTextView to affect the underlying text instead. Changes to spans should also be forwarded to the original TV (see the 2 TODOs), this is tracked in bug 5589158. Change-Id: Ibfec272469e8db191b3875e7576e32481a9dc1bd
* | | | Merge "IOOB in text selection." into ics-mr1Gilles Debunne2011-11-291-11/+9
|\ \ \ \
| * | | | IOOB in text selection.Gilles Debunne2011-11-201-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several issues here: 1. when selection has been set to size 0 (should not be possible, but see 2.), moving any of the selection handles will create an IOOB because we add/substract 1 with no test. Added min/max. 2. the text change detection, which stop selection mode, was done in handleTextChanged. We need to go deeper. Some methods (such as setText()) directly call the more atomic sendOnTextChange(). Moved the test down to this method. As a result, pressing the 'x' button in the QuickSearchBox correctly stops selection mode (it used to leave an empty selection). This change may also solve some weird similar issues in extracted mode where it is sometimes possible to end up with a 0-length selection. It may also impact Bug 5555929 since spellCheckSpans will now be correctly updated on ANY text change. 3. the before != after test is flawed. When this method is called, the text has been changed and selection mode should be stopped even when the new text happens to have the same size. Change-Id: I869ef728662f4350f22ed6149dd42db193c333ed
* | | | | Merge "Fix issue #5588689: Black camera preview after coming back from ↵Dianne Hackborn2011-11-285-104/+104
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | gmail" into ics-mr1
| * | | | | Fix issue #5588689: Black camera preview after coming back from gmailDianne Hackborn2011-11-285-104/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make surface management between SurfaceView and the window manager much more controlled, to ensure that SurfaceView always gets to report the current surface is destroyed before the window manager actually destroys it. Also a small tweak to allow windows that have a wallpaper background to still have a preview window. This makes launching home after it has been killed feel much more responsive. Change-Id: I0d22cf178a499601a770cb1dbadef7487e392d85
* | | | | | Merge "Fix crash in existing applications Bug #5659476" into ics-mr1Romain Guy2011-11-281-2/+15
|\ \ \ \ \ \
| * | | | | | Fix crash in existing applicationsRomain Guy2011-11-281-2/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5659476 The FontRenderer was not cleaning up its temporary state, leading to crashes when invoking renderDropShadow. Change-Id: I43b24820dd5625af8c080bbe11b64de2f74164b2
* | | | | | Merge "Fix flashing wifi dialog after rotating back from landscape." into ↵Chet Haase2011-11-282-13/+26
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | ics-mr1
| * | | | | Fix flashing wifi dialog after rotating back from landscape.Chet Haase2011-11-282-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was an error in some of the OpenGL layer logic such that we would occasionally set up a layer for rendering and then not clean up when it was done. This caused future OpenGL rendering to go into that layer instead of to the buffers being displayed on the screen, resulting in artifacts including flashes and displaying of stale content. This happened specifically when using the wifi settings dialog with the InputMethod keyboard displayed, but it was probably visible in other situations as well. Issue #5628248: Flickering/flashing after entering password for WiFi Change-Id: I38139f620b310f4309570fa7224552d2ee633999
* | | | | | Merge "Fix TTS instantiation from webview accessibility handlers." into ics-mr1Narayan Kamath2011-11-283-6/+31
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix TTS instantiation from webview accessibility handlers.Narayan Kamath2011-11-283-6/+31
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TTS instantiated from here shouldn't clobber any existing TTS objects opened within the same package context. Ideally, the TTS API should work fine with multiple TTS object instances within the same package context but making that happen correctly is a larger change. bug:5659758 Change-Id: Ia1f63c61b9f12ac92ff42a427a004d414e42a759
* | | | | Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1Derek Sollenberger2011-11-281-0/+5
|\ \ \ \ \
| * | | | | Update Webkit with the zoom level after double tap gestureDerek Sollenberger2011-11-281-0/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the hardware accelerated case we were not updating webkit with the new zoom information. This was causing plugins to render at the old zoom level. bug: 5663981 Change-Id: I3cb18ad9ca4f185f384ea9fb68780f29160391ad
* | | | | Ensure we dismiss the <select> option dialog.Ben Murdoch2011-11-281-0/+10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the WebView is paused, or another action (such as navigating to a new URL) occurs, cancel any ongoing <select> tag dialog that is open. Bug: 5666545 Change-Id: Ifc35a239b729ed93cbf82b2096334f7d63f8993d
* | | | Fix regressions in TTS completion callbacks.Narayan Kamath2011-11-245-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (a) onUtteranceCompleted should be called on errors too. Also, fix up the error handling so that onUtteranceCompleted is always called. (b) Don't treat empty utterances as errors, and let the engine synthesize them, as before. bug:5662598 Change-Id: I9223592bc6fe5f47d71103f4f02f046b54a655a8
* | | | Merge "Fix 5654631. It forgot to consider the year in formatDateRange." into ↵Owen Lin2011-11-221-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | ics-mr1
| * | | | Fix 5654631. It forgot to consider the year in formatDateRange.Owen Lin2011-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I494e3ecc7a2e7c418ed61930ffd7311338c11783 fix: 5654631
* | | | | Merge "Ensure we have an EGL context when building layers Bug #5638421" into ↵Romain Guy2011-11-221-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ics-mr1
| * | | | | Ensure we have an EGL context when building layersRomain Guy2011-11-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #5638421 This bug was introduced by the recent changes that force more frequent flushes of the GL renderer. Change-Id: I55dd4ace6ba1e70ab41927150d6c60c37d7fb196
* | | | | | Merge "Fix an NPE on overflow in BatteryStats history." into ics-mr1Amith Yamasani2011-11-221-1/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |