Home
last modified time | relevance | path

Searched refs:PixelUtils (Results 1 – 18 of 18) sorted by relevance

/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYRegionExampleActivity.java26 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 …]
DDynamicXYPlotActivity.java24 import com.androidplot.util.PixelUtils;
105 new float[] {PixelUtils.dpToPix(3), PixelUtils.dpToPix(3)}, 0); in onCreate()
DBarPlotExampleActivity.java49 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/
DPaintUtils.java37 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()
DPixelUtils.java32 public class PixelUtils { class
DConfigurator.java148 return PixelUtils.stringToDimension(value); in parseFloatAttr()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlot.java29 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 …]
DPointLabelFormatter.java23 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()
DLineAndPointFormatter.java24 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/
DPieChart.java25 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/
DMockPixelUtils.java6 import com.androidplot.util.PixelUtils;
10 @MockClass(realClass = PixelUtils.class, stubs="", inverse=true)
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSizeMetrics.java20 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/
DXYSeriesRendererTest.java25 import com.androidplot.util.PixelUtils;
35 FontUtils.class, PixelUtils.class, Canvas.class})
DXYLegendWidgetTest.java33 import com.androidplot.util.PixelUtils;
DXYPlotTest.java31 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/
DWidget.java25 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/
DPlot.java35 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/
DPlotTest.java34 import com.androidplot.util.PixelUtils;
54 PixelUtils.class,Context.class})