Searched refs:REGULAR_FOCUS (Results 1 – 2 of 2) sorted by relevance
71 static final int REGULAR_FOCUS = 3; field in ViewUtils92 @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()
32 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()