Searched refs:getFocusLevel (Results 1 – 2 of 2) sorted by relevance
490 assertThat(ViewUtils.getFocusLevel(null)).isEqualTo(NO_FOCUS); in testGetFocusLevel()491 assertThat(ViewUtils.getFocusLevel(mFpv)).isEqualTo(NO_FOCUS); in testGetFocusLevel()493 assertThat(ViewUtils.getFocusLevel(mView2)).isEqualTo(NO_FOCUS); in testGetFocusLevel()495 assertThat(ViewUtils.getFocusLevel(mList5)).isEqualTo(SCROLLABLE_CONTAINER_FOCUS); in testGetFocusLevel()497 assertThat(ViewUtils.getFocusLevel(mView4)).isEqualTo(REGULAR_FOCUS); in testGetFocusLevel()505 assertThat(ViewUtils.getFocusLevel(firstItem)) in testGetFocusLevel()510 assertThat(ViewUtils.getFocusLevel(mDefaultFocus4)).isEqualTo(DEFAULT_FOCUS); in testGetFocusLevel()512 assertThat(ViewUtils.getFocusLevel(mFocusedByDefault3)).isEqualTo(FOCUSED_BY_DEFAULT); in testGetFocusLevel()
218 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in adjustFocus()228 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in adjustFocusImmediately()240 @FocusLevel int currentLevel = getFocusLevel(currentFocus); in initFocus()391 static int getFocusLevel(@Nullable View view) { in getFocusLevel() method in ViewUtils