Home
last modified time | relevance | path

Searched refs:actionView (Results 1 – 8 of 8) 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/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMenuView.java449 final PipMenuActionView actionView = (PipMenuActionView) inflater.inflate( in updateActionViews() local
451 mActionsGroup.addView(actionView); in updateActionViews()
466 final PipMenuActionView actionView = in updateActionViews() local
474 actionView.setImageDrawable(null); in updateActionViews()
480 actionView.setImageDrawable(d); in updateActionViews()
484 actionView.setCustomCloseBackgroundVisibility( in updateActionViews()
486 actionView.setContentDescription(action.getContentDescription()); in updateActionViews()
488 actionView.setOnClickListener( in updateActionViews()
491 actionView.setEnabled(action.isEnabled()); in updateActionViews()
492 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateActionViews()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMenuView.java451 final PipMenuActionView actionView = (PipMenuActionView) inflater.inflate( in updateActionViews() local
453 mActionsGroup.addView(actionView); in updateActionViews()
468 final PipMenuActionView actionView = in updateActionViews() local
476 actionView.setImageDrawable(null); in updateActionViews()
482 actionView.setImageDrawable(d); in updateActionViews()
486 actionView.setCustomCloseBackgroundVisibility( in updateActionViews()
488 actionView.setContentDescription(action.getContentDescription()); in updateActionViews()
490 actionView.setOnClickListener( in updateActionViews()
493 actionView.setEnabled(action.isEnabled()); in updateActionViews()
494 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateActionViews()
[all …]
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java238 View actionView = item.getActionView(); in getItemView() local
239 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView()
240 actionView = super.getItemView(item, convertView, parent); in getItemView()
242 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); in getItemView()
245 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); in getItemView()
247 actionView.setLayoutParams(menuParent.generateLayoutParams(lp)); in getItemView()
249 return actionView; in getItemView()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java82 private static boolean isPriority(View actionView) { in isPriority() argument
83 return actionView instanceof EmphasizedNotificationButton in isPriority()
84 && ((EmphasizedNotificationButton) actionView).isPriority(); in isPriority()
/frameworks/base/core/java/android/view/
DMenuInflater.java516 View actionView = (View) newInstance(itemActionViewClassName, in setItem() local
518 item.setActionView(actionView); in setItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java451 ActionPendingIntentCancellationHandler(PendingIntent pendingIntent, View actionView, in ActionPendingIntentCancellationHandler() argument
454 this.mView = actionView; in ActionPendingIntentCancellationHandler()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java323 public MenuItem setActionView(View actionView) { in setActionView() argument