Home
last modified time | relevance | path

Searched refs:pointerId (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_input.h49 void updateInputIndexG(const int pointerId, const int inputIndex, in updateInputIndexG() argument
51 mInputIndex[pointerId] = inputIndex; in updateInputIndexG()
52 mPrevCodePoint[pointerId] = prevCodePoint; in updateInputIndexG()
53 mTerminalDiffCost[pointerId] = terminalDiffCost; in updateInputIndexG()
61 void setPrevCodePoint(const int pointerId, const int c) { in setPrevCodePoint() argument
62 mPrevCodePoint[pointerId] = c; in setPrevCodePoint()
65 void forwardInputIndex(const int pointerId, const int val) { in forwardInputIndex() argument
66 if (mInputIndex[pointerId] < 0) { in forwardInputIndex()
67 mInputIndex[pointerId] = val; in forwardInputIndex()
69 mInputIndex[pointerId] = mInputIndex[pointerId] + val; in forwardInputIndex()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java72 final int pointerId = i * 3; in testAdd() local
74 src.addPointer(x, y, pointerId, time); in testAdd()
80 final int pointerId = i * 3; in testAdd() local
84 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); in testAdd()
96 final int pointerId = i * 3; in testAddAt() local
98 src.addPointerAt(i, x, y, pointerId, time); in testAddAt()
104 final int pointerId = i * 3; in testAddAt() local
108 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); in testAddAt()
120 final int pointerId = i * 3; in testSet() local
122 src.addPointer(x, y, pointerId, time); in testSet()
[all …]
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
DTouchPointView.java77 int pointerId = event.getPointerId(i); in onTouchEvent() local
78 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent()
82 finger.pointerId = pointerId; in onTouchEvent()
96 int pointerId = event.getPointerId(i); in logTouchEvents() local
97 int pointerIndex = event.findPointerIndex(pointerId); in logTouchEvents()
101 + " , pointerId=" + pointerId + ", pointerIndex=" + pointerIndex + ", duration=" in logTouchEvents()
114 int color = COLORS[finger.pointerId % COLORS.length]; in onDraw()
122 public int pointerId; field in TouchPointView.Finger
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DTouchPointView.java74 int pointerId = event.getPointerId(i); in onTouchEvent() local
75 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent()
78 finger.pointerId = pointerId; in onTouchEvent()
92 int pointerId = event.getPointerId(i); in logTouchEvents() local
93 int pointerIndex = event.findPointerIndex(pointerId); in logTouchEvents()
97 " , pointerId=" + pointerId + ", pointerIndex=" + pointerIndex + ", duration=" + in logTouchEvents()
111 int color = mColors[finger.pointerId % mColors.length]; in onDraw()
119 public int pointerId; field in TouchPointView.Finger
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java159 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) { in onDownEvent() argument
160 mActivePointerId = pointerId; in onDownEvent()
165 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime) { in onMoveEvent() argument
166 if (mActivePointerId != pointerId) { in onMoveEvent()
178 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) { in onUpEvent() argument
179 if (mActivePointerId != pointerId) { in onUpEvent()
267 final int pointerId = me.getPointerId(index); in onTouchEvent() local
271 onDownEvent(x, y, pointerId, eventTime); in onTouchEvent()
275 onUpEvent(x, y, pointerId, eventTime); in onTouchEvent()
278 onMoveEvent(x, y, pointerId, eventTime); in onTouchEvent()
DMoreKeysPanel.java80 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime); in onMoveEvent() argument
90 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime); in onDownEvent() argument
100 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime); in onUpEvent() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMoreKeysKeyboardAccessibilityDelegate.java71 final int pointerId = event.getPointerId(actionIndex); in onHoverEnter() local
73 mKeyboardView.onDownEvent(x, y, pointerId, eventTime); in onHoverEnter()
82 final int pointerId = event.getPointerId(actionIndex); in onHoverMove() local
84 mKeyboardView.onMoveEvent(x, y, pointerId, eventTime); in onHoverMove()
100 final int pointerId = event.getPointerId(actionIndex); in onHoverExit() local
109 mKeyboardView.onUpEvent(x, y, pointerId, eventTime); in onHoverExit()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java56 public void addPointerAt(final int index, final int x, final int y, final int pointerId, in addPointerAt() argument
60 mPointerIds.addAt(index, pointerId); in addPointerAt()
68 public void addPointer(final int x, final int y, final int pointerId, final int time) { in addPointer() argument
71 mPointerIds.add(pointerId); in addPointer()
99 public void append(final int pointerId, @Nonnull final ResizableIntArray times, in append() argument
107 mPointerIds.fill(pointerId, mPointerIds.getLength(), length); in append()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.h90 bool isOnlyOnePointerUsed(int *pointerId) const { in isOnlyOnePointerUsed() argument
103 if (pointerId) { in isOnlyOnePointerUsed()
104 *pointerId = usedPointerId; in isOnlyOnePointerUsed()
115 const int pointerId = dicNode->getInputIndex(i); in getProximityTypeG() local
116 proximityType = mProximityInfoStates[i].getProximityTypeG(pointerId, childCodePoint); in getProximityTypeG()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h307 int getPrevCodePointG(int pointerId) const { in getPrevCodePointG() argument
308 return mDicNodeState.mDicNodeStateInput.getPrevCodePoint(pointerId); in getPrevCodePointG()
354 int16_t getInputIndex(int pointerId) const { in getInputIndex() argument
355 return mDicNodeState.mDicNodeStateInput.getInputIndex(pointerId); in getInputIndex()
481 AK_FORCE_INLINE void forwardInputIndex(const int pointerId, const int count, in forwardInputIndex() argument
486 mDicNodeState.mDicNodeStateInput.forwardInputIndex(pointerId, count); in forwardInputIndex()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.cpp42 void ProximityInfoState::initInputParams(const int pointerId, const float maxPointToKeyLength, in initInputParams() argument
67 if (!isGeometric && pointerId == 0) { in initInputParams()
110 pointerIds, inputSize, isGeometric, pointerId, in initInputParams()
157 if (!isGeometric && pointerId == 0) { in initInputParams()
Dproximity_info_state_utils.cpp49 const int inputSize, const bool isGeometric, const int pointerId, in updateTouchPoints() argument
78 if (pointerId == pid) { in updateTouchPoints()
102 if (pointerId == pid) { in updateTouchPoints()
Dproximity_info_state.h37 void initInputParams(const int pointerId, const float maxPointToKeyLength,
Dproximity_info_state_utils.h42 const bool isGeometric, const int pointerId, const int pushTouchPointStartIndex,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBatchInputArbiter.java47 public BatchInputArbiter(final int pointerId, final GestureStrokeRecognitionParams params) { in BatchInputArbiter() argument
48 mRecognitionPoints = new GestureStrokeRecognitionPoints(pointerId, params); in BatchInputArbiter()
DGestureStrokeRecognitionPoints.java73 public GestureStrokeRecognitionPoints(final int pointerId, in GestureStrokeRecognitionPoints() argument
75 mPointerId = pointerId; in GestureStrokeRecognitionPoints()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAccessibilityInputConsumer.java92 int pointerId = ev.getPointerId(pointerIndex); in onMotionEvent() local
93 if (pointerId == mActivePointerId) { in onMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1335 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
1336 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()