/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_input.h | 49 void updateInputIndexG(const int pointerId, const int inputIndex, 51 mInputIndex[pointerId] = inputIndex; 52 mPrevCodePoint[pointerId] = prevCodePoint; 53 mTerminalDiffCost[pointerId] = terminalDiffCost; 61 void setPrevCodePoint(const int pointerId, const int c) { 62 mPrevCodePoint[pointerId] = c; 65 void forwardInputIndex(const int pointerId, const int val) { 66 if (mInputIndex[pointerId] < 0) { 67 mInputIndex[pointerId] = val; 69 mInputIndex[pointerId] = mInputIndex[pointerId] + val [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
VelocityTrackerCompat.java | 30 public float getXVelocity(VelocityTracker tracker, int pointerId); 31 public float getYVelocity(VelocityTracker tracker, int pointerId); 39 public float getXVelocity(VelocityTracker tracker, int pointerId) { 43 public float getYVelocity(VelocityTracker tracker, int pointerId) { 53 public float getXVelocity(VelocityTracker tracker, int pointerId) { 54 return VelocityTrackerCompatHoneycomb.getXVelocity(tracker, pointerId); 57 public float getYVelocity(VelocityTracker tracker, int pointerId) { 58 return VelocityTrackerCompatHoneycomb.getYVelocity(tracker, pointerId); 81 public static float getXVelocity(VelocityTracker tracker, int pointerId) { 82 return IMPL.getXVelocity(tracker, pointerId); [all...] |
MotionEventCompat.java | 30 public int findPointerIndex(MotionEvent event, int pointerId); 42 public int findPointerIndex(MotionEvent event, int pointerId) { 43 if (pointerId == 0) { 82 public int findPointerIndex(MotionEvent event, int pointerId) { 83 return MotionEventCompatEclair.findPointerIndex(event, pointerId); 200 public static int findPointerIndex(MotionEvent event, int pointerId) { 201 return IMPL.findPointerIndex(event, pointerId);
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
VelocityTrackerCompatHoneycomb.java | 25 public static float getXVelocity(VelocityTracker tracker, int pointerId) { 26 return tracker.getXVelocity(pointerId); 28 public static float getYVelocity(VelocityTracker tracker, int pointerId) { 29 return tracker.getYVelocity(pointerId);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
TouchPointView.java | 69 int pointerId = event.getPointerId(i); 70 int pointerIndex = event.findPointerIndex(pointerId); 73 finger.pointerId = pointerId; 87 int color = mColors[finger.pointerId % mColors.length]; 95 public int pointerId;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ViewDragHelper.java | 208 * @param pointerId ID of the pointer touching the described edge(s) 214 public void onEdgeTouched(int edgeFlags, int pointerId) {} 234 * @param pointerId ID of the pointer touching the described edge(s) 240 public void onEdgeDragStarted(int edgeFlags, int pointerId) {} 276 * with the pointer indicated by pointerId. The callback should return true if the user 287 * @param pointerId ID of the pointer attempting the capture 290 public abstract boolean tryCaptureView(View child, int pointerId); 790 private void clearMotionHistory(int pointerId) { 794 mInitialMotionX[pointerId] = 0; 795 mInitialMotionY[pointerId] = 0 [all...] |
/packages/apps/Dialer/src/com/android/dialer/widget/ |
ViewDragHelper.java | 225 * @param pointerId ID of the pointer touching the described edge(s) 231 public void onEdgeTouched(int edgeFlags, int pointerId) {} 251 * @param pointerId ID of the pointer touching the described edge(s) 257 public void onEdgeDragStarted(int edgeFlags, int pointerId) {} 293 * with the pointer indicated by pointerId. The callback should return true if the user 304 * @param pointerId ID of the pointer attempting the capture 307 public abstract boolean tryCaptureView(View child, int pointerId); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SystemGesturesPointerEventListener.java | 116 final int pointerId = event.getPointerId(pointerIndex); 117 final int i = findIndex(pointerId); 118 if (DEBUG) Slog.d(TAG, "pointer " + pointerId + 124 if (DEBUG) Slog.d(TAG, "pointer " + pointerId + 129 private int findIndex(int pointerId) { 131 if (mDownPointerId[i] == pointerId) { 135 if (mDownPointers == MAX_TRACKED_POINTERS || pointerId == MotionEvent.INVALID_POINTER_ID) { 138 mDownPointerId[mDownPointers++] = pointerId; 146 final int pointerId = move.getPointerId(p); 147 final int i = findIndex(pointerId); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputPointers.java | 60 public void addPointerAt(int index, int x, int y, int pointerId, int time) { 63 mPointerIds.addAt(index, pointerId); 71 void addPointer(int x, int y, int pointerId, int time) { 74 mPointerIds.add(pointerId); 95 * @param pointerId the pointer id of the source. 102 public void append(int pointerId, ResizableIntArray times, ResizableIntArray xCoordinates, 109 mPointerIds.fill(pointerId, mPointerIds.getLength(), length); 169 final int pointerId = pointerIds[i]; 171 final int lastTime = lastTimeOfPointers.get(pointerId, time); 179 lastTimeOfPointers.put(pointerId, time) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
MoreKeysKeyboardAccessibilityDelegate.java | 71 final int pointerId = event.getPointerId(actionIndex); 73 mKeyboardView.onDownEvent(x, y, pointerId, eventTime); 82 final int pointerId = event.getPointerId(actionIndex); 84 mKeyboardView.onMoveEvent(x, y, pointerId, eventTime); 100 final int pointerId = event.getPointerId(actionIndex); 109 mKeyboardView.onUpEvent(x, y, pointerId, eventTime);
|
/external/chromium_org/ui/keyboard/resources/elements/ |
kb-shift-key.js | 24 * state. pointerId and eventTarget are the two fields that is used now. 54 event.pointerId != enterChordingEvent.pointerId) { 71 // pressed. Updates the pointerId of the releasing shift key to make 73 this.pointerId = enterChordingEvent.pointerId; 84 event.pointerId == enterChordingEvent.pointerId &&
|
kb-key-base.js | 66 pointerId: undefined, 108 this.pointerId = event.pointerId; 136 this.pointerId = undefined; 143 if (this.pointerId === undefined) 146 // Invalidates the pointerId so the subsequent pointerup event is a 148 this.pointerId = undefined;
|
/frameworks/support/v4/eclair/android/support/v4/view/ |
MotionEventCompatEclair.java | 25 public static int findPointerIndex(MotionEvent event, int pointerId) { 26 return event.findPointerIndex(pointerId);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputPointersTests.java | 60 final int pointerId = i * 3; 62 src.addPointer(x, y, pointerId, time); 68 final int pointerId = i * 3; 72 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); 83 final int pointerId = i * 3; 85 src.addPointerAt(i, x, y, pointerId, time); 91 final int pointerId = i * 3; 95 assertEquals("pointerIds at " + i, pointerId, src.getPointerIds()[i]); 106 final int pointerId = i * 3; 108 src.addPointer(x, y, pointerId, time) [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
TapGestureDetector.java | 132 int pointerId = event.getPointerId(pointerIndex); 133 mInitialPositions.put(pointerId, 143 int pointerId = event.getPointerId(pointerIndex); 144 mInitialPositions.remove(pointerId); 156 int pointerId = event.getPointerId(i); 159 PointF downPoint = mInitialPositions.get(pointerId); 163 mInitialPositions.put(pointerId, new PointF(currentX, currentY));
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
TouchExplorer.java | 443 final int pointerId = receivedTracker.getPrimaryPointerId(); 444 final int pointerIdBits = (1 << pointerId); 462 final int pointerId = receivedTracker.getPrimaryPointerId(); 463 final int pointerIndex = event.findPointerIndex(pointerId); 464 final int pointerIdBits = (1 << pointerId); 481 final float deltaX = receivedTracker.getReceivedPointerDownX(pointerId) 483 final float deltaY = receivedTracker.getReceivedPointerDownY(pointerId) 493 Math.abs(mVelocityTracker.getXVelocity(pointerId)), 494 Math.abs(mVelocityTracker.getYVelocity(pointerId))); 524 receivedTracker.getReceivedPointerDownX(pointerId) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysPanel.java | 77 * @param pointerId pointer id touch point 80 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime); 87 * @param pointerId pointer id touch point 90 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime); 97 * @param pointerId pointer id touch point 100 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime);
|
MoreKeysKeyboardView.java | 159 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) { 160 mActivePointerId = pointerId; 165 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime) { 166 if (mActivePointerId != pointerId) { 178 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) { 179 if (mActivePointerId != pointerId) { 267 final int pointerId = me.getPointerId(index); 271 onDownEvent(x, y, pointerId, eventTime); 275 onUpEvent(x, y, pointerId, eventTime); 278 onMoveEvent(x, y, pointerId, eventTime) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.h | 90 bool isOnlyOnePointerUsed(int *pointerId) const { 103 if (pointerId) { 104 *pointerId = usedPointerId; 115 const int pointerId = dicNode->getInputIndex(i); 116 proximityType = mProximityInfoStates[i].getProximityTypeG(pointerId, childCodePoint);
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboView.java | 67 int pointerId = ev.getPointerId(pointerIndex); 68 mRender.newTouchPosition(0, 0, 0, pointerId);
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
VersionedGestureDetector.java | 124 final int pointerId = ev.getPointerId(pointerIndex); 125 if (pointerId == mActivePointerId) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMotionEvent.java | 110 int pointerId = pointerIds[i]; 112 if (pointerId == id) {
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSyncView.java | 118 final int pointerId = ev.getPointerId(pointerIndex); 119 if (pointerId == mActivePointerId) {
|
FBOTestView.java | 118 final int pointerId = ev.getPointerId(pointerIndex); 119 if (pointerId == mActivePointerId) {
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainView.java | 82 int pointerId = ev.getPointerId(pointerIndex); 83 mRender.newTouchPosition(0, 0, 0, pointerId);
|