Home
last modified time | relevance | path

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

/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt57 val colWidth = width / colorSpaces.size.toFloat() in onDraw() constant
58 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()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java651 final int colWidth = mCellWidth; in drawDaysOfWeek() local
658 final int colCenter = colWidth * col + colWidth / 2; in drawDaysOfWeek()
678 final int colWidth = mCellWidth; in drawDays() local
685 final int colCenter = colWidth * col + colWidth / 2; in drawDays()
1003 final int colWidth = mCellWidth; in getBoundsForDay() local
1006 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()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java749 final int colWidth = in layoutChildren() local
775 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() local
905 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() local
1019 final int widthSize = colWidth * span + itemMargin * (span - 1); in fillDown()
1081 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillDown()