Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuItemWrapperICS.java274 View actionView = mWrappedObject.getActionView(); in setActionView() local
275 if (actionView instanceof android.view.CollapsibleActionView) { in setActionView()
277 mWrappedObject.setActionView(new CollapsibleActionViewWrapper(actionView)); in setActionView()
284 View actionView = mWrappedObject.getActionView(); in getActionView() local
285 if (actionView instanceof CollapsibleActionViewWrapper) { in getActionView()
286 return ((CollapsibleActionViewWrapper) actionView).getWrappedView(); in getActionView()
288 return actionView; in getActionView()
458 CollapsibleActionViewWrapper(View actionView) { in CollapsibleActionViewWrapper() argument
459 super(actionView.getContext()); in CollapsibleActionViewWrapper()
460 mWrappedView = (android.view.CollapsibleActionView) actionView; in CollapsibleActionViewWrapper()
[all …]
DActionMenuItem.java320 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/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java468 final ImageView actionView = (ImageView) inflater.inflate( in updateActionViews() local
470 mActionsGroup.addView(actionView); in updateActionViews()
485 final ImageView actionView = (ImageView) mActionsGroup.getChildAt(i); in updateActionViews() local
490 actionView.setImageDrawable(d); in updateActionViews()
492 actionView.setContentDescription(action.getContentDescription()); in updateActionViews()
494 actionView.setOnClickListener(v -> { in updateActionViews()
502 actionView.setEnabled(action.isEnabled()); in updateActionViews()
503 actionView.setAlpha(action.isEnabled() ? 1f : DISABLED_ACTION_ALPHA); in updateActionViews()
507 actionView.getLayoutParams(); in updateActionViews()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DMediaItemActionPresenter.java51 View actionView = LayoutInflater.from(context) in onCreateViewHolder() local
53 return new ViewHolder(actionView); in onCreateViewHolder()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java194 View actionView = item.getActionView(); in getItemView() local
195 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView()
196 actionView = super.getItemView(item, convertView, parent); in getItemView()
198 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); in getItemView()
201 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); in getItemView()
203 actionView.setLayoutParams(menuParent.generateLayoutParams(lp)); in getItemView()
205 return actionView; in getItemView()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java567 View actionView = item != null ? item.getActionView() : null; in createInstanceState() local
568 if (actionView != null) { in createInstanceState()
570 actionView.saveHierarchyState(container); in createInstanceState()
609 View actionView = item.getActionView(); in restoreInstanceState() local
610 if (actionView == null) { in restoreInstanceState()
617 actionView.restoreHierarchyState(container); in restoreInstanceState()
DNavigationMenuItemView.java157 private void setActionView(View actionView) { in setActionView() argument
158 if (actionView != null) { in setActionView()
164 mActionArea.addView(actionView); in setActionView()
/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/android/support/wear/widget/drawer/
DWearableActionDrawerView.java434 View actionView = in onCreateViewHolder() local
437 actionView.setOnClickListener(mItemClickListener); in onCreateViewHolder()
438 return new ActionItemViewHolder(actionView); in onCreateViewHolder()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java495 View actionView = (View) newInstance(itemActionViewClassName, in setItem() local
497 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