Home
last modified time | relevance | path

Searched refs:CustomAction (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DCustomizableOptionsRowAdapter.java21 import com.android.tv.customization.CustomAction;
30 private final List<CustomAction> mCustomActions;
32 public CustomizableOptionsRowAdapter(Context context, List<CustomAction> customActions) { in CustomizableOptionsRowAdapter()
56 CustomAction customAction = mCustomActions.get(i); in createActions()
80 protected List<CustomAction> getCustomActions() { in getCustomActions()
DMenuRowFactory.java25 import com.android.tv.customization.CustomAction;
56 List<CustomAction> customActions = mTvCustomizationManager.getCustomActions( in createMenuRow()
76 private TvOptionsRow(Context context, Menu menu, List<CustomAction> customActions) { in TvOptionsRow()
113 List<CustomAction> customActions) { in PartnerRow()
DPartnerOptionsRowAdapter.java21 import com.android.tv.customization.CustomAction;
27 public PartnerOptionsRowAdapter(Context context, List<CustomAction> customActions) { in PartnerOptionsRowAdapter()
DTvOptionsRowAdapter.java27 import com.android.tv.customization.CustomAction;
47 public TvOptionsRowAdapter(Context context, List<CustomAction> customActions) { in TvOptionsRowAdapter()
71 for (CustomAction customAction : getCustomActions()) { in createBaseActions()
/packages/apps/TV/src/com/android/tv/customization/
DTvCustomizationManager.java66 private final Map<String, List<CustomAction>> mRowIdToCustomActionsMap = new HashMap<>();
123 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); in buildCustomActions()
128 actions.add(new CustomAction(position, title, drawable, intent)); in buildCustomActions()
132 for (List<CustomAction> actions : mRowIdToCustomActionsMap.values()) { in buildCustomActions()
139 for (CustomAction action : mRowIdToCustomActionsMap.get(id)) { in buildCustomActions()
153 public List<CustomAction> getCustomActions(String rowId) { in getCustomActions()
DCustomAction.java27 public class CustomAction implements Comparable<CustomAction> { class
35 public CustomAction(int positionPriority, String title, Drawable iconDrawable, Intent intent) { in CustomAction() method in CustomAction
53 public int compareTo(@NonNull CustomAction another) { in compareTo()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DTvOptionsRowAdapterTest.java24 import com.android.tv.customization.CustomAction;
51 Collections.<CustomAction>emptyList()); in setUp()