Searched refs:SystemNavigationPreferenceController (Results 1 – 8 of 8) 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.isSwipeUpEnabled(mContext)).isTrue(); in testIsSwipeUpEnabled()144 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()148 assertThat(SystemNavigationPreferenceController.isSwipeUpEnabled(mContext)).isFalse(); in testIsSwipeUpEnabled()[all …]
180 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);
30 public class SystemNavigationPreferenceController extends BasePreferenceController { class35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
41 public abstract class SystemNavigationPreferenceController extends GesturePreferenceController class56 public SystemNavigationPreferenceController(Context context, IOverlayManager overlayManager, in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
31 SystemNavigationPreferenceController {
78 return SystemNavigationPreferenceController.isGestureAvailable(context);