Searched refs:MyEvent (Results 1 – 2 of 2) sorted by relevance
45 private TreeSet<MyEvent> mEventQueue =46 new TreeSet<MyEvent>(new MyEventComparator());92 MyEvent firstEvent = mEventQueue.first(); in recalculatePeriods()95 for (MyEvent e : mEventQueue) { in recalculatePeriods()102 TreeSet<MyEvent> newQueue = new TreeSet<MyEvent>( in recalculatePeriods()115 private void insertEvent(MyEvent event) { in insertEvent()122 MyEvent firstEvent = mEventQueue.first(); in insertEvent()155 MyEvent event = new MyEvent(period, callback, now); in set()181 MyEvent firstEvent = mEventQueue.first(); in cancel()182 for (Iterator<MyEvent> iter = mEventQueue.iterator(); in cancel()[all …]
47 private final BlockingQueue<MyEvent> mEvents = new LinkedBlockingQueue<>(2);54 offered = mEvents.offer(new MyEvent(view, event), TIMEOUT_MS, TimeUnit.MILLISECONDS); in onAutofillEvent()69 MyEvent myEvent; in expectEvent()113 private static final class MyEvent { class in MyAutofillCallback117 MyEvent(View view, int event) { in MyEvent() method in MyAutofillCallback.MyEvent