Searched refs:mSlots (Results 1 – 3 of 3) sorted by relevance
73 private final File[] mSlots = new File[NUM_OF_SLOTS]; field in ClipStorage109 if (!mSlots[curSlot].exists()) { in claimStorageSlot()114 if (mSlots[curSlot].list().length <= 1) { in claimStorageSlot()140 assert(mSlots[pos] != null); in prepareSlot()142 Files.deleteRecursively(mSlots[pos]); in prepareSlot()143 mSlots[pos].mkdir(); in prepareSlot()144 assert(mSlots[pos].isDirectory()); in prepareSlot()161 String linkFileName = Integer.toString(mSlots[slot].list().length); in getFile()162 File link = new File(mSlots[slot], linkFileName); in getFile()181 assert(mSlots[pos] != null); in toSlotDataFile()[all …]
41 private FrameLayout[] mSlots; field in MinimizedControlBar80 mSlots = new FrameLayout[NUM_COLUMNS]; in init()82 mSlots[0] = findViewById(R.id.minimized_control_bar_left_slot); in init()83 mSlots[1] = findViewById(R.id.minimized_control_bar_main_slot); in init()84 mSlots[2] = findViewById(R.id.minimized_control_bar_right_slot); in init()106 LayoutInflater inflater = LayoutInflater.from(mSlots[0].getContext()); in createIconButton()108 ImageButton button = (ImageButton) inflater.inflate(viewId, mSlots[0], attachToRoot); in createIconButton()125 setView(viewToUse, mSlots[CarControlBar.getSlotIndex(i, NUM_COLUMNS)]); in updateViewsLayout()
64 private FrameLayout[] mSlots; field in ControlBar130 mSlots = new FrameLayout[mNumColumns * mNumRows]; in init()141 mSlots[pos] = (FrameLayout) inflater.inflate(R.layout.control_bar_slot, row, in init()144 mFirstCreatedSlot = mSlots[pos]; in init()152 row.addView(mSlots[pos]); in init()229 int totalSlots = mSlots.length; in updateViewsLayout()261 setView(viewToUse, mSlots[i]); in updateViewsLayout()281 float lastRowX = mSlots[lastIndex].getX(); in updateViewsLayout()282 float firstRowX = mSlots[mNumColumns - 1].getX(); in updateViewsLayout()326 mSlots[getSlotIndex(SLOT_EXPAND_COLLAPSE)].setActivated(mIsExpanded); in onExpandCollapse()