Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java64 final ViewGroup buttons = (ViewGroup) findViewById(R.id.buttons); in onCreate() local
71 buttons.addView(button); in onCreate()
139 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { in TestInfo() argument
145 if (buttons.length > 2) { in TestInfo()
151 mButtons = buttons; in TestInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java391 private final int[] buttons;
395 int[] buttons) {
401 this.buttons = buttons != null ? buttons : new int[0];
402 for (final int id : this.buttons) {
410 for (final int id : buttons) {
417 for (final int id : buttons) {
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java387 View[] buttons = new View[3]; in testDuplicateId() local
392 buttons[i] = item.findViewById(R.id.itembutton); in testDuplicateId()
399 verifyNextFocus(buttons[0], View.FOCUS_FORWARD, boxes[0]); in testDuplicateId()
400 verifyNextFocus(boxes[0], View.FOCUS_FORWARD, buttons[1]); in testDuplicateId()
401 verifyNextFocus(buttons[1], View.FOCUS_FORWARD, boxes[1]); in testDuplicateId()
402 verifyNextFocus(boxes[1], View.FOCUS_FORWARD, buttons[2]); in testDuplicateId()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java510 JSONArray buttons = entry.optJSONArray("buttonState"); in parseMotionEvent() local
511 if (buttons != null) { in parseMotionEvent()
512 for (int i = 0; i < buttons.length(); i++) { in parseMotionEvent()
513 String buttonStr = buttons.getString(i); in parseMotionEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java177 List<AccessibilityNodeInfo> buttons = addedContent.findAccessibilityNodeInfosByText("b"); in testFindByText() local
179 assertEquals(9, buttons.size()); in testFindByText()