Searched refs:mButton (Results 1 – 5 of 5) sorted by relevance
38 private Button mButton; field in TouchDelegateTest56 mButton = new Button(mActivity); in setUp()60 mActivity.addContentView(mButton, new LinearLayout.LayoutParams(WRAP_CONTENT, in setUp()73 int right = mButton.getRight(); in setUp()74 int bottom = mButton.getBottom(); in setUp()75 mXInside = (mButton.getLeft() + right) / 3; in setUp()76 mYInside = (mButton.getTop() + bottom) / 3; in setUp()79 mButton.getHitRect(mRect); in setUp()86 MockTouchDelegate touchDelegate = new MockTouchDelegate(mRect, mButton); in testOnTouchEvent()
49 private Button mButton; field in GestureDetectorCtsActivity63 mButton = new Button(this); in onCreate()74 mViewGroup.addView(mButton); in onCreate()
28 Button mButton; field in LayoutAnimationActivity34 mButton = (Button) findViewById(R.id.button1); in onCreate()36 mButton.setOnClickListener(new OnClickListener(){ in onCreate()
43 private Button mButton; field in LayoutAnimationTest53 mButton = (Button)mActivity.findViewById(R.id.button1); in setUp()71 TouchUtils.clickView(this, mButton); in testIsRunning()83 TouchUtils.clickView(this, mButton); in testIsChangingLayout()141 TouchUtils.clickView(this, mButton); in testAnimationWithAnimator()
57 private Button mButton; field in AlertDialog_BuilderTest120 mButton = null; in setUp()167 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamInt()168 mButton.performClick(); in testSetPositiveButtonWithParamInt()173 assertEquals(mContext.getText(android.R.string.yes), mButton.getText()); in testSetPositiveButtonWithParamInt()183 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamCharSequence()184 mButton.performClick(); in testSetPositiveButtonWithParamCharSequence()188 assertEquals(mContext.getText(android.R.string.yes), mButton.getText()); in testSetPositiveButtonWithParamCharSequence()198 mButton = mDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testSetNegativeButtonWithParamCharSequence()199 mButton.performClick(); in testSetNegativeButtonWithParamCharSequence()[all …]