Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b99ea900 authored by Fan Zhang's avatar Fan Zhang
Browse files

Add more gesture setting pages.

Bug: 32637613
Test: make -j40 RunSettingsRoboTests
Change-Id: I77f90b8b7e3348ed717ee78693860f48e13070f2
parent b52c50d0
Loading
Loading
Loading
Loading
+25 −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.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <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"/>

</PreferenceScreen>
 No newline at end of file
+25 −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.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <SwitchPreference
        android:key="gesture_double_tap_screen"
        android:title="@string/ambient_display_title"
        android:summary="@string/ambient_display_summary"/>

</PreferenceScreen>
 No newline at end of file
+25 −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.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <SwitchPreference
        android:key="gesture_double_twist"
        android:title="@string/double_twist_for_camera_mode_title"
        android:summary="@string/double_twist_for_camera_mode_summary"/>

</PreferenceScreen>
 No newline at end of file
+8 −4
Original line number Diff line number Diff line
@@ -38,19 +38,23 @@

        <Preference
            android:key="gesture_double_tap_power"
            android:title="@string/double_tap_power_for_camera_title"/>
            android:title="@string/double_tap_power_for_camera_title"
            android:fragment="com.android.settings.gestures.DoubleTapPowerSettings"/>

        <Preference
            android:key="gesture_double_twist"
            android:title="@string/double_twist_for_camera_mode_title"/>
            android:title="@string/double_twist_for_camera_mode_title"
            android:fragment="com.android.settings.gestures.DoubleTwistGestureSettings"/>

        <Preference
            android:key="gesture_double_tap_screen"
            android:title="@string/ambient_display_title"/>
            android:title="@string/ambient_display_title"
            android:fragment="com.android.settings.gestures.DoubleTapScreenSettings"/>

        <Preference
            android:key="gesture_pick_up"
            android:title="@string/ambient_display_pickup_title"/>
            android:title="@string/ambient_display_pickup_title"
            android:fragment="com.android.settings.gestures.PickupGestureSettings"/>

    </PreferenceCategory>

+25 −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.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <SwitchPreference
        android:key="gesture_pick_up"
        android:title="@string/ambient_display_pickup_title"
        android:summary="@string/ambient_display_pickup_summary"/>

</PreferenceScreen>
 No newline at end of file
Loading