8108e9f8cd03b97a81dbae83ec7164dcb93b515a |
|
14-Jul-2012 |
SeongJae Park <sj38.park@gmail.com> |
Fix wrong condition. Should check width and height, not width and width. Change-Id: Ie84d3605b2a7a0f4776adb876608ea92f56817c4
/frameworks/base/policy/src/com/android/internal/policy/impl/IconUtilities.java
|
68b909d8acd92343fa0b1dff2f77fcd9d9991f9f |
|
08-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix system hotkey handling. Fixed a problem where the key up for the ALT or META key was not delivered to the task switcher dialog because it was deemed to be inconsistent with the window's observed state. Consequently the dialog would not be dismissed when the key was released. Moved global hotkey handling for META+* shortcuts and ALT/META-TAB into the window manager policy's interceptKeyBeforeDispatching method. This change prevents applications from hijacking these keys. The original idea was that these shortcuts would be handled only if the application did not handle them itself. That way certain applications, such as remote desktop tools, could deliberately override some of these less important system shortcuts. Unfortunately, that does make the behavior inconsistent across applications. What's more, bugs in the onKeyDown handler of applications can cause the shortcuts to not work at all, for no good reason. Perhaps we can add an opt-in feature later to enable specific applications to repurpose these keys when it makes sense. Bug: 5720358 Change-Id: I22bf17606d12dbea6549c60d20763e6608576cf7
/frameworks/base/policy/src/com/android/internal/policy/impl/IconUtilities.java
|
6311d0a079702b29984c0d31937345be105e1a5e |
|
03-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Clear the bitmap from the canvas in a lot of places. Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
/frameworks/base/policy/src/com/android/internal/policy/impl/IconUtilities.java
|
be81f4f15dad6d690efcab1973d1e174ce3b001b |
|
15-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
Move out all framework-tests classes. Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
/frameworks/base/policy/src/com/android/internal/policy/impl/IconUtilities.java
|