Searched refs:DEFAULT_FOCUS (Results 1 – 2 of 2) sorted by relevance
82 static final int DEFAULT_FOCUS = 5; field in ViewUtils93 IMPLICIT_DEFAULT_FOCUS, DEFAULT_FOCUS, FOCUSED_BY_DEFAULT})302 if (currentLevel < DEFAULT_FOCUS && focusOnDefaultFocusView(root)) { in adjustFocus()399 return DEFAULT_FOCUS; in getFocusLevel()
28 import static com.android.car.ui.utils.ViewUtils.DEFAULT_FOCUS;473 assertThat(ViewUtils.adjustFocus(mFocusArea4, DEFAULT_FOCUS)).isFalse(); in testAdjustFocus_differentFocusLevels()475 assertThat(ViewUtils.adjustFocus(mFocusArea3, DEFAULT_FOCUS)).isTrue(); in testAdjustFocus_differentFocusLevels()510 assertThat(ViewUtils.getFocusLevel(mDefaultFocus4)).isEqualTo(DEFAULT_FOCUS); in testGetFocusLevel()