HomeSort by relevance Sort by last modified time
    Searched refs:buttonState (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
MouseClickAction.java 45 float[] precision, int inputDevice, int buttonState) {
47 inputDevice, buttonState);
61 buttonState);
85 float[] coordinates, float[] precision, int inputDevice, int buttonState) {
87 inputDevice, buttonState);
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
InputController.java 73 public void joystickButtonSwitchStateChanged(boolean buttonState) {
74 mJoystickView.setPressed(buttonState);
93 public void onButton(Boolean buttonState) {
94 joystickButtonSwitchStateChanged(buttonState);
  /frameworks/native/services/inputflinger/
PointerControllerInterface.h 50 virtual void setButtonState(int32_t buttonState) = 0;
InputListener.cpp 72 int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t deviceTimestamp,
78 flags(flags), metaState(metaState), buttonState(buttonState),
92 metaState(other.metaState), buttonState(other.buttonState),
InputListener.h 90 int32_t buttonState;
111 int32_t metaState, int32_t buttonState,
InputReader.cpp 212 static bool isPointerDown(int32_t buttonState) {
213 return buttonState &
231 int32_t buttonState, int32_t keyCode) {
234 && !(lastButtonState & buttonState)
235 && (currentButtonState & buttonState))
237 && (lastButtonState & buttonState)
238 && !(currentButtonState & buttonState))) {
    [all...]
InputReader.h     [all...]
  /frameworks/native/services/vr/virtual_touchpad/
VirtualTouchpadService.h 25 binder::Status buttonState(int touchpad, int buttons) override;
VirtualTouchpadClient.cpp 56 status_t ButtonState(int touchpad, int buttons) override {
60 return service_->buttonState(touchpad, buttons).transactionError();
VirtualTouchpadService.cpp 80 binder::Status VirtualTouchpadService::buttonState(int touchpad, int buttons) {
84 if (const status_t error = touchpad_->ButtonState(touchpad, buttons)) {
  /frameworks/base/core/java/android/view/
InputEventConsistencyVerifier.java 473 final int buttonState = event.getButtonState();
509 (buttonState & MotionEvent.BUTTON_SECONDARY) != 0) {
512 (buttonState & MotionEvent.BUTTON_TERTIARY) != 0) {
516 if (mButtonsPressed != buttonState) {
520 buttonState, mButtonsPressed));
537 (buttonState & MotionEvent.BUTTON_SECONDARY) == 0) {
540 (buttonState & MotionEvent.BUTTON_TERTIARY) == 0) {
544 if (mButtonsPressed != buttonState) {
548 buttonState, mButtonsPressed));
    [all...]
MotionEvent.java     [all...]
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp 81 virtual void setButtonState(int32_t buttonState) {
82 mButtonState = buttonState;
    [all...]
  /frameworks/base/libs/input/
PointerController.cpp 112 mLocked.buttonState = 0;
180 void PointerController::setButtonState(int32_t buttonState) {
182 ALOGD("Set button state 0x%08x", buttonState);
186 if (mLocked.buttonState != buttonState) {
187 mLocked.buttonState = buttonState;
194 return mLocked.buttonState;
PointerController.h 96 virtual void setButtonState(int32_t buttonState);
182 int32_t buttonState;
  /frameworks/native/libs/input/tests/
StructLayout_test.cpp 59 CHECK_OFFSET(InputMessage::Body::Motion, buttonState, 44);
InputPublisherAndConsumer_test.cpp 143 const int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY;
171 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision,
197 EXPECT_EQ(buttonState, motionEvent->getButtonState());
  /frameworks/support/compat/src/androidTest/java/androidx/core/view/
DragStartHelperTest.java 107 int action, int buttonState, View anchor, int offsetX, int offsetY) {
125 buttonState, 0, 0, -1, 0, InputDevice.SOURCE_MOUSE, 0);
129 int action, int buttonState, View anchor, int offsetX, int offsetY) {
131 action, buttonState, anchor, offsetX, offsetY));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TouchPaint.java 379 final int buttonState = event.getButtonState();
380 int pressedButtons = buttonState & ~mOldButtonState;
381 mOldButtonState = buttonState;
390 if ((buttonState & MotionEvent.BUTTON_TERTIARY) != 0) {
393 } else if (isTouch || (buttonState & MotionEvent.BUTTON_PRIMARY) != 0) {
  /frameworks/native/include/input/
Input.h 401 inline void setButtonState(int32_t buttonState) { mButtonState = buttonState; }
564 int32_t buttonState,
InputTransport.h 91 int32_t buttonState;
242 int32_t buttonState,
  /frameworks/native/libs/input/
InputTransport.cpp 294 int32_t buttonState,
307 "metaState=0x%x, buttonState=0x%x, xOffset=%f, yOffset=%f, "
311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState,
337 msg.body.motion.buttonState = buttonState;
    [all...]
Input.cpp 223 int32_t buttonState,
239 mButtonState = buttonState;
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DirectoryListBot.java 330 int action, int buttonState, int toolType, int source, int x, int y) {
353 buttonState,
  /frameworks/base/core/jni/
android_view_MotionEvent.cpp 337 jint metaState, jint buttonState,
375 event->initialize(deviceId, source, action, 0, flags, edgeFlags, metaState, buttonState,
656 static void android_view_MotionEvent_nativeSetButtonState(jlong nativePtr, jint buttonState) {
658 event->setButtonState(buttonState);
    [all...]

Completed in 489 milliseconds

1 2