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

1 2

  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncView.java 36 private int mActivePointerId = INVALID_POINTER_ID;
92 mActivePointerId = ev.getPointerId(0);
106 mActivePointerId = INVALID_POINTER_ID;
111 mActivePointerId = INVALID_POINTER_ID;
119 if (pointerId == mActivePointerId) {
126 mActivePointerId = ev.getPointerId(newPointerIndex);
FBOTestView.java 36 private int mActivePointerId = INVALID_POINTER_ID;
92 mActivePointerId = ev.getPointerId(0);
106 mActivePointerId = INVALID_POINTER_ID;
111 mActivePointerId = INVALID_POINTER_ID;
119 if (pointerId == mActivePointerId) {
126 mActivePointerId = ev.getPointerId(newPointerIndex);
  /frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
ShadersTestView.java 34 private int mActivePointerId = INVALID_POINTER_ID;
86 mActivePointerId = ev.getPointerId(0);
100 mActivePointerId = INVALID_POINTER_ID;
105 mActivePointerId = INVALID_POINTER_ID;
113 if (pointerId == mActivePointerId) {
120 mActivePointerId = ev.getPointerId(newPointerIndex);
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
PhotoViewPager.java 59 private int mActivePointerId;
127 mActivePointerId = INVALID_POINTER;
133 final int activePointerId = mActivePointerId;
163 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
170 if (pointerId == mActivePointerId) {
174 mActivePointerId = MotionEventCompat.getPointerId(ev, newPointerIndex);
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
VersionedGestureDetector.java 97 private int mActivePointerId = INVALID_POINTER_ID;
115 mActivePointerId = ev.getPointerId(0);
119 mActivePointerId = INVALID_POINTER_ID;
125 if (pointerId == mActivePointerId) {
129 mActivePointerId = ev.getPointerId(newPointerIndex);
136 mActivePointerIndex = ev.findPointerIndex(mActivePointerId);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SimpleModelView.java 45 private int mActivePointerId = INVALID_POINTER_ID;
119 mActivePointerId = ev.getPointerId(0);
133 mActivePointerId = INVALID_POINTER_ID;
138 mActivePointerId = INVALID_POINTER_ID;
146 if (pointerId == mActivePointerId) {
153 mActivePointerId = ev.getPointerId(newPointerIndex);
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppView.java 55 private int mActivePointerId = INVALID_POINTER_ID;
101 mActivePointerId = ev.getPointerId(0);
115 mActivePointerId = INVALID_POINTER_ID;
120 mActivePointerId = INVALID_POINTER_ID;
128 if (pointerId == mActivePointerId) {
135 mActivePointerId = ev.getPointerId(newPointerIndex);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MoreKeysKeyboardView.java 43 private int mActivePointerId;
109 mActivePointerId = pointerId;
115 if (mActivePointerId != pointerId) {
128 if (mCurrentKey != null && mActivePointerId == pointerId) {
147 if (mActivePointerId != pointerId) {
  /frameworks/support/v4/java/android/support/v4/widget/
ViewDragHelper.java 115 private int mActivePointerId = INVALID_POINTER;
466 mActivePointerId = activePointerId;
483 return mActivePointerId;
498 mActivePointerId = INVALID_POINTER;
540 mActivePointerId = INVALID_POINTER;
563 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId),
564 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId));
696 (int) VelocityTrackerCompat.getXVelocity(mVelocityTracker, mActivePointerId),
697 (int) VelocityTrackerCompat.getYVelocity(mVelocityTracker, mActivePointerId),
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
ScrollerView.java 128 private int mActivePointerId = INVALID_POINTER;
141 * Used by {@link #mActivePointerId}.
524 final int activePointerId = mActivePointerId;
572 mActivePointerId = ev.getPointerId(0);
598 mActivePointerId = INVALID_POINTER;
644 mActivePointerId = ev.getPointerId(0);
650 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
660 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
701 if (isOrthoMove(vtracker.getXVelocity(mActivePointerId),
702 vtracker.getYVelocity(mActivePointerId))
    [all...]
  /frameworks/base/core/java/android/widget/
HorizontalScrollView.java 128 private int mActivePointerId = INVALID_POINTER;
132 * Used by {@link #mActivePointerId}.
454 final int activePointerId = mActivePointerId;
492 mActivePointerId = ev.getPointerId(0);
510 mActivePointerId = INVALID_POINTER;
518 mActivePointerId = ev.getPointerId(index);
523 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId));
563 mActivePointerId = ev.getPointerId(0);
567 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
569 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent")
    [all...]
ScrollView.java 135 private int mActivePointerId = INVALID_POINTER;
148 * Used by {@link #mActivePointerId}.
484 final int activePointerId = mActivePointerId;
528 mActivePointerId = ev.getPointerId(0);
548 mActivePointerId = INVALID_POINTER;
599 mActivePointerId = ev.getPointerId(0);
603 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
605 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent");
665 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
678 mActivePointerId = INVALID_POINTER
    [all...]
StackView.java 106 * Used by {@link #mActivePointerId}.
129 private int mActivePointerId;
190 mActivePointerId = INVALID_POINTER;
617 if (mActivePointerId == INVALID_POINTER) {
620 mActivePointerId = ev.getPointerId(0);
625 int pointerIndex = ev.findPointerIndex(mActivePointerId);
643 mActivePointerId = INVALID_POINTER;
707 int pointerIndex = ev.findPointerIndex(mActivePointerId);
752 mActivePointerId = INVALID_POINTER;
763 if (pointerId == mActivePointerId) {
    [all...]
AbsListView.java 596 private int mActivePointerId = INVALID_POINTER;
600 * Used by {@link #mActivePointerId}.
    [all...]
  /frameworks/base/include/androidfw/
VelocityTracker.h 99 inline int32_t getActivePointerId() const { return mActivePointerId; }
109 int32_t mActivePointerId;
  /packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java 76 private int mActivePointerId;
288 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
298 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
301 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
329 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
334 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
337 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
367 mActivePointerId);
  /frameworks/base/core/jni/
android_view_VelocityTracker.cpp 61 int32_t mActivePointerId;
67 mVelocityTracker(strategy), mActivePointerId(-1) {
72 mActivePointerId = -1;
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
SlidingChallengeLayout.java 97 private int mActivePointerId = INVALID_POINTER;
568 if (!mIsBouncing && mActivePointerId == INVALID_POINTER
572 mActivePointerId = ev.getPointerId(i);
586 mActivePointerId = INVALID_POINTER;
600 mActivePointerId = INVALID_POINTER;
627 if (mActivePointerId != ev.getPointerId(ev.getActionIndex())) {
633 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId));
647 && mActivePointerId == INVALID_POINTER
651 mActivePointerId = ev.getPointerId(i);
665 final int index = ev.findPointerIndex(mActivePointerId);
    [all...]
PagedView.java 163 protected int mActivePointerId = INVALID_POINTER;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java 133 final int pointerIndex = ev.findPointerIndex(mActivePointerId);
PagedView.java 149 protected int mActivePointerId = INVALID_POINTER;
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 116 private int mActivePointerId;
161 mActivePointerId = 0;
217 if (mActivePointerId >= 0) {
218 final PointerState ps = mPointers.get(mActivePointerId);
545 if (mActivePointerId < 0 ||
546 !mPointers.get(mActivePointerId).mCurDown) {
547 mActivePointerId = id;
625 if (mActivePointerId == id) {
626 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
    [all...]
  /frameworks/base/libs/androidfw/
VelocityTracker.cpp 111 mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) {
205 mActivePointerId = -1;
214 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) {
215 mActivePointerId = !remainingIdBits.isEmpty() ? remainingIdBits.firstMarkedBit() : -1;
239 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) {
240 mActivePointerId = idBits.isEmpty() ? -1 : idBits.firstMarkedBit();
247 eventTime, idBits.value, mActivePointerId);
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
ViewPager.java 180 private int mActivePointerId = INVALID_POINTER;
183 * Used by {@link #mActivePointerId}.
    [all...]
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 122 private int mActivePointerId;
287 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
297 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
300 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
328 mActivePointerId = MotionEventCompat.getPointerId(ev, 0);
333 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId);
336 mActivePointerId + " - did StaggeredGridView receive an inconsistent " +
366 mActivePointerId);
    [all...]

Completed in 486 milliseconds

1 2