/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | XYPlotTest.java | 50 XYPlot plot; // testing field in XYPlotTest 65 plot = new XYPlot(null, "test"); in setUp() 78 plot.addSeries(series1, new LineAndPointFormatter()); in testOriginFixedMode() 79 plot.centerOnDomainOrigin(5, 2, BoundaryMode.FIXED); in testOriginFixedMode() 80 plot.calculateMinMaxVals(); in testOriginFixedMode() 83 assertEquals(3.0, plot.getCalculatedMinX()); in testOriginFixedMode() 84 assertEquals(7.0, plot.getCalculatedMaxX()); in testOriginFixedMode() 89 plot.addSeries(series1, new LineAndPointFormatter()); in testOriginAutoMode() 90 plot.centerOnDomainOrigin(5); in testOriginAutoMode() 91 plot.calculateMinMaxVals(); in testOriginAutoMode() [all …]
|
D | XYLegendWidgetTest.java | 74 XYPlot plot = new XYPlot(context, "Test", Plot.RenderMode.USE_MAIN_THREAD); in testDoOnDraw() local 79 plot.addSeries(s1, new LineAndPointFormatter( in testDoOnDraw() 82 assertEquals(1, plot.getSeriesSet().size()); in testDoOnDraw() 84 Deencapsulation.invoke(plot, "onSizeChanged", 100, 100, 100, 100); in testDoOnDraw() 85 plot.redraw(); in testDoOnDraw() 88 Deencapsulation.invoke(plot, "onDraw", new Canvas()); in testDoOnDraw() 90 plot.removeSeries(s1); in testDoOnDraw() 91 assertEquals(0, plot.getSeriesSet().size()); in testDoOnDraw() 92 plot.addSeries(s1, new BarFormatter(Color.RED, Color.GREEN)); in testDoOnDraw() 93 plot.redraw(); in testDoOnDraw() [all …]
|
D | XYSeriesRendererTest.java | 73 XYPlot plot = new XYPlot(context, "Test"); in testDataToGridCorrelation() local 74 plot.setDomainStepMode(XYStepMode.SUBDIVIDE); in testDataToGridCorrelation() 75 plot.setDomainStepValue(10); in testDataToGridCorrelation() 76 plot.setDomainBoundaries(0, 100, BoundaryMode.FIXED); in testDataToGridCorrelation() 77 plot.setRangeBoundaries(0, 100, BoundaryMode.FIXED); in testDataToGridCorrelation() 78 plot.calculateMinMaxVals(); in testDataToGridCorrelation() 79 …omainStep = XYStepCalculator.getStep(plot, XYAxisType.DOMAIN, gridRect, plot.getCalculatedMinX().d… in testDataToGridCorrelation()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
D | PlotTest.java | 91 public MockRenderer1(Plot plot) { in MockRenderer1() argument 92 super(plot); in MockRenderer1() 107 public MockRenderer2(Plot plot) { in MockRenderer2() argument 108 super(plot); in MockRenderer2() 130 public SeriesRenderer getRendererInstance(MockPlot plot) { in getRendererInstance() argument 131 return new MockRenderer1(plot); in getRendererInstance() 143 public SeriesRenderer getRendererInstance(MockPlot plot) { in getRendererInstance() argument 144 return new MockRenderer2(plot); in getRendererInstance() 186 Plot plot = new MockPlot(context, "MockPlot"); in testAddSeries() local 193 plot.addSeries(m1, new MockFormatter1()); in testAddSeries() [all …]
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | XYPlotWithBgImgActivity.java | 19 private XYPlot plot; field in XYPlotWithBgImgActivity 27 plot = (XYPlot) findViewById(R.id.graph_metrics); in onCreate() 33 plot.getGraphWidget().getBackgroundPaint().setColor(Color.TRANSPARENT); in onCreate() 34 plot.getGraphWidget().getGridBackgroundPaint().setShader(WHITE_SHADER); in onCreate() 35 plot.getGraphWidget().getDomainGridLinePaint().setColor(Color.BLACK); in onCreate() 36 …plot.getGraphWidget().getDomainGridLinePaint().setPathEffect(new DashPathEffect(new float[]{3, 3},… in onCreate() 37 plot.getGraphWidget().getRangeGridLinePaint().setColor(Color.BLACK); in onCreate() 38 …plot.getGraphWidget().getRangeGridLinePaint().setPathEffect(new DashPathEffect(new float[]{3, 3}, … in onCreate() 39 plot.getGraphWidget().getDomainOriginLinePaint().setColor(Color.BLACK); in onCreate() 40 plot.getGraphWidget().getRangeOriginLinePaint().setColor(Color.BLACK); in onCreate() [all …]
|
D | XYRegionExampleActivity.java | 45 private XYPlot plot; field in XYRegionExampleActivity 82 plot = (XYPlot) findViewById(R.id.xyRegionExamplePlot); in onCreate() 150 plot.addSeries(timSeries, timFormatter); in onS1CheckBoxClicked() 153 plot.removeSeries(timSeries); in onS1CheckBoxClicked() 156 plot.redraw(); in onS1CheckBoxClicked() 161 plot.addSeries(nickSeries, nickFormatter); in onS2CheckBoxClicked() 165 plot.removeSeries(nickSeries); in onS2CheckBoxClicked() 169 plot.redraw(); in onS2CheckBoxClicked() 174 plot.addSeries(joeSeries, joeFormatter); in onS3CheckBoxClicked() 176 plot.removeSeries(joeSeries); in onS3CheckBoxClicked() [all …]
|
D | BarPlotExampleActivity.java | 61 private XYPlot plot; field in BarPlotExampleActivity 107 plot = (XYPlot) findViewById(R.id.mySimpleXYPlot); in onCreate() 109 selectionWidget = new TextLabelWidget(plot.getLayoutManager(), NO_SELECTION_TXT, in onCreate() 130 plot.setTicksPerRangeLabel(3); in onCreate() 131 plot.setRangeLowerBoundary(0, BoundaryMode.FIXED); in onCreate() 132 plot.getGraphWidget().setGridPadding(30, 10, 30, 0); in onCreate() 134 plot.setTicksPerDomainLabel(2); in onCreate() 153 plot.setOnTouchListener(new View.OnTouchListener() { in onCreate() 254 plot.setDomainValueFormat(new NumberFormat() { in onCreate() 279 Iterator<XYSeries> iterator1 = plot.getSeriesSet().iterator(); in updatePlot() [all …]
|
D | SimpleXYPlotActivity.java | 32 private XYPlot plot; field in SimpleXYPlotActivity 46 plot = (XYPlot) findViewById(R.id.mySimpleXYPlot); in onCreate() 69 plot.addSeries(series1, series1Format); in onCreate() 76 plot.addSeries(series2, series2Format); in onCreate() 79 plot.setTicksPerRangeLabel(3); in onCreate() 80 plot.getGraphWidget().setDomainLabelOrientation(-45); in onCreate()
|
/external/skia/src/gpu/ |
D | GrBatchAtlas.cpp | 203 GrPlotUploader(BatchPlot* plot) in GrPlotUploader() argument 204 : INHERITED(plot->lastUploadToken()) in GrPlotUploader() 205 , fPlot(SkRef(plot)) { in GrPlotUploader() 206 SkASSERT(plot); in GrPlotUploader() 264 void GrBatchAtlas::makeMRU(BatchPlot* plot) { in makeMRU() argument 265 if (fPlotList.head() == plot) { in makeMRU() 269 fPlotList.remove(plot); in makeMRU() 270 fPlotList.addToHead(plot); in makeMRU() 273 inline void GrBatchAtlas::updatePlot(GrBatchTarget* batchTarget, AtlasID* id, BatchPlot* plot) { in updatePlot() argument 274 this->makeMRU(plot); in updatePlot() [all …]
|
D | GrAtlas.cpp | 196 void GrAtlas::makeMRU(GrPlot* plot) { in makeMRU() argument 197 if (fPlotList.head() == plot) { in makeMRU() 201 fPlotList.remove(plot); in makeMRU() 202 fPlotList.addToHead(plot); in makeMRU() 211 GrPlot* plot = usage->fPlots[i]; in addToAtlas() local 213 if (this == plot->fAtlas && plot->addSubImage(width, height, image, loc)) { in addToAtlas() 214 this->makeMRU(plot); in addToAtlas() 215 return plot; in addToAtlas() 237 GrPlot* plot; in addToAtlas() local 238 while ((plot = plotIter.get())) { in addToAtlas() [all …]
|
D | GrLayerCache.cpp | 188 this->incPlotLock(layer->plot()->id()); in tryToAtlas() 207 GrPlot* plot = fAtlas->addToAtlas(&pictInfo->fPlotUsage, in tryToAtlas() local 212 if (plot) { in tryToAtlas() 214 pictInfo->incPlotUsage(plot->id()); in tryToAtlas() 220 layer->setPlot(plot); in tryToAtlas() 222 this->incPlotLock(layer->plot()->id()); in tryToAtlas() 276 const int plotID = layer->plot()->id(); in unlock() 291 GrAtlas::RemovePlot(&pictInfo->fPlotUsage, layer->plot()); in unlock() 328 if (layer->plot()) { in validate() 332 SkASSERT(pictInfo->fPlotUsage.contains(layer->plot())); in validate() [all …]
|
D | GrAtlas.h | 85 bool contains(const GrPlot* plot) const { in contains() argument 86 return fPlots.contains(const_cast<GrPlot*>(plot)); in contains() 109 static void RemovePlot(ClientPlotUsage* usage, const GrPlot* plot); 134 void makeMRU(GrPlot* plot);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | SeriesRenderer.java | 28 private PlotType plot; field in SeriesRenderer 30 public SeriesRenderer(PlotType plot) { in SeriesRenderer() argument 31 this.plot = plot; in SeriesRenderer() 35 return plot; in getPlot() 38 public void setPlot(PlotType plot) { in setPlot() argument 39 this.plot = plot; in setPlot() 43 return plot.getSeriesAndFormatterListForRenderer(getClass()); in getSeriesAndFormatterList() 47 return (SeriesFormatterType) plot.getFormatter(series, getClass()); in getFormatter()
|
/external/srtp/ |
D | timing | 11 # plot authentication-only data 17 set output "plot-auth.pict" 18 plot "timing.dat" index 0 title "HMAC SHA1" with lines, "timing.dat" index 1 title "TMMH/AES" with … 20 # plot encryption-only data 25 set output "plot-enc.pict" 27 plot "timing.dat" index 3 title "SEAL" with lines, "timing.dat" index 4 title "AES ICM" with lines 29 # plot encryption and authentication data 35 set output "plot-enc-auth.pict" 36 plot "timing.dat" index 5 title "TMMH/SEAL" with lines, "timing.dat" index 6 title "TMMH/AES" with …
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYGraphWidget.java | 93 private XYPlot plot; field in XYGraphWidget 172 public XYGraphWidget(LayoutManager layoutManager, XYPlot plot, SizeMetrics sizeMetrics) { in XYGraphWidget() argument 174 this.plot = plot; in XYGraphWidget() 337 if (plot.getCalculatedMinY() == null in getYVal() 338 || plot.getCalculatedMaxY() == null) { in getYVal() 341 return ValPixConverter.pixToVal(yPix - paddedGridRect.top, plot in getYVal() 342 .getCalculatedMinY().doubleValue(), plot.getCalculatedMaxY() in getYVal() 363 if (plot.getCalculatedMinX() == null in getXVal() 364 || plot.getCalculatedMaxX() == null) { in getXVal() 367 return ValPixConverter.pixToVal(xPix - paddedGridRect.left, plot in getXVal() [all …]
|
D | XYLegendWidget.java | 47 private XYPlot plot; field in XYLegendWidget 69 public XYLegendWidget(LayoutManager layoutManager, XYPlot plot, in XYLegendWidget() argument 74 this.plot = plot; in XYLegendWidget() 99 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in beginDrawingCell() 107 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in finishDrawingCell() 148 if(plot.isEmpty()) { in doOnDraw() 159 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw() 161 … SeriesAndFormatterList sfl = plot.getSeriesAndFormatterListForRenderer(renderer.getClass()); in doOnDraw() 182 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw() 183 …SeriesAndFormatterList<XYSeries,XYSeriesFormatter> sfl = plot.getSeriesAndFormatterListForRenderer… in doOnDraw()
|
D | XYStepCalculator.java | 38 …public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number m… in getStep() argument 42 … step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal); in getStep() 45 … step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal); in getStep()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/widget/ |
D | DemoAppWidgetProvider.java | 38 XYPlot plot = new XYPlot(context, "Widget Example"); in onUpdate() local 41 plot.measure(150,150); in onUpdate() 42 plot.layout(0,0,150,150); in onUpdate() 43 plot.setDrawingCacheEnabled(true); in onUpdate() 65 plot.addSeries(series1, series1Format); in onUpdate() 68 plot.addSeries(series2, in onUpdate() 74 plot.setTicksPerRangeLabel(3); in onUpdate() 80 Bitmap bmp = plot.getDrawingCache(); in onUpdate()
|
/external/fio/tools/ |
D | fio_generate_plots | 78 plot () { function 120 plot "I/O Latency" lat "Time (msec)" 1000 121 plot "I/O Operations Per Second" iops "IOPS" 1 122 plot "I/O Submission Latency" slat "Time (μsec)" 1 123 plot "I/O Completion Latency" clat "Time (msec)" 1000 124 plot "I/O Bandwidth" bw "Throughput (KB/s)" 1
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | Redrawer.java | 38 public Redrawer(Plot plot, float maxRefreshRate, boolean startImmediately) { in Redrawer() argument 39 this(Arrays.asList(new Plot[]{plot}), maxRefreshRate, startImmediately); in Redrawer() 82 for(Plot plot : plots) { in run() 83 plot.redraw(); in run()
|
/external/v8/tools/ |
D | gc-nvp-trace-processor.py | 144 def collect_fields(plot): argument 153 for field in flatten([item.fieldrefs() for item in plot]): 158 def is_y2_used(plot): argument 159 for subplot in plot: 180 def generate_script_and_datafile(plot, trace, datafile, output): argument 181 (fields, field_to_index) = collect_fields(plot) 192 if is_y2_used(plot): 198 for item in plot: 206 for plot in plots: 209 script = generate_script_and_datafile(plot, trace, '~datafile', outfilename)
|
D | plot-timer-events | 84 -- $@ $options 2>/dev/null > timer-events.plot 88 cat timer-events.plot 90 cat timer-events.plot | gnuplot > timer-events.png 93 rm -f timer-events.plot
|
/external/skia/bench/ |
D | ChartBench.cpp | 37 SkPath* plot, SkPath* fill) { in gen_paths() argument 38 plot->rewind(); in gen_paths() 40 plot->incReserve(topData.count()); in gen_paths() 52 plot->moveTo(x, topData[leftShift]); in gen_paths() 56 plot->lineTo(x, topData[i + leftShift]); in gen_paths() 62 plot->lineTo(x, topData[i]); in gen_paths()
|
/external/v8/tools/profviz/ |
D | profviz.js | 121 this.plot.style.webkitFilter = "grayscale(1)"; 129 this.plot.style.webkitFilter = ""; 142 this.plot.src = ""; 150 this.plot.style.display = "block"; 155 this.plot.style.display = "none"; 199 ui.plot.src = window.URL.createObjectURL(blob);
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 33 SkPath* plot, SkPath* fill) { in gen_paths() argument 34 plot->rewind(); in gen_paths() 36 plot->incReserve(topData.count()); in gen_paths() 48 plot->moveTo(x, topData[leftShift]); in gen_paths() 52 plot->lineTo(x, topData[i + leftShift]); in gen_paths() 58 plot->lineTo(x, topData[i]); in gen_paths()
|