Searched refs:SystemNavigationPreferenceController (Results 1 – 5 of 5) sorted by relevance
23 import static com.android.settings.gestures.SystemNavigationPreferenceController.PREF_KEY_SYSTEM_NA…65 private SystemNavigationPreferenceController mController;80 mController = new SystemNavigationPreferenceController(mContext, in setUp()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()132 assertThat(SystemNavigationPreferenceController.isOverlayPackageAvailable(mContext, in testIsOverlayPackageAvailable_noOverlayPackage_shouldReturnFalse()140 assertThat(SystemNavigationPreferenceController.is2ButtonNavigationEnabled( in testIsSwipeUpEnabled()145 assertThat(SystemNavigationPreferenceController.is2ButtonNavigationEnabled( in testIsSwipeUpEnabled()150 assertThat(SystemNavigationPreferenceController.is2ButtonNavigationEnabled( in testIsSwipeUpEnabled()[all …]
142 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()149 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()156 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()182 if (!SystemNavigationPreferenceController.isGestureNavigationEnabled(context)) { in migrateOverlaySensitivityToSettings()203 if (SystemNavigationPreferenceController.isGestureNavigationEnabled(context)) { in getCurrentSystemNavigationMode()205 } else if (SystemNavigationPreferenceController.is2ButtonNavigationEnabled(context)) { in getCurrentSystemNavigationMode()254 return SystemNavigationPreferenceController.isGestureAvailable(context);
30 public class SystemNavigationPreferenceController extends BasePreferenceController { class35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
50 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
168 return SystemNavigationPreferenceController.isGestureAvailable(context);