Searched refs:mToolType (Results 1 – 4 of 4) sorted by relevance
93 private final @ToolType int mToolType; field in VirtualTouchEvent104 mToolType = toolType; in VirtualTouchEvent()115 mToolType = parcel.readInt(); in VirtualTouchEvent()127 dest.writeInt(mToolType); in writeToParcel()145 + " toolType=" + MotionEvent.toolTypeToString(mToolType) in toString()165 return mToolType; in getToolType()218 private @ToolType int mToolType = TOOL_TYPE_UNKNOWN; field in VirtualTouchEvent.Builder235 if (mToolType == TOOL_TYPE_UNKNOWN || mPointerId == MotionEvent.INVALID_POINTER_ID in build()240 if ((mToolType == TOOL_TYPE_PALM && mAction != ACTION_CANCEL) in build()241 || (mAction == ACTION_CANCEL && mToolType != TOOL_TYPE_PALM)) { in build()[all …]
87 private final int mToolType; field in VirtualStylusMotionEvent99 mToolType = toolType; in VirtualStylusMotionEvent()110 mToolType = parcel.readInt(); in VirtualStylusMotionEvent()122 dest.writeInt(mToolType); in writeToParcel()142 return mToolType; in getToolType()216 private int mToolType = TOOL_TYPE_UNKNOWN; field in VirtualStylusMotionEvent.Builder237 if (mToolType == TOOL_TYPE_UNKNOWN) { in build()253 return new VirtualStylusMotionEvent(mToolType, mAction, mX, mY, mPressure, mTiltX, in build()267 mToolType = toolType; in setToolType()
360 && newState.mToolType != MotionEvent.TOOL_TYPE_STYLUS) { in setWindowState()689 mToolType = toolType; in ImeTargetWindowState()702 private final int mToolType; field in ImeVisibilityStateComputer.ImeTargetWindowState754 return mToolType; in getToolType()
80 private int mToolType; field in PointerLocationView.PointerState377 if (ps.mToolType == MotionEvent.TOOL_TYPE_STYLUS in onDraw()378 || ps.mToolType == MotionEvent.TOOL_TYPE_ERASER) { in onDraw()669 ps.mToolType = event.getToolType(i); in onPointerEvent()