Searched refs:mUnitCount (Results 1 – 1 of 1) sorted by relevance
409 private int mUnitCount; field in SlotView.Layout437 col = index / mUnitCount; in getSlotRect()438 row = index - col * mUnitCount; in getSlotRect()440 row = index / mUnitCount; in getSlotRect()441 col = index - row * mUnitCount; in getSlotRect()476 mUnitCount = unitCount; in initLayoutParameters()479 int availableUnits = Math.min(mUnitCount, mSlotCount); in initLayoutParameters()485 int count = ((mSlotCount + mUnitCount - 1) / mUnitCount); in initLayoutParameters()534 int start = Math.max(0, mUnitCount * startCol); in updateVisibleSlotRange()537 int end = Math.min(mSlotCount, mUnitCount * endCol); in updateVisibleSlotRange()[all …]