Lines Matching refs:event
43 * don't see the N+1th event until they have processed the Nth event.
116 * @param event The new key event
117 * @param policyFlags Flags for the event
119 * this event
121 * @return {@code true} if the event was passed to at least one AccessibilityService,
126 KeyEvent event, int policyFlags, List<? extends KeyEventFilter> keyEventFilters) {
128 KeyEvent localClone = KeyEvent.obtain(event);
172 mPowerManager.userActivity(pendingEvent.event.getEventTime(),
220 private PendingKeyEvent obtainPendingEventLocked(KeyEvent event, int policyFlags) {
225 pendingEvent.event = event;
234 /* In normal operation, the event should be first */
237 if (pendingKeyEvent.event.getSequenceNumber() == sequence) {
253 * @param pendingEvent The event whose reference count should be decreased
254 * @return {@code true} if the event was release, {@code false} if not.
262 /* Pass event to input filter */
264 Slog.i(LOG_TAG, "Injecting event: " + pendingEvent.event);
267 mSentEventsVerifier.onKeyEvent(pendingEvent.event, 0);
271 .obtainMessage(mMessageTypeForSendKeyEvent, policyFlags, 0, pendingEvent.event)
274 pendingEvent.event.recycle();
282 KeyEvent event;
290 /* Whether or not at least one service had handled this event */
296 * Filter a key event if possible
298 * @param event The event to filter
299 * @param sequenceNumber The sequence number of the event
302 * {@code false} if the filter is not active and will ignore the event
304 boolean onKeyEvent(KeyEvent event, int sequenceNumber);