Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DKeyEvent.java1285 private long mDownTime; field in KeyEvent
1384 mDownTime = downTime; in KeyEvent()
1408 mDownTime = downTime; in KeyEvent()
1436 mDownTime = downTime; in KeyEvent()
1466 mDownTime = downTime; in KeyEvent()
1498 mDownTime = downTime; in KeyEvent()
1524 mDownTime = time; in KeyEvent()
1540 mDownTime = origEvent.mDownTime; in KeyEvent()
1567 mDownTime = origEvent.mDownTime; in KeyEvent()
1605 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/native/libs/input/
DInput.cpp86 mDownTime = downTime; in initialize()
98 mDownTime = from.mDownTime; in initialize()
270 mDownTime = downTime; in initialize()
291 mDownTime = other->mDownTime; in copyFrom()
473 mDownTime = parcel->readInt64(); in readFromParcel()
524 parcel->writeInt64(mDownTime); in writeToParcel()
/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/core/jni/
Dandroid_view_KeyEvent.cpp49 jfieldID mDownTime; member
91 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative()
154 gKeyEventClassInfo.mDownTime = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDownTime", "J"); in register_android_view_KeyEvent()
/frameworks/native/include/input/
DInput.h380 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
408 nsecs_t mDownTime; variable
462 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime()
464 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime()
672 nsecs_t mDownTime; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java68 private long mDownTime; field in KeyButtonView
229 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent()
237 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
270 final boolean doHapticFeedback = (SystemClock.uptimeMillis() - mDownTime) > 150; in onTouchEvent()
344 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount, in sendEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java76 private long mDownTime; field in MotionEventInjector
392 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded()
411 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents()
436 mDownTime = currentTime; in appendDownEvents()
439 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp127 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
182 mDownTime = 0; in reset()
291 mDownTime = when; in processKey()
316 nsecs_t downTime = mDownTime; in processKey()
DCursorInputMapper.cpp109 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump()
264 mDownTime = 0; in reset()
296 mDownTime = when; in sync()
303 nsecs_t downTime = mDownTime; in sync()
DCursorInputMapper.h113 nsecs_t mDownTime; variable
DKeyboardInputMapper.h58 nsecs_t mDownTime; // time of most recent key down variable
DTouchInputMapper.cpp1388 mDownTime = 0; in reset()
1873 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in abortTouches()
1894 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1926 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1940 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1950 mDownTime = when; in dispatchTouches()
1958 downId, mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches()
1974 mOrientedYPrecision, mDownTime); in dispatchHoverExit()
1991 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
2001 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove()
[all …]
DTouchInputMapper.h444 nsecs_t mDownTime; variable
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java61 private final long[] mDownTime = new long[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener
204 mDownTime[i] = event.getEventTime(); in captureDown()
255 final long elapsed = time - mDownTime[i]; in detectSwipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java64 protected long mDownTime; field in PanelView
318 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent()
499 long timePassed = SystemClock.uptimeMillis() - mDownTime; in endMotionEvent()
573 mDownTime = SystemClock.uptimeMillis(); in onInterceptTouchEvent()
DNotificationPanelView.java1210 long timeSinceDown = SystemClock.uptimeMillis() - mDownTime; in shouldExpandWhenNotFlinging()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java763 long mDownTime; field in MotionEventInjectorTest.MotionEventMatcher
770 mDownTime = downTime; in MotionEventMatcher()
783 mDownTime += timeOffset; in offsetTimesBy()
789 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely()
796 + ", expected " + mDownTime); in matchesSafely()
/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/config/
Dhiddenapi-greylist-max-o.txt32821 Landroid/inputmethodservice/KeyboardView;->mDownTime:J