HomeSort by relevance Sort by last modified time
    Searched refs:pointerId (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /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);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_state_input.h 54 void updateInputIndexG(const int pointerId, const int inputIndex,
56 mInputIndex[pointerId] = inputIndex;
57 mPrevCodePoint[pointerId] = prevCodePoint;
58 mTerminalDiffCost[pointerId] = terminalDiffCost;
66 void setPrevCodePoint(const int pointerId, const int c) {
67 mPrevCodePoint[pointerId] = c;
70 void forwardInputIndex(const int pointerId, const int val) {
71 if (mInputIndex[pointerId] < 0) {
72 mInputIndex[pointerId] = val;
74 mInputIndex[pointerId] = mInputIndex[pointerId] + val
    [all...]
dic_node.h 371 int getPrevCodePointG(int pointerId) const {
372 return mDicNodeState.mDicNodeStateInput.getPrevCodePoint(pointerId);
418 int16_t getInputIndex(int pointerId) const {
419 return mDicNodeState.mDicNodeStateInput.getInputIndex(pointerId);
559 AK_FORCE_INLINE void forwardInputIndex(const int pointerId, const int count,
564 mDicNodeState.mDicNodeStateInput.forwardInputIndex(pointerId, count);
  /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);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysPanel.java 67 * @param pointerId pointer id touch point
70 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime);
77 * @param pointerId pointer id touch point
80 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime);
87 * @param pointerId pointer id touch point
90 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime);
MoreKeysKeyboardView.java 108 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) {
109 mActivePointerId = pointerId;
110 onMoveKeyInternal(x, y, pointerId);
114 public void onMoveEvent(int x, int y, final int pointerId, long eventTime) {
115 if (mActivePointerId != pointerId) {
119 onMoveKeyInternal(x, y, pointerId);
127 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) {
128 if (mCurrentKey != null && mActivePointerId == pointerId) {
146 private void onMoveKeyInternal(int x, int y, int pointerId) {
147 if (mActivePointerId != pointerId) {
    [all...]
  /frameworks/support/v4/eclair/android/support/v4/view/
MotionEventCompatEclair.java 25 public static int findPointerIndex(MotionEvent event, int pointerId) {
26 return event.findPointerIndex(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);
783 private void clearMotionHistory(int pointerId) {
787 mInitialMotionX[pointerId] = 0;
788 mInitialMotionY[pointerId] = 0
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/input/event/
TouchEvent.java 93 private int pointerId;
125 pointerId = 0;
171 return pointerId;
174 public void setPointerId(int pointerId) {
175 this.pointerId = pointerId;
  /frameworks/base/services/java/com/android/server/accessibility/
TouchExplorer.java 455 final int pointerId = receivedTracker.getPrimaryActivePointerId();
456 final int pointerIdBits = (1 << pointerId);
466 final int pointerId = receivedTracker.getPrimaryActivePointerId();
467 final int pointerIndex = event.findPointerIndex(pointerId);
468 final int pointerIdBits = (1 << pointerId);
484 final float deltaX = receivedTracker.getReceivedPointerDownX(pointerId)
486 final float deltaY = receivedTracker.getReceivedPointerDownY(pointerId)
496 Math.abs(mVelocityTracker.getXVelocity(pointerId)),
497 Math.abs(mVelocityTracker.getYVelocity(pointerId)));
527 receivedTracker.getReceivedPointerDownX(pointerId)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
dic_traverse_session.h 78 bool isOnlyOnePointerUsed(int *pointerId) const {
91 *pointerId = usedPointerId;
100 const int pointerId = node->getInputIndex(i);
102 mProximityInfoStates[i].getSearchKeyVector(pointerId);
114 const int pointerId = node->getInputIndex(i);
115 proximityType = mProximityInfoStates[i].getProximityTypeG(pointerId, childCodePoint);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
InputPointers.java 40 public void addPointer(int index, int x, int y, int pointerId, int time) {
43 mPointerIds.add(index, pointerId);
48 void addPointer(int x, int y, int pointerId, int time) {
51 mPointerIds.add(pointerId);
89 * @param pointerId the pointer id of the source.
96 public void append(int pointerId, ResizableIntArray times, ResizableIntArray xCoordinates,
103 mPointerIds.fill(pointerId, mPointerIds.getLength(), length);
  /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);
  /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 85 int pointerId = ev.getPointerId(pointerIndex);
86 mRender.newTouchPosition(0, 0, 0, pointerId);
  /frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
FountainView.java 82 int pointerId = ev.getPointerId(pointerIndex);
83 mRender.newTouchPosition(0, 0, 0, pointerId);
  /frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
ShadersTestView.java 112 final int pointerId = ev.getPointerId(pointerIndex);
113 if (pointerId == mActivePointerId) {
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
PhotoViewPager.java 169 final int pointerId = MotionEventCompat.getPointerId(ev, pointerIndex);
170 if (pointerId == mActivePointerId) {
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
BallsView.java 83 int pointerId = ev.getPointerId(pointerIndex);
84 mRender.newTouchPosition(0, 0, 0, pointerId);
  /packages/inputmethods/LatinIME/native/jni/src/
proximity_info_state.cpp 32 void ProximityInfoState::initInputParams(const int pointerId, const float maxPointToKeyLength,
57 if (!isGeometric && pointerId == 0) {
106 pointerIds, verticalSweetSpotScale, inputSize, isGeometric, pointerId,
154 if (!isGeometric && pointerId == 0) {
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
VersionedGestureDetector.java 124 final int pointerId = ev.getPointerId(pointerIndex);
125 if (pointerId == mActivePointerId) {
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SimpleModelView.java 145 final int pointerId = ev.getPointerId(pointerIndex);
146 if (pointerId == mActivePointerId) {

Completed in 282 milliseconds

1 2 3 4