Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java698 return (mPresentation.button1 != null) && (mPresentation.button2 != null) && in testSetLocalFocus()
702 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus()
713 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus()
721 return mPresentation.button1.hasWindowFocus(); in testSetLocalFocus()
725 assertFalse(mPresentation.button1.isInTouchMode()); in testSetLocalFocus()
736 return mPresentation.button1.isInTouchMode(); in testSetLocalFocus()
743 if (v == mPresentation.button1) { in testSetLocalFocus()
748 mPresentation.button1.setOnClickListener(clickListener); in testSetLocalFocus()
751 injectTouchEvent(presentationWindow, mPresentation.button1.getX() + in testSetLocalFocus()
752 mPresentation.button1.getWidth() / 2, in testSetLocalFocus()
[all …]
DViewTreeObserverTest.java129 final Button b = (Button) mActivity.findViewById(R.id.button1); in testAddOnTouchModeChangeListener()
269 final Button b = (Button) mActivity.findViewById(R.id.button1); in testRemoveOnTouchModeChangeListener()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationActivity.java34 mButton = (Button) findViewById(R.id.button1); in onCreate()
DLayoutAnimationTest.java53 mButton = (Button)mActivity.findViewById(R.id.button1); in setUp()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java91 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() in testNoWindowsAccessIfFlagNotSet() local
102 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); in testNoWindowsAccessIfFlagNotSet()
163 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() in testTraverseWindowFromEvent() local
174 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); in testTraverseWindowFromEvent()
218 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() in testInteractWithAppWindow() local
229 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); in testInteractWithAppWindow()
742 button.setText(R.string.button1); in addTwoAppPanelWindows()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest2DetailFragment.java74 builder.setMessage(R.string.button1); in onCreateView()
/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayoutTest.java343 View button = mActivity.findViewById(R.id.button1); in testBaselineAlignment()