History log of /frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6adf0ae620ca3b64eee38cd53aaeedb7bd98457 22-Oct-2009 Mike Lockwood <lockwood@android.com> Disable key repeats when the screen is off.

This prevents an endless stream of key repeats spamming the keyguard
if a volume key is pressed at the same time you turn off the screen
with the power button.

This is part of a fix for bug b/2198537

Change-Id: I0d7e335fee79cbebba96b2cd908458c3c94c839e
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
01f08aa7f5f24beb2432bb104a981567f925b40c 25-Sep-2009 Dianne Hackborn <hackbod@google.com> Implement fade out of lock screen.

Change-Id: I516aa2257c788a9fb618ac37c9d227b1e7a3c2ae
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
6b2309f8dfeac86b825a688d48b20e12782fe135 22-Sep-2009 Dianne Hackborn <hackbod@google.com> Fixes and improvements to lock screen hiding, dock launching.

- Implement new window flags for dismissing non-secure lock screens.

- Implement launching of docks from the home key.

Change-Id: If29f299db47e3759c3e146983f59d0f86ed22c4c
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
bdefdbe2890627130463c08d2c7838463729c59b 18-Sep-2009 Dianne Hackborn <hackbod@google.com> Policy changes for lock screen on live wallpaper.

Change-Id: Ib875ef839b7727194461b13684b77bf38ad3c52e
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
a9416d5ec93d85dc1bbfb592e0f63f1af2b0d37a 30-Jul-2009 Dianne Hackborn <hackbod@google.com> am 1dc1ccaf: Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden

Merge commit '1dc1ccaf5c8cc136b71537f310a3f13150aaef41'

* commit '1dc1ccaf5c8cc136b71537f310a3f13150aaef41':
Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden
1dc1ccaf5c8cc136b71537f310a3f13150aaef41 29-Jul-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden

Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
a6f43a471ffda3d4ae8b82f01a600e952e4c3500 25-Jul-2009 Dianne Hackborn <hackbod@google.com> Update for virtual key haptic feedback, deal with canceled keys.
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
945704a08f6d896ed4c2d35a7fca340f3a33583e 17-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1795088 Improve audio routing code

Initial commit for review.
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
540d7de241b39b28480bf4b1bf6870307935fd8b 22-May-2009 Dianne Hackborn <hackbod@google.com> Implement support for new second-level media window type.
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
a56b1c78713257bc0e138ddf73f7c72e917e7d0d 20-May-2009 Dianne Hackborn <hackbod@google.com> Fix issue #1737531: Don't allow applications to prevent the user from leaving them
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
5b06cd8d5ada1f33d37710cba58dfa0db8f8ed2a 01-Apr-2009 Dianne Hackborn <> AI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
#1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar:
- We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed.
- When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143899
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
80c8dc5f5c15c6dd38b4e97291a51cf9921e2e29 28-Mar-2009 Dianne Hackborn <> AI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor). This just needs to be hooked up to the surface flinger API when that appears.
Original author: hackbod
Merged from: //branches/cupcake/...

Automated import of CL 143169
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
d915f3ac2fca2287f73f1e8d633275f6bdbafdb7 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
c5d93b3b6a0ba4831903f8e8d1664c4470cf15d7 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
461429674b80b8c0452df6f69376c6394014e6a8 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
9dedd94fed46f0d8d5500a5f7cdbf526e933ebd9 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
2227563251a03287d42c9b1361d57af264884cc9 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
fa8a26272edc7a135aceb56727644475d4ab1c28 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
f3368dd33af4c2e6f5f6289dffcf65f0a57dbf7f 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java
983983871f46d55634858287c25352cc95523790 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/policies/base/mid/com/android/internal/policy/impl/MidWindowManager.java