9345b12b6572d3c2211c0b856bd90034be92bc0a |
|
16-Jun-2012 |
Christian Robertson <robertsonc@google.com> |
Increasing brightness for notification icons and navigation bar icons Bug: 6612414 Change-Id: I5ab60f60f5bf502b3b15c30207047285db611ae3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
3fd0e1a219e42db90b34b3512a6984d7dd2ebe2c |
|
16-May-2012 |
Daniel Sandler <dsandler@android.com> |
Properly center and scale the navkey glow. The overall scale of the glow is currently based on the height of the navigation bar. That is, the glow asset will be scaled so its height fits perfectly in the bar when at rest (i.e. not enlarged by active touch). Bug: 6399510 Change-Id: I95139787a435bcf69d5fda0003c84e4fe55c330d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f |
|
10-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Request key maps from input manager service. Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
ac14351e16e1258f1cb54e2bf772b8be004eb2b8 |
|
06-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Move some APIs from window manager to input manager. Simplified input injection API down to just one call. Removed all input state reading API. It was only used by the window manager policy and required a permission that applications could not obtain. READ_INPUT_STATE is now unused and deprecated. Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
60bc69ef76c32b9a24c0901e6c6e452b50de0cda |
|
16-Jan-2012 |
Michael Jurka <mikejurka@google.com> |
Improve rapid-fire presses on system bar Canceling any existing pressed animation in system bar before starting a new one Change-Id: Id1b7ee56b086ac1d0444cb1263404381a6533caa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
0b6586649fe827d6e7ce39fa71e93fa582640a03 |
|
12-Jan-2012 |
Michael Jurka <mikejurka@google.com> |
Speeding up System UI pressed anim No longer saving a layer in KeyButtonView.onDraw, which prevents a framebuffer readback on some drivers and cuts ~3ms from render time per frame (on some frames, up to ~10ms) Change-Id: I5df56c20098f35c8ae6c25e76c67d81e9b72d1f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
bceff71b9231643090d0dad6e3f1e1aac6fda1a2 |
|
27-Oct-2011 |
Justin Ho <justinho@google.com> |
Increase navigation icon brightness by 10% Still increase to 1.0 when pressed Bug: 5509557 Change-Id: I21e5430241f47f3ac8cec2b1f67973c42d23c207
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
98392efb24d8aac36a4cfa85106812e17d5984f9 |
|
13-Sep-2011 |
Jeff Brown <jeffbrown@google.com> |
Fix bug in KeyButtonView key injection logic. Bug: 5299191 Bug: 5300282 Only send keys when mCode != 0. Simplified the logic for repeating / non-repeating keys. Key down / up are always correlated with touch down / up, the only thing that's special is that we detect long press for repeating keys and not for others. Ensure that up or cancel is always sent for every key that is generated. Previously it was possible for keys to get stuck down if touch moved out of the button's active area. Removed the funky HOME long press timer. We don't need it since we can rely on the long-press flag instead. Since the system UI is in direct control of key repeating and long-press behavior for the keys it inject, this eliminates the need for special hacks to circumvent the timer. Ensure that the same haptic feedback is provided for all keys, including the recent apps key. Previously this only worked because the code was injecting a bogus key with code 0. Don't generate repeated haptic feedback for virtual keys even when those keys are injected. This doesn't happen for virtual keys synthesized by the InputReader because it never injects repeats itself (the InputDispatcher synthesizes them), but it is an issue for the KeyButtonView. Change-Id: I8b3615dde738af28e76898d161d6ce9a883b59ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
c638c1eb1bbed67d7d8f0d43f39137d766366f54 |
|
25-Aug-2011 |
Daniel Sandler <dsandler@android.com> |
Put the status bar and navigation bar in HW when advisable. This allows the hardware to place these windows into overlays if possible. Change-Id: I43717fcd2c7e8f38340975eb93088d1c2c96f09b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
9a5505f0253a9114aea6192a22da6ec1c1b85ed2 |
|
18-Aug-2011 |
Daniel Sandler <dsandler@google.com> |
Merge "Fix drawing artifacts on glowing navigation buttons."
|
96f4818ef41141649337d4dee09f837594e93d09 |
|
17-Aug-2011 |
Daniel Sandler <dsandler@google.com> |
Fix drawing artifacts on glowing navigation buttons. Bug: 5162661 Change-Id: I49d78124cc179221492af2f7bee6adf7bfe34426
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
44a4616bf780f131f8d78b46a075844800088860 |
|
09-Aug-2011 |
Daniel Sandler <dsandler@google.com> |
Remove longpress support from the software Home key. (Rendered unnecessary by the recents button.) Bug: 5131723 Change-Id: I9f8f34ab8b96f750ec4bdf75daeb97c0971b5404
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
5298582717494098fcdf115d832c8e871340d0b5 |
|
29-Jul-2011 |
Daniel Sandler <dsandler@android.com> |
Bring the shiny navigation button animations to phones. Also fix the accessibility descriptions (bad merge?). Bug: 4541219 Change-Id: I8a8e2a14e5557c45af0b9e74b0bd654ff804aab9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
a375c94fca986d76d21f8cb9a3eb29f1ef88c4a8 |
|
29-Jul-2011 |
Daniel Sandler <dsandler@android.com> |
New richly-appointed navigation buttons. - Beautiful new touch feedback animations - Romantic icon dimming - Supple Corinthian leather Bug: 4541219 Change-Id: I8c4e1ec73aba910a17001795d2b03200c5af1788
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
5ee1a3daf0fb274b2a5fdea797748b569495a621 |
|
03-Mar-2011 |
Patrick Dubroy <dubroy@google.com> |
Make sure we send a cancel event on system bar keys. Change-Id: Ia444a7cb1ff56ab5d063995bd467fc4b4169985f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
aa051d66afa791872bfe362a94765dece07cd4c5 |
|
01-Mar-2011 |
Daniel Sandler <dsandler@google.com> |
Make with the clicky. (Status bar buttons now play FX.) Now sending accessibility events and playing click noises: - Home - Back - Notification icons (if you tap; tap-and-hold/scrub is silent) - the clock area I also added touch slop to the main nav buttons (should have been there all along). Bug: 3422943 Change-Id: Ib5ee1d3a7c79e60e05377715092cde3f7678ddcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
ece945291e04ea8493895349ed95a2ab46b51c93 |
|
24-Feb-2011 |
Patrick Dubroy <dubroy@google.com> |
Fix 3272590: Long-press on home & menu should be same as click Change-Id: I151571900f4bb63910ccfb77fc64c8be9676a224
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
f68b500bb0d4c24ccabb40284f97981d50f888a8 |
|
17-Jan-2011 |
Joe Onorato <joeo@google.com> |
Remove a bunch of logging. Change-Id: I81a9a5d94b1652133d7b1700da55f982038f6b56
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
641bad449ba3b971500843c6bf7bf6f08363d09e |
|
07-Jan-2011 |
Joe Onorato <joeo@google.com> |
This makes the events at the edge of the screen find the button. Change-Id: Ib809d4c501a1863d4023a5cc52260077be295b10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c |
|
11-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Added support for full PC-style keyboards. BREAKING CHANGE: Redesigned the key character map format to accomodate full keyboards with more comprehensive suite of modifiers. Old key character maps will not work anymore and must be updated. The new format is plain text only and it not compiled to a binary file (so the "kcm" tool will be removed in a subsequent check-in). Added FULL keyboard type to support full PC-style keyboards. Added SPECIAL_FUNCTION keyboard type to support special function keypads that do not have any printable keys suitable for typing and only have keys like HOME and POWER Added a special VIRTUAL_KEYBOARD device id convention that maps to a virtual keyboard with a fixed known layout. This is designed to work around issues injecting input events on devices whose built-in keyboard does not have a useful key character map (ie. when the built-in keyboard is a special function keyboard only.) Modified several places where events were being synthesized to use the virtual keyboard. Removed support for the "qwerty" default layout. The new default layout is "Generic". For the most part "qwerty" was being used as a backstop in case the built-in keyboard did not have a key character map (probably because it was a special function keypad) and the framework needed to be able to inject key events anyways. The latter issue is resolved by using the special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD. Added the concept of a key modifier behavior so that MetaKeyKeyListener can distinguish between keyboards that use chorded vs. toggled modifiers. Wrote more robust key layout and key character map parsers to enable support for new keyboard features and user installable key maps. Fixed a bug in InputReader generating key ups when keys are released out of sequence. Updated tons of documentation. Currently QwertyKeyListener is being used for full keyboards with autotext and capitalization disabled. This mostly works but causes some problems with character pickers, etc. These issues will be resolved in subsequent changes. Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
abb27777f4763d057d37a58936232f8e17f57de1 |
|
15-Nov-2010 |
Joe Onorato <joeo@google.com> |
Don't cancel the key buttons when you drag outside their bounds. Bug: 3183205 Change-Id: I9e0f2e4e550b3e5b1b46099145b4c703b77aca77
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|
fd52b18d9bf3cd62c7a07058536e9f97db65beea |
|
11-Nov-2010 |
Joe Onorato <joeo@google.com> |
The beginnings of the new status bar. There is a lot of rough stuff still, but most of the functionality is here again. Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
|