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/
DLongpressTest.java33 private boolean mLongClicked; field in LongpressTest
47 mLongClicked = true; in setUp()
57 mLongClicked = false; in tearDown()
63 assertFalse(mLongClicked); in testSetUpConditions()
73 assertTrue(mLongClicked); in testKeypadLongClick()
80 assertTrue(mLongClicked); in testTouchLongClick()
DDisabledLongpressTest.java34 private boolean mLongClicked; field in DisabledLongpressTest
48 mLongClicked = true; in setUp()
61 mLongClicked = false; in tearDown()
67 assertFalse(mLongClicked); in testSetUpConditions()
77 assertFalse(mLongClicked); in testKeypadLongClick()
84 assertFalse(mLongClicked); in testTouchLongClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java68 private boolean mLongClicked; field in KeyButtonView
81 mLongClicked = true;
85 mLongClicked = true;
212 mLongClicked = false; in onTouchEvent()
255 final boolean doIt = isPressed() && !mLongClicked; in onTouchEvent()
264 } else if (doHapticFeedback && !mLongClicked) { in onTouchEvent()