Home
last modified time | relevance | path

Searched refs:historySize (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDelegateViewHelper.java76 final int historySize = event.getHistorySize(); in onInterceptTouchEvent() local
77 for (int k = 0; k < historySize + 1; k++) { in onInterceptTouchEvent()
78 float x = k < historySize ? event.getHistoricalX(k) : event.getX(); in onInterceptTouchEvent()
79 float y = k < historySize ? event.getHistoricalY(k) : event.getY(); in onInterceptTouchEvent()
/frameworks/native/include/input/
DInputTransport.h379 size_t historySize; member
387 historySize = 0; in initialize()
394 if (historySize < 2) { in addHistory()
395 historySize += 1; in addHistory()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java230 final int historySize = ev.getHistorySize(); in addTouchHistory() local
231 final int pointerSampleCount = historySize + 1; in addTouchHistory()
234 if (h < historySize) { in addTouchHistory()
254 final long time = h < historySize ? ev.getHistoricalEventTime(h) in addTouchHistory()
DInputEventConsistencyVerifier.java567 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()
DMotionEvent.java2807 final int historySize = nativeGetHistorySize(event.mNativePtr); in addBatch() local
2808 for (int h = 0; h <= historySize; h++) { in addBatch()
2809 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch()
2950 final int historySize = nativeGetHistorySize(mNativePtr); in split() local
2951 for (int h = 0; h <= historySize; h++) { in split()
2952 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp164 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { in validateHistoryPos() argument
165 if (historyPos < 0 || size_t(historyPos) >= historySize) { in validateHistoryPos()
590 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetEventTimeNanos() local
591 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetEventTimeNanos()
609 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetRawAxisValue() local
610 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetRawAxisValue()
628 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetAxisValue() local
629 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetAxisValue()
649 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetPointerCoords() local
650 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DSystemGesturesPointerEventListener.java143 final int historySize = move.getHistorySize();
149 for (int h = 0; h < historySize; h++) {
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java679 final int historySize = event.getHistorySize(); in handleActionMove() local
682 for (int i = 0; i < historySize + 1; i++) { in handleActionMove()
683 final float x = i < historySize ? event.getHistoricalX(i) : event.getX(); in handleActionMove()
684 final float y = i < historySize ? event.getHistoricalY(i) : event.getY(); in handleActionMove()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java360 final int historySize = event.getHistorySize(); in sendHidTouch() local
364 for (int h = 0; h < historySize; h++) { in sendHidTouch()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserView.java505 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local
506 if (activityCount==1 || activityCount > 1 && historySize > 0) { in updateAppearance()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java824 final int historySize = event.getHistorySize(); in handleMove() local
829 for (int k = 0; k < historySize + 1; k++) { in handleMove()
830 float eventX = k < historySize ? event.getHistoricalX(k) : event.getX(); in handleMove()
831 float eventY = k < historySize ? event.getHistoricalY(k) : event.getY(); in handleMove()
DGlowPadView.java840 final int historySize = event.getHistorySize(); in handleMove() local
852 for (int k = 0; k < historySize + 1; k++) { in handleMove()
853 float eventX = k < historySize ? event.getHistoricalX(actionIndex, k) in handleMove()
855 float eventY = k < historySize ? event.getHistoricalY(actionIndex, k) in handleMove()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java533 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local
534 if (activityCount==1 || activityCount > 1 && historySize > 0) { in updateAppearance()
/frameworks/native/libs/input/
DInput.cpp341 size_t historySize = other->getHistorySize(); in copyFrom() local
343 + (historySize * pointerCount), pointerCount); in copyFrom()
DVelocityTracker.cpp315 size_t historySize = event->getHistorySize(); in addMovement() local
316 for (size_t h = 0; h < historySize; h++) { in addMovement()
DInputTransport.cpp692 if (touchState.historySize < 1) { in resampleTouchState()
729 } else if (touchState.historySize >= 2) { in resampleTouchState()