Home
last modified time | relevance | path

Searched refs:mActionsGroup (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DActionRow.java64 private final LinearLayout mActionsGroup; field in ActionRow
75 mActionsGroup = new LinearLayout(context); in ActionRow()
76 mActionsGroup.setOrientation(LinearLayout.HORIZONTAL); in ActionRow()
77 mActionsGroup.setLayoutParams( in ActionRow()
79 addView(mActionsGroup); in ActionRow()
84 for (int i = 0; i < mActionsGroup.getChildCount(); i++) { in setColor()
85 View view = mActionsGroup.getChildAt(i); in setColor()
114 mActionsGroup.removeAllViews(); in setActions()
115 addView(mActionsGroup); in setActions()
120 if (mActionsGroup.getChildCount() >= MAX_ACTIONS) { in setActions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java114 private LinearLayout mActionsGroup; field in PipMenuActivity
239 mActionsGroup = findViewById(R.id.actions_group); in onCreate()
488 if (mActionsGroup != null) { in updateActionViews()
491 while (mActionsGroup.getChildCount() < mActions.size()) { in updateActionViews()
493 R.layout.pip_menu_action, mActionsGroup, false); in updateActionViews()
494 mActionsGroup.addView(actionView); in updateActionViews()
498 for (int i = 0; i < mActionsGroup.getChildCount(); i++) { in updateActionViews()
499 mActionsGroup.getChildAt(i).setVisibility(i < mActions.size() in updateActionViews()
509 final ImageView actionView = (ImageView) mActionsGroup.getChildAt(i); in updateActionViews()