/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemAdapter.java | 47 public IItem getItem(int position) { in getItem() method in ItemAdapter 58 IItem item = getItem(position); in getItemViewType() 70 IItem item = getItem(i); in refreshViewTypes() 77 IItem item = getItem(position); in getView() 115 return getItem(position).isEnabled(); in isEnabled()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 90 Assert.assertEquals(firstOrder, mMenu.getItem(0).getOrder()); in testOrder() 91 Assert.assertEquals(a, mMenu.getItem(0).getTitle()); in testOrder() 92 Assert.assertEquals(midOrder, mMenu.getItem(1).getOrder()); in testOrder() 93 Assert.assertEquals(b, mMenu.getItem(1).getTitle()); in testOrder() 94 Assert.assertEquals(lastOrder, mMenu.getItem(2).getOrder()); in testOrder() 95 Assert.assertEquals(c, mMenu.getItem(2).getTitle()); in testOrder() 156 final MenuItem subMenuItem = subMenu.getItem(); in testSubMenu()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuAdapter.java | 65 public MenuItemImpl getItem(int position) { in getItem() method in MenuAdapter 85 final int currGroupId = getItem(position).getGroupId(); in getView() 87 position - 1 >= 0 ? getItem(position - 1).getGroupId() : currGroupId; in getView() 97 itemView.initialize(getItem(position), 0); in getView()
|
D | ListMenuPresenter.java | 167 mMenu.performItemAction(mAdapter.getItem(position), this, 0); in onItemClick() 239 public MenuItemImpl getItem(int position) { in getItem() method in ListMenuPresenter.MenuAdapter 260 itemView.initialize(getItem(position), 0); in getView()
|
D | MenuPopup.java | 128 wrappedAdapter.mAdapterMenu.performItemAction((MenuItem) outerAdapter.getItem(position), 0); in onItemClick() 203 MenuItem childItem = menu.getItem(i); in shouldPreserveIconSpacing()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 72 public IItem getItem(int position) { in getItem() method in RecyclerItemAdapter 78 IItem mItem = getItem(position); in getItemId() 136 final IItem item = viewHolder.getItem(); in onCreateViewHolder() 148 final IItem item = getItem(position); in onBindViewHolder() 158 IItem item = getItem(position); in getItemViewType()
|
D | ItemViewHolder.java | 54 public IItem getItem() { in getItem() method in ItemViewHolder
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ActionsAdapter.java | 67 return getItem(position).isEnabled(); in isEnabled() 76 public Action getItem(int position) { in getItem() method in ActionsAdapter 109 Action action = getItem(position); in getView()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 220 public Preference getItem(int position) { in getItem() method in PreferenceGroupAdapter 227 return this.getItem(position).getId(); in getItemId() 245 final Preference preference = this.getItem(position); in getView() 269 return this.getItem(position).isSelectable(); in isEnabled() 307 final Preference preference = this.getItem(position); in getItemViewType()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 388 public Object getItem(int position) { in getItem() method in AddPrinterActivity.CombinedAdapter 391 return realPosition.first.getItem(realPosition.second); in getItem() 471 public Object getItem(int position) { in getItem() method in AddPrinterActivity.PrintServiceInfoAdapter 496 Intent intent = getAddPrinterIntent((PrintServiceInfo) getItem(position)); in performAction() 553 PrintServiceInfo service = (PrintServiceInfo) getItem(position); in getView() 579 ((PrintServiceInfo) getItem(position)).getComponentName(), true); in performAction() 601 PrintServiceInfo service = (PrintServiceInfo) getItem(position); in getView() 670 public Object getItem(int position) { in getItem() method in AddPrinterActivity.RecommendedServicesAdapter 701 RecommendationInfo recommendation = (RecommendationInfo) getItem(position); in getView() 740 RecommendationInfo recommendation = (RecommendationInfo) getItem(position); in performAction() [all …]
|
D | PrintActivity.java | 880 MediaSize supportedSizePortrait = mMediaSizeSpinnerAdapter.getItem(i) in onAdvancedPrintOptionsActivityResult() 923 final int supportedColorMode = mColorModeSpinnerAdapter.getItem(i).value; in onAdvancedPrintOptionsActivityResult() 938 final int supportedDuplexMode = mDuplexModeSpinnerAdapter.getItem(i).value; in onAdvancedPrintOptionsActivityResult() 1700 if (!mediaSizes.get(i).equals(mMediaSizeSpinnerAdapter.getItem(i).value)) { in updateOptionsUi() 1740 .getItem(mediaSizeIndex).value.asPortrait()); in updateOptionsUi() 1743 .getItem(mediaSizeIndex).value.asLandscape()); in updateOptionsUi() 1764 if (colorMode != mColorModeSpinnerAdapter.getItem(adapterIndex).value) { in updateOptionsUi() 1801 SpinnerItem<Integer> item = mColorModeSpinnerAdapter.getItem(i); in updateOptionsUi() 1829 if (duplexMode != mDuplexModeSpinnerAdapter.getItem(adapterIndex).value) { in updateOptionsUi() 1868 SpinnerItem<Integer> item = mDuplexModeSpinnerAdapter.getItem(i); in updateOptionsUi() [all …]
|
D | SelectPrinterActivity.java | 163 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); in onCreate() 286 PrinterInfo printer = (PrinterInfo) mListView.getAdapter().getItem(position); in onCreateContextMenu() 623 if (getItem(position) == null) { 631 public Object getItem(int position) { 654 final PrinterInfo printer = (PrinterInfo) getItem(position); 748 PrinterInfo printer = (PrinterInfo) getItem(position);
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 101 public UsageEvents.Event getItem(int position) { in getItem() method in UsageLogActivity.Adapter 112 final int eventType = getItem(position).getEventType(); in getItemViewType() 121 final UsageEvents.Event event = getItem(position); in getView()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseCursorPagerAdapter.java | 67 public abstract Fragment getItem(Context context, Cursor cursor, int position); in getItem() method in BaseCursorPagerAdapter 72 public Fragment getItem(int position) { in getItem() method in BaseCursorPagerAdapter 74 return getItem(mContext, mCursor, position); in getItem()
|
D | BaseFragmentPagerAdapter.java | 64 public abstract Fragment getItem(int position); in getItem() method in BaseFragmentPagerAdapter 87 fragment = getItem(position); in instantiateItem()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AccountViewAdapter.java | 50 public Object getItem(int position) { in getItem() method in AccountViewAdapter 72 AccountElements elements = (AccountElements) getItem(position); in getView()
|
D | ScrollingTabContainerView.java | 511 public Object getItem(int position) { in getItem() method in ScrollingTabContainerView.TabAdapter 523 convertView = createTabView(mContext, (ActionBar.Tab) getItem(position), true); in getView() 525 ((TabView) convertView).bindTab((ActionBar.Tab) getItem(position)); in getView() 534 (ActionBar.Tab) getItem(position), true); in getDropDownView() 536 ((TabView) convertView).bindTab((ActionBar.Tab) getItem(position)); in getDropDownView()
|
D | WatchHeaderListView.java | 157 public Object getItem(int position) { in getItem() method in WatchHeaderListView.WatchHeaderListAdapter 159 return position < topPanelCount ? null : super.getItem(position - topPanelCount); in getItem()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | OverflowMenuAdapter.java | 57 public MenuItemImpl getItem(int position) { in getItem() method in OverflowMenuAdapter 81 itemView.initialize(getItem(position), 0); in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesDialog.java | 67 String pkg = mAdapter.getItem(which).packageName; 197 icon.setImageDrawable(mIconDrawableFactory.getBadgedIcon(getItem(position))); in getView() 200 label.setText(getItem(position).loadLabel(mPm)); in getView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialog.java | 216 return getItem(position).isEnabled(); in isEnabled() 225 MediaRouter.RouteInfo route = getItem(position); in getView() 243 MediaRouter.RouteInfo route = getItem(position); in onItemClick()
|
/frameworks/base/core/java/android/view/ |
D | SubMenu.java | 110 public MenuItem getItem(); in getItem() method
|
/frameworks/base/core/java/android/widget/ |
D | Adapter.java | 64 Object getItem(int position); in getItem() method
|
D | HeaderViewListAdapter.java | 171 public Object getItem(int position) { in getItem() method in HeaderViewListAdapter 184 return mAdapter.getItem(adjPosition); in getItem()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 195 && mAdapter.getItem(0) instanceof SinglePressAction in handleShow() 196 && !(mAdapter.getItem(0) instanceof LongPressAction)) { in handleShow() 197 ((SinglePressAction) mAdapter.getItem(0)).onPress(); in handleShow() 332 final Action action = mAdapter.getItem(position); in createDialog() 618 if (!(mAdapter.getItem(which) instanceof SilentModeTriStateAction)) { 621 mAdapter.getItem(which).onPress();
|