Home
last modified time | relevance | path

Searched refs:cellRect (Results 1 – 7 of 7) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DFixedTableModelTest.java52 RectF cellRect = it.next(); in testIterator() local
55 cellRect = it.next(); in testIterator()
58 cellRect = it.next(); in testIterator()
61 cellRect = it.next(); in testIterator()
64 cellRect = it.next(); in testIterator()
68 cellRect = it.next(); in testIterator()
84 RectF cellRect = it.next(); in testColumnMajor() local
85 assertEquals(0f, cellRect.left); in testColumnMajor()
86 assertEquals(0f, cellRect.top); in testColumnMajor()
87 assertEquals(300f, cellRect.right); in testColumnMajor()
[all …]
DDynamicTableModelTest.java50 RectF cellRect = model.getCellRect(tableRect, 10); in testGetCellRect() local
51 assertEquals(200f, cellRect.width()); in testGetCellRect()
55 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
56 assertEquals(200f, cellRect.width()); in testGetCellRect()
60 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
61 assertEquals(400f, cellRect.height()); in testGetCellRect()
104 RectF cellRect = it.next(); in testRowMajorIteration() local
105 assertEquals(500f, cellRect.width()); in testRowMajorIteration()
106 assertEquals(1000f, cellRect.height()); in testRowMajorIteration()
107 assertEquals(0f, cellRect.left); in testRowMajorIteration()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYLegendWidget.java83 private RectF getIconRect(RectF cellRect) { in getIconRect() argument
84 float cellRectCenterY = cellRect.top + (cellRect.height()/2); in getIconRect()
85 RectF iconRect = iconSizeMetrics.getRectF(cellRect); in getIconRect()
89 iconRect.offsetTo(cellRect.left + 1, centeredIconOriginY); in getIconRect()
93 private static float getRectCenterY(RectF cellRect) { in getRectCenterY() argument
94 return cellRect.top + (cellRect.height()/2); in getRectCenterY()
105 private void finishDrawingCell(Canvas canvas, RectF cellRect, RectF iconRect, String text) { in finishDrawingCell() argument
113 … float centeredTextOriginY = getRectCenterY(cellRect) + (FontUtils.getFontHeight(textPaint)/2); in finishDrawingCell()
121 …private void drawRegionLegendCell(Canvas canvas, XYRegionFormatter formatter, RectF cellRect, Stri… in drawRegionLegendCell() argument
122 RectF iconRect = getIconRect(cellRect); in drawRegionLegendCell()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DDynamicTableModel.java103 RectF cellRect = new RectF(); in getCellRect() local
104 cellRect.left = tableRect.left; in getCellRect()
105 cellRect.top = tableRect.top; in getCellRect()
107cellRect.bottom = tableRect.top + calculateCellSize(tableRect, TableModel.Axis.ROW, numElements); in getCellRect()
109cellRect.right = tableRect.left + calculateCellSize(tableRect, TableModel.Axis.COLUMN, numElements… in getCellRect()
110 return cellRect; in getCellRect()
/external/skia/gm/
Dtrickycubicstrokes.cpp133 auto cellRect = SkRect::MakeXYWH((i % kNumCols) * kCellSize, (i / kNumCols) * kCellSize, in draw_test() local
148 matrix = SkMatrix::RectToRect(strokeBounds, cellRect, SkMatrix::kCenter_ScaleToFit); in draw_test()
150 matrix.setTranslate(cellRect.x() + kStrokeWidth + in draw_test()
151 (cellRect.width() - strokeBounds.width()) / 2, in draw_test()
152 cellRect.y() + kStrokeWidth + in draw_test()
153 (cellRect.height() - strokeBounds.height()) / 2); in draw_test()
Dlazytiling.cpp212 SkIRect cellRect = SkIRect::MakeXYWH(x, y, 2*kContentSize, 2*kContentSize); in onDraw() local
222 cellRect, in onDraw()
/external/python/cpython2/Mac/Modules/list/
D_Listmodule.c390 Rect cellRect; in ListObj_LRect() local
395 LRect(&cellRect, in ListObj_LRect()
399 PyMac_BuildRect, &cellRect); in ListObj_LRect()
1069 Rect *cellRect, in myListDefFunction() argument
1086 PyMac_BuildRect, cellRect, in myListDefFunction()