Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorage.java73 private final File[] mSlots = new File[NUM_OF_SLOTS]; field in ClipStorage
109 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 …]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DMinimizedControlBar.java41 private FrameLayout[] mSlots; field in MinimizedControlBar
80 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()
DControlBar.java65 private FrameLayout[] mSlots; field in ControlBar
131 mSlots = new FrameLayout[mNumColumns * mNumRows]; in init()
142 mSlots[pos] = (FrameLayout) inflater.inflate(R.layout.control_bar_slot, row, in init()
145 mFirstCreatedSlot = mSlots[pos]; in init()
153 row.addView(mSlots[pos]); in init()
230 int totalSlots = mSlots.length; in updateViewsLayout()
262 setView(viewToUse, mSlots[i]); in updateViewsLayout()
282 float lastRowX = mSlots[lastIndex].getX(); in updateViewsLayout()
283 float firstRowX = mSlots[mNumColumns - 1].getX(); in updateViewsLayout()
319 mSlots[getSlotIndex(SLOT_EXPAND_COLLAPSE)].setActivated(mIsExpanded); in onExpandCollapse()