Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DDisabledLongpressTest.java35 private boolean mLongClicked; field in DisabledLongpressTest
49 mLongClicked = true; in setUp()
62 mLongClicked = false; in tearDown()
68 assertFalse(mLongClicked); in testSetUpConditions()
78 assertFalse(mLongClicked); in testKeypadLongClick()
85 assertFalse(mLongClicked); in testTouchLongClick()
DLongpressTest.java34 private boolean mLongClicked; field in LongpressTest
48 mLongClicked = true; in setUp()
58 mLongClicked = false; in tearDown()
64 assertFalse(mLongClicked); in testSetUpConditions()
74 assertTrue(mLongClicked); in testKeypadLongClick()
81 assertTrue(mLongClicked); in testTouchLongClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java75 private boolean mLongClicked; field in KeyButtonView
92 mLongClicked = true;
96 mLongClicked = true;
230 mLongClicked = false; in onTouchEvent()
268 final boolean doIt = isPressed() && !mLongClicked; in onTouchEvent()
277 } else if (doHapticFeedback && !mLongClicked) { in onTouchEvent()