Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DRotaryServiceTest.java646 AccessibilityNodeInfo hunButton1 = createNode("hun_button1"); in testNudgeTo_nudgeToHun() local
649 mRotaryService.setFocusedNode(hunButton1); in testNudgeTo_nudgeToHun()
657 assertThat(mRotaryService.getFocusedNode()).isNotEqualTo(hunButton1); in testNudgeTo_nudgeToHun()
661 assertThat(mRotaryService.getFocusedNode()).isEqualTo(hunButton1); in testNudgeTo_nudgeToHun()
1145 Button hunButton1 = activity.findViewById(R.id.hun_button1); in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun() local
1146 hunButton1.post(() -> hunButton1.requestFocus()); in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun()
1148 assertThat(hunButton1.isFocused()).isTrue(); in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun()
1234 Button hunButton1 = activity.findViewById(R.id.hun_button1); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun() local
1235 hunButton1.post(() -> hunButton1.requestFocus()); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun()
1237 assertThat(hunButton1.isFocused()).isTrue(); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun()