Searched refs:button1 (Results 1 – 11 of 11) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowTest.java | 733 PollingCheck.waitFor(() -> (mPresentation.button1 != null) in testSetLocalFocus() 736 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && in testSetLocalFocus() 743 mPresentation.button1.setOnFocusChangeListener(listener); in testSetLocalFocus() 748 PollingCheck.waitFor(() -> mPresentation.button1.hasWindowFocus()); in testSetLocalFocus() 750 assertFalse(mPresentation.button1.isInTouchMode()); in testSetLocalFocus() 758 PollingCheck.waitFor(() -> mPresentation.button1.isInTouchMode()); in testSetLocalFocus() 761 if (v == mPresentation.button1) { in testSetLocalFocus() 765 mPresentation.button1.setOnClickListener(clickListener); in testSetLocalFocus() 768 injectTouchEvent(presentationWindow, mPresentation.button1.getX() + in testSetLocalFocus() 769 mPresentation.button1.getWidth() / 2, in testSetLocalFocus() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FocusFinderTest.java | 409 Button button1 = new Button(mLayout.getContext()); in testBasicFocusOrder() local 411 setViewBox(button1, 0, 0, 10, 10); in testBasicFocusOrder() 413 layout.addView(button1); in testBasicFocusOrder() 415 View[] views = new View[]{button2, button1}; in testBasicFocusOrder() 424 assertEquals(button1, views[1]); in testBasicFocusOrder() 428 assertEquals(button1, views[0]); in testBasicFocusOrder()
|
D | ViewTreeObserverTest.java | 77 mButton = (Button) mActivity.findViewById(R.id.button1); in setup()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 210 final AccessibilityNodeInfo button1 = sUiAutomation.getRootInActiveWindow() in testNoWindowsAccessIfFlagNotSet() local 217 () -> button1.performAction(ACTION_CLICK), in testNoWindowsAccessIfFlagNotSet() 257 final AccessibilityNodeInfo button1 = sUiAutomation.getRootInActiveWindow() in testTraverseWindowFromEvent() local 264 () -> button1.performAction(ACTION_CLICK), in testTraverseWindowFromEvent() 290 final AccessibilityNodeInfo button1 = sUiAutomation.getRootInActiveWindow() in testInteractWithAppWindow() local 297 () -> button1.performAction(ACTION_CLICK), in testInteractWithAppWindow() 647 AccessibilityWindowInfo windowAddedFirst = findWindow(windows, R.string.button1); in testGetWindows_resultIsSortedByLayerDescending() 685 findWindow(windowsOnDefaultDisplay, R.string.button1); in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending() 700 findWindow(windowsOnVirtualDisplay, R.string.button1); in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending() 835 addWindow(R.string.button1, params -> { in addTwoAppPanelWindows()
|
D | AccessibilityWindowReportingTest.java | 156 button.setText(R.string.button1); in testWindowAddedMovedAndRemoved_generatesEventsForAllThree() 217 sInstrumentation.getContext().getString(R.string.button1)).get(0); in moveFocusToAnotherWindow_generatesEventsAndMovesActiveAndFocus() 352 sInstrumentation.getContext().getString(R.string.button1)).get(0); in testChangeAccessibilityFocusWindow_getEvent() 416 button.setText(R.string.button1); in showTopWindowAndWaitForItToShowUp()
|
D | AccessibilityMagnificationTest.java | 293 final Button button = activity.findViewById(R.id.button1); in testA11yNodeInfoVisibility_whenOutOfMagnifiedArea_shouldVisible()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationActivity.java | 34 mButton = (Button) findViewById(R.id.button1); in onCreate()
|
D | LayoutAnimationTest.java | 74 mButton = (Button)mActivity.findViewById(R.id.button1); in setup()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | BackwardNavigationTest.java | 63 mOrderedButton1 = orderedButtons.findViewById(R.id.button1); in setUp()
|
D | RelativeLayoutTest.java | 352 View button = mActivity.findViewById(R.id.button1); in testBaselineAlignment()
|
D | RemoteViewsTest.java | 1803 RadioButton button1 = mResult.findViewById(R.id.remoteView_radioButton1); in testSetRadioGroupChecked() local 1808 assertTrue(button1.isChecked()); in testSetRadioGroupChecked() 1813 assertFalse(button1.isChecked()); in testSetRadioGroupChecked() 1818 assertFalse(button1.isChecked()); in testSetRadioGroupChecked()
|