Home
last modified time | relevance | path

Searched refs:mPendingEvents (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp215 mPendingEvents.emplace_back(event); in postEvent()
220 auto size = DisplayEventReceiver::sendEvents(&mChannel, mPendingEvents.data(), in postEvent()
221 mPendingEvents.size()); in postEvent()
222 mPendingEvents.clear(); in postEvent()
397 mPendingEvents.push_back(makeVSync(mVSyncState->displayId, timestamp, ++mVSyncState->count, in onVSyncEvent()
406 mPendingEvents.push_back(makeHotplug(displayId, systemTime(), connected)); in onHotplugReceived()
413 mPendingEvents.push_back(makeModeChanged(mode)); in onModeChanged()
422 mPendingEvents.push_back(makeFrameRateOverrideEvent(displayId, frameRateOverride)); in onFrameRateOverridesChanged()
424 mPendingEvents.push_back(makeFrameRateOverrideFlushEvent(displayId)); in onFrameRateOverridesChanged()
441 if (!mPendingEvents.empty()) { in threadMain()
[all …]
DEventThread.h118 std::vector<DisplayEventReceiver::Event> mPendingEvents; variable
240 std::deque<DisplayEventReceiver::Event> mPendingEvents GUARDED_BY(mMutex);
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp91 return mPendingEvents.size() > 0; in hasEvents()
97 if (!mPendingEvents.isEmpty()) { in getEvent()
98 *outEvent = mPendingEvents[0]; in getEvent()
99 mPendingEvents.removeAt(0); in getEvent()
102 if (mPendingEvents.isEmpty()) { in getEvent()
178 mPendingEvents.push(event); in enqueueEvent()
179 if (mPendingEvents.size() == 1) { in enqueueEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java235 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>(); field in IInputMethodSessionWrapper.ImeInputEventReceiver
250 mPendingEvents.put(seq, event); in onInputEvent()
266 int index = mPendingEvents.indexOfKey(seq); in finishedEvent()
268 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
269 mPendingEvents.removeAt(index); in finishedEvent()
DInputMethodService.java352 private RingBuffer<MotionEvent> mPendingEvents; field in InputMethodService
2415 if (mPendingEvents == null) { in onStylusHandwritingMotionEvent()
2416 mPendingEvents = new RingBuffer(MotionEvent.class, MAX_EVENTS_BUFFER); in onStylusHandwritingMotionEvent()
2418 mPendingEvents.append(motionEvent); in onStylusHandwritingMotionEvent()
2420 if (mPendingEvents != null && !mPendingEvents.isEmpty()) { in onStylusHandwritingMotionEvent()
2421 for (MotionEvent event : mPendingEvents.toArray()) { in onStylusHandwritingMotionEvent()
2424 mPendingEvents.clear(); in onStylusHandwritingMotionEvent()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h79 Vector<InputEvent*> mPendingEvents; variable
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppManager.java882 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20); field in TvInteractiveAppManager.Session
1372 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
1374 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
1450 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
1467 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
1472 p = mPendingEvents.valueAt(index); in finishedInputEvent()
1473 mPendingEvents.removeAt(index); in finishedInputEvent()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java554 final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20); field in InputMethodManager
3125 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
3127 mPendingEvents.size()); in sendInputEventOnMainLooperLocked()
3143 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
3148 p = mPendingEvents.valueAt(index); in finishedInputEvent()
3149 mPendingEvents.removeAt(index); in finishedInputEvent()
3150 Trace.traceCounter(Trace.TRACE_TAG_INPUT, PENDING_EVENT_COUNTER, mPendingEvents.size()); in finishedInputEvent()
3182 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
3184 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java2318 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20);
3064 mPendingEvents.put(seq, p);
3080 int index = mPendingEvents.indexOfKey(seq);
3085 p = mPendingEvents.valueAt(index);
3086 mPendingEvents.removeAt(index);
3118 final int count = mPendingEvents.size();
3120 int seq = mPendingEvents.keyAt(i);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java200 final SparseArray<AccessibilityEvent> mPendingEvents = new SparseArray<>(); field in AbstractAccessibilityServiceConnection
1494 final AccessibilityEvent oldEvent = mPendingEvents.get(eventType); in notifyAccessibilityEvent()
1495 mPendingEvents.put(eventType, newEvent); in notifyAccessibilityEvent()
1583 event = mPendingEvents.get(eventType); in notifyAccessibilityEventInternal()
1587 mPendingEvents.remove(eventType); in notifyAccessibilityEventInternal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31462 Landroid/media/tv/TvInputManager$Session;->mPendingEvents:Landroid/util/SparseArray;
60528 Landroid/view/inputmethod/InputMethodManager;->mPendingEvents:Landroid/util/SparseArray;