Home
last modified time | relevance | path

Searched refs:SystemNavigationPreferenceController (Results 1 – 5 of 5) 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.java142 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);
DSystemNavigationPreferenceController.java30 public class SystemNavigationPreferenceController extends BasePreferenceController { class
35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
DGestureNavigationSettingsAssistController.java50 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
DGestureNavigationSettingsFragment.java168 return SystemNavigationPreferenceController.isGestureAvailable(context);