/frameworks/native/services/inputflinger/dispatcher/ |
D | InputEventTimeline.cpp | 69 InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime, in InputEventTimeline() argument 72 : isDown(isDown), in InputEventTimeline() 92 return isDown == rhs.isDown && eventTime == rhs.eventTime && readTime == rhs.readTime && in operator ==()
|
D | InputEventTimeline.h | 78 InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime, uint16_t vendorId, 80 const bool isDown; // True if this is an ACTION_DOWN event member
|
D | LatencyTracker.cpp | 70 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener() argument 105 InputEventTimeline(isDown, eventTime, readTime, identifier->vendor, in trackListener()
|
D | LatencyTracker.h | 55 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime,
|
D | TouchState.h | 73 bool isDown(DeviceId deviceId) const;
|
D | LatencyAggregator.cpp | 137 timeline.isDown ? mDownSketches : mMoveSketches; in processStatistics() 245 android::util::stats_write(android::util::SLOW_INPUT_EVENT_REPORTED, timeline.isDown, in processSlowEvent()
|
D | TouchState.cpp | 234 bool TouchState::isDown(DeviceId deviceId) const { in isDown() function in android::inputdispatcher::TouchState
|
D | InputDispatcher.cpp | 2413 const bool wasDown = oldState != nullptr && oldState->isDown(entry.deviceId); in findTouchedWindowTargetsLocked() 2414 const bool isDown = (maskedAction == AMOTION_EVENT_ACTION_DOWN) || in findTouchedWindowTargetsLocked() local 2416 const bool newGesture = isDown || maskedAction == AMOTION_EVENT_ACTION_SCROLL || in findTouchedWindowTargetsLocked() 2425 if (isDown && tempTouchState.hasHoveringPointers(entry.deviceId)) { in findTouchedWindowTargetsLocked() 2454 if (isDown) { in findTouchedWindowTargetsLocked() 2597 if (!tempTouchState.isDown(entry.deviceId) && in findTouchedWindowTargetsLocked() 4667 const bool isDown = args.action == AMOTION_EVENT_ACTION_DOWN; in notifyMotion() local 4669 mLatencyTracker.trackListener(args.id, isDown, args.eventTime, args.readTime, in notifyMotion()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 206 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime, in TEST_F() 223 constexpr bool isDown = true; // does not matter for this test in TEST_F() local 227 mTracker->trackListener(inputEventId, isDown, /*eventTime=*/1, readTime, DEVICE_ID, in TEST_F() 229 mTracker->trackListener(inputEventId, isDown, /*eventTime=*/2, readTime, DEVICE_ID, in TEST_F() 275 mTracker->trackListener(inputEventId1, timeline1.isDown, timeline1.eventTime, in TEST_F() 278 mTracker->trackListener(inputEventId2, timeline2.isDown, timeline2.eventTime, in TEST_F() 304 mTracker->trackListener(/*inputEventId=*/i, timeline.isDown, timeline.eventTime, in TEST_F() 307 expectedTimelines.push_back(InputEventTimeline{timeline.isDown, timeline.eventTime, in TEST_F() 335 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime, in TEST_F() 338 assertReceivedTimeline(InputEventTimeline{expected.isDown, expected.eventTime, in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowWakeUpPolicyInternal.java | 48 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown); in wakeUpFromKey() argument 58 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown); in wakeUpFromMotion() argument
|
D | WindowWakeUpPolicy.java | 116 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown) { in wakeUpFromKey() argument 126 && mInputWakeUpDelegate.wakeUpFromKey(eventTime, keyCode, isDown)) { in wakeUpFromKey() 144 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown) { in wakeUpFromMotion() argument 150 && mInputWakeUpDelegate.wakeUpFromMotion(eventTime, source, isDown)) { in wakeUpFromMotion()
|
D | PhoneWindowManager.java | 3839 final boolean isDown = event.getAction() == KeyEvent.ACTION_DOWN; 3840 if (isDown && event.getRepeatCount() == 0) { 5614 private void wakeUpFromWakeKey(long eventTime, int keyCode, boolean isDown) { 5615 if (mWindowWakeUpPolicy.wakeUpFromKey(eventTime, keyCode, isDown)) {
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyevent/data/repository/ |
D | FakeKeyEventRepository.kt | 30 fun setPowerButtonDown(isDown: Boolean) { in setPowerButtonDown() 31 _isPowerButtonDown.value = isDown in setPowerButtonDown()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 68 int32_t isDown = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput() local 74 tracker.trackListener(inputEventId, isDown, eventTime, readTime, deviceId, in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewController.java | 318 boolean isDown = ev.getActionMasked() == MotionEvent.ACTION_DOWN; in setupExpandedStatusBar() 333 if (isDown) { in setupExpandedStatusBar() 349 if (isDown && mClock.uptimeMillis() > mLaunchAnimationTimeout) { in setupExpandedStatusBar() 395 if (isDown) { in setupExpandedStatusBar() 406 if (isDown && ev.getY() >= mView.getBottom()) { in setupExpandedStatusBar() 416 if (!mIsTrackingBarGesture && isDown in setupExpandedStatusBar()
|
D | GlanceableHubContainerController.kt | 385 val isDown = ev.actionMasked == MotionEvent.ACTION_DOWN in handleTouchEventOnCommunalView() constant 391 if (isDown && !hubOccluded) { in handleTouchEventOnCommunalView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/data/repository/ |
D | KeyEventRepository.kt | 45 trySendWithFailureLogging(event.isDown, TAG, "updated isPowerButtonDown") in <lambda>()
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.cpp | 622 const bool isDown = resolvedAction == AMOTION_EVENT_ACTION_POINTER_DOWN || in getTouches() local 624 touches.back().was_touching = !isDown; in getTouches()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModel.java | 511 final boolean isDown = actionMasked == MotionEvent.ACTION_DOWN; in onTouch() 514 if (isDown) { in onTouch()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 337 final boolean isDown = action == KeyEvent.ACTION_DOWN; in dispatchKeyEvent() 339 if (isDown && (event.getRepeatCount() == 0)) { in dispatchKeyEvent() 367 return isDown ? mWindow.onKeyDown(mFeatureId, event.getKeyCode(), event) in dispatchKeyEvent()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 2002 @Deprecated public final boolean isDown() { in isDown() method in KeyEvent
|
D | ViewRootImpl.java | 10260 if (event.isDown() && event.getRepeatCount() == 0 && handled) { in logHandledSystemKey()
|