Home
last modified time | relevance | path

Searched refs:sendEvent (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderStateTrackerTest.kt96 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
114 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
135 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
139 sliderEventProducer.sendEvent( in <lambda>()
160 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
164 sliderEventProducer.sendEvent( in <lambda>()
184 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
188 sliderEventProducer.sendEvent( in <lambda>()
206 sliderEventProducer.sendEvent(SliderEvent(SliderEventType.STARTED_TRACKING_TOUCH, progress)) in <lambda>()
210 sliderEventProducer.sendEvent( in <lambda>()
[all …]
DFakeSliderEventProducer.kt28 fun sendEvent(event: SliderEvent) { in sendEvent() method in com.android.systemui.haptics.slider.FakeSliderEventProducer
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp272 void sendEvent(int32_t type, int32_t code, int32_t value);
353 void NativeConnection::sendEvent(int32_t type, int32_t code, int32_t value) { in sendEvent() function in android::NativeConnection
396 connection->sendEvent(EV_KEY, code, down ? 1 : 0); in nativeSendKey()
416 connection->sendEvent(EV_KEY, linuxKeyCode, down ? 1 : 0); in nativeSendGamepadKey()
446 connection->sendEvent(EV_ABS, axisInfo->linuxUinputAxis, axisRawValue); in nativeSendGamepadAxisValue()
463 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerDown()
464 connection->sendEvent(EV_ABS, ABS_MT_TRACKING_ID, pointerId); in nativeSendPointerDown()
465 connection->sendEvent(EV_ABS, ABS_MT_POSITION_X, x); in nativeSendPointerDown()
466 connection->sendEvent(EV_ABS, ABS_MT_POSITION_Y, y); in nativeSendPointerDown()
481 connection->sendEvent(EV_ABS, ABS_MT_SLOT, slot); in nativeSendPointerUp()
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java130 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
131 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in performAccessibilityActionInternal()
137 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
138 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in performAccessibilityActionInternal()
168 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
191 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
211 sendEvent(KeyEvent.ACTION_UP, mTracking ? KeyEvent.FLAG_TRACKING : 0); in onTouchEvent()
215 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
253 private void sendEvent(int action, int flags) { in sendEvent() method in KeyButtonView
254 sendEvent(action, flags, SystemClock.uptimeMillis()); in sendEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java139 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
252 sendEvent(KeyEvent.ACTION_DOWN, 0, SystemClock.uptimeMillis()); in performAccessibilityActionInternal()
253 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
258 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); in performAccessibilityActionInternal()
259 sendEvent(KeyEvent.ACTION_UP, 0); in performAccessibilityActionInternal()
288 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent()
314 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
335 sendEvent(KeyEvent.ACTION_UP, 0); in onTouchEvent()
338 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); in onTouchEvent()
376 public void sendEvent(int action, int flags) { in sendEvent() method in KeyButtonView
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java352 public void sendEvent(@NonNull ContentCaptureEvent event) { in sendEvent() method in MainContentCaptureSession
353 sendEvent(event, /* forceFlush= */ false); in sendEvent()
356 private void sendEvent(@NonNull ContentCaptureEvent event, boolean forceFlush) { in sendEvent() method in MainContentCaptureSession
745 mHandler.post(() -> sendEvent(event)); in internalNotifyViewAppeared()
752 mHandler.post(() -> sendEvent(event)); in internalNotifyViewDisappeared()
783 mHandler.post(() -> sendEvent(event)); in internalNotifyViewTextChanged()
791 mHandler.post(() -> sendEvent(event)); in internalNotifyViewInsetsChanged()
801 mHandler.post(() -> sendEvent(event, FORCE_FLUSH)); in internalNotifyViewTreeEvent()
807 mHandler.post(() -> sendEvent(event, FORCE_FLUSH)); in internalNotifySessionResumed()
813 mHandler.post(() -> sendEvent(event, FORCE_FLUSH)); in internalNotifySessionPaused()
[all …]
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/
DDisplayOrientationController.kt96 private fun updateRotationAndOrientation(sendEvent: Boolean = true) { in update()
108 if (sendEvent) listener?.onDisplayOrientationChanged(orientation, rotation) in update()
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h414 void sendEvent(EventType eventType, int extra,
435 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
447 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent() function
455 listener->sendEvent(eventType, extra, sessionId, data); in sendEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java213 final MotionEvent sendEvent = in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect() local
215 mTouchExplorer.onDoubleTapAndHold(sendEvent, sendEvent, 0); in testClick_afterCanceledDoubleTapAndHold_eventLocationIsCorrect()
561 final MotionEvent sendEvent = fromTouchscreen(event); in send() local
562 mLastEvent = sendEvent; in send()
564 mTouchExplorer.onMotionEvent(sendEvent, sendEvent, /* policyFlags */ 0); in send()
566 throw new RuntimeException("Exception while handling " + sendEvent, t); in send()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DMainContentCaptureSessionTest.java191 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
206 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
221 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionDisabled()
234 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionEnabled()
249 session.sendEvent(EVENT); in sendEvent_contentProtectionEnabled_processorNotCreated()
DMainContentCaptureSessionV2Test.java191 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
206 session.sendEvent(EVENT); in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
221 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionDisabled()
234 session.sendEvent(EVENT); in sendEvent_contentCaptureEnabled_contentProtectionEnabled()
249 session.sendEvent(EVENT); in sendEvent_contentProtectionEnabled_processorNotCreated()
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroupCallback.h38 void sendEvent(int event);
Dandroid_media_DeviceCallback.h38 void sendEvent(int event);
/frameworks/av/media/mtp/
DMtpDevHandle.h37 int sendEvent(mtp_event me);
DIMtpHandle.h32 virtual int sendEvent(mtp_event me) = 0;
DMtpEventPacket.cpp47 int ret = h->sendEvent(event); in write()
DMtpDevHandle.cpp59 int MtpDevHandle::sendEvent(mtp_event me) { in sendEvent() function in android::MtpDevHandle
DMtpFfsHandle.h98 int sendEvent(mtp_event me) override;
/frameworks/base/core/java/android/os/
DUEventObserver.java194 sendEvent(message); in run()
199 private void sendEvent(String message) { in sendEvent() method in UEventObserver.UEventThread
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderControllerCallbackImpl.java37 void sendEvent(@NonNull LocationAlgorithmEvent event) { in sendEvent() method in LocationTimeZoneProviderControllerCallbackImpl
/frameworks/av/drm/libmediadrm/include/mediadrm/
DIDrmClient.h39 virtual void sendEvent(
/frameworks/base/telecomm/java/com/android/internal/telecom/
DICallControl.aidl36 void sendEvent(String callId, String event, in Bundle extras); in sendEvent() method
/frameworks/base/media/java/android/media/session/
DISession.aidl34 void sendEvent(String event, in Bundle data); in sendEvent() method
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockHandle.h80 int sendEvent(mtp_event me) { in sendEvent() function
/frameworks/base/telecomm/java/android/telecom/
DCallControl.java359 public void sendEvent(@NonNull String event, @NonNull Bundle extras) { in sendEvent() method in CallControl
363 mServerInterface.sendEvent(mCallId, event, extras); in sendEvent()

123