Home
last modified time | relevance | path

Searched refs:isSwitchPrefEnabled (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/gestures/
DGesturePreferenceController.java66 final boolean isEnabled = isSwitchPrefEnabled(); in updateState()
109 protected abstract boolean isSwitchPrefEnabled(); in isSwitchPrefEnabled() method in GesturePreferenceController
DAssistGestureSettingsPreferenceController.java129 ((TwoStatePreference) preference).setChecked(isSwitchPrefEnabled()); in updateState()
158 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in AssistGestureSettingsPreferenceController
DSwipeToNotificationPreferenceController.java78 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in SwipeToNotificationPreferenceController
DDoubleTapScreenPreferenceController.java86 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in DoubleTapScreenPreferenceController
DDoubleTapPowerPreferenceController.java81 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in DoubleTapPowerPreferenceController
DPickupGesturePreferenceController.java74 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in PickupGesturePreferenceController
DDoubleTwistPreferenceController.java105 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in DoubleTwistPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DDoubleTapScreenPreferenceControllerTest.java82 assertThat(mController.isSwitchPrefEnabled()).isTrue(); in testSwitchEnabled_configIsSet_shouldReturnTrue()
89 assertThat(mController.isSwitchPrefEnabled()).isFalse(); in testSwitchEnabled_configIsNotSet_shouldReturnFalse()
DPIckupGesturePreferenceControllerTest.java83 assertThat(mController.isSwitchPrefEnabled()).isTrue(); in testSwitchEnabled_configIsSet_shouldReturnTrue()
91 assertThat(mController.isSwitchPrefEnabled()).isFalse(); in testSwitchEnabled_configIsNotSet_shouldReturnFalse()
DDoubleTapPowerPreferenceControllerTest.java88 assertThat(mController.isSwitchPrefEnabled()).isTrue(); in testSwitchEnabled_configIsNotSet_shouldReturnTrue()
99 assertThat(mController.isSwitchPrefEnabled()).isFalse(); in testSwitchEnabled_configIsSet_shouldReturnFalse()
DSwipeToNotificationPreferenceControllerTest.java117 assertThat(mController.isSwitchPrefEnabled()).isTrue(); in testSwitchEnabled_configIsSet_shouldReturnTrue()
129 assertThat(mController.isSwitchPrefEnabled()).isFalse(); in testSwitchEnabled_configIsNotSet_shouldReturnFalse()
DDoubleTwistPreferenceControllerTest.java130 assertThat(mController.isSwitchPrefEnabled()).isTrue(); in testSwitchEnabled_configIsSet_shouldReturnTrue()
141 assertThat(mController.isSwitchPrefEnabled()).isFalse(); in testSwitchEnabled_configIsNotSet_shouldReturnFalse()
DGesturePreferenceControllerTest.java223 protected boolean isSwitchPrefEnabled() { in isSwitchPrefEnabled() method in GesturePreferenceControllerTest.TestPrefController