/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/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileLifecycleManager.java | 193 ArraySet<Integer> queue; 195 queue = new ArraySet<>(mQueuedMessages); 198 if (queue.contains(MSG_ON_ADDED)) { 206 if (queue.contains(MSG_ON_CLICK)) { 215 if (queue.contains(MSG_ON_UNLOCK_COMPLETE)) { 224 if (queue.contains(MSG_ON_REMOVED)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | MediaSessions.java | 211 final List<QueueItem> queue = c.getQueue(); 232 if (queue != null && !queue.isEmpty()) { 234 for (QueueItem qi : queue) { 305 public void onQueueChanged(List<QueueItem> queue) { argument 306 if (D.BUG) Log.d(TAG, cb("onQueueChanged") + queue);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | InputPort.java | 172 * Note, that this returns a frame owned by the input queue. You must detach the frame if you 291 void setQueue(FrameQueue queue) { argument 292 mQueue = queue;
|
H A D | Filter.java | 689 FrameQueue queue = builder.build(queueName); 690 outPort.setQueue(queue); 691 inPort.setQueue(queue);
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
H A D | TestLooper.java | 33 * Creates a looper whose message queue can be manipulated 88 MessageQueue queue = mLooper.getQueue(); 89 return (Message) MESSAGE_QUEUE_MESSAGES_FIELD.get(queue); 120 // the queue. 148 * @return true if there are pending messages in the message queue 157 * @return the next message in the Looper's message queue or null if there is none 168 * Dispatch the next message in the queue 169 * Asserts that there is a message in the queue 181 * Dispatch all messages currently in the queue
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | MockLooper.java | 33 * Creates a looper whose message queue can be manipulated 88 MessageQueue queue = mLooper.getQueue(); 89 return (Message) MESSAGE_QUEUE_MESSAGES_FIELD.get(queue); 120 // the queue. 148 * @return true if there are pending messages in the message queue 157 * @return the next message in the Looper's message queue or null if there is none 168 * Dispatch the next message in the queue 169 * Asserts that there is a message in the queue 181 * Dispatch all messages currently in the queue
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 29 * or asynchronously via {@link #queue} and {@link UsbDeviceConnection#requestWait}. 44 // for temporarily saving current buffer across queue and dequeue 100 * maintaining state between calls to {@link #queue} and 113 * maintaining state between calls to {@link #queue} and 135 public boolean queue(ByteBuffer buffer, int length) { method in class:UsbRequest 169 * Cancels a pending queue operation.
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
H A D | Media.java | 205 public void onQueueChanged(ParceledListSlice queue) throws RemoteException { argument 207 + (queue == null ? "null queue" : " size=" + queue.getList().size()));
|
/frameworks/native/libs/gui/ |
H A D | SensorManager.cpp | 214 sp<SensorEventQueue> queue; local 225 queue = new SensorEventQueue(connection); 228 return queue;
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 120 ArrayList<MediaSession.QueueItem> queue = new ArrayList<MediaSession.QueueItem>(); 122 queue.add((MediaSession.QueueItem) itemObj); 124 ((MediaSession) sessionObj).setQueue(queue);
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 172 * Get the current play queue for this session if one is set. If you only 175 * @return The current play queue or null. 179 ParceledListSlice queue = mSessionBinder.getQueue(); 180 if (queue != null) { 181 return queue.getList(); 190 * Get the queue title for this session. 547 * Override to handle changes to items in the queue. 549 * @param queue A list of items in the current play queue. It should 554 public void onQueueChanged(@Nullable List<MediaSession.QueueItem> queue) { argument [all...] |
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 251 Queue queue; local 277 queue.push(x, y); 278 queue.get(lag, &lag_x, &lag_y);
|
/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/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/base/libs/hwui/renderthread/ |
H A D | DrawFrameTask.cpp | 81 mRenderThread->queue(this);
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.h | 30 #include <queue> 166 std::queue<EventData> mEventQueue;
|
/frameworks/native/vulkan/libvulkan/ |
H A D | api_gen.cpp | 99 VKAPI_ATTR VkResult disabledQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR*) { argument 100 driver::Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. Exported vkQueuePresentKHR not executed."); 298 VKAPI_ATTR VkResult QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence); 299 VKAPI_ATTR VkResult QueueWaitIdle(VkQueue queue); 314 VKAPI_ATTR VkResult QueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence); 426 VKAPI_ATTR VkResult QueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo); 682 VKAPI_ATTR VkResult QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence) { argument 683 return GetData(queue).dispatch.QueueSubmit(queue, submitCoun 686 QueueWaitIdle(VkQueue queue) argument 746 QueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence) argument 1194 QueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) argument 1303 vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence) argument 1308 vkQueueWaitIdle(VkQueue queue) argument 1383 vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence) argument 1943 vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) argument [all...] |
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Device.java | 56 byte[] descriptor, MessageQueue queue, DeviceCallback callback); 55 nativeOpenDevice(String name, int id, int vid, int pid, byte[] descriptor, MessageQueue queue, DeviceCallback callback) argument
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 614 AInputQueue* queue = reinterpret_cast<AInputQueue*>(queuePtr); local 615 code->callbacks.onInputQueueCreated(code, queue); 629 AInputQueue* queue = reinterpret_cast<AInputQueue*>(queuePtr); local 630 code->callbacks.onInputQueueDestroyed(code, queue);
|
/frameworks/base/native/android/ |
H A D | choreographer.cpp | 21 #include <queue> 44 // the head of the queue
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHal.java | 56 private native long nativeOpen(MessageQueue queue); argument
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | MediaSessionCompat.java | 440 * Update the list of items in the play queue. It is an ordered list and 442 * exist. Specify null if there is no current play queue. 444 * The queue should be of reasonable size. If the play queue is unbounded 448 * @param queue A list of items in the play queue. 450 public void setQueue(List<QueueItem> queue) { argument 451 mImpl.setQueue(queue); 455 * Set the title of the play queue. The UI should display this title along 456 * with the play queue itsel 1249 setQueue(List<QueueItem> queue) argument 1562 setQueue(List<QueueItem> queue) argument 1788 sendQueue(List<QueueItem> queue) argument 2349 setQueue(List<QueueItem> queue) argument [all...] |
/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 187 jbyteArray rawDescriptor, jobject queue, jobject callback) { 197 sp<Looper> looper = android_os_MessageQueue_getMessageQueue(env, queue)->getLooper(); 186 openDevice(JNIEnv* env, jclass , jstring rawName, jint id, jint vid, jint pid, jbyteArray rawDescriptor, jobject queue, jobject callback) argument
|
/frameworks/base/tools/aapt2/ |
H A D | Debug.cpp | 27 #include <queue> 188 std::queue<ResourceName> stylesToVisit;
|