Home
last modified time | relevance | path

Searched refs:getToolType (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.cpp77 if (inSlot.getToolType() == ToolType::PALM) { in syncTouch()
111 outPointer.toolType = inSlot.getToolType(); in syncTouch()
113 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
134 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
DSingleTouchInputMapper.cpp45 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
64 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
DExternalStylusInputMapper.cpp80 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
DCapturedTouchpadEventConverter.cpp192 const bool isInUse = slot.isInUse() && slot.getToolType() != ToolType::PALM; in sync()
227 const bool cancel = mMotionAccumulator.getSlot(slotNumber).getToolType() == ToolType::PALM; in sync()
/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java98 assertWithMessage("Incorrect tool type").that(event.getToolType()).isEqualTo( in touchEvent_created()
118 assertWithMessage("Incorrect tool type").that(event.getToolType()).isEqualTo( in touchEvent_created_withPressureAndAxis()
169 assertWithMessage("Incorrect tool type").that(event.getToolType()).isEqualTo( in touchEvent_palmAndCancelUsedProperly()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DHardwareStateConverter.cpp92 if (!REPORT_PALMS_TO_GESTURES_LIBRARY && slot.getToolType() == ToolType::PALM) { in produceHardwareState()
109 fingerState.tool_type = slot.getToolType() == ToolType::PALM in produceHardwareState()
/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h143 ToolType getToolType(int32_t source) { in getToolType() function
163 const ToolType toolType = getToolType(source); in generateFuzzedMotionArgs()
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.h39 ToolType getToolType() const;
DMultiTouchMotionAccumulator.h48 ToolType getToolType() const;
DTouchButtonAccumulator.cpp144 ToolType TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
DMultiTouchMotionAccumulator.cpp154 ToolType MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeWindowGeometry.java174 return e.getToolType(0) == MotionEvent.TOOL_TYPE_STYLUS in isEdgeResizePermitted()
175 || e.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE; in isEdgeResizePermitted()
177 return e.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE; in isEdgeResizePermitted()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DSpotFilter.kt100 val tool = evt.getToolType(0) in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardQuickAffordanceOnTouchListener.kt154 return when (event.getToolType(pointerIndex)) { in isUsingAccurateTool()
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DInkView.java107 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_STYLUS) { in onTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DDeadZone.java139 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
/frameworks/base/core/java/android/hardware/input/
DVirtualStylusMotionEvent.java141 public int getToolType() { in getToolType() method in VirtualStylusMotionEvent
DVirtualTouchEvent.java164 public @ToolType int getToolType() { in getToolType() method in VirtualTouchEvent
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DClassifierTest.java173 properties.toolType = Configurator.getInstance().getToolType(); in getPointerProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DDeadZone.java159 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp206 static common::ToolType getToolType(ToolType toolType) { in getToolType() function
300 properties.toolType = getToolType(args.pointerProperties[i].toolType); in getHalPropertiesAndCoords()
/frameworks/base/core/java/android/view/
DMotionEvent.java2475 && (getToolType(actionIndex) == TOOL_TYPE_STYLUS in isStylusPointer()
2476 || getToolType(actionIndex) == TOOL_TYPE_ERASER); in isStylusPointer()
2738 public @ToolType int getToolType(int pointerIndex) { in getToolType() method in MotionEvent
3932 msg, ", toolType[" + i + "]=", toolTypeToString(getToolType(i))); in toString()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java219 pointerProperties[i].toolType = getToolType(inputSource); in injectMotionEvent()
249 private int getToolType(int inputSource) { in getToolType() method in InputShellCommand
/frameworks/base/native/android/
Dinput.cpp153 return static_cast<int32_t>(motion.getToolType(pointer_index)); in AMotionEvent_getToolType()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java337 event.getPointerId(), event.getToolType(), event.getAction(), event.getX(), in sendTouchEvent()
388 event.getToolType(), event.getAction(), event.getX(), event.getY(), in sendStylusMotionEvent()

12