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

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

Completed in 525 milliseconds