/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 56 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/ |
D | ActionMenuView.java | 62 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/ |
D | MenuDialogHelper.java | 39 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/ |
D | MenuDialogHelper.java | 40 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/ |
D | SinglePresenterSelector.java | 22 private final Presenter mPresenter; field in SinglePresenterSelector 28 mPresenter = presenter; in SinglePresenterSelector() 33 return mPresenter; in getPresenter()
|
D | ItemBridgeAdapter.java | 85 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()
|
D | ControlBarPresenter.java | 69 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()
|
D | PlaybackControlsPresenter.java | 76 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() 100 … mPresenter.setOnClickListener(mMoreActionsViewHolder, new View.OnClickListener() { in showMoreActions() 118 showControls(mPresenter); in toggleMoreActions()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 50 private Presenter mPresenter; field in SourceActivity 69 mPresenter = new Presenter(); in onCreate() 182 mDisplaySourceService = new DisplaySourceService(this, mTransport, mPresenter); in startServices()
|