Lines Matching refs:queue
407 MessageQueue queue = Looper.myQueue();
408 queue.addIdleHandler(new MessageQueue.IdleHandler() {
854 // We use a queue to store the SaveRequests that have not been completed
855 // yet. The main thread puts the request into the queue. The saver thread
856 // gets it from the queue, does the work, and removes it from the queue.
859 // thread to finish all the work in the queue:
865 // If the queue becomes too long, adding a new request will block the main
866 // thread until the queue length drops below the threshold (QUEUE_LIMIT).
870 // onPause() or showSharePopup()) because the time to finishing a long queue
923 // in the queue.
1000 // If the number of requests in the queue (include the
1003 // with the thumbnail for some image later in the queue.
1558 // message queue.
1616 // Remove the messages in the event queue.