/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | XYRegionExampleActivity.java | 26 import com.androidplot.util.PixelUtils; 244 plot.getLegendWidget().setWidth(PixelUtils.dpToPix(100), SizeLayoutType.FILL); in makePlotPretty() 289 timFormatter.getLinePaint().setStrokeWidth(PixelUtils.dpToPix(LINE_THICKNESS_DP)); in seriesSetup() 290 timFormatter.getVertexPaint().setStrokeWidth(PixelUtils.dpToPix(POINT_SIZE_DP)); in seriesSetup() 302 nickFormatter.getLinePaint().setStrokeWidth(PixelUtils.dpToPix(LINE_THICKNESS_DP)); in seriesSetup() 303 nickFormatter.getVertexPaint().setStrokeWidth(PixelUtils.dpToPix(POINT_SIZE_DP)); in seriesSetup() 317 joeFormatter.getLinePaint().setStrokeWidth(PixelUtils.dpToPix(LINE_THICKNESS_DP)); in seriesSetup() 318 joeFormatter.getVertexPaint().setStrokeWidth(PixelUtils.dpToPix(POINT_SIZE_DP)); in seriesSetup() 331 jamesFormatter.getLinePaint().setStrokeWidth(PixelUtils.dpToPix(LINE_THICKNESS_DP)); in seriesSetup() 332 jamesFormatter.getVertexPaint().setStrokeWidth(PixelUtils.dpToPix(POINT_SIZE_DP)); in seriesSetup() [all …]
|
D | DynamicXYPlotActivity.java | 24 import com.androidplot.util.PixelUtils; 105 new float[] {PixelUtils.dpToPix(3), PixelUtils.dpToPix(3)}, 0); in onCreate()
|
D | BarPlotExampleActivity.java | 49 import com.androidplot.util.PixelUtils; 111 PixelUtils.dpToPix(100), SizeLayoutType.ABSOLUTE, in onCreate() 112 PixelUtils.dpToPix(100), SizeLayoutType.ABSOLUTE), in onCreate() 115 selectionWidget.getLabelPaint().setTextSize(PixelUtils.dpToPix(16)); in onCreate() 124 PixelUtils.dpToPix(45), YLayoutStyle.ABSOLUTE_FROM_TOP, in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | PaintUtils.java | 37 paint.setStrokeWidth(PixelUtils.dpToPix(lineSizeDp)); in setLineSizeDp() 46 paint.setTextSize(PixelUtils.dpToPix(fontSizeDp)); in setFontSizeDp() 58 float radius = PixelUtils.dpToPix(radiusDp); in setShadowDp() 59 float dx = PixelUtils.dpToPix(dxDp); in setShadowDp() 60 float dy = PixelUtils.dpToPix(dyDp); in setShadowDp()
|
D | PixelUtils.java | 32 public class PixelUtils { class
|
D | Configurator.java | 148 return PixelUtils.stringToDimension(value); in parseFloatAttr()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYPlot.java | 29 import com.androidplot.util.PixelUtils; 164 PixelUtils.dpToPix(DEFAULT_LEGEND_WIDGET_H_DP), in onPreInit() 168 PixelUtils.dpToPix(DEFAULT_LEGEND_WIDGET_ICON_SIZE_DP), in onPreInit() 170 PixelUtils.dpToPix(DEFAULT_LEGEND_WIDGET_ICON_SIZE_DP), in onPreInit() 177 PixelUtils.dpToPix(DEFAULT_GRAPH_WIDGET_H_DP), in onPreInit() 179 PixelUtils.dpToPix(DEFAULT_GRAPH_WIDGET_W_DP), in onPreInit() 191 PixelUtils.dpToPix(DEFAULT_DOMAIN_LABEL_WIDGET_H_DP), in onPreInit() 193 PixelUtils.dpToPix(DEFAULT_DOMAIN_LABEL_WIDGET_W_DP), in onPreInit() 199 PixelUtils.dpToPix(DEFAULT_RANGE_LABEL_WIDGET_H_DP), in onPreInit() 201 PixelUtils.dpToPix(DEFAULT_RANGE_LABEL_WIDGET_W_DP), in onPreInit() [all …]
|
D | PointLabelFormatter.java | 23 import com.androidplot.util.PixelUtils; 38 this(textColor, PixelUtils.dpToPix(DEFAULT_H_OFFSET_DP), in PointLabelFormatter() 39 PixelUtils.dpToPix(DEFAULT_V_OFFSET_DP)); in PointLabelFormatter() 71 getTextPaint().setTextSize(PixelUtils.spToPix(DEFAULT_TEXT_SIZE_SP)); in initTextPaint()
|
D | LineAndPointFormatter.java | 24 import com.androidplot.util.PixelUtils; 101 linePaint.setStrokeWidth(PixelUtils.dpToPix(DEFAULT_LINE_STROKE_WIDTH_DP)); in initLinePaint() 113 vertexPaint.setStrokeWidth(PixelUtils.dpToPix(DEFAULT_VERTEX_STROKE_WIDTH_DP)); in initVertexPaint()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | PieChart.java | 25 import com.androidplot.util.PixelUtils; 62 PixelUtils.dpToPix(DEFAULT_PIE_WIDGET_H_DP), in onPreInit() 64 PixelUtils.dpToPix(DEFAULT_PIE_WIDGET_W_DP), in onPreInit() 68 PixelUtils.dpToPix(DEFAULT_PIE_WIDGET_X_OFFSET_DP), in onPreInit() 70 PixelUtils.dpToPix(DEFAULT_PIE_WIDGET_Y_OFFSET_DP), in onPreInit()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockPixelUtils.java | 6 import com.androidplot.util.PixelUtils; 10 @MockClass(realClass = PixelUtils.class, stubs="", inverse=true)
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | SizeMetrics.java | 20 import com.androidplot.util.PixelUtils; 83 return PixelUtils.nearestPixRect(0, 0, widthMetric.getPixelValue(canvasRect.width()), in getRoundedRect()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | XYSeriesRendererTest.java | 25 import com.androidplot.util.PixelUtils; 35 FontUtils.class, PixelUtils.class, Canvas.class})
|
D | XYLegendWidgetTest.java | 33 import com.androidplot.util.PixelUtils;
|
D | XYPlotTest.java | 31 import com.androidplot.util.PixelUtils; 46 Rect.class, RectF.class,FontUtils.class, PixelUtils.class, Canvas.class})
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
D | Widget.java | 25 import com.androidplot.util.PixelUtils; 281 return PixelUtils.sub(point, getAnchorOffset(width, height, metrics.getAnchor())); in getElementCoordinates() 320 return PixelUtils.add(new PointF(widgetRect.left, widgetRect.top), in getAnchorCoordinates()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
D | Plot.java | 35 import com.androidplot.util.PixelUtils; 303 PixelUtils.init(getContext()); in init() 581 PixelUtils.init(getContext()); in onSizeChanged()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
D | PlotTest.java | 34 import com.androidplot.util.PixelUtils; 54 PixelUtils.class,Context.class})
|