Searched defs:item (Results 226 - 250 of 479) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DActionMode.java271 * @param item The item that was clicked
275 public boolean onActionItemClicked(ActionMode mode, MenuItem item); argument
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DSubMenuBuilder.java41 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { argument
45 mItem = item;
88 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
89 return super.dispatchMenuItemSelected(menu, item) ||
90 mParentMenu.dispatchMenuItemSelected(menu, item);
131 public boolean expandItemActionView(MenuItemImpl item) { argument
132 return mParentMenu.expandItemActionView(item);
136 public boolean collapseItemActionView(MenuItemImpl item) { argument
137 return mParentMenu.collapseItemActionView(item);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DMenuPopupWindow.java111 public void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item) { argument
114 mHoverListener.onItemHoverEnter(menu, item);
119 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { argument
122 mHoverListener.onItemHoverExit(menu, item);
183 // Dispatch any changes in hovered item index to the listener.
198 // Find the menu item for the view at the event coordinates.
H A DPopupMenu.java111 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) {
113 return mMenuItemClickListener.onMenuItemClick(item);
162 * the currently touched list item.
251 * Sets a listener that will be notified when the user selects an item from
270 * Interface responsible for receiving menu item click events if the items
271 * themselves do not have individual item click listeners.
275 * This method will be invoked when a menu item is clicked if the item
278 * @param item the menu item tha
282 onMenuItemClick(MenuItem item) argument
[all...]
H A DShareActionProvider.java50 * <item android:id="@+id/action_share"
167 * Listener for handling menu item clicks.
275 // Add a sub-menu for showing all activities as a list item.
354 * Reusable listener for handling share item clicks.
361 public boolean onMenuItemClick(MenuItem item) { argument
364 final int itemId = item.getItemId();
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp70 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const
73 if (item->equals(itemAt(i))) {
93 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) argument
95 ssize_t ret = indexOf(item);
98 ret = SortedVector::add(item);
103 ALOGW("DeviceVector::add device %08x already in", item->type());
109 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) argument
111 ssize_t ret = indexOf(item);
114 ALOGW("DeviceVector::remove device %08x not in", item->type());
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp79 const RingBufferItem& item = *it; local
81 cur.mCrop = item.mCrop;
82 cur.mTransform = item.mTransform;
83 cur.mScalingMode = item.mScalingMode;
84 cur.mTimestamp = item.mTimestamp;
85 cur.mFrameNumber = item.mFrameNumber;
86 cur.mPinned = item.mPinCount > 0;
142 // Fine. Empty buffer item list.
164 void RingBufferConsumer::pinBufferLocked(const BufferItem& item) { argument
172 if (item
224 RingBufferItem& item = *accIt; local
269 onFrameAvailable(const BufferItem& item) argument
291 RingBufferItem& item = *mBufferItemList.insert(mBufferItemList.end(), local
325 unpinBuffer(const BufferItem& item) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentController.java362 * Sends an option item selection event to the Fragments managed by the
365 * <p>Call immediately after an options menu item has been selected
370 public boolean dispatchOptionsItemSelected(MenuItem item) { argument
371 return mHost.mFragmentManager.dispatchOptionsItemSelected(item);
375 * Sends a context item selection event to the Fragments managed by the
378 * <p>Call immediately after an options menu item has been selected
383 public boolean dispatchContextItemSelected(MenuItem item) { argument
384 return mHost.mFragmentManager.dispatchContextItemSelected(item);
/frameworks/base/core/java/android/view/
H A DActionMode.java329 * @param item The item that was clicked
333 public boolean onActionItemClicked(ActionMode mode, MenuItem item); argument
H A DWindowCallbackWrapper.java92 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
93 return mWrapped.onMenuItemSelected(featureId, item);
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java236 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
242 switch(item.getItemId()) {
304 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java397 * Returns the position of the specified item in the array.
399 * @param item The item to retrieve the position of.
401 * @return The position of the specified item.
403 public int getPosition(@Nullable T item) { argument
404 return mObjects.indexOf(item);
440 + " in item layout");
449 final T item = getItem(position);
450 if (item instanceof CharSequence) {
451 text.setText((CharSequence) item);
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java133 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
134 return mCallback.onActionItemClicked(this, item);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DBaseMenuPresenter.java29 * Base class for MenuPresenters that have a consistent container view and item
30 * views. Behaves similarly to an AdapterView in that existing item views will
53 * @param itemLayoutRes Layout resource ID for a single item view
81 * Reuses item views when it can
93 MenuItemImpl item = visibleItems.get(i);
94 if (shouldIncludeItem(childIndex, item)) {
98 final View itemView = getItemView(item, convertView, parent);
99 if (item != oldItem) {
121 * Add an item view at the given index.
154 * Create a new item vie
173 getItemView(MenuItemImpl item, View convertView, ViewGroup parent) argument
190 bindItemView(MenuItemImpl item, MenuView.ItemView itemView) argument
199 shouldIncludeItem(int childIndex, MenuItemImpl item) argument
220 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
224 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
H A DListMenuPresenter.java62 * @param itemLayoutRes Layout resource for individual item views.
72 * @param itemLayoutRes Layout resource for individual item views.
175 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
179 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
249 // Since a menu item's ID is optional, we'll use the position as an
250 // ID for the item in the AdapterView
270 final MenuItemImpl item = items.get(i);
271 if (item == expandedItem) {
H A DMenuPopup.java107 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
112 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DDefaultItemAnimator.java400 private void endChangeAnimation(List<ChangeInfo> infoList, ViewHolder item) { argument
403 if (endChangeAnimationIfNecessary(changeInfo, item)) {
419 private boolean endChangeAnimationIfNecessary(ChangeInfo changeInfo, ViewHolder item) { argument
421 if (changeInfo.newHolder == item) {
423 } else if (changeInfo.oldHolder == item) {
429 item.itemView.setAlpha(1);
430 item.itemView.setTranslationX(0);
431 item.itemView.setTranslationY(0);
432 dispatchChangeFinished(item, oldItem);
437 public void endAnimation(ViewHolder item) { argument
[all...]
H A DSimpleItemAnimator.java56 * Sets whether this ItemAnimator supports animations of item change events.
167 * Called when an item is removed from the RecyclerView. Implementors can choose
185 * @param holder The item that is being removed.
192 * Called when an item is added to the RecyclerView. Implementors can choose
210 * @param holder The item that is being added.
217 * Called when an item is moved in the RecyclerView. Implementors can choose
230 * @param holder The item that is being moved.
238 * Called when an item is changed in the RecyclerView, as indicated by a call to
258 * @param oldHolder The original item that changed.
259 * @param newHolder The new item tha
277 dispatchRemoveFinished(ViewHolder item) argument
291 dispatchMoveFinished(ViewHolder item) argument
301 dispatchAddFinished(ViewHolder item) argument
316 dispatchChangeFinished(ViewHolder item, boolean oldItem) argument
326 dispatchRemoveStarting(ViewHolder item) argument
335 dispatchMoveStarting(ViewHolder item) argument
344 dispatchAddStarting(ViewHolder item) argument
357 dispatchChangeStarting(ViewHolder item, boolean oldItem) argument
370 onRemoveStarting(ViewHolder item) argument
381 onRemoveFinished(ViewHolder item) argument
393 onAddStarting(ViewHolder item) argument
404 onAddFinished(ViewHolder item) argument
416 onMoveStarting(ViewHolder item) argument
427 onMoveFinished(ViewHolder item) argument
441 onChangeStarting(ViewHolder item, boolean oldItem) argument
454 onChangeFinished(ViewHolder item, boolean oldItem) argument
[all...]
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
H A DGnssMetrics.java255 /** Adds an item */
256 public void addItem(double item) { argument
258 sum += item;
259 sumSquare += item * item;
/frameworks/base/media/java/android/media/
H A DMediaPlaylistAgent.java57 * Playback of the current playing media item will be repeated.
231 * Adds the media item to the playlist at position index. Index equals or greater than
232 * the current playlist size will add the item at the end of the playlist.
234 * This will not change the currently playing media item.
239 * @param item the media item you want to add
241 public void addPlaylistItem(int index, @NonNull MediaItem2 item) { argument
242 mProvider.addPlaylistItem_impl(index, item);
246 * Removes the media item from the playlist
248 * @param item medi
250 removePlaylistItem(@onNull MediaItem2 item) argument
261 replacePlaylistItem(int index, @NonNull MediaItem2 item) argument
270 skipToPlaylistItem(@onNull MediaItem2 item) argument
[all...]
/frameworks/base/media/java/android/media/update/
H A DMediaController2Provider.java65 void addPlaylistItem_impl(int index, MediaItem2 item); argument
66 void replacePlaylistItem_impl(int index, MediaItem2 item); argument
67 void removePlaylistItem_impl(MediaItem2 item); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DQSCustomizer.java224 public boolean onMenuItemClick(MenuItem item) { argument
225 switch (item.getItemId()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java384 final Item item = new Item();
385 item.iconResId = R.drawable.ic_qs_bluetooth_on;
386 item.line1 = device.getName();
387 item.tag = device;
390 item.iconResId = R.drawable.ic_qs_bluetooth_connected;
393 item.icon = new BluetoothBatteryTileIcon(batteryLevel,1 /* iconScale */);
394 item.line2 = mContext.getString(
398 item.line2 = mContext.getString(R.string.quick_settings_connected);
400 item.canDisconnect = true;
401 items.add(connectedDevices, item);
419 onDetailItemClick(Item item) argument
429 onDetailItemDisconnect(Item item) argument
[all...]
H A DCastTile.java271 final Item item = new Item();
272 item.iconResId = R.drawable.ic_qs_cast_on;
273 item.line1 = getDeviceName(device);
274 item.line2 = mContext.getString(R.string.quick_settings_connected);
275 item.tag = device;
276 item.canDisconnect = true;
277 items = new Item[] { item };
291 final Item item = new Item();
292 item.iconResId = R.drawable.ic_qs_cast_off;
293 item
306 onDetailItemClick(Item item) argument
314 onDetailItemDisconnect(Item item) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotPersister.java158 private void sendToQueueLocked(WriteQueueItem item) { argument
159 mWriteQueue.offer(item);
160 item.onQueuedLocked();
170 final StoreWriteQueueItem item = mStoreQueueItems.poll();
171 mWriteQueue.remove(item);
172 Slog.i(TAG, "Queue is too deep! Purged item with taskid=" + item.mTaskId);
258 * Called when this queue item has been put into the queue.
264 * Called when this queue item has been taken out of the queue.

Completed in 194 milliseconds

1234567891011>>