/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
H A D | ItemViewHolder.java | 51 public void setItem(IItem item) { argument 52 mItem = item;
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | GridLayoutManagerUtils.java | 48 // pos will be either the first item in second row, or item count when items not fill 54 * Returns the span index of an item. 56 public static int getSpanIndex(View item) { argument 58 ((GridLayoutManager.LayoutParams) item.getLayoutParams()); 63 * Returns the span size of an item. {@code item} must be already laid out. 65 public static int getSpanSize(View item) { argument 67 ((GridLayoutManager.LayoutParams) item.getLayoutParams()); 72 * Returns the index of the last item tha [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserSupport.java | 45 public void onMediaItemSelected(MediaBrowserCompat.MediaItem item) { argument 46 if (item.isPlayable()) { 49 mediaController.getTransportControls().playFromMediaId(item.getMediaId(), null); 56 } else if (item.isBrowsable()) { 58 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId()))
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
H A D | ActionBarMechanics.java | 41 // by adding the element <item name="android:windowActionBar">true</item> 52 menu.add("Normal item"); 69 public boolean onOptionsItemSelected(MenuItem item) { argument 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
H A D | ActionBarPreferences.java | 45 public boolean onOptionsItemSelected(MenuItem item) { argument 46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
H A D | ActionBarSettingsActionProviderActivity.java | 37 * ActionProvider for launching the system settings and adds a menu item with that 49 public boolean onOptionsItemSelected(MenuItem item) { argument 50 // If this callback does not handle the item click, onPerformDefaultAction 52 // complete functionality of the menu item. 89 // This is called if the host menu item placed in the overflow menu of the
|
H A D | MenuItemIconTinting.java | 53 public boolean onOptionsItemSelected(MenuItem item) { argument 54 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
H A D | ToolbarUsage.java | 62 public boolean onOptionsItemSelected(MenuItem item) { argument 63 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ |
H A D | ContentCategoryActivity.java | 39 public boolean onOptionsItemSelected(MenuItem item) { argument 40 if (item.getItemId() == android.R.id.home) { 44 return super.onOptionsItemSelected(item);
|
H A D | ContentViewActivity.java | 51 public boolean onOptionsItemSelected(MenuItem item) { argument 52 if (item.getItemId() == android.R.id.home) { 64 return super.onOptionsItemSelected(item);
|
H A D | NotificationsActivity.java | 43 public boolean onOptionsItemSelected(MenuItem item) { argument 44 if (item.getItemId() == android.R.id.home) { 48 return super.onOptionsItemSelected(item);
|
H A D | PeerActivity.java | 49 public boolean onOptionsItemSelected(MenuItem item) { argument 50 if (item.getItemId() == android.R.id.home) { 54 return super.onOptionsItemSelected(item);
|
H A D | SimpleUpActivity.java | 37 public boolean onOptionsItemSelected(MenuItem item) { argument 38 if (item.getItemId() == android.R.id.home) { 42 return super.onOptionsItemSelected(item);
|
H A D | ViewFromOtherTaskActivity.java | 39 public boolean onOptionsItemSelected(MenuItem item) { argument 40 if (item.getItemId() == android.R.id.home) {
|
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/ |
H A D | NavigationViewUsageBase.java | 52 protected boolean handleNavigationItemSelected(MenuItem item) { argument 53 switch (item.getItemId()) {
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | StringPresenter.java | 40 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument 41 Log.d(TAG, "onBindViewHolder for " + item.toString()); 42 ((TextView) viewHolder.view).setText(item.toString());
|
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/ |
H A D | GridItemPresenter.java | 51 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument 52 ((TextView) viewHolder.view).setText((String) item);
|
H A D | HeaderItemPresenter.java | 52 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument 53 HeaderItem headerItem = ((ListRow) item).getHeaderItem();
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
H A D | StringPresenter.java | 40 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument 41 if (DEBUG) Log.d(TAG, "onBindViewHolder for " + item.toString()); 42 ((TextView) viewHolder.view).setText(item.toString());
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ClassPresenterSelector.java | 20 * A ClassPresenterSelector selects a {@link Presenter} based on the item's 62 public Presenter getPresenter(Object item) { argument 63 Class<?> cls = item.getClass(); 69 Presenter innerPresenter = ((PresenterSelector) presenter).getPresenter(item);
|
H A D | DividerPresenter.java | 53 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
|
H A D | MediaItemActionPresenter.java | 58 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument 60 MultiActionsProvider.MultiAction action = (MultiActionsProvider.MultiAction) item;
|
/frameworks/support/navigation/integration-tests/testapp/src/main/java/androidx/navigation/testapp/ |
H A D | NavigationActivity.java | 101 public boolean onOptionsItemSelected(MenuItem item) { argument 103 item, Navigation.findNavController(this, R.id.my_nav_host_fragment)) 104 || super.onOptionsItemSelected(item);
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
H A D | TestFocusDelegate.java | 37 public void focusItem(ItemDetails<K> item) { argument 38 mFocusItemId = item.getSelectionKey(); 39 mFocusPosition = item.getPosition();
|
H A D | TestOnItemActivatedListener.java | 31 public boolean onItemActivated(ItemDetails<K> item, MotionEvent e) { argument 32 mActivated = item;
|