Home
last modified time | relevance | path

Searched refs:slotPosition (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCarControlBar.java39 void setView(@Nullable View view, @SlotPosition int slotPosition); in setView() argument
78 static int getSlotIndex(@SlotPosition int slotPosition, int numColumns) { in getSlotIndex() argument
79 switch (slotPosition) { in getSlotIndex()
89 throw new IllegalArgumentException("Unknown position: " + slotPosition); in getSlotIndex()
DControlBar.java164 private int getSlotIndex(@SlotPosition int slotPosition) { in getSlotIndex() argument
165 return CarControlBar.getSlotIndex(slotPosition, mNumColumns); in getSlotIndex()
169 public void setView(@Nullable View view, @SlotPosition int slotPosition) { in setView() argument
171 mFixedViews.put(slotPosition, view); in setView()
173 mFixedViews.remove(slotPosition); in setView()
DMinimizedControlBar.java88 public void setView(@Nullable View view, @SlotPosition int slotPosition) { in setView() argument
89 mFixedViews[slotPosition] = view; in setView()