Home
last modified time | relevance | path

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

/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.java221 PipControlButtonView actionView = mCustomButtonViews.get(i); in updateUserActions()
226 actionView.setImageDrawable(d); in updateUserActions()
228 actionView.setText(action.getContentDescription()); in updateUserActions()
230 actionView.setOnClickListener(v -> { in updateUserActions()
238 actionView.setEnabled(action.isEnabled()); in updateUserActions()
239 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateUserActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java441 final ImageView actionView = (ImageView) inflater.inflate( in updateActionViews() local
443 mActionsGroup.addView(actionView); in updateActionViews()
458 final ImageView actionView = (ImageView) mActionsGroup.getChildAt(i); in updateActionViews() local
463 actionView.setImageDrawable(d); in updateActionViews()
465 actionView.setContentDescription(action.getContentDescription()); in updateActionViews()
467 actionView.setOnClickListener(v -> { in updateActionViews()
477 actionView.setEnabled(action.isEnabled()); in updateActionViews()
478 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateActionViews()
482 actionView.getLayoutParams(); in updateActionViews()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java237 View actionView = item.getActionView(); in getItemView() local
238 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView()
239 actionView = super.getItemView(item, convertView, parent); in getItemView()
241 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); in getItemView()
244 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); in getItemView()
246 actionView.setLayoutParams(menuParent.generateLayoutParams(lp)); in getItemView()
248 return actionView; in getItemView()
/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.java322 public MenuItem setActionView(View actionView) { in setActionView() argument