/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | CardPresenter.java | 111 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument 112 Log.d(TAG, "onBindViewHolder for " + item.toString()); 113 PhotoItem photoItem = (PhotoItem) item; 125 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument 127 super.onBindViewHolder(viewHolder, item, payloads); 129 PhotoItem photoItem = (PhotoItem) item;
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | DrawerLayoutActivity.java | 166 public boolean onOptionsItemSelected(MenuItem item) { argument 171 if (mDrawerToggle.onOptionsItemSelected(item)) { 174 return super.onOptionsItemSelected(item); 196 * This list item click listener implements very simple view switching by changing
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | ExpandedMenuView.java | 85 public boolean invokeItem(MenuItemImpl item) { argument 86 return mMenu.performItemAction(item, 0);
|
H A D | MenuPresenter.java | 96 * Called by Menu implementations to indicate that a submenu item 124 * Called when a menu item with a collapsible action view should expand its action view. 126 * @param menu Menu containing the item to be expanded 127 * @param item Item to be expanded 130 boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); argument 133 * Called when a menu item with a collapsible action view should collapse its action view. 135 * @param menu Menu containing the item to be collapsed 136 * @param item Item to be collapsed 139 boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); argument
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | MessageThreadUtil.java | 203 final SyncQueueItem item; 205 item = new SyncQueueItem(); 207 item = sPool; 209 item.next = null; 211 item.what = what; 212 item.arg1 = arg1; 213 item.arg2 = arg2; 214 item.arg3 = arg3; 215 item.arg4 = arg4; 216 item 244 sendMessageAtFrontOfQueue(SyncQueueItem item) argument 249 sendMessage(SyncQueueItem item) argument [all...] |
/frameworks/av/include/media/ |
H A D | RingBuffer.h | 97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length, 103 void add(const T& item); 106 * Moves item to the front of this RingBuffer. Following a call to this, item should no 112 void add(T&& item); 115 * Construct item in-place in the front of this RingBuffer using the given arguments. If 265 void RingBuffer<T>::add(const T& item) { argument 267 mBuffer.push_back(item); 272 mBuffer[mFrontIdx] = item; 277 void RingBuffer<T>::add(T&& item) { argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IResourceManagerService.cpp | 52 T item; local 53 item.readFromParcel(data); 54 items->add(item);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | RingBuffer.h | 97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length, 103 void add(const T& item); 106 * Moves item to the front of this RingBuffer. Following a call to this, item should no 112 void add(T&& item); 115 * Construct item in-place in the front of this RingBuffer using the given arguments. If 265 void RingBuffer<T>::add(const T& item) { argument 267 mBuffer.push_back(item); 272 mBuffer[mFrontIdx] = item; 277 void RingBuffer<T>::add(T&& item) { argument [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 90 Item *item = &mItems[i]; local 91 delete[] item->mName; 92 item->mName = NULL; 93 freeItemValue(item); 98 void AMessage::freeItemValue(Item *item) { argument 99 switch (item->mType) { 102 delete item->u.stringValue; 110 if (item->u.refValue != NULL) { 111 item->u.refValue->decStrong(this); 119 item 191 Item *item; local [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
H A D | MediaBrowser2Impl.java | 206 public void onGetItemDone(String mediaId, MediaItem2 item) { argument 208 mCallback.onGetItemDone(getInstance(), mediaId, item);
|
H A D | MediaPlaylistAgentImpl.java | 149 public void addPlaylistItem_impl(int index, @NonNull MediaItem2 item) { argument 154 public void removePlaylistItem_impl(@NonNull MediaItem2 item) { argument 159 public void replacePlaylistItem_impl(int index, @NonNull MediaItem2 item) { argument 164 public void skipToPlaylistItem_impl(@NonNull MediaItem2 item) { argument 209 MediaItem2 item = itemList.get(i); 210 if (item != null && item.getDataSourceDesc() == dsd) { 211 return item;
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 51 List<RangeListener>::iterator item = mRangeListeners.begin(); local 52 while (item != mRangeListeners.end()) { 53 if (item->minId == minId && 54 item->maxId == maxId && 55 item->listener == listener) { 61 item++; 74 List<RangeListener>::iterator item = mRangeListeners.begin(); local 75 while (item != mRangeListeners.end()) { 76 if (item->minId == minId && 77 item 191 List<RangeListener>::iterator item = mRangeListeners.begin(); variable 210 List<sp<FilteredListener> >::iterator item = listeners.begin(); member in namespace:android::camera2 [all...] |
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.h | 37 * When new buffers are produced, the oldest non-pinned buffer item is immediately 40 * Users can only access a buffer item after pinning it (which also guarantees 121 const BufferItem& item) : 123 mBufferItem(item) { 147 // The filter will be invoked on each buffer item in the ring buffer, 148 // passing the item that was selected from each previous iteration, 149 // as well as the current iteration's item. 165 virtual void onFrameAvailable(const BufferItem& item); 167 void pinBufferLocked(const BufferItem& item); 168 void unpinBuffer(const BufferItem& item); 120 PinnedBufferItem(wp<RingBufferConsumer> consumer, const BufferItem& item) argument [all...] |
/frameworks/base/cmds/statsd/tests/metrics/ |
H A D | MaxDurationTracker_test.cpp | 243 vector<DurationBucket> item = buckets.begin()->second; local 244 EXPECT_EQ(1UL, item.size()); 245 EXPECT_EQ((int64_t)(13LL * NS_PER_SEC), item[0].mDuration);
|
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteActionProvider.java | 41 * menu item invisible. In this way, the button will only be visible when it 114 public View onCreateActionView(MenuItem item) { argument 117 "with a menu item. Don't reuse MediaRouteActionProvider instances! " +
|
/frameworks/base/core/java/android/provider/ |
H A D | SettingsStringUtil.java | 55 protected String itemToString(T item) { argument 56 return String.valueOf(item); 128 protected String itemToString(ComponentName item) { argument 129 return item.flattenToString();
|
/frameworks/base/core/java/android/widget/ |
H A D | MenuPopupWindow.java | 77 public void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item) { argument 80 mHoverListener.onItemHoverEnter(menu, item); 85 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { argument 88 mHoverListener.onItemHoverExit(menu, item); 149 // Dispatch any changes in hovered item index to the listener. 164 // Find the menu item for the view at the event coordinates.
|
H A D | PopupMenu.java | 103 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { 105 return mMenuItemClickListener.onMenuItemClick(item); 154 * the currently touched list item. 240 * Sets a listener that will be notified when the user selects an item from 259 * Interface responsible for receiving menu item click events if the items 260 * themselves do not have individual item click listeners. 264 * This method will be invoked when a menu item is clicked if the item 267 * @param item the menu item tha 271 onMenuItemClick(MenuItem item) argument [all...] |
H A D | ShareActionProvider.java | 38 * if the hosting item is placed on the overflow menu. 45 * // Get the menu item. 64 * in the context of a menu item, the use of the provider is not limited to menu items. 109 * Listener for handling menu item clicks. 217 // Add a sub-menu for showing all activities as a list item. 292 * Reusable listener for handling share item clicks. 296 public boolean onMenuItemClick(MenuItem item) { argument 299 final int itemId = item.getItemId();
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuPresenter.java | 60 public void bindItemView(MenuItemImpl item, ItemView itemView) { argument 62 view.setItemData(item); 64 view.initialize(item.getTitleForItemView(view), item.getIcon()); 66 view.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); 72 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 76 return fits && !item.isActionButton(); 152 MenuItem item = mMenu.findItem(subMenuId); 153 if (item != null) { 154 onSubMenuSelected((SubMenuBuilder) item [all...] |
H A D | MenuPresenter.java | 90 * Called by Menu implementations to indicate that a submenu item 118 * Called when a menu item with a collapsable action view should expand its action view. 120 * @param menu Menu containing the item to be expanded 121 * @param item Item to be expanded 124 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); argument 127 * Called when a menu item with a collapsable action view should collapse its action view. 129 * @param menu Menu containing the item to be collapsed 130 * @param item Item to be collapsed 133 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); argument
|
H A D | SubMenuBuilder.java | 34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { argument 38 mItem = item; 80 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { argument 81 return super.dispatchMenuItemSelected(menu, item) || 82 mParentMenu.dispatchMenuItemSelected(menu, item); 116 public boolean expandItemActionView(MenuItemImpl item) { argument 117 return mParentMenu.expandItemActionView(item); 121 public boolean collapseItemActionView(MenuItemImpl item) { argument 122 return mParentMenu.collapseItemActionView(item);
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
H A D | MenuScenario.java | 65 MenuItem item; 67 if ((item = onAddMenuItem(menu, i)) == null) { 68 // Add a default item for this position if the subclasses 71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i)); 74 if (item != null) { 75 mItems[i] = item; 78 item.setOnMenuItemClickListener(this); 96 * Override this to add an item to the menu. 98 * @param itemPosition The position of the item to add (only for your 100 * @return The item tha 119 onMenuItemClick(MenuItem item) argument 138 findItemPosition(MenuItem item) argument [all...] |
/frameworks/base/libs/hwui/thread/ |
H A D | WorkQueue.h | 71 [&now](WorkItem& item) { return item.runAt > now; }); 78 for (auto& item : toProcess) { 79 item.work(); 122 void enqueue(WorkItem&& item) { argument 128 [time = item.runAt](WorkItem & item) { return item.runAt > time; }); 130 mWorkQueue.emplace(insertAt, std::move(item));
|
/frameworks/base/media/java/android/media/update/ |
H A D | MediaPlaylistAgentProvider.java | 44 void addPlaylistItem_impl(int index, MediaItem2 item); argument 45 void removePlaylistItem_impl(MediaItem2 item); argument 46 void replacePlaylistItem_impl(int index, MediaItem2 item); argument 47 void skipToPlaylistItem_impl(MediaItem2 item); argument
|