Searched refs:mButton (Results 1 – 6 of 6) sorted by relevance
28 Button mButton; field in LayoutAnimationActivity34 mButton = (Button) findViewById(R.id.button1); in onCreate()36 mButton.setOnClickListener(new OnClickListener(){ in onCreate()
55 private Button mButton; field in LayoutAnimationTest66 mButton = (Button)mActivity.findViewById(R.id.button1); in setup()204 mActivityRule.runOnUiThread(mButton::callOnClick); in clickButton()
61 private Button mButton; field in TransformationMethodTest78 mButton = new Button(mActivity); in setup()79 mButton.setFocusableInTouchMode(true); in setup()84 layout.addView(mButton, new LayoutParams(LayoutParams.MATCH_PARENT, in setup()108 mActivityRule.runOnUiThread(() -> mButton.requestFocus()); in testOnFocusChanged()
57 private Button mButton; field in AlertDialog_BuilderTest85 mButton = null; in setUp()155 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamInt()156 mButton.performClick(); in testSetPositiveButtonWithParamInt()161 assertEquals(mContext.getText(android.R.string.yes), mButton.getText()); in testSetPositiveButtonWithParamInt()176 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamCharSequence()177 mButton.performClick(); in testSetPositiveButtonWithParamCharSequence()181 assertEquals(mContext.getText(android.R.string.yes), mButton.getText()); in testSetPositiveButtonWithParamCharSequence()196 mButton = mDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testSetNegativeButtonWithParamCharSequence()197 mButton.performClick(); in testSetNegativeButtonWithParamCharSequence()[all …]
61 private Button mButton; field in ViewTreeObserverTest75 mButton = (Button) mActivity.findViewById(R.id.button1); in setup()152 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testAddOnTouchModeChangeListener()154 mViewTreeObserver = mButton.getViewTreeObserver(); in testAddOnTouchModeChangeListener()160 mActivityRule.runOnUiThread(mButton::requestFocusFromTouch); in testAddOnTouchModeChangeListener()262 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mButton); in testRemoveOnTouchModeChangeListener()264 mViewTreeObserver = mButton.getViewTreeObserver(); in testRemoveOnTouchModeChangeListener()269 mActivityRule.runOnUiThread(mButton::requestFocusFromTouch); in testRemoveOnTouchModeChangeListener()276 mActivityRule.runOnUiThread(mButton::requestFocusFromTouch); in testRemoveOnTouchModeChangeListener()
41 private Button mButton; field in GestureDetectorCtsActivity62 mButton = new Button(this); in onCreate()73 mViewGroup.addView(mButton); in onCreate()