Searched refs:mFirstButton (Results 1 – 3 of 3) sorted by relevance
37 private Button mFirstButton; field in TouchModeFocusChangeTest49 mFirstButton = mActivity.getFirstButton(); in setUp()55 assertTrue("top button should have focus", mFirstButton.isFocused()); in testPreconditions()60 assertInTouchModeAfterTap(this, mFirstButton); in testTouchButtonNotTakeFocus()64 mFirstButton.isFocused()); in testTouchButtonNotTakeFocus()66 mFirstButton.hasFocus()); in testTouchButtonNotTakeFocus()77 assertInTouchModeAfterClick(this, mFirstButton); in DISABLE_testLeaveTouchModeWithDpadEvent()81 mFirstButton.isFocused()); in DISABLE_testLeaveTouchModeWithDpadEvent()83 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_DPAD_RIGHT, mFirstButton); in DISABLE_testLeaveTouchModeWithDpadEvent()86 mFirstButton.isFocused()); in DISABLE_testLeaveTouchModeWithDpadEvent()
25 private View mFirstButton; field in MutateDrawableTest36 mFirstButton = getActivity().findViewById(com.android.frameworks.coretests.R.id.a); in setUp()42 assertNotNull(mFirstButton); in testSetUpConditions()44 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()49 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
34 private Button mFirstButton; field in LLOfButtons140 mFirstButton = (Button) findViewById(R.id.button1); in onCreate()42 mFirstButton.setOnClickListener(new View.OnClickListener() { in onCreate()55 return mFirstButton; in getFirstButton()63 return mFirstButton.isInTouchMode(); in isInTouchMode()