Searched refs:slotPosition (Results 1 – 3 of 3) sorted by relevance
39 void setView(@Nullable View view, @SlotPosition int slotPosition); in setView() argument78 static int getSlotIndex(@SlotPosition int slotPosition, int numColumns) { in getSlotIndex() argument79 switch (slotPosition) { in getSlotIndex()89 throw new IllegalArgumentException("Unknown position: " + slotPosition); in getSlotIndex()
164 private int getSlotIndex(@SlotPosition int slotPosition) { in getSlotIndex() argument165 return CarControlBar.getSlotIndex(slotPosition, mNumColumns); in getSlotIndex()169 public void setView(@Nullable View view, @SlotPosition int slotPosition) { in setView() argument171 mFixedViews.put(slotPosition, view); in setView()173 mFixedViews.remove(slotPosition); in setView()
88 public void setView(@Nullable View view, @SlotPosition int slotPosition) { in setView() argument89 mFixedViews[slotPosition] = view; in setView()