Commit Graph

17 Commits

Author SHA1 Message Date
Hưng Phan
cf692e35b0 Revert "Allow doubletap/longpress power to toggle torch [2/2]"
This reverts commit 08476c3827.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-12-26 02:00:29 +07:00
bigrushdog
e75c5ee1d3 Hardware key disable support
Change-Id: I42f8b3b9423e218eb612bb8ff57baa58280392e6
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-12-24 20:05:32 +07:00
maxwen
d23b510a2d Custom button light [2/2]
*DU Edits*

- Adapt to our custom seekbar
- Wrap preferences/seekbar with a category / update strings
- Add check to remove preferences depending on bool (config_button_brightness_support)

Change-Id: I90531723f8751a92766e96f5409d979a2f5bd524
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-12-24 20:05:31 +07:00
GodfatherX64
db80cf7f2f Hardware key: Enable single tap rebinding for hwkey back and home
Initially, this policy was put in place to safeguard
the UX by preventing a usecase where the device could
be put in a state without back or home available. However,
if a user puts the device in this state, it is easy enough
to navigate to button settings to fix it

Change-Id: I6b71f9e54fcb99356e07f236e9ed926ac5fc017e
Signed-off-by: mhkjahromi <m.h.k.jahromi@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-26 12:19:21 +07:00
bigrushdog
7aa0587205 Hardware key: Customization support [2/2]
Based on DUI

jhenrique09 edits: make it DUI independent

Original commit message:
Same robust action library as used on software navigation. Supports
single tap, double tap, and long press. As a precautionary measure,
single tap back and single tap home are fixed and can not be changed.
Camera button actions are not supported at this time. We will bring
in wake key support at a later time.

Also includes:

Change-Id: I29ff38678821ca80db36d49d3b10d8ac29a6b4de
DUI: Initial checkin for Oreo [4/7]
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: mhkjahromi <m.h.k.jahromi@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-26 12:19:21 +07:00
ezio84
08476c3827 Allow doubletap/longpress power to toggle torch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-25 19:36:06 +07:00
Hưng Phan
e623518b61 Cherish:Cleanup for android 12
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-25 19:35:57 +07:00
Roman Birg
d429dca7c2 Cherish:Add left and right virtual buttons while typing [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-08 11:46:14 +07:00
Hưng Phan
02e2156ffe Cherish:Add IndexSearch for users
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-04 01:43:31 +07:00
bigrushdog
65d7980d0f NavigationBar visible from DUI: Initial checkin for Oreo
included Protect against SystemUI FC when toggling navbar too fast by ezio84

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-28 00:57:14 +07:00
AshutoshSundresh
182abd57ca Cherish:Disable navbar preferences if gestures are being used
And inform the user

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-26 21:42:23 +07:00
xyyx
73e04ab0e7 buttons: converting to float 2020-10-03 15:36:24 +07:00
bigrushdog
2a1c9debc8 Cherish:HW Keys customization support [1/2]
Based on DUI

jhenrique09 edits: make it DUI independent

Original commit message:

Same robust action library as used on software navigation. Supports
single tap, double tap, and long press. As a precautionary measure,
single tap back and single tap home are fixed and can not be changed.
Camera button actions are not supported at this time. We will bring
in wake key support at a later time.

Also includes:

DUI: Initial checkin for Oreo [4/7]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-03 15:36:13 +07:00
xyyx
af4ed56b14 ButtonBrightness: use switch for devices without variable button brightness
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-03 14:09:00 +07:00
xyyx
d3a510773e Buttons: Add buttons brightness and button backlight timeout options 2020-10-03 14:09:00 +07:00
xyyx
8a61ea170d Cherish: Move to androidx 2019-10-03 19:52:32 +07:00
hungphan2001
7d9b211eb1 Init Cherih 2019-10-03 12:21:20 +07:00