Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java69 final ViewGroup buttons = (ViewGroup) findViewById(R.id.buttons); in onCreate() local
76 buttons.addView(button); in onCreate()
144 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { in TestInfo() argument
150 if (buttons.length > 2) { in TestInfo()
156 mButtons = buttons; in TestInfo()
248 int infoResId, ButtonInfo[] buttons) { in newIntent() argument
254 Objects.requireNonNull(buttons, "buttons cannot be null")); in newIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java395 private final int[] buttons;
399 int[] buttons) {
405 this.buttons = buttons != null ? buttons : new int[0];
406 for (final int id : this.buttons) {
414 for (final int id : buttons) {
421 for (final int id : buttons) {
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java398 View[] buttons = new View[3]; in testDuplicateId() local
403 buttons[i] = item.findViewById(R.id.itembutton); in testDuplicateId()
410 verifyNextFocus(buttons[0], View.FOCUS_FORWARD, boxes[0]); in testDuplicateId()
411 verifyNextFocus(boxes[0], View.FOCUS_FORWARD, buttons[1]); in testDuplicateId()
412 verifyNextFocus(buttons[1], View.FOCUS_FORWARD, boxes[1]); in testDuplicateId()
413 verifyNextFocus(boxes[1], View.FOCUS_FORWARD, buttons[2]); in testDuplicateId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java255 ButtonInfo[] buttons; in addTestsToAdapter() local
257 buttons = new ButtonInfo[] { in addTestsToAdapter()
267 buttons = new ButtonInfo[]{}; in addTestsToAdapter()
272 buttons)); in addTestsToAdapter()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java277 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addButton()
296 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addSwapButton()
306 GridLayout layout = mInstructionView.findViewById(R.id.buttons); in addCollapseInstructionsButton()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java511 JSONArray buttons = entry.optJSONArray("buttonState"); in parseMotionEvent() local
512 if (buttons != null) { in parseMotionEvent()
513 for (int i = 0; i < buttons.length(); i++) { in parseMotionEvent()
514 String buttonStr = buttons.getString(i); in parseMotionEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java186 List<AccessibilityNodeInfo> buttons = addedContent.findAccessibilityNodeInfosByText("b"); in testFindByText() local
188 assertEquals(9, buttons.size()); in testFindByText()