Searched refs:dpToPix (Results 1 – 9 of 9) sorted by relevance
/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 | 100 public static float dpToPix(float dp) { in dpToPix() method in PixelUtils
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | XYRegionExampleActivity.java | 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() 368 PixelUtils.dpToPix(5), // 5dp offset in markerSetup() [all …]
|
D | BarPlotExampleActivity.java | 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()
|
D | DynamicXYPlotActivity.java | 105 new float[] {PixelUtils.dpToPix(3), PixelUtils.dpToPix(3)}, 0); in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYPlot.java | 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() 206 PixelUtils.dpToPix(DEFAULT_LEGEND_WIDGET_X_OFFSET_DP), in onPreInit() [all …]
|
D | PointLabelFormatter.java | 38 this(textColor, PixelUtils.dpToPix(DEFAULT_H_OFFSET_DP), in PointLabelFormatter() 39 PixelUtils.dpToPix(DEFAULT_V_OFFSET_DP)); in PointLabelFormatter()
|
D | LineAndPointFormatter.java | 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 | 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()
|