Home
last modified time | relevance | path

Searched refs:SCROLLABLE_CONTAINER_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.java64 static final int SCROLLABLE_CONTAINER_FOCUS = 2; field in ViewUtils
92 @IntDef(flag = true, value = {NO_FOCUS, SCROLLABLE_CONTAINER_FOCUS, REGULAR_FOCUS,
330 if (currentLevel < SCROLLABLE_CONTAINER_FOCUS) { in adjustFocus()
405 return SCROLLABLE_CONTAINER_FOCUS; in getFocusLevel()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/
DViewUtilsTest.java33 import static com.android.car.ui.utils.ViewUtils.SCROLLABLE_CONTAINER_FOCUS;
466 assertThat(ViewUtils.adjustFocus(mFocusArea2, SCROLLABLE_CONTAINER_FOCUS)).isTrue(); in testAdjustFocus_differentFocusLevels()
483 assertThat(ViewUtils.adjustFocus(mFocusArea5, SCROLLABLE_CONTAINER_FOCUS)).isFalse(); in testAdjustFocus_differentFocusLevels()
495 assertThat(ViewUtils.getFocusLevel(mList5)).isEqualTo(SCROLLABLE_CONTAINER_FOCUS); in testGetFocusLevel()