Home
last modified time | relevance | path

Searched refs:SystemNavigationPreferenceController (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java23 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 …]
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java212 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
219 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
226 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
283 if (!SystemNavigationPreferenceController.isGestureNavigationEnabled(context)) { in migrateOverlaySensitivityToSettings()
304 if (SystemNavigationPreferenceController.isGestureNavigationEnabled(context)) { in getCurrentSystemNavigationMode()
306 } else if (SystemNavigationPreferenceController.is2ButtonNavigationEnabled(context)) { in getCurrentSystemNavigationMode()
390 return SystemNavigationPreferenceController.isGestureAvailable(context);
399 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(context,
407 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(context,
415 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(context,
DButtonNavigationSettingsFragment.java62 return SystemNavigationPreferenceController.isOverlayPackageAvailable(context,
64 || SystemNavigationPreferenceController.isOverlayPackageAvailable(
DButtonNavigationSettingsAssistController.java53 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(mContext, in getAvailabilityStatus()
55 || SystemNavigationPreferenceController.isOverlayPackageAvailable(mContext, in getAvailabilityStatus()
DSystemNavigationPreferenceController.java30 public class SystemNavigationPreferenceController extends BasePreferenceController { class
35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
DGestureNavigationSettingsAssistController.java51 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
DGestureNavigationSettingsFragment.java168 return SystemNavigationPreferenceController.isGestureAvailable(context);