Searched refs:mUnitCount (Results 1 – 1 of 1) sorted by relevance
410 private int mUnitCount; field in SlotView.Layout438 col = index / mUnitCount; in getSlotRect()439 row = index - col * mUnitCount; in getSlotRect()441 row = index / mUnitCount; in getSlotRect()442 col = index - row * mUnitCount; in getSlotRect()477 mUnitCount = unitCount; in initLayoutParameters()480 int availableUnits = Math.min(mUnitCount, mSlotCount); in initLayoutParameters()486 int count = ((mSlotCount + mUnitCount - 1) / mUnitCount); in initLayoutParameters()535 int start = Math.max(0, mUnitCount * startCol); in updateVisibleSlotRange()538 int end = Math.min(mSlotCount, mUnitCount * endCol); in updateVisibleSlotRange()[all …]