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

1 2 3

  /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...]
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 93 private int mActivePointerId = INVALID_POINTER_ID;
253 mActivePointerId = event.getPointerId(0);
256 if (mActivePointerId == INVALID_POINTER_ID) {
260 int pointerIndex = event.findPointerIndex(mActivePointerId);
293 if (pointerId == mActivePointerId) {
390 mActivePointerId = INVALID_POINTER_ID;
448 mActivePointerId = INVALID_POINTER_ID;
  /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/native/include/input/
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/core/java/android/widget/
HorizontalScrollView.java 131 private int mActivePointerId = INVALID_POINTER;
135 * Used by {@link #mActivePointerId}.
459 final int activePointerId = mActivePointerId;
497 mActivePointerId = ev.getPointerId(0);
515 mActivePointerId = INVALID_POINTER;
523 mActivePointerId = ev.getPointerId(index);
528 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId));
568 mActivePointerId = ev.getPointerId(0);
572 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
574 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent")
    [all...]
ScrollView.java 138 private int mActivePointerId = INVALID_POINTER;
151 * Used by {@link #mActivePointerId}.
489 final int activePointerId = mActivePointerId;
533 mActivePointerId = ev.getPointerId(0);
553 mActivePointerId = INVALID_POINTER;
604 mActivePointerId = ev.getPointerId(0);
608 final int activePointerIndex = ev.findPointerIndex(mActivePointerId);
610 Log.e(TAG, "Invalid pointerId=" + mActivePointerId + " in onTouchEvent");
671 int initialVelocity = (int) velocityTracker.getYVelocity(mActivePointerId);
684 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...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java 97 private int mActivePointerId = INVALID_POINTER;
581 if (!mIsBouncing && mActivePointerId == INVALID_POINTER
586 mActivePointerId = ev.getPointerId(i);
601 mActivePointerId = INVALID_POINTER;
619 mActivePointerId = INVALID_POINTER;
646 if (mActivePointerId != ev.getPointerId(ev.getActionIndex())) {
652 showChallenge((int) mVelocityTracker.getYVelocity(mActivePointerId));
666 && mActivePointerId == INVALID_POINTER
670 mActivePointerId = ev.getPointerId(i);
684 final int index = ev.findPointerIndex(mActivePointerId);
    [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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewWithDraggableItems.java 133 final int pointerIndex = ev.findPointerIndex(mActivePointerId);
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 123 private int mActivePointerId;
173 mActivePointerId = 0;
229 if (mActivePointerId >= 0) {
230 final PointerState ps = mPointers.get(mActivePointerId);
558 if (mActivePointerId < 0 ||
559 !mPointers.get(mActivePointerId).mCurDown) {
560 mActivePointerId = id;
639 if (mActivePointerId == id) {
640 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
    [all...]
  /frameworks/native/libs/input/
VelocityTracker.cpp 110 mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) {
204 mActivePointerId = -1;
213 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) {
214 mActivePointerId = !remainingIdBits.isEmpty() ? remainingIdBits.firstMarkedBit() : -1;
238 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) {
239 mActivePointerId = idBits.isEmpty() ? -1 : idBits.firstMarkedBit();
246 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 1038 milliseconds

1 2 3