Home
last modified time | relevance | path

Searched refs:REGULAR_FOCUS (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java71 static final int REGULAR_FOCUS = 3; field in ViewUtils
92 @IntDef(flag = true, value = {NO_FOCUS, SCROLLABLE_CONTAINER_FOCUS, REGULAR_FOCUS,
241 if (currentLevel >= REGULAR_FOCUS) { in initFocus()
327 if (currentLevel < REGULAR_FOCUS && focusOnFirstRegularView(root)) { in adjustFocus()
407 return REGULAR_FOCUS; in getFocusLevel()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/
DViewUtilsTest.java32 import static com.android.car.ui.utils.ViewUtils.REGULAR_FOCUS;
467 assertThat(ViewUtils.adjustFocus(mFocusArea2, REGULAR_FOCUS)).isFalse(); in testAdjustFocus_differentFocusLevels()
469 assertThat(ViewUtils.adjustFocus(mFocusArea5, REGULAR_FOCUS)).isTrue(); in testAdjustFocus_differentFocusLevels()
497 assertThat(ViewUtils.getFocusLevel(mView4)).isEqualTo(REGULAR_FOCUS); in testGetFocusLevel()