Home
last modified time | relevance | path

Searched refs:mPresenter (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/widget/
DActionMenuView.java56 private ActionMenuPresenter mPresenter; field in ActionMenuView
112 mPresenter = presenter; in setPresenter()
113 mPresenter.setMenuView(this); in setPresenter()
119 mPresenter.updateMenuView(false); in onConfigurationChanged()
121 if (mPresenter != null && mPresenter.isOverflowMenuShowing()) { in onConfigurationChanged()
122 mPresenter.hideOverflowMenu(); in onConfigurationChanged()
123 mPresenter.showOverflowMenu(); in onConfigurationChanged()
613 mPresenter = new ActionMenuPresenter(context); in getMenu()
614 mPresenter.setReserveOverflow(true); in getMenu()
615 mPresenter.setCallback(mActionMenuPresenterCallback != null in getMenu()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java62 private ActionMenuPresenter mPresenter; field in ActionMenuView
119 mPresenter = presenter; in setPresenter()
120 mPresenter.setMenuView(this); in setPresenter()
129 mPresenter.updateMenuView(false); in onConfigurationChanged()
131 if (mPresenter != null && mPresenter.isOverflowMenuShowing()) { in onConfigurationChanged()
132 mPresenter.hideOverflowMenu(); in onConfigurationChanged()
133 mPresenter.showOverflowMenu(); in onConfigurationChanged()
622 mPresenter = new ActionMenuPresenter(context); in getMenu()
623 mPresenter.setReserveOverflow(true); in getMenu()
624 mPresenter.setCallback(mActionMenuPresenterCallback != null in getMenu()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java39 ListMenuPresenter mPresenter; field in MenuDialogHelper
58 mPresenter = new ListMenuPresenter(builder.getContext(), in show()
61 mPresenter.setCallback(this); in show()
62 mMenu.addMenuPresenter(mPresenter); in show()
63 builder.setAdapter(mPresenter.getAdapter(), this); in show()
145 mPresenter.onCloseMenu(mMenu, true); in onDismiss()
167 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0); in onClick()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuDialogHelper.java40 ListMenuPresenter mPresenter; field in MenuDialogHelper
61 mPresenter = new ListMenuPresenter(R.layout.abc_list_menu_item_layout, in show()
64 mPresenter.setCallback(this); in show()
65 mMenu.addMenuPresenter(mPresenter); in show()
66 builder.setAdapter(mPresenter.getAdapter(), this); in show()
148 mPresenter.onCloseMenu(mMenu, true); in onDismiss()
170 mMenu.performItemAction((MenuItemImpl) mPresenter.getAdapter().getItem(which), 0); in onClick()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSinglePresenterSelector.java22 private final Presenter mPresenter; field in SinglePresenterSelector
28 mPresenter = presenter; in SinglePresenterSelector()
33 return mPresenter; in getPresenter()
DItemBridgeAdapter.java85 final Presenter mPresenter; field in ItemBridgeAdapter.ViewHolder
95 return mPresenter; in getPresenter()
132 mPresenter = presenter; in ViewHolder()
275 viewHolder.mPresenter.onBindViewHolder(viewHolder.mHolder, viewHolder.mItem); in onBindViewHolder()
285 viewHolder.mPresenter.onUnbindViewHolder(viewHolder.mHolder); in onViewRecycled()
300 viewHolder.mPresenter.onViewAttachedToWindow(viewHolder.mHolder); in onViewAttachedToWindow()
306 viewHolder.mPresenter.onViewDetachedFromWindow(viewHolder.mHolder); in onViewDetachedFromWindow()
DControlBarPresenter.java69 Presenter mPresenter; field in ControlBarPresenter.ViewHolder
104 showControls(mPresenter); in ViewHolder()
111 bindControlToAction(positionStart + i, mPresenter); in ViewHolder()
249 vh.mPresenter = data.presenter; in onBindViewHolder()
251 vh.showControls(vh.mPresenter); in onBindViewHolder()
DPlaybackControlsPresenter.java76 showControls(mPresenter); in ViewHolder()
83 bindControlToAction(positionStart + i, mPresenter); in ViewHolder()
98 mMoreActionsViewHolder = mPresenter.onCreateViewHolder(mMoreActionsDock); in showMoreActions()
99 mPresenter.onBindViewHolder(mMoreActionsViewHolder, action); in showMoreActions()
100mPresenter.setOnClickListener(mMoreActionsViewHolder, new View.OnClickListener() { in showMoreActions()
118 showControls(mPresenter); in toggleMoreActions()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java50 private Presenter mPresenter; field in SourceActivity
69 mPresenter = new Presenter(); in onCreate()
182 mDisplaySourceService = new DisplaySourceService(this, mTransport, mPresenter); in startServices()