Home
last modified time | relevance | path

Searched refs:getItem (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemAdapter.java47 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/java/com/android/internal/view/menu/
DMenuAdapter.java65 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()
DListMenuPresenter.java167 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()
DMenuPopup.java128 wrappedAdapter.mAdapterMenu.performItemAction((MenuItem) outerAdapter.getItem(position), 0); in onItemClick()
203 MenuItem childItem = menu.getItem(i); in shouldPreserveIconSpacing()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java90 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/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java72 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()
DItemViewHolder.java54 public IItem getItem() { in getItem() method in ItemViewHolder
/frameworks/base/core/java/com/android/internal/globalactions/
DActionsAdapter.java67 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/
DPreferenceGroupAdapter.java220 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/
DAddPrinterActivity.java388 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 …]
/frameworks/base/core/java/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java96 return getItem(index).listView; in getListViewForIndex()
100 ResolverProfileDescriptor getItem(int pageIndex) { in getItem() method in ResolverMultiProfilePagerAdapter
111 final ListView listView = getItem(pageIndex).listView; in setupListAdapter()
112 listView.setAdapter(getItem(pageIndex).resolverListAdapter); in setupListAdapter()
DChooserMultiProfilePagerAdapter.java80 return getItem(index).recyclerView; in getListViewForIndex()
84 ChooserProfileDescriptor getItem(int pageIndex) { in getItem() method in ChooserMultiProfilePagerAdapter
113 final RecyclerView recyclerView = getItem(pageIndex).recyclerView; in setupListAdapter()
115 getItem(pageIndex).chooserGridAdapter; in setupListAdapter()
DAbstractMultiProfilePagerAdapter.java176 final ProfileDescriptor profileDescriptor = getItem(position); in instantiateItem()
220 abstract ProfileDescriptor getItem(int pageIndex); in getItem() method in AbstractMultiProfilePagerAdapter
357 ViewGroup emptyStateView = getItem(i).getEmptyStateView(); in updateAfterConfigChange()
433 ProfileDescriptor descriptor = getItem( in maybeShowWorkProfileOffEmptyState()
472 ProfileDescriptor descriptor = getItem( in showEmptyState()
511 ProfileDescriptor descriptor = getItem( in showConsumerUserNoAppsAvailableEmptyState()
553 ProfileDescriptor descriptor = getItem( in showListView()
DMediaRouteChooserDialog.java216 return getItem(position).isEnabled(); in isEnabled()
225 MediaRouter.RouteInfo route = getItem(position); in getView()
243 MediaRouter.RouteInfo route = getItem(position); in onItemClick()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java67 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()
DBaseFragmentPagerAdapter.java64 public abstract Fragment getItem(int position); in getItem() method in BaseFragmentPagerAdapter
87 fragment = getItem(position); in instantiateItem()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java101 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/base/core/java/com/android/internal/widget/
DAccountViewAdapter.java50 public Object getItem(int position) { in getItem() method in AccountViewAdapter
72 AccountElements elements = (AccountElements) getItem(position); in getView()
DScrollingTabContainerView.java511 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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DOverflowMenuAdapter.java57 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/
DForegroundServicesDialog.java69 String pkg = mAdapter.getItem(which).packageName;
203 icon.setImageDrawable(mIconDrawableFactory.getBadgedIcon(getItem(position))); in getView()
206 label.setText(getItem(position).loadLabel(mPm)); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordingAdapter.java93 switch (getItem(position)) { in getDropDownView()
107 switch (getItem(position)) { in getView()
/frameworks/base/core/java/android/view/
DSubMenu.java110 public MenuItem getItem(); in getItem() method
/frameworks/base/core/java/android/widget/
DAdapter.java64 Object getItem(int position); in getItem() method
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DStream.cpp32 std::string name(context.getItem(MappingKeyName)); in Stream()

123456