From 78d1179c730973d82824f56ad1d7e8db073a24bb Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Tue, 11 Dec 2012 04:12:41 -0600 Subject: SystemUI: add left and right virtual buttons while typing Adapt for cm-12.0. Squashes the following commits: Fix side button visibility tracking. Previously one could e.g. get legacy menu button being visible in certain scenarios, like this one: - Open legacy app, e.g. CatLog - Invoke IME - Lock screen - Unlock screen - Result: Menu button visible in keyguard Change-Id: Ia796f73ec995ea1cc34d38f8aefdbccda7be7565 SystemUI: fix up navigation cursor keyevent flags Volume cursor controls use slightly different flags to keep the cursor within the field. Match them in the SystemUI for consistent (and better) behavior. Change-Id: I56d597f111ec611b0ca24a10f30575401fa76d18 Signed-off-by: Roman Birg SystemUI: fix up initial cursor down flags on nav bar We were using the regular flags for the initial ACTION_DOWN event so the FLAG_KEEP_TOUCH_MODE was not being passed and allowed the cursor to jump out of bounds slightly. Change-Id: I5b4d2a5e5e0ce562985fcc3b7b6fac8b4abc49da Signed-off-by: Roman Birg Change-Id: Iea446443d33ff305765e47c86523b619676116ac --- .../SystemUI/res/drawable-hdpi/ic_sysbar_ime_left.png | Bin 0 -> 1284 bytes .../SystemUI/res/drawable-hdpi/ic_sysbar_ime_right.png | Bin 0 -> 1307 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100755 packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_left.png create mode 100755 packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_right.png (limited to 'packages/SystemUI/res/drawable-hdpi') diff --git a/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_left.png b/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_left.png new file mode 100755 index 0000000..ad9ae23 Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_left.png differ diff --git a/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_right.png b/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_right.png new file mode 100755 index 0000000..5324ad9 Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/ic_sysbar_ime_right.png differ -- cgit v1.1