Home
last modified time | relevance | path

Searched refs:isGestureAvailable (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTapPowerPreferenceController.java44 return !isGestureAvailable(context) in isSuggestionComplete()
48 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in DoubleTapPowerPreferenceController
55 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DSwipeToNotificationPreferenceController.java42 return !isGestureAvailable(context) in isSuggestionComplete()
47 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SwipeToNotificationPreferenceController
94 return isGestureAvailable(context); in isAvailable()
DDoubleTwistPreferenceController.java50 return !isGestureAvailable(context) in isSuggestionComplete()
54 public static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in DoubleTwistPreferenceController
72 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DSystemNavigationPreferenceController.java41 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
56 public static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SystemNavigationPreferenceController
DGestureNavigationSettingsAssistController.java51 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
DGestureNavigationSettingsFragment.java168 return SystemNavigationPreferenceController.isGestureAvailable(context);
DSystemNavigationGestureSettings.java390 return SystemNavigationPreferenceController.isGestureAvailable(context);
/packages/apps/Settings/src/com/android/settings/emergency/
DEmergencyGestureSoundPreferenceController.java40 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in EmergencyGestureSoundPreferenceController
47 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java108 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isTrue(); in testIsGestureAvailable_matchingServiceExists_shouldReturnTrue()
122 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse()
127 assertThat(SystemNavigationPreferenceController.isGestureAvailable(mContext)).isFalse(); in testIsGestureAvailable_noMatchingServiceExists_shouldReturnFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDoubleTwistPreferenceController.java17 protected static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in ShadowDoubleTwistPreferenceController