/frameworks/native/libs/input/ |
D | InputTransport.cpp | 124 body.motion.pointerCount > 0 && body.motion.pointerCount <= MAX_POINTERS; in isValid() 126 ALOGE("Received invalid MOTION: pointerCount = %" PRIu32, body.motion.pointerCount); in isValid() 159 return sizeof(Header) + body.motion.size(); in size() 220 msg->body.motion.eventId = body.motion.eventId; in getSanitizedCopy() 222 msg->body.motion.pointerCount = body.motion.pointerCount; in getSanitizedCopy() 224 msg->body.motion.eventTime = body.motion.eventTime; in getSanitizedCopy() 226 msg->body.motion.deviceId = body.motion.deviceId; in getSanitizedCopy() 228 msg->body.motion.source = body.motion.source; in getSanitizedCopy() 230 msg->body.motion.displayId = body.motion.displayId; in getSanitizedCopy() 232 msg->body.motion.hmac = body.motion.hmac; in getSanitizedCopy() [all …]
|
D | InputConsumerNoResampling.cpp | 78 const uint32_t pointerCount = msg.body.motion.pointerCount; in createMotionEvent() 84 pointerProperties.push_back(msg.body.motion.pointers[i].properties); in createMotionEvent() 85 pointerCoords.push_back(msg.body.motion.pointers[i].coords); in createMotionEvent() 89 transform.set({msg.body.motion.dsdx, msg.body.motion.dtdx, msg.body.motion.tx, in createMotionEvent() 90 msg.body.motion.dtdy, msg.body.motion.dsdy, msg.body.motion.ty, 0, 0, 1}); in createMotionEvent() 92 displayTransform.set({msg.body.motion.dsdxRaw, msg.body.motion.dtdxRaw, msg.body.motion.txRaw, in createMotionEvent() 93 msg.body.motion.dtdyRaw, msg.body.motion.dsdyRaw, msg.body.motion.tyRaw, in createMotionEvent() 95 event->initialize(msg.body.motion.eventId, msg.body.motion.deviceId, msg.body.motion.source, in createMotionEvent() 96 ui::LogicalDisplayId{msg.body.motion.displayId}, msg.body.motion.hmac, in createMotionEvent() 97 msg.body.motion.action, msg.body.motion.actionButton, msg.body.motion.flags, in createMotionEvent() [all …]
|
D | InputConsumer.cpp | 104 uint32_t pointerCount = msg.body.motion.pointerCount; in initializeMotionEvent() 108 pointerProperties[i] = msg.body.motion.pointers[i].properties; in initializeMotionEvent() 109 pointerCoords[i] = msg.body.motion.pointers[i].coords; in initializeMotionEvent() 113 transform.set({msg.body.motion.dsdx, msg.body.motion.dtdx, msg.body.motion.tx, in initializeMotionEvent() 114 msg.body.motion.dtdy, msg.body.motion.dsdy, msg.body.motion.ty, 0, 0, 1}); in initializeMotionEvent() 116 displayTransform.set({msg.body.motion.dsdxRaw, msg.body.motion.dtdxRaw, msg.body.motion.txRaw, in initializeMotionEvent() 117 msg.body.motion.dtdyRaw, msg.body.motion.dsdyRaw, msg.body.motion.tyRaw, in initializeMotionEvent() 119 event.initialize(msg.body.motion.eventId, msg.body.motion.deviceId, msg.body.motion.source, in initializeMotionEvent() 120 ui::LogicalDisplayId{msg.body.motion.displayId}, msg.body.motion.hmac, in initializeMotionEvent() 121 msg.body.motion.action, msg.body.motion.actionButton, msg.body.motion.flags, in initializeMotionEvent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/composable/ |
D | PatternBouncerTest.kt | 30 import com.android.systemui.motion.createSysUiComposeMotionTestRule in <lambda>() 38 import platform.test.motion.compose.ComposeRecordingSpec in <lambda>() 39 import platform.test.motion.compose.MotionControl in <lambda>() 40 import platform.test.motion.compose.feature in <lambda>() 41 import platform.test.motion.compose.motionTestValueOfNode in <lambda>() 42 import platform.test.motion.compose.recordMotion in <lambda>() 43 import platform.test.motion.compose.runTest in <lambda>() 44 import platform.test.motion.golden.DataPointTypes in <lambda>() 73 val motion = in <lambda>() constant 85 assertThat(motion).timeSeriesMatchesGolden() in <lambda>() [all …]
|
D | BouncerContentTest.kt | 39 import com.android.systemui.motion.createSysUiComposeMotionTestRule 46 import platform.test.motion.compose.ComposeFeatureCaptures.alpha 47 import platform.test.motion.compose.ComposeFeatureCaptures.positionInRoot 48 import platform.test.motion.compose.ComposeRecordingSpec 49 import platform.test.motion.compose.MotionControl 50 import platform.test.motion.compose.feature 51 import platform.test.motion.compose.motionTestValueOfNode 52 import platform.test.motion.compose.recordMotion 53 import platform.test.motion.compose.runTest 95 val motion = in doubleClick_swapSide() constant [all …]
|
/frameworks/base/core/java/android/view/ |
D | InputEventCompatProcessor.java | 56 MotionEvent motion = (MotionEvent) e; in processInputEventForCompatibility() local 59 final int buttonState = motion.getButtonState(); in processInputEventForCompatibility() 62 motion.setButtonState(buttonState | compatButtonState); in processInputEventForCompatibility() 64 mProcessedEvents.add(motion); in processInputEventForCompatibility()
|
D | InputEventReceiver.java | 275 if (event instanceof MotionEvent motion) { in getShortDescription() 276 return "MotionEvent " + MotionEvent.actionToString(motion.getAction()) + " deviceId=" in getShortDescription() 277 + motion.getDeviceId() + " source=0x" in getShortDescription() 278 + Integer.toHexString(motion.getSource()) + " historySize=" in getShortDescription() 279 + motion.getHistorySize(); in getShortDescription()
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | AndroidInputEventProtoConverter.cpp | 114 if (auto* motion = std::get_if<TracedMotionEvent>(&args.eventEntry); motion != nullptr) { in toProtoWindowDispatchEvent() local 115 for (size_t i = 0; i < motion->pointerProperties.size(); i++) { in toProtoWindowDispatchEvent() 117 pointerProto->set_pointer_id(motion->pointerProperties[i].id); in toProtoWindowDispatchEvent() 119 MotionEvent::calculateTransformedXY(motion->source, args.rawTransform, in toProtoWindowDispatchEvent() 120 motion->pointerCoords[i].getXYValue()); in toProtoWindowDispatchEvent() 124 const auto& coords = motion->pointerCoords[i]; in toProtoWindowDispatchEvent() 126 MotionEvent::calculateTransformedCoords(motion->source, motion->flags, in toProtoWindowDispatchEvent()
|
D | InputTracer.cpp | 107 const auto& motion = static_cast<const MotionEntry&>(entry); in traceInboundEvent() local 108 eventState->events.emplace_back(createTracedEvent(motion, EventType::INBOUND)); in traceInboundEvent() 168 const auto& motion = static_cast<const MotionEntry&>(entry); in traceDerivedEvent() local 169 eventState->events.emplace_back(createTracedEvent(motion, EventType::SYNTHESIZED)); in traceDerivedEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/motion/ |
D | ComposeMotionTestRuleHelper.kt | 17 package com.android.systemui.motion 22 import platform.test.motion.MotionTestRule 23 import platform.test.motion.compose.ComposeToolkit 24 import platform.test.motion.testing.createGoldenPathManager
|
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/ |
D | TestTransition.kt | 29 import platform.test.motion.MotionTestRule in <lambda>() 30 import platform.test.motion.RecordedMotion in <lambda>() 31 import platform.test.motion.compose.ComposeRecordingSpec in <lambda>() 32 import platform.test.motion.compose.ComposeToolkit in <lambda>() 33 import platform.test.motion.compose.MotionControl in <lambda>() 34 import platform.test.motion.compose.feature in <lambda>() 35 import platform.test.motion.compose.recordMotion in <lambda>() 36 import platform.test.motion.golden.FeatureCapture in <lambda>() 37 import platform.test.motion.golden.TimeSeriesCaptureScope in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | TransitionAnimatorTest.kt | 34 import platform.test.motion.MotionTestRule in <lambda>() 35 import platform.test.motion.RecordedMotion in <lambda>() 36 import platform.test.motion.view.AnimationSampling.Companion.evenlySampled in <lambda>() 37 import platform.test.motion.view.DrawableFeatureCaptures in <lambda>() 38 import platform.test.motion.view.ViewRecordingSpec.Companion.captureWithoutScreenshot in <lambda>() 39 import platform.test.motion.view.ViewToolkit in <lambda>() 40 import platform.test.motion.view.record in <lambda>()
|
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/proto/ |
D | motion_tool.proto | 62 // Identifies the window, in which context the motion tools are executed 71 // Verifies the motion tools are available for the specified window. 86 // Enables motion tracing for the specified window 95 // Disabled motion tracing for the specified window 104 // Polls collected motion trace data collected since the last PollTraceRequest (or the
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/transformation/ |
D | AnchoredSizeTest.kt | 37 import platform.test.motion.compose.ComposeFeatureCaptures 38 import platform.test.motion.compose.createComposeMotionTestRule 39 import platform.test.motion.testing.createGoldenPathManager 120 val motion = in assertBarSizeMatchesGolden() constant 123 motionRule.assertThat(motion).timeSeriesMatchesGolden() in assertBarSizeMatchesGolden()
|
/frameworks/proto_logging/stats/atoms/location/ |
D | location_extension_atoms.proto | 50 * Logs when the significant motion state changed. Motion is detected in the 51 * CHRE nanoapp. Significant motion has a specific definition "a motion that
|
/frameworks/native/include/input/ |
D | InputConsumer.h | 140 eventTime = msg.body.motion.eventTime; in initializeFrom() 142 for (uint32_t i = 0; i < msg.body.motion.pointerCount; i++) { in initializeFrom() 143 uint32_t id = msg.body.motion.pointers[i].properties.id; in initializeFrom() 146 pointers[i].copyFrom(msg.body.motion.pointers[i].coords); in initializeFrom()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputDispatcherFuzzer.cpp | 158 std::optional<NotifyMotionArgs> motion = streamProvider.nextMotion(); in LLVMFuzzerTestOneInput() local 159 if (motion) { in LLVMFuzzerTestOneInput() 160 dispatcher->notifyMotion(*motion); in LLVMFuzzerTestOneInput()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 213 serverMsg.body.motion.pointerCount = 1; in TEST_F() 217 serverMsg.body.motion.classification = classification; in TEST_F() 224 EXPECT_EQ(classification, clientMsg.body.motion.classification) << in TEST_F()
|
/frameworks/base/core/java/android/widget/flags/ |
D | differential_motion_fling_flags.aconfig | 7 description: "Enables differential motion fling in platform widgets"
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 434 if (event instanceof MotionEvent motion) { in shouldProcessMultiDeviceEvent() 435 if (!motion.isFromSource(SOURCE_CLASS_POINTER) || motion.getAction() == ACTION_SCROLL) { in shouldProcessMultiDeviceEvent() 446 && mLastActiveDeviceMotionEvent.getDeviceId() == motion.getDeviceId(); in shouldProcessMultiDeviceEvent() 447 final int actionMasked = motion.getActionMasked(); in shouldProcessMultiDeviceEvent() 453 && mLastActiveDeviceMotionEvent.getDeviceId() != motion.getDeviceId()) { in shouldProcessMultiDeviceEvent() 459 mLastActiveDeviceMotionEvent = MotionEvent.obtain(motion); in shouldProcessMultiDeviceEvent() 466 mLastActiveDeviceMotionEvent = MotionEvent.obtain(motion); in shouldProcessMultiDeviceEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NoRemeasureMotionLayout.kt | 22 import androidx.constraintlayout.motion.widget.MotionLayout
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 74 bool isNewGestureStart(const NotifyMotionArgs& motion) { in isNewGestureStart() argument 75 return motion.action == AMOTION_EVENT_ACTION_DOWN || in isNewGestureStart() 76 motion.action == AMOTION_EVENT_ACTION_HOVER_ENTER; in isNewGestureStart() 85 if (const auto* motion = std::get_if<NotifyMotionArgs>(&args); motion != nullptr) { in getDeviceIdOfNewGesture() local 86 return isNewGestureStart(*motion) ? std::make_optional(motion->deviceId) : std::nullopt; in getDeviceIdOfNewGesture()
|
/frameworks/proto_logging/stats/atoms/sysui/ |
D | sysui_extension_atoms.proto | 216 …// This is the delay between consecutive motion events. Delay will be 0 for the first motion event. 218 …the motion action event associated with (x,y) touch. See https://developer.android.com/reference/a…
|
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/ |
D | simplex2d.agsl | 65 // creates a swirling motion that is more suitable for flow-y effects. 67 // The difference in motion is not noticeable unless the following conditions are met:
|
/frameworks/base/native/android/ |
D | input.cpp | 152 const MotionEvent& motion = static_cast<const MotionEvent&>(*motion_event); in AMotionEvent_getToolType() local 153 return static_cast<int32_t>(motion.getToolType(pointer_index)); in AMotionEvent_getToolType()
|