/frameworks/base/core/java/android/widget/ |
H A D | MenuItemHoverListener.java | 9 * An interface notified when a menu item is hovered. Useful for cases when hover should trigger 16 * Called when hover exits a menu item. 18 * If hover is moving to another item, this method will be called before 19 * {@link #onItemHoverEnter(MenuBuilder, MenuItem)} for the newly-hovered item. 21 * @param menu the item's parent menu 22 * @param item the hovered menu item 24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); argument 27 * Called when hover enters a menu item. 29 * @param menu the item' 32 onItemHoverEnter(@onNull MenuBuilder menu, @NonNull MenuItem item) argument [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | PresenterSelector.java | 22 * Returns a presenter for the given item. 24 public abstract Presenter getPresenter(Object item); argument
|
H A D | BaseOnItemViewClickedListener.java | 17 * Interface for receiving notification when an item view holder is clicked. 22 * Called when an item inside a row gets clicked. 23 * @param itemViewHolder The view holder of the item that is clicked. 24 * @param item The item that is currently selected. 25 * @param rowViewHolder The view holder of the row which the clicked item belongs to. 26 * @param row The row which the clicked item belongs to. 28 void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
|
H A D | BaseOnItemViewSelectedListener.java | 17 * Interface for receiving notification when a row or item becomes selected. The concept of 18 * current selection is different than focus. A row or item can be selected without having focus; 24 * Called when a row or a new item becomes selected. 26 * For a non {@link ListRow} case, parameter item may be null. Event is fired when 29 * For a {@link ListRow} case, parameter item is null if the list row is empty. 39 * focused item in the row. 42 * @param itemViewHolder The view holder of the item that is currently selected. 43 * @param item The item that is currently selected. 47 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, argument [all...] |
H A D | SinglePresenterSelector.java | 25 * @param presenter The Presenter to return for every item. 32 public Presenter getPresenter(Object item) { argument
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | OnItemActivatedListener.java | 25 * Register an OnItemActivatedListener to be notified when an item is activated 33 * Called when an item is "activated". An item is activated, for example, when no selection 34 * exists and the user taps an item with her finger, or double clicks an item with a 37 * @param item details of the item. 38 * @param e the event associated with item. 42 boolean onItemActivated(@NonNull ItemDetails<K> item, @NonNull MotionEvent e); argument
|
H A D | FocusDelegate.java | 25 * related to focusing item. 34 public void focusItem(@NonNull ItemDetails<K> item) { 54 * If environment supports focus, focus {@code item}. 56 public abstract void focusItem(@NonNull ItemDetails<K> item); argument 59 * @return true if there is a focused item. 64 * @return the position of the currently focused item, if any.
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
H A D | GenericBaseClass.java | 22 public T item; field in class:GenericBaseClass
|
/frameworks/base/core/java/android/content/pm/ |
H A D | XmlSerializerAndParser.java | 27 void writeAsXml(T item, XmlSerializer out) throws IOException; argument
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | ClippedListActivity.java | 61 public boolean onNavigationItemSelected(MenuItem item) { argument
|
H A D | NavigationDrawerActivity.java | 48 public boolean onNavigationItemSelected(MenuItem item) { argument
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/ |
H A D | TestLibraryMainActivity.java | 44 public boolean onOptionsItemSelected(MenuItem item) { argument 45 // Handle action bar item clicks here. The action bar will 48 int id = item.getItemId(); 55 return super.onOptionsItemSelected(item);
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | MenuCompat.java | 36 public static void setShowAsAction(MenuItem item, int actionEnum) { argument 37 item.setShowAsAction(actionEnum);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | DetailsDescriptionPresenter.java | 21 protected void onBindDescription(ViewHolder vh, Object item) { argument 22 vh.getTitle().setText(item.toString());
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | DetailsDescriptionPresenter.java | 21 protected void onBindDescription(ViewHolder vh, Object item) { argument 22 vh.getTitle().setText(item.toString());
|
/frameworks/support/slices/core/src/main/java/androidx/slice/ |
H A D | ArrayUtils.java | 31 public static <T> boolean contains(T[] array, T item) { argument 33 if (ObjectsCompat.equals(t, item)) {
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | AppCompatMenuItemShortcutsTestActivity.java | 39 public boolean handleMenuItem(MenuItem item) { argument 40 mMenuItemIdTracker = item.getItemId();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | MenuItemHoverListener.java | 28 * An interface notified when a menu item is hovered. Useful for cases when hover should trigger 36 * Called when hover exits a menu item. 38 * If hover is moving to another item, this method will be called before 39 * {@link #onItemHoverEnter(MenuBuilder, MenuItem)} for the newly-hovered item. 41 * @param menu the item's parent menu 42 * @param item the hovered menu item 44 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); argument 47 * Called when hover enters a menu item. 49 * @param menu the item' 52 onItemHoverEnter(@onNull MenuBuilder menu, @NonNull MenuItem item) argument [all...] |
/frameworks/base/core/java/android/app/servertransaction/ |
H A D | ObjectPool.java | 53 * @param item The object to recycle. 56 public static <T extends ObjectPoolItem> void recycle(T item) { argument 59 ArrayList<T> itemPool = (ArrayList<T>) sPoolMap.get(item.getClass()); 62 sPoolMap.put(item.getClass(), itemPool); 64 // Check if the item is already in the pool 67 if (itemPool.get(i) == item) { 68 throw new IllegalStateException("Trying to recycle already recycled item"); 73 itemPool.add(item);
|
/frameworks/base/core/jni/ |
H A D | android_media_MediaMetricsJNI.cpp | 28 jobject MediaMetricsJNI::writeMetricsToBundle(JNIEnv* env, MediaAnalyticsItem *item, jobject mybundle) { argument 57 for (size_t i = 0 ; i < item->mPropCount; i++ ) { 58 MediaAnalyticsItem::Prop *prop = &item->mProps[i]; 80 ALOGE("to_String bad item type: %d for %s",
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivity.java | 31 public boolean onOptionsItemSelected(MenuItem item) { argument 32 // Handle action bar item clicks here. The action bar will 35 int id = item.getItemId(); 42 return super.onOptionsItemSelected(item);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
H A D | CardPresenter.java | 49 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument 50 PhotoItem photoItem = (PhotoItem) item;
|
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/ |
H A D | MainActivity.java | 48 public boolean onOptionsItemSelected(MenuItem item) { argument 49 // Handle action bar item clicks here. The action bar will 52 int id = item.getItemId(); 59 return super.onOptionsItemSelected(item);
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/ |
H A D | MainActivity.java | 48 public boolean onOptionsItemSelected(MenuItem item) { argument 49 // Handle action bar item clicks here. The action bar will 52 int id = item.getItemId(); 59 return super.onOptionsItemSelected(item);
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
H A D | MyActivity.java | 25 public boolean onOptionsItemSelected(MenuItem item) { argument 26 // Handle action bar item clicks here. The action bar will 29 int id = item.getItemId(); 33 return super.onOptionsItemSelected(item);
|