Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DInputTransport.h440 size_t historySize; member
448 historySize = 0; in initialize()
455 if (historySize < 2) { in addHistory()
456 historySize += 1; in addHistory()
467 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()
434 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetPointerCoords() local
435 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetPointerCoords()
527 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetEventTimeNanos() local
528 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetEventTimeNanos()
547 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetRawAxisValue() local
548 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetRawAxisValue()
566 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetAxisValue() local
567 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetAxisValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java224 int historySize = motionEvent.getHistorySize(); in unpackMotionEvent() local
225 for (int i = 0; i < historySize; i++) { in unpackMotionEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java228 final int historySize = move.getHistorySize(); in detectSwipe() local
234 for (int h = 0; h < historySize; h++) { in detectSwipe()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DSpotFilter.kt101 for (i in 0 until evt.historySize) { in add()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java643 final int historySize = event.getHistorySize(); in ensureHistorySizeIsZeroForThisAction() local
644 if (historySize != 0) { in ensureHistorySizeIsZeroForThisAction()
645 problem("History size is " + historySize + " but it should always be 0 for " in ensureHistorySizeIsZeroForThisAction()
DMotionEvent.java3280 final int historySize = nativeGetHistorySize(event.mNativePtr); in addBatch() local
3281 for (int h = 0; h <= historySize; h++) { in addBatch()
3282 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch()
3424 final int historySize = nativeGetHistorySize(mNativePtr); in split() local
3425 for (int h = 0; h <= historySize; h++) { in split()
3426 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split()
DViewRootImpl.java6197 final int historySize = event.getHistorySize();
6198 for (int h = 0; h < historySize; h++) {
/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/native/libs/input/
DInput.cpp302 size_t historySize = other->getHistorySize(); in copyFrom() local
304 + (historySize * pointerCount), pointerCount); in copyFrom()
DVelocityTracker.cpp325 size_t historySize = event->getHistorySize(); in addMovement() local
326 for (size_t h = 0; h < historySize; h++) { in addMovement()
DInputTransport.cpp902 if (touchState.historySize < 1) { in resampleTouchState()
939 } else if (touchState.historySize >= 2) { in resampleTouchState()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java558 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local
559 if (activityCount==1 || activityCount > 1 && historySize > 0) { in updateAppearance()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java963 final int historySize = event.getHistorySize(); in handleActionMove() local
966 for (int i = 0; i < historySize + 1; i++) { in handleActionMove()
967 final float x = i < historySize ? event.getHistoricalX(i) : event.getX(); in handleActionMove()
968 final float y = i < historySize ? event.getHistoricalY(i) : event.getY(); in handleActionMove()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java498 final int historySize = history.size(); in offsetHistory() local
499 for (int i = 0; i < historySize; i++) { in offsetHistory()