Searched refs:colWidth (Results 1 – 3 of 3) sorted by relevance
57 val colWidth = width / colorSpaces.size.toFloat() in onDraw() constant58 val rowHeight = minOf((height - 20.dp()) / 4f, colWidth) in onDraw()60 val dest = Rect(0, 0, rowHeight.toInt(), colWidth.toInt()) in onDraw()64 canvas.translate(colIndex * colWidth, 20.dp()) in onDraw()
651 final int colWidth = mCellWidth; in drawDaysOfWeek() local658 final int colCenter = colWidth * col + colWidth / 2; in drawDaysOfWeek()678 final int colWidth = mCellWidth; in drawDays() local685 final int colCenter = colWidth * col + colWidth / 2; in drawDays()1003 final int colWidth = mCellWidth; in getBoundsForDay() local1006 left = getWidth() - getPaddingRight() - (col + 1) * colWidth; in getBoundsForDay()1008 left = getPaddingLeft() + col * colWidth; in getBoundsForDay()1017 outBounds.set(left, top, left + colWidth, top + rowHeight); in getBoundsForDay()
749 final int colWidth = in layoutChildren() local775 final int widthSize = colWidth * span + itemMargin * (span - 1); in layoutChildren()804 final int childLeft = paddingLeft + col * (colWidth + itemMargin); in layoutChildren()885 final int colWidth = in fillUp() local905 final int widthSize = colWidth * span + itemMargin * (span - 1); in fillUp()967 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillUp()999 final int colWidth = in fillDown() local1019 final int widthSize = colWidth * span + itemMargin * (span - 1); in fillDown()1081 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillDown()