Searched refs:PointerState (Results 1 – 3 of 3) sorted by relevance
28 enum class PointerState { class37 var state: PointerState42 private val leftState = SharedScaledPointerSize(5f, 20f, PointerState.NONE)43 private val rightState = SharedScaledPointerSize(5f, 20f, PointerState.NONE)
104 PointerState.DOWN -> { in onScale()107 PointerState.HOVER -> { in onScale()166 myState?.state = PointerState.DOWN in processTouchEvent()168 myState?.state = PointerState.NONE in processTouchEvent()184 myState?.state = PointerState.HOVER in processHoverEvent()186 myState?.state = PointerState.NONE in processHoverEvent()
65 private static final PointerState EMPTY_POINTER_STATE = new PointerState();67 public static class PointerState { class in PointerLocationView96 public PointerState() { in PointerState() method in PointerLocationView.PointerState149 private final SparseArray<PointerState> mPointers = new SparseArray<PointerState>();305 final PointerState ps = mPointers.valueAt(p); in onDraw()419 final PointerState ps = mPointers.get(mActivePointerId, EMPTY_POINTER_STATE); in drawLabels()612 PointerState ps = mPointers.get(id); in onPointerEvent()614 ps = new PointerState(); in onPointerEvent()642 final PointerState ps = mCurDown ? mPointers.get(id) : null; in onPointerEvent()655 final PointerState ps = mCurDown ? mPointers.get(id) : null; in onPointerEvent()[all …]