Home
last modified time | relevance | path

Searched refs:series (Results 1 – 25 of 266) sorted by relevance

1234567891011

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DSimpleXYSeriesTest.java34 …SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.Y_VALS… in testYValsOnlyConstructor() local
36 assertEquals(yVals[0], series.getY(0)); in testYValsOnlyConstructor()
37 assertEquals(yVals[1], series.getY(1)); in testYValsOnlyConstructor()
38 assertEquals(yVals[2], series.getY(2)); in testYValsOnlyConstructor()
39 assertEquals(yVals[3], series.getY(3)); in testYValsOnlyConstructor()
40 assertEquals(yVals[4], series.getY(4)); in testYValsOnlyConstructor()
42 assertEquals(0, series.getX(0)); in testYValsOnlyConstructor()
43 assertEquals(1, series.getX(1)); in testYValsOnlyConstructor()
44 assertEquals(2, series.getX(2)); in testYValsOnlyConstructor()
45 assertEquals(3, series.getX(3)); in testYValsOnlyConstructor()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSeriesAndFormatterList.java37 public boolean contains(SeriesType series) { in contains() argument
38 return seriesList.contains(series); in contains()
53 public boolean add(SeriesType series, FormatterType formatter) { in add() argument
54 if(series == null || formatter == null) { in add()
57 if(seriesList.contains(series)) { in add()
60 seriesList.add(series); in add()
65 public boolean remove(SeriesType series) { in remove() argument
66 int index = seriesList.indexOf(series); in remove()
76 public FormatterType getFormatter(SeriesType series) { in getFormatter() argument
77 return formatterList.get(seriesList.indexOf(series)); in getFormatter()
[all …]
DRenderBundle.java24 private Series series; field in RenderBundle
27 public RenderBundle(SeriesType series, SeriesFormatterType formatter) { in RenderBundle() argument
29 this.series = series; in RenderBundle()
33 return series; in getSeries()
36 public void setSeries(Series series) { in setSeries() argument
37 this.series = series; in setSeries()
DSeriesRenderer.java46 public SeriesFormatterType getFormatter(SeriesType series) { in getFormatter() argument
47 return (SeriesFormatterType) plot.getFormatter(series, getClass()); in getFormatter()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java47 private SimpleXYSeries[] series = null; field in TouchZoomExampleActivity
58 minXY.x = series[0].getX(0).floatValue(); in onCreate()
59 maxXY.x = series[3].getX(series[3].size() - 1).floatValue(); in onCreate()
81 series = new SimpleXYSeries[4]; in onCreate()
84 series[i] = new SimpleXYSeries("S" + i); in onCreate()
85 populateSeries(series[i], scale); in onCreate()
87 mySimpleXYPlot.addSeries(series[3], in onCreate()
90 mySimpleXYPlot.addSeries(series[2], in onCreate()
93 mySimpleXYPlot.addSeries(series[1], in onCreate()
96 mySimpleXYPlot.addSeries(series[0], in onCreate()
[all …]
DBarPlotExampleActivity.java324 for (XYSeries series : plot.getSeriesSet()) { in onPlotClicked()
325 for (int i = 0; i < series.size(); i++) { in onPlotClicked()
326 Number thisX = series.getX(i); in onPlotClicked()
327 Number thisY = series.getY(i); in onPlotClicked()
334 selection = new Pair<Integer, XYSeries>(i, series); in onPlotClicked()
338 selection = new Pair<Integer, XYSeries>(i, series); in onPlotClicked()
344 selection = new Pair<Integer, XYSeries>(i, series); in onPlotClicked()
415 protected MyBarFormatter getFormatter(int index, XYSeries series) { in getFormatter() argument
417 selection.second == series && in getFormatter()
421 return getFormatter(series); in getFormatter()
DDynamicXYPlotActivity.java184 public int getItemCount(int series) { in getItemCount() argument
188 public Number getX(int series, int index) { in getX() argument
195 public Number getY(int series, int index) { in getY() argument
201 switch (series) { in getY()
DXYPlotWithBgImgActivity.java20 private SimpleXYSeries series; field in XYPlotWithBgImgActivity
54 series = (SimpleXYSeries) getSeries(); in onCreate()
61 plot.addSeries(series, lpFormat); in onCreate()
DListViewActivity.java87 … XYSeries series = new SimpleXYSeries(nums, SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "S" + k); in getView() local
88 p.addSeries(series, new LineAndPointFormatter( in getView()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DBarRenderer.java109 protected T getFormatter(int index, XYSeries series) { in getFormatter() argument
110 return getFormatter(series); in getFormatter()
128 for(XYSeries series : sl) { in onRender()
132 for(int i = 0; i < series.size(); i++) { in onRender()
134 if (series.getX(i) != null) { in onRender()
137 Bar b = new Bar(series,i,plotArea); in onRender()
244 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
265 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), leftX + width/2 + plf.hOffset, b.i… in onRender()
288 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
302 public XYSeries series; field in BarRenderer.Bar
[all …]
DLineAndPointRenderer.java43 for (XYSeries series : seriesList) { in onRender()
45 drawSeries(canvas, plotArea, series, getFormatter(series)); in onRender()
79 …protected void drawSeries(Canvas canvas, RectF plotArea, XYSeries series, LineAndPointFormatter fo… in drawSeries() argument
87 … ArrayList<Pair<PointF, Integer>> points = new ArrayList<Pair<PointF, Integer>>(series.size()); in drawSeries()
88 for (int i = 0; i < series.size(); i++) { in drawSeries()
89 Number y = series.getY(i); in drawSeries()
90 Number x = series.getX(i); in drawSeries()
149 …canvas.drawText(pointLabeler.getLabel(series, p.second), p.first.x + plf.hOffset, p.first.y + plf.… in drawSeries()
DLineAndPointFormatter.java38 public String getLabel(XYSeries series, int index) {
39 return series.getY(index) + "";
DPointLabeler.java21 public String getLabel(XYSeries series, int index); in getLabel() argument
/external/autotest/frontend/client/src/autotest/tko/
DMetricsPlotFrontend.java122 String series = normalizeSeriesSelect.getSelectedValue(); in addNormalizeParameter() local
123 normalizationType = NORMALIZE_SERIES_PREFIX + series; in addNormalizeParameter()
174 String series = normalizeString.substring(NORMALIZE_SERIES_PREFIX.length()); in handleHistoryArguments() local
176 if (normalizeSeriesSelect.getValue(i).equals(series)) { in handleHistoryArguments()
230 for (Series series : seriesList) { in buildQueries()
231 addSeriesSelects(series, sql); in buildQueries()
249 for (Series series : seriesList) { in buildQueries()
250 String drilldownQuery = getSeriesDrilldownQuery(series, xFilterString); in buildQueries()
251 queries.put("__" + series.getName() + "__", new JSONString(drilldownQuery)); in buildQueries()
257 private String getSeriesDrilldownQuery(Series series, String xFilterString) { in getSeriesDrilldownQuery() argument
[all …]
DSeriesSelector.java31 private ArrayList<Series> series = new ArrayList<Series>(); field in SeriesSelector
175 return Collections.unmodifiableList(series); in getAllSeries()
179 for (int i = 0; i < series.size(); i++) { in reset()
182 series.clear(); in reset()
188 for (Series s : series) { in getInverted()
197 for (Series s : series) { in setInvertible()
211 for (int index = 0; index < series.size(); index++) { in addToHistory()
212 series.get(index).addToHistory(args, index); in addToHistory()
232 thisSeries = series.get(0); in handleHistoryArguments()
246 series.add(nextSeries); in addSeries()
[all …]
DMetricsPlot.java30 final String series = Utils.jsonToString(drilldownParams.get("series")); in showDrilldownImpl() local
41 String title = series + " for " + param; in showDrilldownImpl()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DPlot.java402 public synchronized boolean addSeries(SeriesType series, FormatterType formatter) { in addSeries() argument
417 if(series instanceof PlotListener) { in addSeries()
418 addListener((PlotListener)series); in addSeries()
422 if(sfList.contains(series)) { in addSeries()
425 sfList.add(series, formatter); in addSeries()
430 public synchronized boolean removeSeries(SeriesType series, Class rendererClass) { in removeSeries() argument
431 boolean result = seriesRegistry.get(rendererClass).remove(series); in removeSeries()
437 if(series instanceof PlotListener) { in removeSeries()
438 removeListener((PlotListener) series); in removeSeries()
447 public synchronized void removeSeries(SeriesType series) { in removeSeries() argument
[all …]
/external/toolchain-utils/crosperf/
Dcolumn_chart.py15 self.series = []
20 self.series.append((i - 1, series_type, color))
42 for series in self.series:
43 series_javascript += "%s: {type: '%s', color: '%s'}, " % series
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dplot_dynamics.py78 for series in v.samples[alg].keys():
80 x = [sample[0] for sample in v.samples[alg][series]]
81 y = [sample[1] for sample in v.samples[alg][series]]
100 flow_id = re.search(r'(\d+(,\d+)*)', series) # One or multiple ids.
/external/skia/src/gpu/
DGrFragmentProcessor.cpp405 sk_sp<GrFragmentProcessor> GrFragmentProcessor::RunInSeries(sk_sp<GrFragmentProcessor>* series, in RunInSeries() argument
466 return series[0]; in RunInSeries()
470 info.analyzeProcessors(sk_sp_address_as_pointer_address(series), cnt); in RunInSeries()
484 replacementSeries.emplace_back(std::move(series[leadingFPsToEliminate + i])); in RunInSeries()
486 series = replacementSeries.begin(); in RunInSeries()
488 return sk_sp<GrFragmentProcessor>(new SeriesFragmentProcessor(series, cnt)); in RunInSeries()
/external/autotest/server/site_tests/firmware_PDTrySrc/
Dcontrol19 - Runs a series of disconnect/connects with Try.SRC on
20 - Runs a series of disconnect/connects with Try.SRC off
/external/llvm/test/TableGen/
DNestedForeach.td3 class Droid<string series, int release, string model, int patchlevel> {
4 string Series = series;
/external/compiler-rt/lib/esan/
Desan_flags.inc43 // This controls the difference in frequency between each successive series
47 "performed for the next-higher-frequency snapshot series.")
/external/llvm/test/CodeGen/ARM/
Dmovcc-double.ll4 ; select with and i1/or i1 condition should be implemented as a series of 2
21 ; select with and i1 condition should be implemented as a series of 2 cmovs, not
/external/llvm/test/CodeGen/X86/
Dcmov-double.ll4 ; select with and i1/or i1 condition should be implemented as a series of 2
22 ; select with and i1 condition should be implemented as a series of 2 cmovs, not

1234567891011