Home
last modified time | relevance | path

Searched refs:mToolType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java93 private final @ToolType int mToolType; field in VirtualTouchEvent
104 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.Builder
235 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 …]
DVirtualStylusMotionEvent.java87 private final int mToolType; field in VirtualStylusMotionEvent
99 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.Builder
237 if (mToolType == TOOL_TYPE_UNKNOWN) { in build()
253 return new VirtualStylusMotionEvent(mToolType, mAction, mX, mY, mPressure, mTiltX, in build()
267 mToolType = toolType; in setToolType()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeVisibilityStateComputer.java360 && newState.mToolType != MotionEvent.TOOL_TYPE_STYLUS) { in setWindowState()
689 mToolType = toolType; in ImeTargetWindowState()
702 private final int mToolType; field in ImeVisibilityStateComputer.ImeTargetWindowState
754 return mToolType; in getToolType()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java80 private int mToolType; field in PointerLocationView.PointerState
377 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()