Home
last modified time | relevance | path

Searched refs:handleEvent (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.md9 3. The `handleEvent` callback is executed. Events are read from fd.
17 ## 1. Consuming events in `handleEvent` callback ##
19handleEvent`. When the app's input socket becomes readable (e.g., it has unread events), the loope…
23 …vents inside `handleEvent`, the app calls `InputConsumer::consume(.., consumeBatches=false, frameT…
29 In the previous section, we learned that the app can read events inside the `handleEvent` callback.…
41 2. Events are read from the fd outside of the regular `handleEvent` case, during batched consumptio…
43 3. The function `handleEvent` will always execute as long as there are unread events in the fd
Dandroid_os_MessageQueue.cpp52 virtual int handleEvent(int fd, int events, void* data);
63 virtual int handleEvent(int fd, int events, void* data);
157 int NativeMessageQueue::handleEvent(int fd, int looperEvents, void* data) { in handleEvent() function in android::NativeMessageQueue
190 int NativeMessageQueue::WeakLooperCallback::handleEvent(int fd, int events, void* data) { in handleEvent() function in android::NativeMessageQueue::WeakLooperCallback
193 return callback->handleEvent(fd, events, data); in handleEvent()
Dandroid_view_InputEventSender.cpp79 int handleEvent(int receiveFd, int events, void* data) override;
182 int NativeInputEventSender::handleEvent(int receiveFd, int events, void* data) { in handleEvent() function in android::NativeInputEventSender
Dandroid_view_InputEventReceiver.cpp132 int handleEvent(int receiveFd, int events, void* data) override;
279 int NativeInputEventReceiver::handleEvent(int receiveFd, int events, void* data) { in handleEvent() function in android::NativeInputEventReceiver
Dandroid_hardware_SensorManager.cpp391 virtual int handleEvent(int fd, int events, void* data) { in handleEvent() function in __anoncc0ef7140111::Receiver
/frameworks/native/cmds/servicemanager/
Dmain.cpp55 int handleEvent(int /* fd */, int /* events */, void* /* data */) override { in handleEvent() function in BinderCallback
107 int handleEvent(int fd, int /*events*/, void* /*data*/) override { in handleEvent() function in ClientCallbackCallback
/frameworks/native/services/displayservice/include/displayservice/
DDisplayEventReceiver.h54 virtual int handleEvent(int fd, int events, void* /* data */) override;
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp35 int handleEvent(__unused int fd, __unused int events, __unused void* data) { in handleEvent() function in android::frameworks::sensorservice::V1_0::implementation::EventQueueLooperCallback
/frameworks/native/services/sensorservice/aidl/
DEventQueue.cpp37 int handleEvent(int /* fd */, int /* events */, void* /* data */) { in handleEvent() function in android::frameworks::sensorservice::implementation::EventQueueLooperCallback
/frameworks/native/libs/gui/include/gui/
DDisplayEventDispatcher.h37 virtual int handleEvent(int receiveFd, int events, void* data);
/frameworks/av/media/mtp/
DMtpFfsHandle.h53 int handleEvent();
DMtpFfsHandle.cpp175 int MtpFfsHandle::handleEvent() { in handleEvent() function in android::MtpFfsHandle
322 if (handleEvent() == -1) { in waitEvents()
/frameworks/native/include/input/
DInputConsumerNoResampling.h112 int handleEvent(int /*fd*/, int events, void* /*data*/) override { in handleEvent() function
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt436 public suspend fun handleEvent(targetValue: Float) in handleScrollEvent() method
605 override suspend fun handleEvent(targetValue: Float) { in handleEvent() method in AnimationScrollBehavior
917 scrollBehavior.handleEvent(rotaryScrollDistance) in handleScrollEvent()
990 scrollBehavior.handleEvent(rotaryScrollDistance) in handleScrollEvent()
1127 scrollBehaviour.handleEvent(rotaryScrollDistance / resistanceFactor) in handleScrollEvent()
/frameworks/native/services/sensorservice/
DSensorEventConnection.h123 virtual int handleEvent(int fd, int events, void* data);
DSensorEventConnection.cpp823 int SensorService::SensorEventConnection::handleEvent(int fd, int events, void* /*data*/) { in handleEvent() function in android::SensorService::SensorEventConnection
/frameworks/base/libs/input/
DPointerControllerContext.h132 int handleEvent(int fd, int events, void* data) override;
DPointerControllerContext.cpp119 int PointerControllerContext::LooperCallback::handleEvent(int /* fd */, int events, in handleEvent() function in android::PointerControllerContext::LooperCallback
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp314 handleEvent(event); in threadFunc()
319 void handleEvent(const ASensorEvent& event) { in handleEvent() function in android::media::__anonbad7a65c0111::SensorPoseProviderImpl
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp79 int DisplayEventReceiver::AttachedEvent::handleEvent(int fd, int events, void* /* data */) { in handleEvent() function in android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver::AttachedEvent
/frameworks/base/tools/preload/
Dsorttable.js394 element["on" + type] = handleEvent;
411 function handleEvent(event) { function
/frameworks/native/libs/gui/
DDisplayEventDispatcher.cpp113 int DisplayEventDispatcher::handleEvent(int, int events, void*) { in handleEvent() function in android::DisplayEventDispatcher
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp267 impl->handleEvent(-1, Looper::EVENT_INPUT, data); in AChoreographer_handlePendingEvents()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp211 int handleEvent(int /*fd*/, int /*events*/, void* /*data*/) override { in manualPollingService() function in manualPollingService::Handler
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp421 int handleEvent(int /* fd */, int events, void* /* data */) { in handleEvent() function in android::BootAnimation::DisplayEventCallback

12