Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DInputTransport.h409 size_t historySize; member
417 historySize = 0; in initialize()
424 if (historySize < 2) { in addHistory()
425 historySize += 1; in addHistory()
436 if (historySize < 2) { in recentCoordinatesAreIdentical()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp167 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { in validateHistoryPos() argument
168 if (historyPos < 0 || size_t(historyPos) >= historySize) { in validateHistoryPos()
433 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetPointerCoords() local
434 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetPointerCoords()
526 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetEventTimeNanos() local
527 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetEventTimeNanos()
546 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetRawAxisValue() local
547 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetRawAxisValue()
565 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetAxisValue() local
566 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetAxisValue()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java191 final int historySize = move.getHistorySize(); in detectSwipe() local
197 for (int h = 0; h < historySize; h++) { in detectSwipe()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java638 final int historySize = event.getHistorySize(); in ensureHistorySizeIsZeroForThisAction() local
639 if (historySize != 0) { in ensureHistorySizeIsZeroForThisAction()
640 problem("History size is " + historySize + " but it should always be 0 for " in ensureHistorySizeIsZeroForThisAction()
DMotionEvent.java3065 final int historySize = nativeGetHistorySize(event.mNativePtr); in addBatch() local
3066 for (int h = 0; h <= historySize; h++) { in addBatch()
3067 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch()
3208 final int historySize = nativeGetHistorySize(mNativePtr); in split() local
3209 for (int h = 0; h <= historySize; h++) { in split()
3210 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split()
/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/widget/
DActivityChooserView.java544 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local
545 if (activityCount == 1 || (activityCount > 1 && historySize > 0)) { in updateAppearance()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java554 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local
555 if (activityCount==1 || activityCount > 1 && historySize > 0) { in updateAppearance()
/frameworks/native/libs/input/
DInput.cpp275 size_t historySize = other->getHistorySize(); in copyFrom() local
277 + (historySize * pointerCount), pointerCount); in copyFrom()
DVelocityTracker.cpp316 size_t historySize = event->getHistorySize(); in addMovement() local
317 for (size_t h = 0; h < historySize; h++) { in addMovement()
DInputTransport.cpp810 if (touchState.historySize < 1) { in resampleTouchState()
854 } else if (touchState.historySize >= 2) { in resampleTouchState()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java921 final int historySize = event.getHistorySize(); in handleActionMove() local
924 for (int i = 0; i < historySize + 1; i++) { in handleActionMove()
925 final float x = i < historySize ? event.getHistoricalX(i) : event.getX(); in handleActionMove()
926 final float y = i < historySize ? event.getHistoricalY(i) : event.getY(); in handleActionMove()