Home
last modified time | relevance | path

Searched refs:MenuPresenter (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java152 private CopyOnWriteArrayList<WeakReference<MenuPresenter>> mPresenters =
153 new CopyOnWriteArrayList<WeakReference<MenuPresenter>>();
214 public void addMenuPresenter(MenuPresenter presenter) { in addMenuPresenter()
227 public void addMenuPresenter(MenuPresenter presenter, Context menuContext) { in addMenuPresenter()
228 mPresenters.add(new WeakReference<MenuPresenter>(presenter)); in addMenuPresenter()
239 public void removeMenuPresenter(MenuPresenter presenter) { in removeMenuPresenter()
240 for (WeakReference<MenuPresenter> ref : mPresenters) { in removeMenuPresenter()
241 final MenuPresenter item = ref.get(); in removeMenuPresenter()
252 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchPresenterUpdate()
253 final MenuPresenter presenter = ref.get(); in dispatchPresenterUpdate()
[all …]
DMenuDialogHelper.java33 MenuPresenter.Callback {
37 private MenuPresenter.Callback mPresenterCallback;
126 public void setPresenterCallback(MenuPresenter.Callback cb) { in setPresenterCallback()
DMenuHelper.java23 void setPresenterCallback(MenuPresenter.Callback cb); in setPresenterCallback()
DMenuPresenter.java29 public interface MenuPresenter { interface
DMenuPopupHelper.java19 import com.android.internal.view.menu.MenuPresenter.Callback;
310 public void setPresenterCallback(@Nullable MenuPresenter.Callback cb) { in setPresenterCallback()
DMenuPopup.java39 public abstract class MenuPopup implements ShowableListMenu, MenuPresenter,
DBaseMenuPresenter.java33 public abstract class BaseMenuPresenter implements MenuPresenter {
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java175 private CopyOnWriteArrayList<WeakReference<MenuPresenter>> mPresenters =
176 new CopyOnWriteArrayList<WeakReference<MenuPresenter>>();
248 public void addMenuPresenter(MenuPresenter presenter) { in addMenuPresenter()
261 public void addMenuPresenter(MenuPresenter presenter, Context menuContext) { in addMenuPresenter()
262 mPresenters.add(new WeakReference<MenuPresenter>(presenter)); in addMenuPresenter()
273 public void removeMenuPresenter(MenuPresenter presenter) { in removeMenuPresenter()
274 for (WeakReference<MenuPresenter> ref : mPresenters) { in removeMenuPresenter()
275 final MenuPresenter item = ref.get(); in removeMenuPresenter()
286 for (WeakReference<MenuPresenter> ref : mPresenters) { in dispatchPresenterUpdate()
287 final MenuPresenter presenter = ref.get(); in dispatchPresenterUpdate()
[all …]
DMenuDialogHelper.java35 MenuPresenter.Callback {
39 private MenuPresenter.Callback mPresenterCallback;
128 public void setPresenterCallback(MenuPresenter.Callback cb) { in setPresenterCallback()
DMenuHelper.java23 void setPresenterCallback(MenuPresenter.Callback cb); in setPresenterCallback()
DMenuPresenter.java33 public interface MenuPresenter { interface
DMenuPopupHelper.java60 private MenuPresenter.Callback mPresenterCallback;
322 public void setPresenterCallback(@Nullable MenuPresenter.Callback cb) { in setPresenterCallback()
DMenuPopup.java38 abstract class MenuPopup implements ShowableListMenu, MenuPresenter,
DBaseMenuPresenter.java37 public abstract class BaseMenuPresenter implements MenuPresenter {
/frameworks/base/core/java/com/android/internal/widget/
DDecorToolbar.java33 import com.android.internal.view.menu.MenuPresenter;
72 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()
104 void setMenuCallbacks(MenuPresenter.Callback presenterCallback, in setMenuCallbacks()
DDecorContentParent.java25 import com.android.internal.view.menu.MenuPresenter;
48 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()
DToolbarWidgetWrapper.java45 import com.android.internal.view.menu.MenuPresenter;
385 public void setMenu(Menu menu, MenuPresenter.Callback cb) { in setMenu()
698 public void setMenuCallbacks(MenuPresenter.Callback presenterCallback, in setMenuCallbacks()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDecorToolbar.java28 import android.support.v7.view.menu.MenuPresenter;
70 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()
102 void setMenuCallbacks(MenuPresenter.Callback presenterCallback, in setMenuCallbacks()
DDecorContentParent.java25 import android.support.v7.view.menu.MenuPresenter;
54 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()
DToolbarWidgetWrapper.java35 import android.support.v7.view.menu.MenuPresenter;
363 public void setMenu(Menu menu, MenuPresenter.Callback cb) { in setMenu()
669 public void setMenuCallbacks(MenuPresenter.Callback actionMenuPresenterCallback, in setMenuCallbacks()
DActionMenuView.java29 import android.support.v7.view.menu.MenuPresenter;
65 private MenuPresenter.Callback mActionMenuPresenterCallback;
670 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationPresenter.java28 import android.support.v7.view.menu.MenuPresenter;
37 public class BottomNavigationPresenter implements MenuPresenter {
/frameworks/base/core/java/android/widget/
DActionMenuView.java38 import com.android.internal.view.menu.MenuPresenter;
63 private MenuPresenter.Callback mActionMenuPresenterCallback;
658 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java21 import com.android.internal.view.menu.MenuPresenter;
538 private final class ActionMenuPresenterCallback implements MenuPresenter.Callback {
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DToolbarActionBar.java27 import android.support.v7.view.menu.MenuPresenter;
551 private final class ActionMenuPresenterCallback implements MenuPresenter.Callback {

12