summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
Commit message (Collapse)AuthorAgeFilesLines
* am 48a65d99: Merge change I8c5f2fc3 into eclairRomain Guy2009-12-041-3/+4
|\ | | | | | | | | | | | | Merge commit '48a65d99cba33db3af2e05982a6825b883be2030' into eclair-mr2 * commit '48a65d99cba33db3af2e05982a6825b883be2030': Fix invalidate code path (#2273209).
| * Fix invalidate code path (#2273209).Romain Guy2009-12-041-3/+4
| | | | | | | | | | | | | | | | | | | | Cached views would, in some situations, not update if they contained an animating child. This was caused by clearing the dirty cache flag too early in View.buildDrawingCache(). Approved by Dr. No mcleron. Change-Id: I8c5f2fc3e6605657e0da625d60d50b55bb133666
* | am 678c2e35: Merge change I9ef88863 into eclairMike Lockwood2009-12-031-0/+2
|\ \ | |/ | | | | | | | | | | Merge commit '678c2e35768a5426b4ad8f67c836008e7751a353' into eclair-mr2 * commit '678c2e35768a5426b4ad8f67c836008e7751a353': Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was turned off by the proximity sensor.
| * Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was ↵Mike Lockwood2009-12-031-0/+2
| | | | | | | | | | | | | | | | | | turned off by the proximity sensor. Part of a fix for bug b/2300622 (Proximity sensor always blows up the lock screen while in call) Change-Id: I9ef888638b19540a78a34507d52ff522f505102f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Remove some unused window manager methods.Mike Lockwood2009-11-281-24/+0
| | | | | | | | | | Change-Id: I1c28150416b92b96b9f434270652c4be2613434c Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 55896f3c: Merge change Ib71193bf into eclairJoe Onorato2009-11-241-2/+2
|\ \ | |/ | | | | | | | | | | Merge commit '55896f3c5121e73e3f657ed14e7ee8937ad72449' into eclair-mr2 * commit '55896f3c5121e73e3f657ed14e7ee8937ad72449': Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button to invoke QSB
| * Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search ↵Joe Onorato2009-11-241-2/+2
| | | | | | | | | | | | | | button to invoke QSB In this case, as opposed to what was happening in 1977685, the focused view wasn't the one that was directly removed, it was a child of the removed view.
* | Add window manager support for overriding button and keyboard backlight values.Mike Lockwood2009-11-231-2/+39
| | | | | | | | | | | | | | | | | | | | The new backlightBrightness field works similarly as the existing WindowManager.LayoutParams.screenBrightness field Needed for bugs: b/2233655 (under low ambient light the touch keys remain illuminated during video playback and never timeout) b/2221079 (Backlight for home/search/back/etc buttons should turn off when in dock in night mode) Change-Id: I60dfecdc7bb653b0db38094464de651220b3d438
* | am 1d62ea9d: Fix issue #2249821: Unable to start passion in safe modeDianne Hackborn2009-11-181-0/+4
|\ \ | |/ | | | | | | | | | | Merge commit '1d62ea9d8c2646d198b6967e2c6ae3dad5c18f9e' into eclair-mr2 * commit '1d62ea9d8c2646d198b6967e2c6ae3dad5c18f9e': Fix issue #2249821: Unable to start passion in safe mode
| * Fix issue #2249821: Unable to start passion in safe modeDianne Hackborn2009-11-181-0/+4
| | | | | | | | | | | | | | | | Holding down the trackball now works. Also fix a little API check warning from Intent. Change-Id: Icb1f901535cb521917bf7f847a93c4ff7861d20e
* | am 11cff8cd: Merge change Ie211adae into eclairMarco Nelissen2009-11-093-3/+6
|\ \ | |/ | | | | | | | | | | Merge commit '11cff8cd30f03b5adb137e985532543da5e960c4' into eclair-mr2 * commit '11cff8cd30f03b5adb137e985532543da5e960c4': Add a way for wallpapers to know the delta between virtual screens.
| * Add a way for wallpapers to know the delta between virtual screens.Marco Nelissen2009-11-093-3/+6
| |
* | am 644693f4: Merge change Ic42763b1 into eclairDianne Hackborn2009-11-091-5/+5
|\ \ | |/ | | | | | | | | | | Merge commit '644693f4caf2364a0e811dca13304788e2c8fee8' into eclair-mr2 * commit '644693f4caf2364a0e811dca13304788e2c8fee8': Fix issue #2242440: Window screen brightness attribute is broken
| * Fix issue #2242440: Window screen brightness attribute is brokenDianne Hackborn2009-11-081-5/+5
| | | | | | | | | | | | Um okay, that was dumb. And I guess this means it is time to make 6.xml. Change-Id: Ic42763b1c8a13448cf6db20b4cd6daadc7786ac1
* | am 1d5b3a63: Fix the buildRomain Guy2009-11-051-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0' into eclair-mr2 * commit '1d5b3a631cfcbfd2ea264f29a11a1366a16593b0': Fix the build
| * Fix the buildRomain Guy2009-11-051-1/+1
| | | | | | | | Change-Id: Id7514858594772ab79c0f3db745b00f0bb59218b
* | am 131564d2: Merge change I3bbfb4f9 into eclairRomain Guy2009-11-041-2/+36
|\ \ | |/ | | | | | | | | | | Merge commit '131564d26ac5b7f963c60802089b9fe1472659f7' into eclair-mr2 * commit '131564d26ac5b7f963c60802089b9fe1472659f7': Remove unused field and add new API to control the children drawing order.
| * Remove unused field and add new API to control the children drawing order.Romain Guy2009-11-041-2/+36
| | | | | | | | | | | | Approved by: xav, hackbod, mcleron. Change-Id: I3bbfb4f96e3c9adedbb68d78703059a2df1e2013
* | am 9ed30f93: Merge change I96444af2 into eclairRomain Guy2009-11-031-2/+0
|\ \ | |/ | | | | | | | | | | Merge commit '9ed30f93f6149ede5885b9b8c0e22595876c6c84' into eclair-mr2 * commit '9ed30f93f6149ede5885b9b8c0e22595876c6c84': Unhide View.isOpaque().
| * Unhide View.isOpaque().Romain Guy2009-11-031-2/+0
| | | | | | | | Change-Id: I96444af2a7e66a330a2c4b3fa0a173ec5ab4ed40
* | am 7580493b: Implement feature #2117336: Create event communication APIs for ↵Dianne Hackborn2009-10-223-2/+21
|\ \ | |/ | | | | | | | | | | | | | | live wallpaper Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2 * commit '7580493b014a2c7ea883cd291255798dc72ebbff': Implement feature #2117336: Create event communication APIs for live wallpaper
| * Implement feature #2117336: Create event communication APIs for live wallpaperDianne Hackborn2009-10-223-2/+21
| | | | | | | | | | | | | | Note: currently only implements an async version (no result), and not yet actually tested. Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
* | am fee0f577: Merge change I99dc6477 into eclairMike Lockwood2009-10-221-0/+5
|\ \ | |/ | | | | | | | | | | Merge commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33' into eclair-mr2 * commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33': Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
| * Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.Mike Lockwood2009-10-211-0/+5
| | | | | | | | | | | | | | Part of a fix for bug b/2198537 Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Prevent transparent region from getting out of sync with Surface FlingerJack Palevich2009-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ViewRoot is responsible for calculating the current view's surface's transparent region and reporting this to the window server, which in turn notifies Surface Flinger. To minimize cross-process traffic, ViewRoot keeps track of the most recent transparent region that it has reported to the window server, and only sends updates when the region shape changes. ViewRoot is effectively shadowing the internal state of the window server, and usually this works fine, because ViewRoot is usually the only thing that changes this value. But when the surface is recreated, the window server resets the transparent region to empty. So in order to properly update the window server we need to reset our copy of its state to empty too. Fixes issue #2133090: GL Gears runs at half speed in some cases
* | add local flag to enable FPS w/o having to enable Config.DEBUG, which can ↵Mike Reed2009-10-121-2/+3
| | | | | | | | have unintended costs
* | Merge change I85f598e0 into eclair-mr2Android (Google) Code Review2009-10-091-0/+1
|\ \ | |/ |/| | | | | * changes: Prevent transparent region from getting out of sync with Surface Flinger
| * Prevent transparent region from getting out of sync with Surface FlingerJack Palevich2009-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ViewRoot is responsible for calculating the current view's surface's transparent region and reporting this to the window server, which in turn notifies Surface Flinger. To minimize cross-process traffic, ViewRoot keeps track of the most recent transparent region that it has reported to the window server, and only sends updates when the region shape changes. ViewRoot is effectively shadowing the internal state of the window server, and usually this works fine, because ViewRoot is usually the only thing that changes this value. But when the surface is recreated, the window server resets the transparent region to empty. So in order to properly update the window server we need to reset our copy of its state to empty too. Fixes issue #2133090: GL Gears runs at half speed in some cases
* | Fixes #2175599. Prevents an NPE when AttachInfo is null.Romain Guy2009-10-081-1/+1
|/ | | | | | | | This bug was introduced by a change made to query the window's opacity. Approved by mcleron. Change-Id: I95319bde72b0faade095bbbbb317e84b9be8efa8
* More fix #2163209: alarm clock rings but is hidden behind lock screenDianne Hackborn2009-10-071-0/+7
| | | | | | | | There was another way we could ignore the application windows flags while the lock screen was displayed. This is the infrastructure to deal with that. Change-Id: Id8c9cb2f7081df6757ccb797a7cde618e82f7b38
* Improve drawing cache speed by selecting the correct opacity and keeping a ↵Romain Guy2009-10-072-9/+18
| | | | | | | | 32 bits format when the window is 32 bits. Change-Id: I46762def67fa7d6a331a75fa8660c6422394ccf2
* Update from API review.Dianne Hackborn2009-09-302-1/+21
| | | | Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
* Git sucksMike Cleron2009-09-291-3/+47
|
* Fix issue #1930911: Crash in system processDianne Hackborn2009-09-281-6/+10
| | | | | | | Ensure that we do all the work for removing a window's view hierarchy in that window's thread. Change-Id: Ib7c1701aee6b541b75fd1a680f6987f959f2ba88
* Finish off java API to allow fading scrollbarsMike Cleron2009-09-281-1/+13
|
* Merge change I55edce63 into eclairAndroid (Google) Code Review2009-09-282-1/+13
|\ | | | | | | | | * changes: Fix issue #2149145: Safe Mode does not work on Sholes device
| * Fix issue #2149145: Safe Mode does not work on Sholes deviceDianne Hackborn2009-09-282-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The APIs for checking whether keys are held down now also look at virtual keys. However it turns out there is less than a second between the time we start the input thread and check for safe mode, so there is not enough time to actually open all of the devices and get the data from them about the finger being down to determine if a virtual key is down. So now you can also hold DPAD center, trackball center, or s to enter safe mode. Also give some vibrator feedback. Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
* | Remove obsolete links; start at a method to turn on fading scrollbarsMike Cleron2009-09-281-7/+18
|/
* Fix buildMike Cleron2009-09-281-2/+3
|
* Fading scrollbars return. But you have to opt in.Mike Cleron2009-09-282-25/+297
|
* Maybe fix issue #2145012: Array bounds exception in touch event processingDianne Hackborn2009-09-261-2/+2
| | | | Change-Id: I223d9ae29f22f08cb8426ccd8bbadeedd5db3fc3
* Fix/improve issue #2142662: too easy to click a link/item instead of flingDianne Hackborn2009-09-251-1/+1
| | | | | | Reduce the slop. Change-Id: If255e68cc8092e7f746a91c0fea27abfc5292b73
* A variety of work on animations.Dianne Hackborn2009-09-253-15/+53
| | | | | | | | | | | | | | | - The lock screen now fades in and out. - Fixed a bug where we would accidentally freeze the screen when switching to an activity with a different orientation than the current (but the screen itself is in the current orientation). This would mess up the animations on the car dock. - New API to force a particular animation for an activity transition (untested). - New wallpaper animations. - Resources now uses the next API version when in a development build, to help applications being developed against such builds. Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
* Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns offDianne Hackborn2009-09-234-0/+31
| | | | | | | Lot of infrastructure for more things to go away when "clear system dialogs" happens, and now do this when we turn on the lock screen. Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
* Newer animations.Dianne Hackborn2009-09-231-0/+28
| | | | Change-Id: I1bb8e52f91dc60a6ec9496e2c66623bc8080b95d
* Various fixes and improvements to window, activity.Dianne Hackborn2009-09-222-4/+27
| | | | | | | | | | | | | | | | | | | - New meta-data you can add to a dock activity to have it launched by the home key when the device is in that dock. - Fix a deadlock involving ActivityThread's internal content provider lock. - New window flag to have a non-secure keyguard entirely dismissed when a window is displayed. - New WindowManagerPolicy APIs to allow the policy to tell the system when a change it makes during layout may cause the wall paper or overall configuration to change. - Fix a bug where an application token removed while one of its windows is animating could cause the animating window to get stuck on screen. Change-Id: I6d33fd39edd796bb9bdfd9dd7e077b84ca62ea08
* Turn animations on by default.Dianne Hackborn2009-09-211-1/+3
| | | | | | | | | | | | | | | Add API to skip the animation for a particular start activity, so that a latter better one can be used. Fix Theme.NoDisplay to actually work. Fiddle with various animations: don't do a different animation for task switching, try a scale animation for switching in/out of the wallpaper. Adjust the animation duration so that at normal speed we have something more like the slower animation option (so slow is now the default). Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
* Show the live wallpaper on the lock screen.Dianne Hackborn2009-09-181-0/+6
| | | | | | | | | | This also takes care of the problem of system dialogs like the crash dialog causing the status bar to dim behind the lock screen. On the down side, the fade transition from the lock screen is now gone, and I'm not sure how likely it is for it to return. Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d
* Revert "Don't activate keyguard if screen is turned off while proximity ↵Mike Lockwood2009-09-171-2/+0
| | | | | | sensor is active." This reverts commit ddfe879b783ad72603308e28e8f683454464684e.
* Change Theme.Light's background back to pure white.Romain Guy2009-09-161-3/+4
| | | | | | Go away gray! Change-Id: Ice59e585bfd01c02c0fa7fd74a8b13e548248f9e