sanders: LineageActions -> MotoActions
This commit is contained in:
BIN
MotoActions/res/drawable/ic_gesture.png
Normal file
BIN
MotoActions/res/drawable/ic_gesture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
29
MotoActions/res/drawable/ic_settings_doze.xml
Normal file
29
MotoActions/res/drawable/ic_settings_doze.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="1000.000000"
|
||||
android:viewportHeight="1000.000000"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
|
||||
<group
|
||||
android:translateY="1000.000000"
|
||||
android:scaleX="0.100000"
|
||||
android:scaleY="-0.100000">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M3022 9600 c-109 -29 -187 -74 -272 -160 -87 -86 -131 -163 -160 -276 -20 -76 -20
|
||||
-127 -20 -4094 0 -3967 0 -4018 20 -4094 29 -113 73 -190 160 -276 86 -87 163 -131
|
||||
276 -160 75 -20 117 -20 1849 -20 1732 0 1774 0 1849 20 113 29 190 73 276 160 87
|
||||
86 131 163 160 276 20 76 20 127 20 4094 0 3967 0 4018 -20 4094 -29 113 -73 190
|
||||
-160 276 -86 87 -163 131 -276 160 -75 20 -116 20 -1853 19 -1716 0 -1778 -1 -1849
|
||||
-19z m1943 -2149 c51 -23 93 -65 116 -116 14 -31 19 -65 19 -150 l0 -110 83 -19
|
||||
c227 -50 446 -169 623 -338 195 -187 315 -391 387 -658 l32 -115 3 -785 2 -785 363
|
||||
-357 362 -357 -2075 0 -2075 0 352 347 352 347 3 795 3 795 32 115 c72 267 192 471
|
||||
387 658 177 169 396 288 624 338 l82 19 0 110 c0 85 5 119 19 150 38 84 117 135
|
||||
211 135 32 0 72 -8 95 -19z m415 -4018 c-1 -27 -32 -118 -60 -172 -60 -119 -188
|
||||
-221 -325 -257 -27 -8 -86 -14 -130 -14 -95 0 -157 15 -244 60 -119 60 -221 188
|
||||
-257 325 -8 28 -14 53 -14 58 0 4 232 7 515 7 283 0 515 -3 515 -7z" />
|
||||
</group>
|
||||
</vector>
|
||||
9
MotoActions/res/drawable/ic_settings_fingerprint.xml
Normal file
9
MotoActions/res/drawable/ic_settings_fingerprint.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path android:fillColor="#FFFFFFFF" android:pathData="M11.83,1.73C8.43,1.79 6.23,3.32 6.23,3.32C5.95,3.5 5.88,3.91 6.07,4.19C6.27,4.5 6.66,4.55 6.96,4.34C6.96,4.34 11.27,1.15 17.46,4.38C17.75,4.55 18.14,4.45 18.31,4.15C18.5,3.85 18.37,3.47 18.03,3.28C16.36,2.4 14.78,1.96 13.36,1.8C12.83,1.74 12.32,1.72 11.83,1.73M12.22,4.34C6.26,4.26 3.41,9.05 3.41,9.05C3.22,9.34 3.3,9.72 3.58,9.91C3.87,10.1 4.26,10 4.5,9.68C4.5,9.68 6.92,5.5 12.2,5.59C17.5,5.66 19.82,9.65 19.82,9.65C20,9.94 20.38,10.04 20.68,9.87C21,9.69 21.07,9.31 20.9,9C20.9,9 18.15,4.42 12.22,4.34M11.5,6.82C9.82,6.94 8.21,7.55 7,8.56C4.62,10.53 3.1,14.14 4.77,19C4.88,19.33 5.24,19.5 5.57,19.39C5.89,19.28 6.07,18.92 5.95,18.6V18.6C4.41,14.13 5.78,11.2 7.8,9.5C9.77,7.89 13.25,7.5 15.84,9.1C17.11,9.9 18.1,11.28 18.6,12.64C19.11,14 19.08,15.32 18.67,15.94C18.25,16.59 17.4,16.83 16.65,16.64C15.9,16.45 15.29,15.91 15.26,14.77C15.23,13.06 13.89,12 12.5,11.84C11.16,11.68 9.61,12.4 9.21,14C8.45,16.92 10.36,21.07 14.78,22.45C15.11,22.55 15.46,22.37 15.57,22.04C15.67,21.71 15.5,21.35 15.15,21.25C11.32,20.06 9.87,16.43 10.42,14.29C10.66,13.33 11.5,13 12.38,13.08C13.25,13.18 14,13.7 14,14.79C14.05,16.43 15.12,17.54 16.34,17.85C17.56,18.16 18.97,17.77 19.72,16.62C20.5,15.45 20.37,13.8 19.78,12.21C19.18,10.61 18.07,9.03 16.5,8.04C14.96,7.08 13.19,6.7 11.5,6.82M11.86,9.25V9.26C10.08,9.32 8.3,10.24 7.28,12.18C5.96,14.67 6.56,17.21 7.44,19.04C8.33,20.88 9.54,22.1 9.54,22.1C9.78,22.35 10.17,22.35 10.42,22.11C10.67,21.87 10.67,21.5 10.43,21.23C10.43,21.23 9.36,20.13 8.57,18.5C7.78,16.87 7.3,14.81 8.38,12.77C9.5,10.67 11.5,10.16 13.26,10.67C15.04,11.19 16.53,12.74 16.5,15.03C16.46,15.38 16.71,15.68 17.06,15.7C17.4,15.73 17.7,15.47 17.73,15.06C17.79,12.2 15.87,10.13 13.61,9.47C13.04,9.31 12.45,9.23 11.86,9.25M12.08,14.25C11.73,14.26 11.46,14.55 11.47,14.89C11.47,14.89 11.5,16.37 12.31,17.8C13.15,19.23 14.93,20.59 18.03,20.3C18.37,20.28 18.64,20 18.62,19.64C18.6,19.29 18.3,19.03 17.91,19.06C15.19,19.31 14.04,18.28 13.39,17.17C12.74,16.07 12.72,14.88 12.72,14.88C12.72,14.53 12.44,14.25 12.08,14.25Z" />
|
||||
</vector>
|
||||
29
MotoActions/res/drawable/ic_settings_gestures.xml
Normal file
29
MotoActions/res/drawable/ic_settings_gestures.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2015 The CyanogenMod Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="32.0"
|
||||
android:viewportHeight="32.0"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,20.2V24H6V5.3h8.7l2.4,-4H7.6c-2.2,0 -4,1.8 -4,4v21.3c0,2.2 1.8,4 4,4h10.7c2.2,0 4,-1.8 4,-4V14.9L20,20.2zM15.6,28h-5.3v-1.3h5.3V28z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M28.5,7l1.1,-2.4L32,3.5l-2.4,-1.1L28.5,0l-1.1,2.4L25,3.5l2.4,1.1L28.5,7zM21,7.4l-2.2,-4.8l-2.2,4.8l-4.8,2.2l4.8,2.2l2.2,4.8l2.2,-4.8l4.8,-2.2L21,7.4zM28.5,12.2l-1.1,2.4L25,15.6l2.4,1.1l1.1,2.4l1.1,-2.4l2.4,-1.1l-2.4,-1.1L28.5,12.2z"/>
|
||||
</vector>
|
||||
22
MotoActions/res/drawable/ic_settings_screen_off_gestures.xml
Normal file
22
MotoActions/res/drawable/ic_settings_screen_off_gestures.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<!--
|
||||
Copyright (C) 2016 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M9,11.24L9,7.5C9,6.12 10.12,5 11.5,5S14,6.12 14,7.5v3.74c1.21,-0.81 2,-2.18 2,-3.74C16,5.01 13.99,3 11.5,3S7,5.01 7,7.5c0,1.56 0.79,2.93 2,3.74zM18.84,15.87l-4.54,-2.26c-0.17,-0.07 -0.35,-0.11 -0.54,-0.11L13,13.5v-6c0,-0.83 -0.67,-1.5 -1.5,-1.5S10,6.67 10,7.5v10.74l-3.43,-0.72c-0.08,-0.01 -0.15,-0.03 -0.24,-0.03 -0.31,0 -0.59,0.13 -0.79,0.33l-0.79,0.8 4.94,4.94c0.27,0.27 0.65,0.44 1.06,0.44h6.79c0.75,0 1.33,-0.55 1.44,-1.28l0.75,-5.27c0.01,-0.07 0.02,-0.14 0.02,-0.2 0,-0.62 -0.38,-1.16 -0.91,-1.38z"/>
|
||||
</vector>
|
||||
20
MotoActions/res/drawable/switchbar_background.xml
Normal file
20
MotoActions/res/drawable/switchbar_background.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?android:attr/colorControlHighlight">
|
||||
<item android:drawable="?android:attr/colorSecondary" />
|
||||
</ripple>
|
||||
27
MotoActions/res/layout/doze.xml
Normal file
27
MotoActions/res/layout/doze.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2014, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent">
|
||||
|
||||
<include layout="@layout/switch_bar" />
|
||||
|
||||
</LinearLayout>
|
||||
27
MotoActions/res/layout/fp_gesture.xml
Normal file
27
MotoActions/res/layout/fp_gesture.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2014, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent">
|
||||
|
||||
<include layout="@layout/switch_bar" />
|
||||
|
||||
</LinearLayout>
|
||||
48
MotoActions/res/layout/switch_bar.xml
Normal file
48
MotoActions/res/layout/switch_bar.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2016 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/switch_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize"
|
||||
android:background="@drawable/switchbar_background"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:clickable="true"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView android:id="@+id/switch_text"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingStart="48dp"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="@android:style/TextAppearance.Material.Title"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textAlignment="viewStart"
|
||||
android:text="@string/switch_bar_on" />
|
||||
|
||||
<Switch
|
||||
android:id="@android:id/switch_widget"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@null"
|
||||
android:theme="@style/MotoActions.SwitchBar" />
|
||||
|
||||
</LinearLayout>
|
||||
95
MotoActions/res/values-pt-rBR/strings.xml
Normal file
95
MotoActions/res/values-pt-rBR/strings.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013-2016 The CyanogenMod Project
|
||||
(C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Title and summary -->
|
||||
<string name="moto_actions_title">Moto Ações</string>
|
||||
|
||||
<!-- Device gestures -->
|
||||
<string name="device_gestures_title">Gestos do dispositivo</string>
|
||||
<string name="device_gestures_summary">Gerenciar os gestos do dispositivo</string>
|
||||
|
||||
<!-- Ambient display gestures -->
|
||||
<string name="ambient_display_manage_summary">Gerenciar os gestos da tela ambiente</string>
|
||||
|
||||
<!-- Fingerprint gestures -->
|
||||
<string name="fingerprint_gestures_title">Gestos no sensor biométrico</string>
|
||||
<string name="fingerprint_gestures_summary">Habilitar o uso de gestos no sensor biométrico</string>
|
||||
<string name="fingerprint_gestures_manage_summary">Gerenciar os gestos do sensor biométrico</string>
|
||||
<string name="fingerprint_actions_screenon">Ações com a tela ligada</string>
|
||||
<string name="fingerprint_tap_title">Toque único</string>
|
||||
<string name="fingerprint_tap_dlg_title">Selecione a ação para toque único</string>
|
||||
<string name="fingerprint_double_tap_title">Toque duplo</string>
|
||||
<string name="fingerprint_double_tap_dlg_title">Selecione a ação para toque duplo</string>
|
||||
<string name="fingerprint_long_tap_title">Toque longo</string>
|
||||
<string name="fingerprint_long_tap_dlg_title">Selecione a ação para toque longo</string>
|
||||
<string name="fingerprint_swipe_left_title">Deslizar para a esquerda</string>
|
||||
<string name="fingerprint_swipe_left_dlg_title">Selecione a ação para deslizar para a esquerda</string>
|
||||
<string name="fingerprint_swipe_right_title">Deslizar para a direita</string>
|
||||
<string name="fingerprint_swipe_right_dlg_title">Selecione a ação para deslizar para a direita</string>
|
||||
|
||||
<!-- Fingerprint gestures screen off -->
|
||||
<string name="fingerprint_gestures_screenoff_title">Habilitar com a tela desligada</string>
|
||||
<string name="fingerprint_gestures_screenoff_summary">Habilitar os gestos no sensor biométrico quando a tela estiver desligada.\n\nO desbloqueio por impressão digital deve estar desativado para usar esse recurso.</string>
|
||||
<string name="fingerprint_actions_screenoff">Ações com a tela desligada</string>
|
||||
|
||||
<!-- Actions -->
|
||||
<string name="action_none">Não fazer nada</string>
|
||||
<string name="action_home">Início</string>
|
||||
<string name="action_power">Ligar/desligar tela</string>
|
||||
<string name="action_wake">Acordar o dispositivo</string>
|
||||
<string name="action_back">Voltar</string>
|
||||
<string name="action_recents">Recentes</string>
|
||||
<string name="action_last_app">Último app</string>
|
||||
<string name="action_volume_up">Aumentar volume</string>
|
||||
<string name="action_volume_down">Diminuir volume</string>
|
||||
<string name="action_voice_assistant">Assistente de voz</string>
|
||||
<string name="action_play_pause">Tocar/pausar</string>
|
||||
<string name="action_previous_track">Faixa anterior</string>
|
||||
<string name="action_next_track">Próxima faixa</string>
|
||||
<string name="action_flashlight">Ligar/desligar lanterna</string>
|
||||
<string name="action_camera">Abrir câmera</string>
|
||||
<string name="action_screenshot">Tirar uma captura de tela</string>
|
||||
<string name="action_browser">Abrir navegador</string>
|
||||
<string name="action_dialer">Abrir discador</string>
|
||||
<string name="action_email">Abrir app de mail</string>
|
||||
<string name="action_messages">Abrir app de mensagens</string>
|
||||
<string name="action_pip">Modo picture-in-picture</string>
|
||||
|
||||
<!-- Screen off gestures -->
|
||||
<string name="screen_off_gestures_title">Gestos com a tela desligada</string>
|
||||
<string name="screen_off_gestures_manage_summary">Gerenciar os gestos com a tela desligada</string>
|
||||
<string name="screen_off_gestures_swipe_left_title">Deslizar para a esquerda</string>
|
||||
<string name="screen_off_gestures_swipe_left_dlg_title">Selecione a ação para deslizar para a esquerda</string>
|
||||
<string name="screen_off_gestures_swipe_right_title">Deslizar para a direita</string>
|
||||
<string name="screen_off_gestures_swipe_right_dlg_title">Selecione a ação para deslizar para a direita</string>
|
||||
<string name="screen_off_gestures_swipe_up_title">Deslizar para cima</string>
|
||||
<string name="screen_off_gestures_swipe_up_dlg_title">Selecione a ação para deslizar para cima</string>
|
||||
<string name="screen_off_gestures_swipe_down_title">Deslizar para baixo</string>
|
||||
<string name="screen_off_gestures_swipe_down_dlg_title">Selecione a ação para deslizar para baixo</string>
|
||||
|
||||
<!-- Double tap to wake -->
|
||||
<string name="tap_to_wake">Tocar para ativar</string>
|
||||
<string name="tap_to_wake_summary">Toque duas vezes em qualquer parte da tela para ativar o dispositivo</string>
|
||||
|
||||
<!-- Screen off gestures haptic feedback -->
|
||||
<string name="haptic_feedback">Retorno tátil</string>
|
||||
<string name="haptic_feedback_summary">Vibrar quando um gesto for detectado</string>
|
||||
|
||||
<!-- Pip -->
|
||||
<string name="app_does_not_support_pip">O aplicativo não tem suporte ao modo picture-in-picture.</string>
|
||||
</resources>
|
||||
104
MotoActions/res/values/array.xml
Normal file
104
MotoActions/res/values/array.xml
Normal file
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
<string-array name="fp_keys_listArray">
|
||||
<item>@string/action_none</item>
|
||||
<item>@string/action_home</item>
|
||||
<item>@string/action_power</item>
|
||||
<item>@string/action_back</item>
|
||||
<item>@string/action_recents</item>
|
||||
<item>@string/action_last_app</item>
|
||||
<item>@string/action_volume_up</item>
|
||||
<item>@string/action_volume_down</item>
|
||||
<item>@string/action_voice_assistant</item>
|
||||
<item>@string/action_play_pause</item>
|
||||
<item>@string/action_previous_track</item>
|
||||
<item>@string/action_next_track</item>
|
||||
<item>@string/action_flashlight</item>
|
||||
<item>@string/action_camera</item>
|
||||
<item>@string/action_screenshot</item>
|
||||
<item>@string/action_pip</item>
|
||||
</string-array>
|
||||
<string-array name="fp_keys_listValues">
|
||||
<item>0</item>
|
||||
<item>100</item> <!-- home -->
|
||||
<item>101</item> <!-- power -->
|
||||
<item>102</item> <!-- back -->
|
||||
<item>103</item> <!-- recents -->
|
||||
<item>121</item> <!-- last app -->
|
||||
<item>104</item> <!-- volume up -->
|
||||
<item>105</item> <!-- volume down -->
|
||||
<item>106</item> <!-- voice assistant -->
|
||||
<item>107</item> <!-- play/pause -->
|
||||
<item>108</item> <!-- previous track -->
|
||||
<item>109</item> <!-- next track -->
|
||||
<item>110</item> <!-- flashlight -->
|
||||
<item>111</item> <!-- camera -->
|
||||
<item>112</item> <!-- screenshot -->
|
||||
<item>120</item> <!-- pip -->
|
||||
</string-array>
|
||||
|
||||
<string-array name="fp_keys_screen_off_listArray">
|
||||
<item>@string/action_none</item>
|
||||
<item>@string/action_power</item>
|
||||
<item>@string/action_volume_up</item>
|
||||
<item>@string/action_volume_down</item>
|
||||
<item>@string/action_play_pause</item>
|
||||
<item>@string/action_previous_track</item>
|
||||
<item>@string/action_next_track</item>
|
||||
<item>@string/action_flashlight</item>
|
||||
<item>@string/action_camera</item>
|
||||
</string-array>
|
||||
<string-array name="fp_keys_screen_off_listValues">
|
||||
<item>0</item>
|
||||
<item>101</item> <!-- power -->
|
||||
<item>104</item> <!-- volume up -->
|
||||
<item>105</item> <!-- volume down -->
|
||||
<item>107</item> <!-- play/pause -->
|
||||
<item>108</item> <!-- previous track -->
|
||||
<item>109</item> <!-- next track -->
|
||||
<item>110</item> <!-- flashlight -->
|
||||
<item>111</item> <!-- camera -->
|
||||
</string-array>
|
||||
|
||||
<string-array name="screen_off_listArray">
|
||||
<item>@string/action_none</item>
|
||||
<item>@string/action_wake</item>
|
||||
<item>@string/action_play_pause</item>
|
||||
<item>@string/action_previous_track</item>
|
||||
<item>@string/action_next_track</item>
|
||||
<item>@string/action_flashlight</item>
|
||||
<item>@string/action_camera</item>
|
||||
<item>@string/action_browser</item>
|
||||
<item>@string/action_dialer</item>
|
||||
<item>@string/action_email</item>
|
||||
<item>@string/action_messages</item>
|
||||
</string-array>
|
||||
<string-array name="screen_off_listValues">
|
||||
<item>0</item>
|
||||
<item>101</item> <!-- wake/power -->
|
||||
<item>107</item> <!-- play/pause -->
|
||||
<item>108</item> <!-- previous track -->
|
||||
<item>109</item> <!-- next track -->
|
||||
<item>110</item> <!-- flashlight -->
|
||||
<item>111</item> <!-- camera -->
|
||||
<item>116</item> <!-- browser -->
|
||||
<item>117</item> <!-- dialer -->
|
||||
<item>118</item> <!-- email -->
|
||||
<item>119</item> <!-- messages -->
|
||||
</string-array>
|
||||
</resources>
|
||||
106
MotoActions/res/values/strings.xml
Normal file
106
MotoActions/res/values/strings.xml
Normal file
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013-2016 The CyanogenMod Project
|
||||
(C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Title and summary -->
|
||||
<string name="moto_actions_title">Moto Actions</string>
|
||||
|
||||
<!-- Device gestures -->
|
||||
<string name="device_gestures_title">Device gestures</string>
|
||||
<string name="device_gestures_summary">Manage device gestures</string>
|
||||
|
||||
<!-- Ambient display gestures -->
|
||||
<string name="ambient_display_manage_summary">Manage ambient display gestures</string>
|
||||
|
||||
<!-- Fingerprint gestures -->
|
||||
<string name="fingerprint_gestures_title">Fingerprint gestures</string>
|
||||
<string name="fingerprint_gestures_summary">Use fingerprint gestures</string>
|
||||
<string name="fingerprint_gestures_manage_summary">Manage fingerprint gestures</string>
|
||||
<string name="fingerprint_actions_screenon">Actions with screen on</string>
|
||||
<string name="fingerprint_tap_title">Single tap</string>
|
||||
<string name="fingerprint_tap_dlg_title">Select action for single tap</string>
|
||||
<string name="fingerprint_double_tap_title">Double tap</string>
|
||||
<string name="fingerprint_double_tap_dlg_title">Select action for double tap</string>
|
||||
<string name="fingerprint_long_tap_title">Long tap</string>
|
||||
<string name="fingerprint_long_tap_dlg_title">Select action for long tap</string>
|
||||
<string name="fingerprint_swipe_left_title">Swipe left</string>
|
||||
<string name="fingerprint_swipe_left_dlg_title">Select action for swipe left</string>
|
||||
<string name="fingerprint_swipe_right_title">Swipe right</string>
|
||||
<string name="fingerprint_swipe_right_dlg_title">Select action for swipe right</string>
|
||||
|
||||
<!-- Fingerprint gestures screen off -->
|
||||
<string name="fingerprint_gestures_screenoff_title">Fingerprint gestures when screen off</string>
|
||||
<string name="fingerprint_gestures_screenoff_summary">Use fingerprint gestures when screen off.\n\nFingerprint unlocking must be disabled to use this feature.</string>
|
||||
<string name="fingerprint_actions_screenoff">Actions with screen off</string>
|
||||
|
||||
<!-- Actions -->
|
||||
<string name="action_none">None</string>
|
||||
<string name="action_home">Home</string>
|
||||
<string name="action_power">Screen on/off</string>
|
||||
<string name="action_wake">Wake</string>
|
||||
<string name="action_back">Back</string>
|
||||
<string name="action_recents">Recents</string>
|
||||
<string name="action_last_app">Last app</string>
|
||||
<string name="action_volume_up">Volume up</string>
|
||||
<string name="action_volume_down">Volume down</string>
|
||||
<string name="action_voice_assistant">Voice assistant</string>
|
||||
<string name="action_play_pause">Play/pause</string>
|
||||
<string name="action_previous_track">Previous track</string>
|
||||
<string name="action_next_track">Next track</string>
|
||||
<string name="action_flashlight">Flashlight on/off</string>
|
||||
<string name="action_camera">Open camera</string>
|
||||
<string name="action_screenshot">Take screenshot</string>
|
||||
<string name="action_browser">Open browser</string>
|
||||
<string name="action_dialer">Open dialer</string>
|
||||
<string name="action_email">Open email app</string>
|
||||
<string name="action_messages">Open messages app</string>
|
||||
<string name="action_pip">Picture-in-Picture mode</string>
|
||||
|
||||
<!-- Screen off gestures -->
|
||||
<string name="screen_off_gestures_title">Screen off gestures</string>
|
||||
<string name="screen_off_gestures_manage_summary">Manage gestures when screen is off</string>
|
||||
<string name="screen_off_gestures_swipe_left_title">Swipe left</string>
|
||||
<string name="screen_off_gestures_swipe_left_dlg_title">Select action for swipe left</string>
|
||||
<string name="screen_off_gestures_swipe_right_title">Swipe right</string>
|
||||
<string name="screen_off_gestures_swipe_right_dlg_title">Select action for swipe right</string>
|
||||
<string name="screen_off_gestures_swipe_up_title">Swipe up</string>
|
||||
<string name="screen_off_gestures_swipe_up_dlg_title">Select action for swipe up</string>
|
||||
<string name="screen_off_gestures_swipe_down_title">Swipe down</string>
|
||||
<string name="screen_off_gestures_swipe_down_dlg_title">Select action for swipe down</string>
|
||||
|
||||
<!-- Double tap to wake -->
|
||||
<string name="tap_to_wake">Tap to wake</string>
|
||||
<string name="tap_to_wake_summary">Double-tap anywhere on the screen to wake device</string>
|
||||
|
||||
<!-- Screen off gestures haptic feedback -->
|
||||
<string name="haptic_feedback">Haptic feedback</string>
|
||||
<string name="haptic_feedback_summary">Vibrate when a touchscreen gesture is detected</string>
|
||||
|
||||
<!-- Pip -->
|
||||
<string name="app_does_not_support_pip">App does not support picture-in-picture mode.</string>
|
||||
|
||||
<!-- Proximity sensor -->
|
||||
<string name="allow_proximity_sensor_title">Allow proximity sensor</string>
|
||||
<string name="allow_proximity_sensor_summary">Check the proximity sensor before performing the action</string>
|
||||
|
||||
<!-- Title text for double tap power for camera [CHAR LIMIT=60]-->
|
||||
<string name="double_tap_power_for_camera_title">Jump to camera</string>
|
||||
|
||||
<!-- Summary text for double tap power for camera [CHAR LIMIT=160]-->
|
||||
<string name="double_tap_power_for_camera_summary">To quickly open camera, press the power button twice. Works from any screen.</string>
|
||||
|
||||
</resources>
|
||||
58
MotoActions/res/values/styles.xml
Normal file
58
MotoActions/res/values/styles.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<style name="MotoActions" parent="@android:style/Theme.DeviceDefault.Settings">
|
||||
<item name="dialogPreferenceStyle">@style/MotoActions.DialogPreferenceStyle</item>
|
||||
<item name="preferenceCategoryStyle">@style/MotoActions.PreferenceCategoryStyle</item>
|
||||
<item name="preferenceFragmentStyle">@style/MotoActions.PreferenceFragmentStyle</item>
|
||||
<item name="preferenceStyle">@style/MotoActions.PreferenceStyle</item>
|
||||
<item name="preferenceTheme">@style/MotoActions.PreferenceTheme</item>
|
||||
<item name="switchPreferenceStyle">@style/MotoActions.SwitchPreferenceStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.DialogPreferenceStyle" parent="@style/MotoActions.PreferenceStyle">
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.PreferenceCategoryStyle" parent="@*android:style/Preference.DeviceDefault.Category">
|
||||
<item name="allowDividerAbove">true</item>
|
||||
<item name="allowDividerBelow">true</item>
|
||||
<item name="android:layout">@layout/preference_category_material_settings</item>
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment.Material">
|
||||
<item name="allowDividerAfterLastItem">false</item>
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.PreferenceStyle" parent="@*android:style/Preference.DeviceDefault">
|
||||
<item name="allowDividerAbove">false</item>
|
||||
<item name="allowDividerBelow">true</item>
|
||||
<item name="singleLineTitle">false</item>
|
||||
<item name="android:layout">@layout/preference_material_settings</item>
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.PreferenceTheme">
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.SwitchPreferenceStyle" parent="@style/MotoActions.PreferenceStyle">
|
||||
<item name="widgetLayout">@*android:layout/preference_widget_switch</item>
|
||||
</style>
|
||||
|
||||
<style name="MotoActions.SwitchBar" parent="@android:style/ThemeOverlay.Material.ActionBar">
|
||||
</style>
|
||||
</resources>
|
||||
4
MotoActions/res/values/symbols.xml
Normal file
4
MotoActions/res/values/symbols.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<java-symbol type="string" name="app_does_not_support_pip" />
|
||||
</resources>
|
||||
56
MotoActions/res/xml/actions_panel.xml
Normal file
56
MotoActions/res/xml/actions_panel.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_double_tap_power"
|
||||
android:title="@string/double_tap_power_for_camera_title"
|
||||
android:summary="@string/double_tap_power_for_camera_summary"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_camera_action"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/camera_gesture_title"
|
||||
android:summary="@string/camera_gesture_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_chop_chop"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/chop_chop_gesture_title"
|
||||
android:summary="@string/chop_chop_gesture_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_ir_silencer"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/hand_wave_silencer_title"
|
||||
android:summary="@string/hand_wave_silencer_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_flip_to_mute"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/flip_to_mute_title"
|
||||
android:summary="@string/flip_to_mute_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_lift_to_silence"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/lift_to_silence_title"
|
||||
android:summary="@string/lift_to_silence_summary" />
|
||||
|
||||
</PreferenceScreen>
|
||||
32
MotoActions/res/xml/doze_panel.xml
Normal file
32
MotoActions/res/xml/doze_panel.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_pick_up"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/pick_up_gesture_title"
|
||||
android:summary="@string/pick_up_gesture_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_hand_wave"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/hand_wave_gesture_title"
|
||||
android:summary="@string/hand_wave_gesture_summary" />
|
||||
|
||||
</PreferenceScreen>
|
||||
27
MotoActions/res/xml/doze_panel_indexable.xml
Normal file
27
MotoActions/res/xml/doze_panel_indexable.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<Preference
|
||||
android:key="doze"
|
||||
android:title="@string/ambient_display_title"
|
||||
android:summary="@string/ambient_display_manage_summary"
|
||||
android:icon="@drawable/ic_settings_doze" />
|
||||
|
||||
</PreferenceScreen>
|
||||
144
MotoActions/res/xml/fp_gesture_panel.xml
Normal file
144
MotoActions/res/xml/fp_gesture_panel.xml
Normal file
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="fp_home_scr_off"
|
||||
android:enabled="false"
|
||||
android:title="@string/fingerprint_gestures_screenoff_title"
|
||||
android:summary="@string/fingerprint_gestures_screenoff_summary" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="fp_keys_scr_on"
|
||||
android:title="@string/fingerprint_actions_screenon" >
|
||||
|
||||
<SwitchPreference
|
||||
android:key="fp_haptic"
|
||||
android:defaultValue="0"
|
||||
android:title="@string/haptic_feedback"
|
||||
android:summary="@string/haptic_feedback_summary" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/fingerprint_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_tap_dlg_title"
|
||||
android:key="fp_keys"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_listArray"
|
||||
android:entryValues="@array/fp_keys_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/fingerprint_double_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_double_tap_dlg_title"
|
||||
android:key="fp_key_dbltap"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_listArray"
|
||||
android:entryValues="@array/fp_keys_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/fingerprint_long_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_long_tap_dlg_title"
|
||||
android:key="fp_key_hold"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_listArray"
|
||||
android:entryValues="@array/fp_keys_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/fingerprint_swipe_left_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_swipe_left_dlg_title"
|
||||
android:key="fp_key_left"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_listArray"
|
||||
android:entryValues="@array/fp_keys_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/fingerprint_swipe_right_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_swipe_right_dlg_title"
|
||||
android:key="fp_key_right"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_listArray"
|
||||
android:entryValues="@array/fp_keys_listValues" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="fp_keys_scr_off"
|
||||
android:title="@string/fingerprint_actions_screenoff"
|
||||
android:enabled="false" >
|
||||
|
||||
<SwitchPreference
|
||||
android:key="fp_haptic_scr_off"
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:defaultValue="0"
|
||||
android:title="@string/haptic_feedback"
|
||||
android:summary="@string/haptic_feedback_summary" />
|
||||
|
||||
<ListPreference
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:title="@string/fingerprint_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_tap_dlg_title"
|
||||
android:key="fp_keys_off"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_screen_off_listArray"
|
||||
android:entryValues="@array/fp_keys_screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:title="@string/fingerprint_double_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_double_tap_dlg_title"
|
||||
android:key="fp_key_dbltap_off"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_screen_off_listArray"
|
||||
android:entryValues="@array/fp_keys_screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:title="@string/fingerprint_long_tap_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_long_tap_dlg_title"
|
||||
android:key="fp_key_hold_off"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_screen_off_listArray"
|
||||
android:entryValues="@array/fp_keys_screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:title="@string/fingerprint_swipe_left_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_swipe_left_dlg_title"
|
||||
android:key="fp_key_left_off"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_screen_off_listArray"
|
||||
android:entryValues="@array/fp_keys_screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:dependency="fp_home_scr_off"
|
||||
android:title="@string/fingerprint_swipe_right_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/fingerprint_swipe_right_dlg_title"
|
||||
android:key="fp_key_right_off"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/fp_keys_screen_off_listArray"
|
||||
android:entryValues="@array/fp_keys_screen_off_listValues" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
27
MotoActions/res/xml/fp_gesture_panel_indexable.xml
Normal file
27
MotoActions/res/xml/fp_gesture_panel_indexable.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<Preference
|
||||
android:key="fp_gestures"
|
||||
android:title="@string/fingerprint_gestures_title"
|
||||
android:summary="@string/fingerprint_gestures_manage_summary"
|
||||
android:icon="@drawable/ic_settings_fingerprint" />
|
||||
|
||||
</PreferenceScreen>
|
||||
51
MotoActions/res/xml/main_panel.xml
Normal file
51
MotoActions/res/xml/main_panel.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<Preference
|
||||
android:key="gestures"
|
||||
android:title="@string/device_gestures_title"
|
||||
android:summary="@string/device_gestures_summary"
|
||||
android:icon="@drawable/ic_settings_gestures">
|
||||
<intent
|
||||
android:targetPackage="com.moto.actions"
|
||||
android:targetClass="com.moto.actions.GestureSettingsActivity" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:key="doze"
|
||||
android:title="@string/ambient_display_title"
|
||||
android:summary="@string/ambient_display_manage_summary"
|
||||
android:icon="@drawable/ic_settings_doze">
|
||||
<intent
|
||||
android:targetPackage="com.moto.actions"
|
||||
android:targetClass="com.moto.actions.DozeSettingsActivity" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
android:key="fp_gestures"
|
||||
android:title="@string/fingerprint_gestures_title"
|
||||
android:summary="@string/fingerprint_gestures_manage_summary"
|
||||
android:icon="@drawable/ic_settings_fingerprint">
|
||||
<intent
|
||||
android:targetPackage="com.moto.actions"
|
||||
android:targetClass="com.moto.actions.FPGestureSettingsActivity" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceScreen>
|
||||
67
MotoActions/res/xml/screen_off_gesture_panel.xml
Normal file
67
MotoActions/res/xml/screen_off_gesture_panel.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="tap_to_wake"
|
||||
android:title="@string/tap_to_wake"
|
||||
android:summary="@string/tap_to_wake_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="haptic_feedback"
|
||||
android:title="@string/haptic_feedback"
|
||||
android:summary="@string/haptic_feedback_summary" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/screen_off_gestures_swipe_left_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/screen_off_gestures_swipe_left_dlg_title"
|
||||
android:key="screen_off_gestures_swipe_left"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/screen_off_listArray"
|
||||
android:entryValues="@array/screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/screen_off_gestures_swipe_right_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/screen_off_gestures_swipe_right_dlg_title"
|
||||
android:key="screen_off_gestures_swipe_right"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/screen_off_listArray"
|
||||
android:entryValues="@array/screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/screen_off_gestures_swipe_up_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/screen_off_gestures_swipe_up_dlg_title"
|
||||
android:key="screen_off_gestures_swipe_up"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/screen_off_listArray"
|
||||
android:entryValues="@array/screen_off_listValues" />
|
||||
|
||||
<ListPreference
|
||||
android:title="@string/screen_off_gestures_swipe_down_title"
|
||||
android:summary="%s"
|
||||
android:dialogTitle="@string/screen_off_gestures_swipe_down_dlg_title"
|
||||
android:key="screen_off_gestures_swipe_down"
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/screen_off_listArray"
|
||||
android:entryValues="@array/screen_off_listValues" />
|
||||
|
||||
</PreferenceScreen>
|
||||
27
MotoActions/res/xml/screen_off_gesture_panel_indexable.xml
Normal file
27
MotoActions/res/xml/screen_off_gesture_panel_indexable.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015-2016 The CyanogenMod Project
|
||||
Copyright (C) 2017 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<Preference
|
||||
android:key="screen_off_gestures"
|
||||
android:title="@string/screen_off_gestures_title"
|
||||
android:summary="@string/screen_off_gestures_manage_summary"
|
||||
android:icon="@drawable/ic_settings_screen_off_gestures" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user