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>
This commit is contained in:
bigrushdog
2017-12-06 10:00:00 +01:00
committed by Hưng Phan
parent 7a11dc7e80
commit 54a5962b6e
8 changed files with 1072 additions and 1 deletions

View File

@@ -176,7 +176,38 @@
<string name="torch_power_button_gesture_dt_toast">Jump to camera gesture is now disabled</string>
<string name="torch_power_button_gesture_lp">Long press power button</string>
<!-- 4G icon -->
<!-- Hardware button navigation -->
<string name="action_value_default_action" translatable="false">default</string>
<string name="action_value_select_app" translatable="false">app</string>
<string name="action_value_custom_action" translatable="false">custom</string>
<string name="action_value_back" translatable="false">task_back</string>
<string name="action_value_home" translatable="false">task_home</string>
<string name="action_value_search_assist" translatable="false">task_assist</string>
<string name="action_value_recent_apps" translatable="false">task_recents</string>
<string name="action_value_voice_search" translatable="false">task_voice_search</string>
<string name="action_value_menu" translatable="false">task_menu</string>
<string name="picker_activities">Activities</string>
<string name="select_custom_app_title">Select custom app</string>
<string name="select_custom_activity_title">Select custom activity</string>
<string name="profile_applist_title">Applications</string>
<string name="choose_action_title">Choose action</string>
<string name="action_entry_default_action">Default settings</string>
<string name="action_entry_select_app">Select application</string>
<string name="action_entry_custom_action">Select custom action</string>
<string name="hardware_keys_volume_keys_title">Volume rocker</string>
<string name="hardware_keys_home_key_title">Home button</string>
<string name="hardware_keys_menu_key_title">Menu button</string>
<string name="hardware_keys_assist_key_title">Search button</string>
<string name="hardware_keys_appswitch_key_title">Overview button</string>
<string name="hardware_keys_back_key_title">Back button</string>
<string name="hardware_keys_double_tap_summary">Set double tap action</string>
<string name="hardware_keys_single_tap_summary">Set single tap action</string>
<string name="hardware_keys_long_press_summary">Set long press action</string>
<string name="hardware_keys_single_tap_title">Single tap action</string>
<string name="hardware_keys_long_press_title">Long press action</string>
<string name="hardware_keys_double_tap_title">Double tap action</string>
<!-- 4G icon -->
<string name="show_fourg_icon_title">4G icon</string>
<string name="show_fourg_icon_summary">Display 4G icon in signal icon instead LTE</string>