HomeSort by relevance Sort by last modified time
    Searched full:cellrect (Results 1 - 4 of 4) sorted by null

  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
FixedTableModelTest.java 52 RectF cellRect = it.next();
55 cellRect = it.next();
58 cellRect = it.next();
61 cellRect = it.next();
64 cellRect = it.next();
68 cellRect = it.next();
84 RectF cellRect = it.next();
85 assertEquals(0f, cellRect.left);
86 assertEquals(0f, cellRect.top);
87 assertEquals(300f, cellRect.right);
    [all...]
DynamicTableModelTest.java 50 RectF cellRect = model.getCellRect(tableRect, 10);
51 assertEquals(200f, cellRect.width());
55 cellRect = model.getCellRect(tableRect, 10);
56 assertEquals(200f, cellRect.width());
60 cellRect = model.getCellRect(tableRect, 10);
61 assertEquals(400f, cellRect.height());
104 RectF cellRect = it.next();
105 assertEquals(500f, cellRect.width());
106 assertEquals(1000f, cellRect.height());
107 assertEquals(0f, cellRect.left);
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
XYLegendWidget.java 83 private RectF getIconRect(RectF cellRect) {
84 float cellRectCenterY = cellRect.top + (cellRect.height()/2);
85 RectF iconRect = iconSizeMetrics.getRectF(cellRect);
89 iconRect.offsetTo(cellRect.left + 1, centeredIconOriginY);
93 private static float getRectCenterY(RectF cellRect) {
94 return cellRect.top + (cellRect.height()/2);
105 private void finishDrawingCell(Canvas canvas, RectF cellRect, RectF iconRect, String text) {
113 float centeredTextOriginY = getRectCenterY(cellRect) + (FontUtils.getFontHeight(textPaint)/2);
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DynamicTableModel.java 103 RectF cellRect = new RectF();
104 cellRect.left = tableRect.left;
105 cellRect.top = tableRect.top;
106 //cellRect.bottom = getElementHeightPix(tableRect);
107 cellRect.bottom = tableRect.top + calculateCellSize(tableRect, TableModel.Axis.ROW, numElements);
108 //cellRect.right = getElementWidthPix(tableRect);
109 cellRect.right = tableRect.left + calculateCellSize(tableRect, TableModel.Axis.COLUMN, numElements);
110 return cellRect;

Completed in 1094 milliseconds