summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix crashes caused by some input devices.Jeff Brown2011-01-257-36/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The touch screen sometimes reports more than 10 pointers even though that's all we asked for. When this happens, we start dropping events with more than 10 pointers. This confuses applications and causes them to crash. Raised the limit to 16 pointers. Bug: 3331247 The default behavior was to identify all touch devices as touch screens. External devices that are plugged in are more likely to be touch pads not attached to a screen. Changed the default to be a touch pad and renamed some internal constants to avoid confusion. A certain mouse happens to also behave like a touch pad. That caused problems because we would see multiple concurrent traces of motion events coming from the same input device so we would batch them up. Added code to ensure that we don't batch events unless they come from the same *source* in addition to coming from the same *device*. Due to batching or misbehaving drivers, it's possible for the set of pointer ids to be different from what we expect when it comes time to split motion events across windows. As a result, we can generate motion events with 0 pointers. When we try to deliver those events, we cause an error in the InputTransport so we tear down the InputChannel and kill the application. Added code to check out assumption about pointer ids and drop the event gracefully instead. Patched up the tests to take into account the change in default behavior for identifying touch screens and touch pads. Change-Id: Ic364bd4cb4cc6335d4a1213a26d6bdadc7e33505
* Fix surface frame size reporting.Jeff Brown2011-01-256-28/+66
| | | | | | | | | | | | | | | | | | | The SurfaceHolder provided by the wallpaper service was not reporting the correct size in getSurfaceFrame(). This broke an optimization in the ImageWallpaper. The old code happened to work because calling lockCanvas on the SurfaceHolder with a null dirty rectangle happened to have the side-effect of updating the SurfaceHolder's surface frame size field because it passed mSurfaceFrame as the dirty rect, causing mSurfaceFrame to be set to the size of the region to be drawn. However, relying on this side-effect is wrong. Among other things, the dirty region could actually be smaller than the surface frame. This patch fixes WallpaperService, SurfaceView and ViewRoot to ensure that the surface frame size is always set explicitly and is not modified by calls to lockCanvas. Change-Id: I10948f5ec269409ceaf0f7d32b3f6731e9499ebc
* Merge "Video Editor:Fix for 3375632" into honeycombDheeraj Sharma2011-01-251-1/+1
|\
| * Video Editor:Fix for 3375632Dheeraj Sharma2011-01-231-1/+1
| | | | | | | | Change-Id: I354b8b653ea0ccddda49a6e530ad63b5bd44a5b2
* | Merge "Heed the focusability flag in SearchView and set the default to ↵Amith Yamasani2011-01-252-7/+24
|\ \ | | | | | | | | | true." into honeycomb
| * | Heed the focusability flag in SearchView and set the default to true.Amith Yamasani2011-01-252-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 3385804 Also, allow navigation through keyboard. Change-Id: I444f142518172b35f33c2a5129179ac996d80dc7
* | | Merge "Fix emulator trackball." into honeycombJeff Brown2011-01-252-0/+4
|\ \ \
| * | | Fix emulator trackball.Jeff Brown2011-01-242-0/+4
| | | | | | | | | | | | | | | | | | | | Bug: 3369229 Change-Id: I97ce0ac664636224decb040c743704dfcbd90c81
* | | | Merge "Fixed CAB background and selection color for legacy applications." ↵Gilles Debunne2011-01-2510-35/+12
|\ \ \ \ | | | | | | | | | | | | | | | into honeycomb
| * | | | Fixed CAB background and selection color for legacy applications.Gilles Debunne2011-01-2310-35/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixed Title/subtitle and menu item button's text colors. Bug 3378113 Change-Id: Id43cac14dcce40b4f49105e7e524f15b75a6b938
* | | | | Merge "Removed warnings in DynamicLayout" into honeycombGilles Debunne2011-01-251-23/+14
|\ \ \ \ \
| * | | | | Removed warnings in DynamicLayoutGilles Debunne2011-01-251-23/+14
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: Ied1c330795412d0bdcac1236b466951112fabc7d
* | | | | Merge "Add debug to CallManager#canDial." into honeycombWink Saville2011-01-251-2/+12
|\ \ \ \ \
| * | | | | Add debug to CallManager#canDial.Wink Saville2011-01-241-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some debug to trackdown why canDial is sometime returning false, see bug 3381435. Change-Id: I0caade5ffdf9d67cdee0557971a8918182718512
* | | | | | Merge "Remove debugging log left by mistake." into honeycombRomain Guy2011-01-251-2/+0
|\ \ \ \ \ \
| * | | | | | Remove debugging log left by mistake.Romain Guy2011-01-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7d5165b4b682714940cea9886abeedd3f4858057
* | | | | | | Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" ↵Brian Carlstrom2011-01-255-97/+97
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into honeycomb
| * | | | | | | Tracking jarjar of org.bouncycastle to com.android.org.bouncycastleBrian Carlstrom2011-01-245-97/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3086427 Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879
* | | | | | | | Merge "TextLine cache is used, even for long lines of text." into honeycombGilles Debunne2011-01-251-7/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | TextLine cache is used, even for long lines of text.Gilles Debunne2011-01-251-7/+5
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 3381368 The 250 characters limit is passed for long URLs. There are only 3 TextLine objects, so their total size is not an issue. Recycle long lines as well to make sure we fill the cache and avoid object creation. Change-Id: I843bf623594312a0fcf0edbb13b7cd64cce0ddd1
* | | | | | | | Merge "Fix tethering when switching default connection" into honeycombRobert Greenwalt2011-01-251-2/+17
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix tethering when switching default connectionRobert Greenwalt2011-01-231-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the default connection is suitable use that rather than a random interface. This permits us to deterministically switch back to wifi after hanging out on DUN APN. bug:3374236 Change-Id: Iee5137b9f09c358f262e7a62f20282e79f7d889f
* | | | | | | | | Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycombShimeng (Simon) Wang2011-01-251-5/+9
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Set high usage delta to 1 to avoid constant V8 GC.Shimeng (Simon) Wang2011-01-251-5/+9
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value will be passed to native webkit to V8. 3 consecutive dromaeo DOM core are run, there's no crash. Because of assets change, Passion browser can't be run; this will need to be checked in I release, I think issue: 3317722 Change-Id: Ifa6e4116f76f395d98db9f8336f91dc9de6bf125
* | | | | | | | | Merge "Docs for Origin" into honeycombJohn Reck2011-01-251-1/+21
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Docs for OriginJohn Reck2011-01-241-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3370302 Change-Id: I44c8856d3f5e4b5e21c2745c1ef07a30526a1dd0
* | | | | | | | | | Merge "Fix the return value of switch to last ime." into honeycombsatok2011-01-251-7/+20
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix the return value of switch to last ime.satok2011-01-261-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5fe8cc696433a7ee72973d16d8f121d3362ab0e0
* | | | | | | | | | | Merge "Sort IME by id" into honeycombsatok2011-01-251-5/+24
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Sort IME by idsatok2011-01-251-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3364167 Change-Id: I8c8e4ddc4110e2920c8c7beccf108ac7e0227903
* | | | | | | | | | | | Merge "Clip touch event at SoftInputWindow to handle the event from Inset" ↵Ken Wakasa2011-01-251-0/+57
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | into honeycomb
| * | | | | | | | | | | Clip touch event at SoftInputWindow to handle the event from InsetTadashi G. Takaoka2011-01-251-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3238092 Change-Id: I92d98bed75957c8db149e1ad87defe24d44f4d53
* | | | | | | | | | | | Fix bug 3385881Jason Sams2011-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Launch signals and threads are not always matched in index. Threads grab launch indexes as they start which may not be the order in which they were launched. Change-Id: I1ff42c3df5d7ebb46de6329ebd11ef67a5fc58ca
* | | | | | | | | | | | Merge "Attempt to fix 3333866 Missing memory barrier when the non-locking ↵Jason Sams2011-01-251-2/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | past path is hit." into honeycomb
| * | | | | | | | | | | | Attempt to fix 3333866Jason Sams2011-01-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing memory barrier when the non-locking past path is hit. Change-Id: I80db7df547c1ce35ed85ba117519b12679cc42ef
* | | | | | | | | | | | | Merge "Issue no : 3370622" into honeycombDheeraj Sharma2011-01-243-84/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Issue no : 3370622Dheeraj Sharma2011-01-243-84/+12
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VideoEditor: Fix for Clear Surface API Change-Id: I8d4ad90dd2a0d37bd5363c36582a16f08b161bee
* | | | | | | | | | | | | Tweak layouts of IME switch buttonsatok2011-01-252-7/+3
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3383078 Change-Id: Id522ac6e8363a98be6ac73ee75b0d54e12ef86c4
* | | | | | | | | | | | Merge "Fix issue #3385054: HRI24 never enters suspend (LP0) - ↵Dianne Hackborn2011-01-241-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IKXEVEREST-3439" into honeycomb
| * | | | | | | | | | | | Fix issue #3385054: HRI24 never enters suspend (LP0) - IKXEVEREST-3439Dianne Hackborn2011-01-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Um. My fix for calling onReceive() even after a receiver is unregistered actually made it so onReceive() is never called for the result receiver of a broadcast. Change-Id: I30efe05d8fdec6fee4222b7d797f2b303073dbcc
* | | | | | | | | | | | | Merge "Make nested hardware layers work again" into honeycombRomain Guy2011-01-242-4/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Make nested hardware layers work againRomain Guy2011-01-242-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I97bde694ec1b712a1e010c8137919e6d64af3148
* | | | | | | | | | | | | Merge "Review rework on Patch Set 2 for issue 3372849" into honeycombSantosh Madhava2011-01-242-11/+85
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Review rework on Patch Set 2 for issue 3372849Santosh Madhava2011-01-242-11/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3c077f3318e44035e8ea6eb160d0024e77aaa710
* | | | | | | | | | | | | | Merge "Fix display list support for shapes." into honeycombRomain Guy2011-01-241-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | Fix display list support for shapes.Romain Guy2011-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8b4c9e9ec36266a83c0a53ba3fb6e45d61bbd6d9
* | | | | | | | | | | | | | Merge "Fix bug 3178934 - Make MenuBuilder notify its adapters of changes" ↵Adam Powell2011-01-241-7/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into honeycomb
| * | | | | | | | | | | | | | Fix bug 3178934 - Make MenuBuilder notify its adapters of changesAdam Powell2011-01-241-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I28603afbdfdd913aa06f3a07065e27aff1dc524b
* | | | | | | | | | | | | | | Merge "Fix NPE in IInputMethodSessionWrapper.executeMessage" into honeycombKen Wakasa2011-01-241-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Fix NPE in IInputMethodSessionWrapper.executeMessageKen Wakasa2011-01-251-0/+2
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 3384715 Change-Id: I4bd8f2b505318a9b3e17dccf6a583dc7f36a8a24