Home
last modified time | relevance | path

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

/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest5DetailFragment.java60 ImageButton imageButton = (ImageButton) rootView.findViewById(R.id.test_5_imageButton); in onCreateView() local
61 imageButton.setContentDescription("Image button"); in onCreateView()
80 imageButton.setOnTouchListener(new ImageButton.OnTouchListener() { in onCreateView()
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
DCtsUiAutomatorTest.java906 UiObject imageButton = new UiObject(new UiSelector().description("Image button")); in testDragToObject() local
910 Rect imageButtonRect = imageButton.getBounds(); in testDragToObject()
911 imageButton.dragTo(starsBar, 30); in testDragToObject()
943 UiObject imageButton = new UiObject(new UiSelector().description("Image button")); in testDragToCoordinates() local
947 Rect imageButtonRect = imageButton.getBounds(); in testDragToCoordinates()
948 imageButton.dragTo(starsBarRect.centerX(), starsBarRect.centerY(), 30); in testDragToCoordinates()