Home
last modified time | relevance | path

Searched refs:mFirstButton (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DTouchModeFocusChangeTest.java38 private Button mFirstButton; field in TouchModeFocusChangeTest
50 mFirstButton = mActivity.getFirstButton(); in setUp()
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()
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawableTest.java25 private View mFirstButton; field in MutateDrawableTest
36 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()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfButtons1.java34 private Button mFirstButton; field in LLOfButtons1
40 mFirstButton = 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()