/frameworks/native/services/inputflinger/reader/mapper/ |
D | MultiTouchInputMapper.cpp | 77 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()
|
D | SingleTouchInputMapper.cpp | 45 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch() 64 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
|
D | ExternalStylusInputMapper.cpp | 80 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
|
D | CapturedTouchpadEventConverter.cpp | 192 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/ |
D | VirtualTouchEventTest.java | 98 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/ |
D | HardwareStateConverter.cpp | 92 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/ |
D | FuzzedInputStream.h | 143 ToolType getToolType(int32_t source) { in getToolType() function 163 const ToolType toolType = getToolType(source); in generateFuzzedMotionArgs()
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | TouchButtonAccumulator.h | 39 ToolType getToolType() const;
|
D | MultiTouchMotionAccumulator.h | 48 ToolType getToolType() const;
|
D | TouchButtonAccumulator.cpp | 144 ToolType TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
|
D | MultiTouchMotionAccumulator.cpp | 154 ToolType MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeWindowGeometry.java | 174 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/ |
D | SpotFilter.kt | 100 val tool = evt.getToolType(0) in add()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardQuickAffordanceOnTouchListener.kt | 154 return when (event.getToolType(pointerIndex)) { in isUsingAccurateTool()
|
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | InkView.java | 107 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_STYLUS) { in onTouchEvent()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | DeadZone.java | 139 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualStylusMotionEvent.java | 141 public int getToolType() { in getToolType() method in VirtualStylusMotionEvent
|
D | VirtualTouchEvent.java | 164 public @ToolType int getToolType() { in getToolType() method in VirtualTouchEvent
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | ClassifierTest.java | 173 properties.toolType = Configurator.getInstance().getToolType(); in getPointerProperties()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | DeadZone.java | 159 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputCommonConverter.cpp | 206 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/ |
D | MotionEvent.java | 2475 && (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/ |
D | InputShellCommand.java | 219 pointerProperties[i].toolType = getToolType(inputSource); in injectMotionEvent() 249 private int getToolType(int inputSource) { in getToolType() method in InputShellCommand
|
/frameworks/base/native/android/ |
D | input.cpp | 153 return static_cast<int32_t>(motion.getToolType(pointer_index)); in AMotionEvent_getToolType()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 337 event.getPointerId(), event.getToolType(), event.getAction(), event.getX(), in sendTouchEvent() 388 event.getToolType(), event.getAction(), event.getX(), event.getY(), in sendStylusMotionEvent()
|