Home
last modified time | relevance | path

Searched refs:mDownTime (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DMotionEventMatcher.java31 long mDownTime; field in MotionEventMatcher
38 mDownTime = downTime; in MotionEventMatcher()
55 mDownTime += timeOffset; in offsetTimesBy()
61 if ((event.getDownTime() == mDownTime) in matchesSafely()
69 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() + ", expected " + mDownTime); in matchesSafely()
/frameworks/base/core/java/android/view/
DKeyEvent.java1302 private long mDownTime; field in KeyEvent
1403 mDownTime = downTime; in KeyEvent()
1428 mDownTime = downTime; in KeyEvent()
1457 mDownTime = downTime; in KeyEvent()
1488 mDownTime = downTime; in KeyEvent()
1521 mDownTime = downTime; in KeyEvent()
1548 mDownTime = time; in KeyEvent()
1565 mDownTime = origEvent.mDownTime; in KeyEvent()
1594 mDownTime = origEvent.mDownTime; in KeyEvent()
1635 ev.mDownTime = downTime; in obtain()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java95 long mDownTime = -1; field in GestureRecorder.Gesture
100 if (mDownTime < 0) { in add()
101 mDownTime = ev.getDownTime(); in add()
103 if (mDownTime != ev.getDownTime()) { in add()
105 +ev.getDownTime()+") does not match gesture downTime ("+mDownTime+")"); in add()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java60 private long mDownTime; field in InteractionController
306 mDownTime = SystemClock.uptimeMillis();
308 mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y, 1);
319 mDownTime, eventTime, MotionEvent.ACTION_UP, x, y, 1);
321 mDownTime = 0;
331 mDownTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java70 private long mDownTime; field in KeyButtonView
269 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent()
277 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
310 final boolean doHapticFeedback = (SystemClock.uptimeMillis() - mDownTime) > 150; in onTouchEvent()
419 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount, in sendEvent()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp90 jfieldID mDownTime; member
135 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative()
204 gKeyEventClassInfo.mDownTime = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDownTime", "J"); in register_android_view_KeyEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java76 private long mDownTime; field in MotionEventInjector
400 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded()
419 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents()
444 mDownTime = currentTime; in appendDownEvents()
447 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp130 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
200 mDownTime = 0; in reset()
311 mDownTime = when; in processKey()
336 nsecs_t downTime = mDownTime; in processKey()
DCursorInputMapper.cpp116 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
271 mDownTime = 0; in reset()
303 mDownTime = when; in sync()
310 nsecs_t downTime = mDownTime; in sync()
DCursorInputMapper.h114 nsecs_t mDownTime; variable
DKeyboardInputMapper.h61 nsecs_t mDownTime; // time of most recent key down variable
DTouchInputMapper.cpp1397 mDownTime = 0; in reset()
1899 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in abortTouches()
1919 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1954 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1969 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1979 mDownTime = when; in dispatchTouches()
1987 downId, mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
2003 mOrientedYPrecision, mDownTime); in dispatchHoverExit()
2020 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
2030 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
[all …]
DTouchInputMapper.h381 nsecs_t mDownTime; variable
/frameworks/native/libs/input/
DInput.cpp233 mDownTime = downTime; in initialize()
245 mDownTime = from.mDownTime; in initialize()
432 mDownTime = downTime; in initialize()
457 mDownTime = other->mDownTime; in copyFrom()
660 mDownTime = parcel->readInt64(); in readFromParcel()
721 parcel->writeInt64(mDownTime); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java63 private final long[] mDownTime = new long[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener
224 mDownTime[i] = event.getEventTime(); in captureDown()
275 final long elapsed = time - mDownTime[i]; in detectSwipe()
/frameworks/native/include/input/
DInput.h507 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
529 nsecs_t mDownTime; variable
599 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
601 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime()
832 nsecs_t mDownTime; variable
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java201 private long mDownTime; field in KeyboardView
1275 mDownTime = me.getEventTime();
1276 mLastMoveTime = mDownTime;
1303 mCurrentKeyTime = eventTime - mDownTime;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java79 protected long mDownTime; field in PanelViewController
1177 mDownTime = SystemClock.uptimeMillis(); in onInterceptTouchEvent()
1290 mDownTime = SystemClock.uptimeMillis(); in onTouch()
DNotificationPanelViewController.java1817 long timeSinceDown = SystemClock.uptimeMillis() - mDownTime; in shouldExpandWhenNotFlinging()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt25570 Landroid/inputmethodservice/KeyboardView;->mDownTime:J