Home
last modified time | relevance | path

Searched refs:actionView (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuItemWrapperICS.java273 View actionView = mWrappedObject.getActionView(); in setActionView() local
274 if (actionView instanceof android.view.CollapsibleActionView) { in setActionView()
276 mWrappedObject.setActionView(new CollapsibleActionViewWrapper(actionView)); in setActionView()
283 View actionView = mWrappedObject.getActionView(); in getActionView() local
284 if (actionView instanceof CollapsibleActionViewWrapper) { in getActionView()
285 return ((CollapsibleActionViewWrapper) actionView).getWrappedView(); in getActionView()
287 return actionView; in getActionView()
457 CollapsibleActionViewWrapper(View actionView) { in CollapsibleActionViewWrapper() argument
458 super(actionView.getContext()); in CollapsibleActionViewWrapper()
459 mWrappedView = (android.view.CollapsibleActionView) actionView; in CollapsibleActionViewWrapper()
[all …]
DActionMenuItem.java321 public SupportMenuItem setActionView(View actionView) { in setActionView() argument
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/
DBridgeMenuItemImpl.java57 View actionView = getActionView(); in setViewCookie() local
58 if (actionView != null && mContext != null) { in setViewCookie()
59 mContext.addViewKey(actionView, viewCookie); in setViewCookie()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlsView.java227 PipControlButtonView actionView = mCustomButtonViews.get(i); in updateUserActions()
232 actionView.setImageDrawable(d); in updateUserActions()
234 actionView.setText(action.getContentDescription()); in updateUserActions()
236 actionView.setOnClickListener(v -> { in updateUserActions()
244 actionView.setEnabled(action.isEnabled()); in updateUserActions()
245 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateUserActions()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DMediaItemActionPresenter.java52 View actionView = LayoutInflater.from(context) in onCreateViewHolder() local
54 return new ViewHolder(actionView); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java492 final ImageView actionView = (ImageView) inflater.inflate( in updateActionViews() local
494 mActionsGroup.addView(actionView); in updateActionViews()
509 final ImageView actionView = (ImageView) mActionsGroup.getChildAt(i); in updateActionViews() local
514 actionView.setImageDrawable(d); in updateActionViews()
516 actionView.setContentDescription(action.getContentDescription()); in updateActionViews()
518 actionView.setOnClickListener(v -> { in updateActionViews()
526 actionView.setEnabled(action.isEnabled()); in updateActionViews()
527 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateActionViews()
531 actionView.getLayoutParams(); in updateActionViews()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionMenuPresenter.java195 View actionView = item.getActionView(); in getItemView() local
196 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView()
197 actionView = super.getItemView(item, convertView, parent); in getItemView()
199 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); in getItemView()
202 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); in getItemView()
204 actionView.setLayoutParams(menuParent.generateLayoutParams(lp)); in getItemView()
206 return actionView; in getItemView()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java236 View actionView = item.getActionView(); in getItemView() local
237 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView()
238 actionView = super.getItemView(item, convertView, parent); in getItemView()
240 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); in getItemView()
243 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); in getItemView()
245 actionView.setLayoutParams(menuParent.generateLayoutParams(lp)); in getItemView()
247 return actionView; in getItemView()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DWearableActionDrawerView.java439 View actionView = in onCreateViewHolder() local
442 actionView.setOnClickListener(mItemClickListener); in onCreateViewHolder()
443 return new ActionItemViewHolder(actionView); in onCreateViewHolder()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
DSupportMenuInflater.java496 View actionView = (View) newInstance(itemActionViewClassName, in setItem() local
498 item.setActionView(actionView); in setItem()
/frameworks/base/core/java/android/view/
DMenuInflater.java516 View actionView = (View) newInstance(itemActionViewClassName, in setItem() local
518 item.setActionView(actionView); in setItem()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java320 public MenuItem setActionView(View actionView) { in setActionView() argument