Lines Matching defs:events

17 package com.android.systemui.recents.events;
119 * on the main application thread. Publishers can send() events to synchronously call subscribers
120 * of that event, or post() events to be processed in the next run of the {@link Looper}. In
123 * Interprocess events must be posted using postInterprocess() to ensure that it is dispatched
127 * Subscribers must be registered with a particular EventBus before they will receive events, and
148 * Each subscriber can be registered with a given priority (default 1), and events will be dispatch
149 * in decreasing order of priority. For subscribers with the same priority, events will be
153 * Interprocess events must extend {@link EventBus.InterprocessEvent}, have a constructor which
154 * takes a {@link Bundle} and implement toBundle(). This allows us to serialize events to be sent
161 * continue receiving events.
163 * for use in tight, performance criticial loops. For most user input/system callback events, this
185 * never alter events as they are processed, and this enforces that pattern.
223 // Only accessible from derived events
260 // Only accessible from derived events
296 * allocations when events are sent frequently (ie. on scroll).
326 // Only accessible from derived events
356 // Ensures that interprocess events can only be sent from a process holding this permission. */
383 // The handler to post all events
443 * Registers a subscriber to receive events with the default priority.
445 * @param subscriber the subscriber to handle events. If this is the first instance of the
454 * Registers a subscriber to receive events with the given priority.
456 * @param subscriber the subscriber to handle events. If this is the first instance of the
459 * @param priority the priority that this subscriber will receive events relative to other
467 * Explicitly registers a subscriber to receive interprocess events with the default priority.
469 * @param subscriber the subscriber to handle events. If this is the first instance of the
478 * Registers a subscriber to receive interprocess events with the given priority.
480 * @param subscriber the subscriber to handle events. If this is the first instance of the
483 * @param priority the priority that this subscriber will receive events relative to other
492 // a new subscriber type with interprocess events
632 * Receiver for interprocess events.
741 // events
907 // Rebuild the receiver filter with the new interprocess events