Home
last modified time | relevance | path

Searched refs:mDownTime (Results 1 – 19 of 19) 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.java1288 private long mDownTime; field in KeyEvent
1389 mDownTime = downTime; in KeyEvent()
1414 mDownTime = downTime; in KeyEvent()
1443 mDownTime = downTime; in KeyEvent()
1474 mDownTime = downTime; in KeyEvent()
1507 mDownTime = downTime; in KeyEvent()
1534 mDownTime = time; in KeyEvent()
1551 mDownTime = origEvent.mDownTime; in KeyEvent()
1580 mDownTime = origEvent.mDownTime; in KeyEvent()
1621 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/native/libs/input/
DInput.cpp156 mDownTime = downTime; in initialize()
168 mDownTime = from.mDownTime; in initialize()
345 mDownTime = downTime; in initialize()
371 mDownTime = other->mDownTime; in copyFrom()
588 mDownTime = parcel->readInt64(); in readFromParcel()
646 parcel->writeInt64(mDownTime); in writeToParcel()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java76 private long mDownTime; field in MotionEventInjector
394 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded()
413 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents()
438 mDownTime = currentTime; in appendDownEvents()
441 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java72 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/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp128 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
200 mDownTime = 0; in reset()
309 mDownTime = when; in processKey()
334 nsecs_t downTime = mDownTime; in processKey()
DCursorInputMapper.cpp109 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
242 mDownTime = 0; in reset()
274 mDownTime = when; in sync()
281 nsecs_t downTime = mDownTime; in sync()
DCursorInputMapper.h112 nsecs_t mDownTime; variable
DKeyboardInputMapper.h60 nsecs_t mDownTime; // time of most recent key down variable
DTouchInputMapper.cpp1377 mDownTime = 0; in reset()
1847 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in abortTouches()
1867 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1899 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1912 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1922 mDownTime = when; in dispatchTouches()
1930 downId, mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1946 mOrientedYPrecision, mDownTime); in dispatchHoverExit()
1962 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
1972 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
[all …]
DTouchInputMapper.h376 nsecs_t mDownTime; variable
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp89 jfieldID mDownTime; member
134 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative()
203 gKeyEventClassInfo.mDownTime = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDownTime", "J"); in register_android_view_KeyEvent()
/frameworks/native/include/input/
DInput.h452 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
474 nsecs_t mDownTime; variable
544 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
546 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime()
748 nsecs_t mDownTime; variable
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java62 private final long[] mDownTime = new long[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener
214 mDownTime[i] = event.getEventTime(); in captureDown()
265 final long elapsed = time - mDownTime[i]; in detectSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java63 protected long mDownTime; field in PanelViewController
409 long timePassed = SystemClock.uptimeMillis() - mDownTime; in endMotionEvent()
1116 mDownTime = SystemClock.uptimeMillis(); in onInterceptTouchEvent()
1232 mDownTime = SystemClock.uptimeMillis(); in onTouch()
DNotificationPanelViewController.java1241 long timeSinceDown = SystemClock.uptimeMillis() - mDownTime; in shouldExpandWhenNotFlinging()
/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;