aboutsummaryrefslogtreecommitdiffstats
path: root/adb_install.cpp
diff options
context:
space:
mode:
authorNathan Grebowiec <njgreb@gmail.com>2013-10-12 10:04:25 -0500
committerTom Marshall <tdm@cyngn.com>2015-03-10 10:23:02 -0700
commit7fb6bb51a670b063e3d67fb7933282d4387dc81b (patch)
tree6c0ffaff19eed7e21f3f2089992d7f5a3459e186 /adb_install.cpp
parent281b7567628d82e205121bcc0564d564955f820b (diff)
downloadandroid_bootable_recovery-7fb6bb51a670b063e3d67fb7933282d4387dc81b.tar.gz
android_bootable_recovery-7fb6bb51a670b063e3d67fb7933282d4387dc81b.tar.bz2
android_bootable_recovery-7fb6bb51a670b063e3d67fb7933282d4387dc81b.zip
Enable optional swipe based touch controls
Enabled via BOARD_RECOVERY_SWIPE := true in BoardConfig.mk. Does not interfere with hardware keys, they continue to work. Patchset 1) Initial set Patchset 2) change Board Config variable don't add if BOARD_TOUCH_RECOVERY set Patchset 3) more ifdef's for all! Patchset 4) moved instructions even more stuff ifdef'ed no more abs name issues Patchset 5) clean up commit message Patchset 6) Move things to swipe.c to clean up ui.c Patchset 7) white space Change-Id: Id9844c38c31bd1985dd78a6d1dd81e71aa1f87f3 Prevent scroll drifting in swipe recovery Change-Id: I8179607517f55b2941924b5726e0e57b012f8e18 Swipe: make swipe thresholds uniform across devices Devices with high screen densities require very small swipes to activate a key. Make the swipe distance uniform across devices by using the screen density from ro.sf.lcd_density and activating a key based on the following thresholds: Left/Right swipe: 0.5in Up/Down swipe: 0.3in Change-Id: I39fe4b1007a4e4784d3d7d26a392d78b1adf9462 sr: Port swipe controls to C++ and refactor a bit Change-Id: I8869ac9babae90453036ad54ccc3fc1bb9e40f83 sr: Improve touch compatibility * Refcount BTN_TOUCH events for systems that send them * Also do some code cleanup Change-Id: Ib45e31f66056690cf2258a443846751e44d0064b sr: Change item headers since we always have swipe Change-Id: I9c20d9dfa1015dfacdb827f4c4da0ca59faafbe9
Diffstat (limited to 'adb_install.cpp')
0 files changed, 0 insertions, 0 deletions