Home
last modified time | relevance | path

Searched refs:SystemNavigationPreferenceController (Results 1 – 8 of 8) 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.isSwipeUpEnabled(mContext)).isTrue(); in testIsSwipeUpEnabled()
144 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
148 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()
[all …]
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java180 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
187 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
194 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(c, in getCandidates()
257 if (SystemNavigationPreferenceController.isEdgeToEdgeEnabled(context)) { in getCurrentSystemNavigationMode()
259 } else if (SystemNavigationPreferenceController.isSwipeUpEnabled(context)) { in getCurrentSystemNavigationMode()
340 return SystemNavigationPreferenceController.isGestureAvailable(context);
DSystemNavigationPreferenceController.java30 public class SystemNavigationPreferenceController extends BasePreferenceController { class
35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DSystemNavigationPreferenceController.java41 public abstract class SystemNavigationPreferenceController extends GesturePreferenceController class
56 public SystemNavigationPreferenceController(Context context, IOverlayManager overlayManager, in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
DSystemNavigationLegacyPreferenceController.java31 SystemNavigationPreferenceController {
DSystemNavigationSwipeUpPreferenceController.java31 SystemNavigationPreferenceController {
DSystemNavigationEdgeToEdgePreferenceController.java31 SystemNavigationPreferenceController {
DSystemNavigationGestureSettings.java78 return SystemNavigationPreferenceController.isGestureAvailable(context);