Searched refs:SystemNavigationPreferenceController (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceControllerTest.java | 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 …]
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | SystemNavigationGestureSettings.java | 212 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,
|
D | ButtonNavigationSettingsFragment.java | 62 return SystemNavigationPreferenceController.isOverlayPackageAvailable(context, 64 || SystemNavigationPreferenceController.isOverlayPackageAvailable(
|
D | ButtonNavigationSettingsAssistController.java | 53 if (SystemNavigationPreferenceController.isOverlayPackageAvailable(mContext, in getAvailabilityStatus() 55 || SystemNavigationPreferenceController.isOverlayPackageAvailable(mContext, in getAvailabilityStatus()
|
D | SystemNavigationPreferenceController.java | 30 public class SystemNavigationPreferenceController extends BasePreferenceController { class 35 public SystemNavigationPreferenceController(Context context, String key) { in SystemNavigationPreferenceController() method in SystemNavigationPreferenceController
|
D | GestureNavigationSettingsAssistController.java | 51 return SystemNavigationPreferenceController.isGestureAvailable(mContext) ? AVAILABLE in getAvailabilityStatus()
|
D | GestureNavigationSettingsFragment.java | 168 return SystemNavigationPreferenceController.isGestureAvailable(context);
|