Searched defs:getButtonState (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/input/
H A DPointerController.cpp151 int32_t PointerController::getButtonState() const { function in class:android::PointerController
/frameworks/native/include/input/
H A DInput.h368 inline int32_t getButtonState() const { return mButtonState; } function in class:android::MotionEvent
/frameworks/base/core/java/android/view/
H A DMotionEvent.java71 * Mouse and stylus buttons can be retrieved using {@link #getButtonState()}. It is a
192 * Use {@link #getButtonState} to retrieve the button state.
1172 * @see #getButtonState
1179 * @see #getButtonState
1186 * @see #getButtonState
1197 * @see #getButtonState
1208 * @see #getButtonState
2216 public final int getButtonState() { method in class:MotionEvent
3026 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState()));
3180 return (getButtonState()
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp80 virtual int32_t getButtonState() const { function in class:android::FakePointerController
2268 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState());
2276 ASSERT_EQ(0, mFakePointerController->getButtonState());
2283 ASSERT_EQ(0, mFakePointerController->getButtonState());
2297 mFakePointerController->getButtonState());
2305 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState());
2314 ASSERT_EQ(0, mFakePointerController->getButtonState());
2320 ASSERT_EQ(0, mFakePointerController->getButtonState());
2333 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState());
2342 ASSERT_EQ(0, mFakePointerController->getButtonState());
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp1168 uint32_t CursorButtonAccumulator::getButtonState() const { function in class:android::CursorButtonAccumulator
1360 uint32_t TouchButtonAccumulator::getButtonState() const { function in class:android::TouchButtonAccumulator
2436 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState();
3737 mCurrentButtonState = mTouchButtonAccumulator.getButtonState()
3738 | mCursorButtonAccumulator.getButtonState();

Completed in 256 milliseconds