/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 148 // Create the priority queue which is sorted by volume descending. This means we always 149 // split the largest box in the queue 165 * {@link ColorCutQuantizer.Vbox} objects from the queue 167 * queue. 169 * @param queue {@link java.util.PriorityQueue} to poll for boxes 172 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { argument 173 while (queue.size() < maxSize) { 174 final Vbox vbox = queue.poll(); 178 queue.offer(vbox.splitBox()); 184 queue [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 80 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue(); 81 if (queue != null) { 84 mQueueAdapter.addAll(queue); 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 125 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 126 Log.d(TAG, "onQueueChanged " + queue); 127 if (queue != null) { 130 mQueueAdapter.addAll(queue);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | QueueHelper.java | 34 * Utility class to help on queue related tasks. 47 Log.e(TAG, "Could not build a playing queue for this mediaId: " + mediaId); 53 Log.d(TAG, "Creating playing queue for " + categoryType + ", " + categoryValue); 74 Log.d(TAG, "Creating playing queue for musics from search " + query); 80 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, argument 83 for (MediaSessionCompat.QueueItem item : queue) { 92 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, argument 95 for (MediaSessionCompat.QueueItem item : queue) { 106 List<MediaSessionCompat.QueueItem> queue = new ArrayList<>(); 110 // We create a hierarchy-aware mediaID, so we know what the queue i 147 isIndexPlayable(int index, List<MediaSessionCompat.QueueItem> queue) argument [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SessionManager.java | 29 * SessionManager manages a media session as a queue. It supports common 85 // If queue is empty, don't forget to call onPlaylistReady()! 360 List<PlaylistItem> queue = 378 queue.add(item); 382 mPlaylist = queue;
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 83 List<MediaSession.QueueItem> queue = ((MediaController) controllerObj).getQueue(); 84 if (queue == null) { 87 List<Object> queueObjs = new ArrayList<Object>(queue); 267 public void onQueueChanged(List<?> queue); argument 301 public void onQueueChanged(List<MediaSession.QueueItem> queue) { argument 302 mCallback.onQueueChanged(queue);
|
H A D | MediaSessionCompatApi21.java | 126 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>(); 128 queue.add((MediaSession.QueueItem) itemObj); 130 ((MediaSession) sessionObj).setQueue(queue);
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | IMediaControllerCallback.aidl | 36 void onQueueChanged(in List<MediaSessionCompat.QueueItem> queue);
|
H A D | MediaControllerCompat.java | 285 * Get the current play queue for this session if one is set. If you only 288 * @return The current play queue or null. 295 * Add a queue item from the given {@code description} at the end of the play queue 311 * Add a queue item from the given {@code description} at the specified position 312 * in the play queue of this session. Shifts the queue item currently at that position 313 * (if any) and any subsequent queue items to the right (adds one to their indices). 332 * with the given {@link MediaDescriptionCompat description} in the play queue of the 348 * Remove an queue ite 654 onQueueChanged(List<QueueItem> queue) argument 771 onQueueChanged(List<?> queue) argument 819 onQueueChanged(List<QueueItem> queue) argument 2114 onQueueChanged(List<QueueItem> queue) argument [all...] |
H A D | MediaSessionCompat.java | 130 * Set this flag on the session to indicate that it handles queue 637 * Update the list of items in the play queue. It is an ordered list and 639 * exist. Specify null if there is no current play queue. 641 * The queue should be of reasonable size. If the play queue is unbounded 645 * @param queue A list of items in the play queue. 647 public void setQueue(List<QueueItem> queue) { argument 648 mImpl.setQueue(queue); 652 * Set the title of the play queue 1784 setQueue(List<QueueItem> queue) argument 2199 setQueue(List<QueueItem> queue) argument 2405 sendQueue(List<QueueItem> queue) argument 3304 setQueue(List<QueueItem> queue) argument [all...] |
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
H A D | MediaSessionCompatTest.java | 337 List<MediaSessionCompat.QueueItem> queue = new ArrayList<>(); 344 queue.add(item); 345 mSession.setQueue(queue); 354 assertEquals(queue.size(), mCallback.mQueue.size()); 359 assertEquals(queue.size(), controller.getQueue().size()); 866 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { argument 869 mQueue = queue;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | QueueFragment.java | 80 List<MediaSessionCompat.QueueItem> queue = mMediaController.getQueue(); 81 if (queue != null) { 84 mQueueAdapter.addAll(queue); 105 // Receive callbacks from the MediaController. Here we update our state such as which queue 125 public void onQueueChanged(List<MediaSessionCompat.QueueItem> queue) { 126 Log.d(TAG, "onQueueChanged " + queue); 127 if (queue != null) { 130 mQueueAdapter.addAll(queue);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | QueueHelper.java | 34 * Utility class to help on queue related tasks. 47 Log.e(TAG, "Could not build a playing queue for this mediaId: " + mediaId); 53 Log.d(TAG, "Creating playing queue for " + categoryType + ", " + categoryValue); 74 Log.d(TAG, "Creating playing queue for musics from search " + query); 80 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, argument 83 for (MediaSessionCompat.QueueItem item : queue) { 92 public static int getMusicIndexOnQueue(Iterable<MediaSessionCompat.QueueItem> queue, argument 95 for (MediaSessionCompat.QueueItem item : queue) { 106 List<MediaSessionCompat.QueueItem> queue = new ArrayList<>(); 110 // We create a hierarchy-aware mediaID, so we know what the queue i 147 isIndexPlayable(int index, List<MediaSessionCompat.QueueItem> queue) argument [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SessionManager.java | 29 * SessionManager manages a media session as a queue. It supports common 85 // If queue is empty, don't forget to call onPlaylistReady()! 360 List<PlaylistItem> queue = 378 queue.add(item); 382 mPlaylist = queue;
|
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | util_android.py | 28 import queue namespace 30 import Queue as queue namespace 711 except queue.Empty:
|
/frameworks/rs/script_api/ |
H A D | rs_io.spec | 30 summary: Receive new content from the queue 32 Receive a new set of contents from the queue. 45 summary: Send new content to the queue 47 Send the contents of the Allocation to the queue. 63 message queue is full. 85 until there is room on the message queue for this message.
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | canny.rs | 295 queue[q_start & 0x3F] = v; \ 300 #define q_peak() (queue[q_peek_pos & 0x3F]) 301 #define q_pop() (q_size--, q_tmp = queue[q_end], q_end++, q_tmp) 304 short3 queue[64]; 332 while (queue[q_end & 0x3F].z < p_dist - 1) { 340 short3 tq = queue[k & 0x3F];
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 484 // read merges requests number of read I/Os merged with in-queue I/O 492 // write merges requests number of write I/Os merged with in-queue I/O 540 // requests that are in the queue but not yet issued to the device driver. 625 unsigned queue = (fields[__STAT_IN_QUEUE] local 630 printf("%s: perf(ios) rd: %luKB/s(%lu/s) q: %u\n", path, read_perf, read_ios, queue); 633 read_ios, write_perf, write_ios, queue);
|
/frameworks/native/cmds/installd/ |
H A D | CacheTracker.h | 22 #include <queue>
|
H A D | InstalldNativeService.cpp | 994 // 2. Populate tracker stats and insert into priority queue 1001 std::vector<std::shared_ptr<CacheTracker>>, decltype(cmp)> queue(cmp); 1004 queue.push(it.second); 1009 // 3. Bounce across the queue, freeing items from whichever tracker is 1013 while (active || !queue.empty()) { 1030 bool nextBetter = active && !queue.empty() 1031 && active->getCacheRatio() < queue.top()->getCacheRatio(); 1036 queue.push(active); 1038 active = queue.top(); queue [all...] |
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | BufferQueueScheduler.h | 30 #include <queue> 76 std::queue<BufferEvent> mBufferEvents;
|
H A D | Replayer.h | 36 #include <queue> 141 std::queue<std::shared_ptr<Event>> mPendingIncrements;
|
/frameworks/native/include/android/ |
H A D | input.h | 1297 * Input queue 1299 * An input queue is the facility through which you retrieve input 1305 * Add this input queue to a looper for processing. See 1308 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper, 1312 * Remove the input queue from the looper it is currently attached to. 1314 void AInputQueue_detachLooper(AInputQueue* queue); 1318 * input queue. Returns 1 if the queue has events; 0 if 1321 int32_t AInputQueue_hasEvents(AInputQueue* queue); 1324 * Returns the next available event from the queue [all...] |
H A D | native_activity.h | 207 * The input queue for this native activity's window has been created. 208 * You can use the given input queue to start retrieving input events. 210 void (*onInputQueueCreated)(ANativeActivity* activity, AInputQueue* queue); 213 * The input queue for this native activity's window is being destroyed. 217 void (*onInputQueueDestroyed)(ANativeActivity* activity, AInputQueue* queue);
|
H A D | sensor.h | 416 * Creates a new sensor event queue and associate it with a looper. 426 * Destroys the event queue and free all resources associated to it. 428 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue); 530 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, 536 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor); 541 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor); 550 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec); 554 * sensor queue. Returns 1 if the queue has events; 0 if 557 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue); [all...] |