Searched refs:queue (Results 1 - 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DPointerTrackerQueue.java34 final LinkedList<PointerTracker> queue = mQueue;
36 for (PointerTracker t = queue.get(oldestPos); t != tracker; t = queue.get(oldestPos)) {
41 queue.remove(oldestPos);
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
H A DPhotoView.java57 public void queue(Runnable r) { method in class:PhotoView
58 renderer.queue.add(r);
66 renderer.queue.remove(runnable);
73 renderer.queue.clear();
102 final Vector<Runnable> queue = new Vector<Runnable>(); field in class:PhotoView.PhotoRenderer
168 synchronized (queue) {
169 if (!queue.isEmpty()) {
170 r = queue.remove(0);
176 if (!queue.isEmpty()) {
H A DFilterStack.java159 photoView.queue(new Runnable() {
178 photoView.queue(new Runnable() {
196 photoView.queue(new Runnable() {
209 photoView.queue(new Runnable() {
224 photoView.queue(new Runnable() {
250 photoView.queue(queuedTopFilterChange);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DPointerTracker.java448 final PointerTrackerQueue queue = sPointerTrackerQueue;
449 if (queue != null) {
453 queue.releaseAllPointers(eventTime);
455 queue.add(this);
571 final PointerTrackerQueue queue = sPointerTrackerQueue;
572 if (queue != null) {
576 queue.releaseAllPointersExcept(this, eventTime);
578 queue.releaseAllPointersOlderThan(this, eventTime);
580 queue.remove(this);
630 final PointerTrackerQueue queue
[all...]
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java45 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
46 super(value, queue);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java37 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
38 super(value, queue);
/packages/apps/Email/emailcommon/src/org/apache/commons/io/
H A DFileCleaningTracker.java240 * @param queue the queue on to which the tracker will be pushed, not null
242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) { argument
243 super(marker, queue);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLruCache.java49 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
50 super(value, queue);
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DFlipAction.java92 photoView.queue(queuedFlipChange);
H A DRotateAction.java88 photoView.queue(queuedRotationChange);
/packages/apps/Calendar/src/com/android/calendar/
H A DEventLoader.java164 public LoaderThread(LinkedBlockingQueue<LoadRequest> queue, EventLoader eventLoader) { argument
165 mQueue = queue;
174 // queue is full. This should never happen because the queue
255 // queue is full. This should never happen because the queue
281 // queue is full. This should never happen because the queue
/packages/apps/Nfc/jni/
H A Dcom_android_nfc.h26 #include <sys/queue.h>
H A Dcom_android_nfc_NativeNfcManager.cpp23 #include <sys/queue.h>
795 /* Fetch next message from the NFC stack message queue */
/packages/apps/Camera/src/com/android/camera/
H A DCamera.java407 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
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java427 sub.add(1, Defs.QUEUE, 0, R.string.queue);

Completed in 379 milliseconds