Searched refs:isCandidate (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AlarmsAndRemindersDetailPreferenceControllerTest.java | 64 doReturn(false).when(mController).isCandidate(); in getAvailabilityStatus_notCandidate_shouldReturnUnavailable() 72 doReturn(true).when(mController).isCandidate(); in getAvailabilityStatus_isCandidate_shouldReturnAvailable() 95 mController.isCandidate(); in isCandidate_nullPackageInfo_shouldNotCrash()
|
D | LongBackgroundTasksDetailsPreferenceControllerTest.java | 69 doReturn(false).when(mController).isCandidate(); in getAvailabilityStatus_notCandidate_shouldReturnUnavailable() 77 doReturn(true).when(mController).isCandidate(); in getAvailabilityStatus_isCandidate_shouldReturnAvailable() 101 mController.isCandidate(); in isCandidate_nullPackageInfo_shouldNotCrash()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AlarmsAndRemindersDetailPreferenceController.java | 42 return isCandidate() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 61 boolean isCandidate() { in isCandidate() method in AlarmsAndRemindersDetailPreferenceController
|
D | LongBackgroundTasksDetailsPreferenceController.java | 59 return isCandidate() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 78 boolean isCandidate() { in isCandidate() method in LongBackgroundTasksDetailsPreferenceController
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | Navigator.java | 568 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in shouldNudgeOutOfIme() 891 if (isCandidate(sourceBounds, sourceFocusAreaBounds, candidate, candidateBounds, in chooseBestNudgeCandidate() 915 private boolean isCandidate(@NonNull Rect sourceBounds, in isCandidate() method in Navigator 950 return FocusFinder.isCandidate(sourceBounds, nodeBounds, direction); in isCandidate()
|
D | FocusFinder.java | 126 static boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() method in FocusFinder
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | FocusFinderTest.java | 582 assertFalse(assertMsg, FocusFinder.isCandidate(src, dest, direction)); in assertIsNotCandidate() 598 assertTrue(assertMsg, FocusFinder.isCandidate(src, dest, direction)); in assertDirectionIsCandidate()
|