Home
last modified time | relevance | path

Searched refs:mPresenters (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DClassPresenterSelector.java25 private final ArrayList<Presenter> mPresenters = new ArrayList<Presenter>(); field in ClassPresenterSelector
37 if (!mPresenters.contains(presenter)) { in addClassPresenter()
38 mPresenters.add(presenter); in addClassPresenter()
55 if (!mPresenters.contains(innerPresenters[i])) { in addClassPresenterSelector()
56 mPresenters.add(innerPresenters[i]); in addClassPresenterSelector()
82 return mPresenters.toArray(new Presenter[mPresenters.size()]); in getPresenters()
DItemBridgeAdapter.java63 private ArrayList<Presenter> mPresenters = new ArrayList<Presenter>(); field in ItemBridgeAdapter
238 mPresenters = presenters; in setPresenterMapper()
245 return mPresenters; in getPresenterMapper()
259 int type = mPresenters.indexOf(presenter); in getItemViewType()
261 mPresenters.add(presenter); in getItemViewType()
262 type = mPresenters.indexOf(presenter); in getItemViewType()
316 Presenter presenter = mPresenters.get(viewType); in onCreateViewHolder()
402 return mPresenters.get(type); in getFacetProvider()
DControlButtonPresenterSelector.java36 private final Presenter[] mPresenters = new Presenter[]{mPrimaryPresenter}; field in ControlButtonPresenterSelector
62 return mPresenters; in getPresenters()
DActionPresenterSelector.java28 private final Presenter[] mPresenters = new Presenter[] { field in ActionPresenterSelector
43 return mPresenters; in getPresenters()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java152 private CopyOnWriteArrayList<WeakReference<MenuPresenter>> mPresenters = field in MenuBuilder
228 mPresenters.add(new WeakReference<MenuPresenter>(presenter)); in addMenuPresenter()
240 for (WeakReference<MenuPresenter> ref : mPresenters) { in removeMenuPresenter()
243 mPresenters.remove(ref); in removeMenuPresenter()
249 if (mPresenters.isEmpty()) return; in dispatchPresenterUpdate()
252 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchPresenterUpdate()
255 mPresenters.remove(ref); in dispatchPresenterUpdate()
265 if (mPresenters.isEmpty()) return false; in dispatchSubMenuSelected()
274 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchSubMenuSelected()
277 mPresenters.remove(ref); in dispatchSubMenuSelected()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java175 private CopyOnWriteArrayList<WeakReference<MenuPresenter>> mPresenters = field in MenuBuilder
262 mPresenters.add(new WeakReference<MenuPresenter>(presenter)); in addMenuPresenter()
274 for (WeakReference<MenuPresenter> ref : mPresenters) { in removeMenuPresenter()
277 mPresenters.remove(ref); in removeMenuPresenter()
283 if (mPresenters.isEmpty()) return; in dispatchPresenterUpdate()
286 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchPresenterUpdate()
289 mPresenters.remove(ref); in dispatchPresenterUpdate()
299 if (mPresenters.isEmpty()) return false; in dispatchSubMenuSelected()
308 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchSubMenuSelected()
311 mPresenters.remove(ref); in dispatchSubMenuSelected()
[all …]