Searched defs:item (Results 451 - 475 of 479) sorted by relevance

<<11121314151617181920

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DMenuBuilder.java110 * Whether or not the items (or any one item's shown state) has changed since it was last
126 * Whether or not the items (or any one item's action state) has changed since it was last
181 * Currently expanded menu item; must be collapsed when we clear.
204 * Called when a menu item is selected.
206 * @param menu The menu that is the parent of the item
207 * @param item The menu item that is selected
208 * @return whether the menu item selection was handled
210 boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument
226 boolean invokeItem(MenuItemImpl item); argument
618 setExclusiveItemChecked(MenuItem item) argument
839 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument
980 performItemAction(MenuItem item, int flags) argument
984 performItemAction(MenuItem item, MenuPresenter preferredPresenter, int flags) argument
1105 onItemVisibleChanged(MenuItemImpl item) argument
1116 onItemActionRequestChanged(MenuItemImpl item) argument
1356 expandItemActionView(MenuItemImpl item) argument
1378 collapseItemActionView(MenuItemImpl item) argument
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DToolbar.java202 public boolean onMenuItemClick(MenuItem item) {
204 return mOnMenuItemClickListener.onMenuItemClick(item);
715 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
717 if (item != null) {
718 item.collapseActionView();
1075 * Set a listener to respond to menu item click events.
1077 * <p>This listener will be invoked whenever a user selects a menu item from
1433 final MenuItem item = menu.findItem(ss.expandedMenuItemId);
1434 if (item != null) {
1435 item
2196 onMenuItemClick(MenuItem item) argument
2369 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
2404 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp232 status_t AudioTrack::getMetrics(MediaAnalyticsItem * &item) argument
239 item = tmp;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp595 void MediaCodec::updateEphemeralAnalytics(MediaAnalyticsItem *item) { argument
598 if (item == NULL) {
621 item->setInt64(kCodecRecentLatencyMax, recentHist.getMax());
622 item->setInt64(kCodecRecentLatencyMin, recentHist.getMin());
623 item->setInt64(kCodecRecentLatencyAvg, recentHist.getAvg());
624 item->setInt64(kCodecRecentLatencyCount, recentHist.getCount());
629 item->setCString(kCodecRecentLatencyHist, hist.c_str());
/frameworks/av/services/audioflinger/
H A DThreads.h546 ssize_t indexOf(const sp<T>& item) { argument
547 return mActiveTracks.indexOf(item);
953 ssize_t indexOf(const sp<T> &item) { argument
954 return mTracks.indexOf(item);
/frameworks/base/core/java/android/app/
H A DFragment.java158 * details of each item.</p>
173 * clicking an item: depending on the current activity's layout, it can either
180 * <p>The details fragment showing the contents of a selected item just
1889 * This hook is called whenever an item in your options menu is selected.
1891 * processing happen (calling the item's Runnable or sending a message to
1899 * @param item The menu item that was selected.
1906 public boolean onOptionsItemSelected(MenuItem item) { argument
1912 * the menu with the back/menu button, or when an item is selected).
1924 * the view (or item insid
1983 onContextItemSelected(MenuItem item) argument
2666 performOptionsItemSelected(MenuItem item) argument
2682 performContextItemSelected(MenuItem item) argument
[all...]
H A DFragmentManager.java291 * where the item on the bottom of the stack has index 0.
3176 public boolean dispatchOptionsItemSelected(MenuItem item) { argument
3183 if (f.performOptionsItemSelected(item)) {
3191 public boolean dispatchContextItemSelected(MenuItem item) { argument
3198 if (f.performContextItemSelected(item)) {
H A DActivity.java1859 final MenuItem item = menu.getItem(i);
1860 final CharSequence title = item.getTitle();
1861 final char alphaShortcut = item.getAlphabeticShortcut();
1862 final int alphaModifiers = item.getAlphabeticModifiers();
3208 * as pulling down the notification pane and touching an item there.
3532 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
3533 CharSequence titleCondensed = item.getTitleCondensed();
3543 if (onOptionsItemSelected(item)) {
3546 if (mFragments.dispatchOptionsItemSelected(item)) {
3549 if (item
3690 onOptionsItemSelected(MenuItem item) argument
3914 onContextItemSelected(MenuItem item) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java2391 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
2392 return mWrapped.onActionItemClicked(mode, item);
H A DPhoneWindow.java1232 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
1237 return cb.onMenuItemSelected(panel.featureId, item);
3399 * Whether an item's action has been performed. This happens in obvious
3400 * scenarios (user clicks on menu item), but can also happen with
3690 * <li> Calls back to the callback's onMenuItemSelected when an item is
3739 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
3742 && callback.onMenuItemSelected(FEATURE_ID, item);
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java91 /** Logical position of the item within the pager adapter. */
94 /** Offset between the starting edges of the item and its container. */
466 * the current item and the specified item.
468 * @param item Item index to select
470 public void setCurrentItem(int item) { argument
472 setCurrentItemInternal(item, !mFirstLayout, false);
478 * @param item Item index to select
479 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
481 public void setCurrentItem(int item, boolea argument
490 setCurrentItemInternal(int item, boolean smoothScroll, boolean always) argument
494 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp481 jstring item = jstring(env->GetObjectArrayElement(excludedDeviceNames, i)); local
482 const char* deviceNameChars = env->GetStringUTFChars(item, NULL);
484 env->ReleaseStringUTFChars(item, deviceNameChars);
485 env->DeleteLocalRef(item);
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp1138 auto item = active->items.back(); local
1141 LOG(DEBUG) << "Purging " << item->toString() << " from " << active->toString();
1143 item->purge();
1145 active->cacheUsed -= item->size;
1146 needed -= item->size;
1147 cleared += item->size;
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java1804 * This hook is called whenever an item in your options menu is selected.
1806 * processing happen (calling the item's Runnable or sending a message to
1814 * @param item The menu item that was selected.
1821 public boolean onOptionsItemSelected(MenuItem item) { argument
1827 * the menu with the back/menu button, or when an item is selected).
1839 * the view (or item inside the view for {@link AdapterView} subclasses,
1843 * item has been selected.
1883 * This hook is called whenever an item in a context menu is selected. The
1885 * happen (calling the item'
1899 onContextItemSelected(MenuItem item) argument
2570 performOptionsItemSelected(MenuItem item) argument
2586 performContextItemSelected(MenuItem item) argument
[all...]
H A DFragmentManager.java3359 public boolean dispatchOptionsItemSelected(MenuItem item) { argument
3366 if (f.performOptionsItemSelected(item)) {
3374 public boolean dispatchContextItemSelected(MenuItem item) { argument
3381 if (f.performContextItemSelected(item)) {
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DViewPager.java606 * the current item and the specified item.
608 * @param item Item index to select
610 public void setCurrentItem(int item) { argument
612 setCurrentItemInternal(item, !mFirstLayout, false);
618 * @param item Item index to select
619 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
621 public void setCurrentItem(int item, boolean smoothScroll) { argument
623 setCurrentItemInternal(item, smoothScroll, false);
630 void setCurrentItemInternal(int item, boolea argument
634 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
674 scrollToItem(int item, boolean smoothScroll, int velocity, boolean dispatchSelected) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java446 * Called when a panel's menu item has been selected by the user.
449 * @param item The menu item that was selected.
455 public boolean onMenuItemSelected(int featureId, MenuItem item); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java2099 * child is always a collection item.
2109 * child is always a collection item.
2124 * Gets the collection item info if the node is a collection item. A collection
2125 * item is always a child of a collection.
2127 * @return The collection item info.
2134 * Sets the collection item info if the node is a collection item. A collection
2135 * item is always a child of a collection.
3892 private static String idItemToString(int item) { argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp608 const String16 item16("item");
823 const String16 item16("item");
1343 "Tag <item> 'format' attribute value \"%s\" not valid\n",
1350 "A 'type' attribute is required for <item>\n");
1513 "Found tag %s where item is expected\n",
1568 "Tag <%s> can not appear inside <%s>, only <item>\n",
1602 "Illegal 'quantity' attribute is <item> inside <plurals>\n");
1607 "A 'quantity' attribute is required for <item> inside <plurals>\n");
1616 "A 'name' attribute is required for <item>\n");
1729 "Found text \"%s\" where item ta
4428 const Item* item = getItem(resID, attrID); local
4830 CompileResourceWorkItem item; local
4964 CompileResourceWorkItem item; local
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java301 * Callback that occurs when user clicks the item that asks user to grant permissions to
309 * Callback that occurs when user dismisses the item that asks user to grant permissions to
1625 * default is the selected item (if one is selected), or the first item, in the popup
1677 // Nothing is selected or selected item is not type person; use the first item
2046 // Clear the checked item.
2051 // Checked item would be -1 if the adapter has not
2238 * When an item in the suggestions list has been clicked, create a chip from the
2239 * contact information of the selected item
2284 createValidatedEntry(RecipientEntry item) argument
2333 onActionItemClicked(ActionMode mode, MenuItem item) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java123 * notification is received and only if the last item is already visible
187 * Show the first item
192 * Force the selected item to be on somewhere on the screen
197 * Show the last item
518 * find a checked item with a stable ID that moved position across
519 * a data set change. If the item isn't found it will be unselected.
719 * Track the item count from the last time we handled a data change.
791 * The top-level view of a list item can implement this interface to allow
792 * itself to modify the bounds of the selection shown for that item.
796 * Called to allow the list item t
6483 onActionItemClicked(ActionMode mode, MenuItem item) argument
[all...]
H A DEditor.java2639 Item item = clipData.getItemAt(i);
2640 content.append(item.coerceToStyledText(mTextView.getContext()));
2758 public boolean onMenuItemClick(MenuItem item) {
2911 public boolean onMenuItemClick(MenuItem item) {
2912 if (mProcessTextIntentActionsHandler.performMenuItemAction(item)) {
2915 return mTextView.onTextContextMenuItem(item.getItemId());
3830 // Make "Add to dictionary" item visible if there is a span with the misspelled flag
4067 final MenuItem item = addAssistMenuItem(menu,
4070 item.setIntent(textClassification.getIntent());
4073 final MenuItem item
4168 onActionItemClicked(ActionMode mode, MenuItem item) argument
6898 performMenuItemAction(MenuItem item) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java100 * View representing a notification item - this can be either the individual child notification or
984 public void setGutsView(MenuItem item) { argument
985 if (mGuts != null && item.getGutsView() instanceof GutsContent) {
986 ((GutsContent) item.getGutsView()).setGutsParent(mGuts);
987 mGuts.setGutsContent((GutsContent) item.getGutsView());
2956 boolean onLongPress(View v, int x, int y, MenuItem item); argument
2967 boolean onClick(View v, int x, int y, MenuItem item); argument
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2340 public boolean onMenuItemClick(MenuItem item) { argument
2341 return onTextContextMenuItem(item.getItemId());
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 711 milliseconds

<<11121314151617181920