/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_state_input.h | 49 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/ |
D | InputPointersTests.java | 72 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/ |
D | TouchPointView.java | 77 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/ |
D | TouchPointView.java | 74 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/ |
D | MoreKeysKeyboardView.java | 159 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()
|
D | MoreKeysPanel.java | 80 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/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 71 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/ |
D | InputPointers.java | 56 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/ |
D | dic_traverse_session.h | 90 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/ |
D | dic_node.h | 307 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/ |
D | proximity_info_state.cpp | 42 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()
|
D | proximity_info_state_utils.cpp | 49 const int inputSize, const bool isGeometric, const int pointerId, in updateTouchPoints() argument 78 if (pointerId == pid) { in updateTouchPoints() 102 if (pointerId == pid) { in updateTouchPoints()
|
D | proximity_info_state.h | 37 void initInputParams(const int pointerId, const float maxPointToKeyLength,
|
D | proximity_info_state_utils.h | 42 const bool isGeometric, const int pointerId, const int pushTouchPointStartIndex,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | BatchInputArbiter.java | 47 public BatchInputArbiter(final int pointerId, final GestureStrokeRecognitionParams params) { in BatchInputArbiter() argument 48 mRecognitionPoints = new GestureStrokeRecognitionPoints(pointerId, params); in BatchInputArbiter()
|
D | GestureStrokeRecognitionPoints.java | 73 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/ |
D | AccessibilityInputConsumer.java | 92 int pointerId = ev.getPointerId(pointerIndex); in onMotionEvent() local 93 if (pointerId == mActivePointerId) { in onMotionEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 1335 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local 1336 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
|