Searched refs:historySize (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DelegateViewHelper.java | 75 final int historySize = event.getHistorySize(); in onInterceptTouchEvent() local 76 for (int k = 0; k < historySize + 1; k++) { in onInterceptTouchEvent() 77 float x = k < historySize ? event.getHistoricalX(k) : event.getX(); in onInterceptTouchEvent() 78 float y = k < historySize ? event.getHistoricalY(k) : event.getY(); in onInterceptTouchEvent()
|
/frameworks/base/include/androidfw/ |
D | InputTransport.h | 376 size_t historySize; member 384 historySize = 0; in initialize() 391 if (historySize < 2) { in addHistory() 392 historySize += 1; in addHistory()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 165 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { in validateHistoryPos() argument 166 if (historyPos < 0 || size_t(historyPos) >= historySize) { in validateHistoryPos() 591 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetEventTimeNanos() local 592 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetEventTimeNanos() 610 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetRawAxisValue() local 611 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetRawAxisValue() 629 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetAxisValue() local 630 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetAxisValue() 650 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetPointerCoords() local 651 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 567 final int historySize = event.getHistorySize(); in ensureHistorySizeIsZeroForThisAction() local 568 if (historySize != 0) { in ensureHistorySizeIsZeroForThisAction() 569 problem("History size is " + historySize + " but it should always be 0 for " in ensureHistorySizeIsZeroForThisAction()
|
D | MotionEvent.java | 2809 final int historySize = nativeGetHistorySize(event.mNativePtr); in addBatch() local 2810 for (int h = 0; h <= historySize; h++) { in addBatch() 2811 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch() 2952 final int historySize = nativeGetHistorySize(mNativePtr); in split() local 2953 for (int h = 0; h <= historySize; h++) { in split() 2954 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 677 final int historySize = event.getHistorySize(); in handleActionMove() local 678 for (int i = 0; i < historySize + 1; i++) { in handleActionMove() 679 final float x = i < historySize ? event.getHistoricalX(i) : event.getX(); in handleActionMove() 680 final float y = i < historySize ? event.getHistoricalY(i) : event.getY(); in handleActionMove()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | GlowPadView.java | 810 final int historySize = event.getHistorySize(); in handleMove() local 815 for (int k = 0; k < historySize + 1; k++) { in handleMove() 816 float eventX = k < historySize ? event.getHistoricalX(k) : event.getX(); in handleMove() 817 float eventY = k < historySize ? event.getHistoricalY(k) : event.getY(); in handleMove()
|
D | MultiWaveView.java | 820 final int historySize = event.getHistorySize(); in handleMove() local 825 for (int k = 0; k < historySize + 1; k++) { in handleMove() 826 float eventX = k < historySize ? event.getHistoricalX(k) : event.getX(); in handleMove() 827 float eventY = k < historySize ? event.getHistoricalY(k) : event.getY(); in handleMove()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 499 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local 500 if (activityCount > 0 && historySize > 0) { in updateAppearance()
|
/frameworks/base/libs/androidfw/ |
D | Input.cpp | 339 size_t historySize = other->getHistorySize(); in copyFrom() local 341 + (historySize * pointerCount), pointerCount); in copyFrom()
|
D | VelocityTracker.cpp | 316 size_t historySize = event->getHistorySize(); in addMovement() local 317 for (size_t h = 0; h < historySize; h++) { in addMovement()
|
D | InputTransport.cpp | 683 if (touchState.historySize < 1) { in resampleTouchState() 720 } else if (touchState.historySize >= 2) { in resampleTouchState()
|