diff options
author | Tao Bao <tbao@google.com> | 2017-08-03 20:29:38 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-03 20:29:38 +0200 |
commit | 14d829b02c691d49f56580ed7ba2b75e04a18b19 (patch) | |
tree | 5bad19c6f202760e5a8a067dac7476c29bfaa1b4 /Android.mk | |
parent | Merge "Refactor the imgdiff" am: f411f3dcfb (diff) | |
parent | Merge "ui: Move the support for touch inputs into RecoveryUI." (diff) | |
download | android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar.gz android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar.bz2 android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar.lz android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar.xz android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.tar.zst android_bootable_recovery-14d829b02c691d49f56580ed7ba2b75e04a18b19.zip |
Diffstat (limited to '')
-rw-r--r-- | Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index 3eed7a696..967b9dfbe 100644 --- a/Android.mk +++ b/Android.mk @@ -108,6 +108,18 @@ else LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_WIDTH=0 endif +ifneq ($(TARGET_RECOVERY_UI_TOUCH_LOW_THRESHOLD),) +LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_LOW_THRESHOLD=$(TARGET_RECOVERY_UI_TOUCH_LOW_THRESHOLD) +else +LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_LOW_THRESHOLD=50 +endif + +ifneq ($(TARGET_RECOVERY_UI_TOUCH_HIGH_THRESHOLD),) +LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_HIGH_THRESHOLD=$(TARGET_RECOVERY_UI_TOUCH_HIGH_THRESHOLD) +else +LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_HIGH_THRESHOLD=90 +endif + ifneq ($(TARGET_RECOVERY_UI_VR_STEREO_OFFSET),) LOCAL_CFLAGS += -DRECOVERY_UI_VR_STEREO_OFFSET=$(TARGET_RECOVERY_UI_VR_STEREO_OFFSET) else |