Loading packages/SystemUI/proguard.flags +1 −0 Original line number Diff line number Diff line Loading @@ -35,3 +35,4 @@ } -keep class ** extends android.support.v14.preference.PreferenceFragment -keep class com.android.systemui.tuner.* packages/SystemUI/res/drawable/ic_drag_handle.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- 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="24.0dp" android:height="24.0dp" android:viewportWidth="24.0" android:viewportHeight="24.0"> <path android:fillColor="#FFFFFFFF" android:pathData="M20.0,9.0L4.0,9.0l0.0,2.0l16.0,0.0L20.0,9.0zM4.0,15.0l16.0,0.0l0.0,-2.0L4.0,13.0l0.0,2.0z"/> </vector> packages/SystemUI/res/drawable/ic_width.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="24.0dp" android:height="24.0dp" android:viewportWidth="24.0" android:viewportHeight="24.0"> <path android:fillColor="#FF000000" android:pathData="M7.77,6.76L6.23,5.4 0.82,12.0l5.41,6.52 1.54,-1.28L3.42,12.0l4.35,-5.24z M17.77,5.48l-1.54,1.28L20.58,12.0l-4.35,5.24 1.54,1.28L23.18,12.0l-5.41,-6.52z"/> <path android:fillColor="#FF000000" android:pathData="M2.0,13.0l20.0,0.0l0.0,-2.0l-20.0,0.0l0.0,2.0z" /> </vector> packages/SystemUI/res/layout/nav_control_widget.xml 0 → 100644 +62 −0 Original line number Diff line number Diff line <?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" xmlns:systemui="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="match_parent" android:paddingTop="8dp" android:paddingBottom="8dp" android:gravity="center" android:orientation="horizontal"> <ImageView android:id="@+id/width" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_width" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> <View android:layout_width="1dp" android:layout_height="match_parent" android:background="?android:attr/listDivider" /> <ImageView android:id="@+id/close" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_close" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> <View android:layout_width="1dp" android:layout_height="match_parent" android:background="?android:attr/listDivider" /> <ImageView android:id="@+id/drag" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_drag_handle" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> </LinearLayout> packages/SystemUI/res/values/strings.xml +27 −0 Original line number Diff line number Diff line Loading @@ -1351,4 +1351,31 @@ <!-- Label for feature switch [CHAR LIMIT=30] --> <string name="switch_bar_on">On</string> <!-- SysUI Tuner: Button that leads to the navigation bar customization screen [CHAR LIMIT=60] --> <string name="nav_bar">Navigation bar</string> <!-- SysUI Tuner: Group of buttons that show on the start of the screen [CHAR LIMIT=30] --> <string name="start">Start</string> <!-- SysUI Tuner: Group of buttons that show on the center of the screen [CHAR LIMIT=30] --> <string name="center">Center</string> <!-- SysUI Tuner: Group of buttons that show on the end of the screen [CHAR LIMIT=30] --> <string name="end">End</string> <!-- SysUI Tuner: Name of space used in custom navigation bar layouts [CHAR LIMIT=30] --> <string name="space">Spacer</string> <!-- SysUI Tuner: Name of Combination Menu / Keyboard Switcher button [CHAR LIMIT=30] --> <string name="menu_ime">Menu / Keyboard Switcher</string> <!-- SysUI Tuner: Title for dialog to add a button [CHAR LIMIT=30] --> <string name="select_button">Select button to add</string> <!-- SysUI Tuner: Button to add a button [CHAR LIMIT=30] --> <string name="add_button">Add button</string> <!-- SysUI Tuner: Save the current settings [CHAR LIMIT=30] --> <string name="save">Save</string> <!-- SysUI Tuner: Reset to default settings [CHAR LIMIT=30] --> <string name="reset">Reset</string> <!-- SysUI Tuner: Title of no home warning dialog [CHAR LIMIT=30] --> <string name="no_home_title">No home button found</string> <!-- SysUI Tuner: Message of no home warning dialog [CHAR LIMIT=NONE] --> <string name="no_home_message">A home button is required to be able to navigate this device. Please add a home button before saving.</string> </resources> Loading
packages/SystemUI/proguard.flags +1 −0 Original line number Diff line number Diff line Loading @@ -35,3 +35,4 @@ } -keep class ** extends android.support.v14.preference.PreferenceFragment -keep class com.android.systemui.tuner.*
packages/SystemUI/res/drawable/ic_drag_handle.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <!-- 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="24.0dp" android:height="24.0dp" android:viewportWidth="24.0" android:viewportHeight="24.0"> <path android:fillColor="#FFFFFFFF" android:pathData="M20.0,9.0L4.0,9.0l0.0,2.0l16.0,0.0L20.0,9.0zM4.0,15.0l16.0,0.0l0.0,-2.0L4.0,13.0l0.0,2.0z"/> </vector>
packages/SystemUI/res/drawable/ic_width.xml 0 → 100644 +28 −0 Original line number Diff line number Diff line <!-- 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="24.0dp" android:height="24.0dp" android:viewportWidth="24.0" android:viewportHeight="24.0"> <path android:fillColor="#FF000000" android:pathData="M7.77,6.76L6.23,5.4 0.82,12.0l5.41,6.52 1.54,-1.28L3.42,12.0l4.35,-5.24z M17.77,5.48l-1.54,1.28L20.58,12.0l-4.35,5.24 1.54,1.28L23.18,12.0l-5.41,-6.52z"/> <path android:fillColor="#FF000000" android:pathData="M2.0,13.0l20.0,0.0l0.0,-2.0l-20.0,0.0l0.0,2.0z" /> </vector>
packages/SystemUI/res/layout/nav_control_widget.xml 0 → 100644 +62 −0 Original line number Diff line number Diff line <?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" xmlns:systemui="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="match_parent" android:paddingTop="8dp" android:paddingBottom="8dp" android:gravity="center" android:orientation="horizontal"> <ImageView android:id="@+id/width" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_width" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> <View android:layout_width="1dp" android:layout_height="match_parent" android:background="?android:attr/listDivider" /> <ImageView android:id="@+id/close" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_close" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> <View android:layout_width="1dp" android:layout_height="match_parent" android:background="?android:attr/listDivider" /> <ImageView android:id="@+id/drag" android:layout_width="48dp" android:layout_height="wrap_content" android:src="@drawable/ic_drag_handle" android:clickable="true" android:tint="?android:attr/textColorPrimary" /> </LinearLayout>
packages/SystemUI/res/values/strings.xml +27 −0 Original line number Diff line number Diff line Loading @@ -1351,4 +1351,31 @@ <!-- Label for feature switch [CHAR LIMIT=30] --> <string name="switch_bar_on">On</string> <!-- SysUI Tuner: Button that leads to the navigation bar customization screen [CHAR LIMIT=60] --> <string name="nav_bar">Navigation bar</string> <!-- SysUI Tuner: Group of buttons that show on the start of the screen [CHAR LIMIT=30] --> <string name="start">Start</string> <!-- SysUI Tuner: Group of buttons that show on the center of the screen [CHAR LIMIT=30] --> <string name="center">Center</string> <!-- SysUI Tuner: Group of buttons that show on the end of the screen [CHAR LIMIT=30] --> <string name="end">End</string> <!-- SysUI Tuner: Name of space used in custom navigation bar layouts [CHAR LIMIT=30] --> <string name="space">Spacer</string> <!-- SysUI Tuner: Name of Combination Menu / Keyboard Switcher button [CHAR LIMIT=30] --> <string name="menu_ime">Menu / Keyboard Switcher</string> <!-- SysUI Tuner: Title for dialog to add a button [CHAR LIMIT=30] --> <string name="select_button">Select button to add</string> <!-- SysUI Tuner: Button to add a button [CHAR LIMIT=30] --> <string name="add_button">Add button</string> <!-- SysUI Tuner: Save the current settings [CHAR LIMIT=30] --> <string name="save">Save</string> <!-- SysUI Tuner: Reset to default settings [CHAR LIMIT=30] --> <string name="reset">Reset</string> <!-- SysUI Tuner: Title of no home warning dialog [CHAR LIMIT=30] --> <string name="no_home_title">No home button found</string> <!-- SysUI Tuner: Message of no home warning dialog [CHAR LIMIT=NONE] --> <string name="no_home_message">A home button is required to be able to navigate this device. Please add a home button before saving.</string> </resources>