Searched refs:cellRect (Results 1 – 5 of 5) sorted by relevance
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/ |
D | FixedTableModelTest.java | 52 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 …]
|
D | DynamicTableModelTest.java | 50 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/ |
D | XYLegendWidget.java | 83 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/ |
D | DynamicTableModel.java | 103 RectF cellRect = new RectF(); in getCellRect() local 104 cellRect.left = tableRect.left; in getCellRect() 105 cellRect.top = tableRect.top; in getCellRect() 107 … cellRect.bottom = tableRect.top + calculateCellSize(tableRect, TableModel.Axis.ROW, numElements); in getCellRect() 109 …cellRect.right = tableRect.left + calculateCellSize(tableRect, TableModel.Axis.COLUMN, numElements… in getCellRect() 110 return cellRect; in getCellRect()
|
/external/python/cpython2/Mac/Modules/list/ |
D | _Listmodule.c | 390 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()
|