Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DDoubleTapPowerPreferenceController.java46 return !isGestureAvailable(context) in isSuggestionComplete()
50 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in DoubleTapPowerPreferenceController
57 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
89 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.java64 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
108 static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SystemNavigationPreferenceController
DSystemNavigationGestureSettings.java78 return SystemNavigationPreferenceController.isGestureAvailable(context);
/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
89 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()
55 static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SystemNavigationPreferenceController
DSystemNavigationGestureSettings.java340 return SystemNavigationPreferenceController.isGestureAvailable(context);
/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