Home
last modified time | relevance | path

Searched refs:isDown (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputEventTimeline.cpp69 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 ==()
DInputEventTimeline.h78 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
DLatencyTracker.cpp70 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener() argument
105 InputEventTimeline(isDown, eventTime, readTime, identifier->vendor, in trackListener()
DLatencyTracker.h55 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime,
DTouchState.h73 bool isDown(DeviceId deviceId) const;
DLatencyAggregator.cpp137 timeline.isDown ? mDownSketches : mMoveSketches; in processStatistics()
245 android::util::stats_write(android::util::SLOW_INPUT_EVENT_REPORTED, timeline.isDown, in processSlowEvent()
DTouchState.cpp234 bool TouchState::isDown(DeviceId deviceId) const { in isDown() function in android::inputdispatcher::TouchState
DInputDispatcher.cpp2413 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/
DLatencyTracker_test.cpp206 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/
DWindowWakeUpPolicyInternal.java48 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown); in wakeUpFromKey() argument
58 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown); in wakeUpFromMotion() argument
DWindowWakeUpPolicy.java116 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()
DPhoneWindowManager.java3839 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/
DFakeKeyEventRepository.kt30 fun setPowerButtonDown(isDown: Boolean) { in setPowerButtonDown()
31 _isPowerButtonDown.value = isDown in setPowerButtonDown()
/frameworks/native/services/inputflinger/tests/fuzzers/
DLatencyTrackerFuzzer.cpp68 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/
DNotificationShadeWindowViewController.java318 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()
DGlanceableHubContainerController.kt385 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/
DKeyEventRepository.kt45 trySendWithFailureLogging(event.isDown, TAG, "updated isPowerButtonDown") in <lambda>()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp622 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/
DDesktopModeWindowDecorViewModel.java511 final boolean isDown = actionMasked == MotionEvent.ACTION_DOWN; in onTouch()
514 if (isDown) { in onTouch()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java337 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/
DKeyEvent.java2002 @Deprecated public final boolean isDown() { in isDown() method in KeyEvent
DViewRootImpl.java10260 if (event.isDown() && event.getRepeatCount() == 0 && handled) { in logHandledSystemKey()