Searched refs:isGestureAvailable (Results 1 – 10 of 10) sorted by relevance
44 return !isGestureAvailable(context) in isSuggestionComplete()48 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in DoubleTapPowerPreferenceController55 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
42 return !isGestureAvailable(context) in isSuggestionComplete()47 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SwipeToNotificationPreferenceController94 return isGestureAvailable(context); in isAvailable()
50 return !isGestureAvailable(context) in isSuggestionComplete()54 public static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in DoubleTwistPreferenceController72 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
41 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()56 public static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in SystemNavigationPreferenceController
51 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
168 return SystemNavigationPreferenceController.isGestureAvailable(context);
390 return SystemNavigationPreferenceController.isGestureAvailable(context);
40 private static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in EmergencyGestureSoundPreferenceController47 return isGestureAvailable(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
108 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()
17 protected static boolean isGestureAvailable(Context context) { in isGestureAvailable() method in ShadowDoubleTwistPreferenceController