Home
last modified time | relevance | path

Searched refs:pointerId (Results 1 – 17 of 17) 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.java58 final int pointerId = i * 3; in testAdd() local
60 src.addPointer(x, y, pointerId, time); in testAdd()
66 final int pointerId = i * 3; in testAdd() local
70 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); in testAdd()
81 final int pointerId = i * 3; in testAddAt() local
83 src.addPointerAt(i, x, y, pointerId, time); in testAddAt()
89 final int pointerId = i * 3; in testAddAt() local
93 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); in testAddAt()
104 final int pointerId = i * 3; in testSet() local
106 src.addPointer(x, y, pointerId, time); in testSet()
[all …]
/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/Browser/src/com/android/browser/view/
DScrollerView.java790 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
791 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1421 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
1422 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1939 final int pointerId = ev.getPointerId(pointerIndex); in onSecondaryPointerUp() local
1940 if (pointerId == mActivePointerId) { in onSecondaryPointerUp()