/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
SimpleXYSeriesTest.java | 34 SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "test");
local 36 assertEquals(yVals[0], series.getY(0));
37 assertEquals(yVals[1], series.getY(1));
38 assertEquals(yVals[2], series.getY(2));
39 assertEquals(yVals[3], series.getY(3));
40 assertEquals(yVals[4], series.getY(4));
42 assertEquals(0, series.getX(0));
43 assertEquals(1, series.getX(1));
44 assertEquals(2, series.getX(2));
45 assertEquals(3, series.getX(3)); 52 SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(yVals), SimpleXYSeries.ArrayFormat.XY_VALS_INTERLEAVED, "test"); local 71 SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(xVals), Arrays.asList(yVals), "test"); local 90 SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(xVals), Arrays.asList(yVals), "test"); local 117 SimpleXYSeries series = new SimpleXYSeries(Arrays.asList(xVals), Arrays.asList(yVals), "test"); local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
RenderBundle.java | 19 import com.androidplot.Series;
22 public abstract class RenderBundle<RenderBundleType extends RenderBundle, SeriesType extends Series, SeriesFormatterType extends XYSeriesFormatter> {
23 //private XYDataset series;
24 private Series series;
field in class:RenderBundle 27 public RenderBundle(SeriesType series, SeriesFormatterType formatter) {
29 this.series = series;
32 public Series getSeries() {
33 return series;
[all...] |
SeriesAndFormatterList.java | 19 import com.androidplot.Series;
25 * Associates a Series with a Formatter.
29 public class SeriesAndFormatterList<SeriesType extends Series, FormatterType> {
37 public boolean contains(SeriesType series) {
38 return seriesList.contains(series);
53 public boolean add(SeriesType series, FormatterType formatter) {
54 if(series == null || formatter == null) {
55 throw new IllegalArgumentException("series and formatter must not be null.");
57 if(seriesList.contains(series)) {
60 seriesList.add(series);
[all...] |
SeriesRenderer.java | 22 import com.androidplot.Series; 27 <PlotType extends Plot, SeriesType extends Series, SeriesFormatterType extends Formatter> { 46 public SeriesFormatterType getFormatter(SeriesType series) { 47 return (SeriesFormatterType) plot.getFormatter(series, getClass());
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
PointLabeler.java | 21 public String getLabel(XYSeries series, int index);
|
BarRenderer.java | 102 * Retrieves the BarFormatter instance that corresponds with the series passed in.
105 * @param series XYSeries to which the point being rendered belongs.
109 protected T getFormatter(int index, XYSeries series) {
110 return getFormatter(series);
127 // For each Series
128 for(XYSeries series : sl) {
131 // For each value in the series
132 for(int i = 0; i < series.size(); i++) {
134 if (series.getX(i) != null) {
137 Bar b = new Bar(series,i,plotArea); 302 public XYSeries series; field in class:BarRenderer.Bar [all...] |
LineAndPointRenderer.java | 43 for (XYSeries series : seriesList) {
44 //synchronized(series) {
45 drawSeries(canvas, plotArea, series, getFormatter(series));
79 protected void drawSeries(Canvas canvas, RectF plotArea, XYSeries series, LineAndPointFormatter formatter) {
87 ArrayList<Pair<PointF, Integer>> points = new ArrayList<Pair<PointF, Integer>>(series.size());
88 for (int i = 0; i < series.size(); i++) {
89 Number y = series.getY(i);
90 Number x = series.getX(i);
149 canvas.drawText(pointLabeler.getLabel(series, p.second), p.first.x + plf.hOffset, p.first.y + plf.vOffset, plf.getTextPaint()); [all...] |
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
TouchZoomExampleActivity.java | 47 private SimpleXYSeries[] series = null;
field in class:TouchZoomExampleActivity 58 minXY.x = series[0].getX(0).floatValue();
59 maxXY.x = series[3].getX(series[3].size() - 1).floatValue();
81 series = new SimpleXYSeries[4];
84 series[i] = new SimpleXYSeries("S" + i);
85 populateSeries(series[i], scale);
87 mySimpleXYPlot.addSeries(series[3],
90 mySimpleXYPlot.addSeries(series[2],
93 mySimpleXYPlot.addSeries(series[1], [all...] |
BarPlotExampleActivity.java | 278 // Remove all current series from each plot 285 // Setup our Series with the selected number of elements 289 // add a new series' to the xyplot: 324 for (XYSeries series : plot.getSeriesSet()) { 325 for (int i = 0; i < series.size(); i++) { 326 Number thisX = series.getX(i); 327 Number thisY = series.getY(i); 334 selection = new Pair<Integer, XYSeries>(i, series); 338 selection = new Pair<Integer, XYSeries>(i, series); 344 selection = new Pair<Integer, XYSeries>(i, series); [all...] |
/external/toolchain-utils/crosperf/ |
column_chart.py | 15 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 49 seriesType: "bars", lineWidth: 0, pointSize: 5, series: {%s},
|
/hardware/broadcom/wlan/ |
.gitignore | 43 series
|
/external/autotest/frontend/client/src/autotest/tko/ |
SeriesSelector.java | 31 private ArrayList<Series> series = new ArrayList<Series>(); field in class:SeriesSelector 32 private Anchor addLink = new Anchor("[Add Series]"); 37 public class Series extends Composite { 46 private Anchor deleteLink = new Anchor("Delete Series"); 49 private Series(int aRow) { 174 public List<Series> getAllSeries() { 175 return Collections.unmodifiableList(series); 179 for (int i = 0; i < series.size(); i++) [all...] |
MetricsPlotFrontend.java | 7 import autotest.tko.SeriesSelector.Series; 40 private RadioButton normalizeSeries = new RadioButton("normalize", "Specified series:"); 89 addControl("Series:", seriesSelector); 122 String series = normalizeSeriesSelect.getSelectedValue(); local 123 normalizationType = NORMALIZE_SERIES_PREFIX + series; 174 String series = normalizeString.substring(NORMALIZE_SERIES_PREFIX.length()); local 176 if (normalizeSeriesSelect.getValue(i).equals(series)) { 203 for (Series selector : seriesSelector.getAllSeries()) { 224 List<Series> seriesList = seriesSelector.getAllSeries(); 230 for (Series series : seriesList) [all...] |
MetricsPlot.java | 23 * * query - SQL query for the selected series 24 * * series - name of the selected series 30 final String series = Utils.jsonToString(drilldownParams.get("series")); local 41 String title = series + " for " + param;
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
SchedulesHeaderRow.java | 97 * The header row which represent the series recording. 103 SeriesRecording series) { 105 mSeriesRecording = series; 109 * Returns the series recording, it is for series schedules list. 116 * Sets the series recording.
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
Plot.java | 44 public abstract class Plot<SeriesType extends Series, FormatterType extends Formatter, RendererType extends SeriesRenderer>
131 * Associates lists series and formatter pairs with the class of the Renderer used to render them.
400 * @param series
402 public synchronized boolean addSeries(SeriesType series, FormatterType formatter) {
416 // if this series implements PlotListener, add it as a listener:
417 if(series instanceof PlotListener) {
418 addListener((PlotListener)series);
421 // do nothing if this series already associated with the renderer:
422 if(sfList.contains(series)) {
425 sfList.add(series, formatter); [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
plot_dynamics.py | 78 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/linux-kselftest/ |
.gitignore | 84 series
|
/external/autotest/frontend/tko/ |
graphing_utils.py | 111 for each series, named by the column names. A column named 112 'errors-<x>' will be interpreted as errors for the series named <x>. 116 inverted_series: list of series that should be plotted on an inverted 123 'series__%s' - normalize against the series %s 191 # when we're doing any kind of normalization, all series get put into a 223 # Plot the series 261 params = [dict(query=drill, series=line.get_label(), param=x_label) 293 Adjust the list 'x' to take the multiple series into account. Each series 294 should be shifted such that the middle series lies at the appropriate x-axi [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrManager.java | 132 // Removing series recording is handled in the SeriesRecordingDetailsFragment. 234 * Adds a new series recording and schedules for the programs with the initial state. 238 Log.i(TAG, "Adding series recording for program " + selectedProgram + ", and schedules: " 272 private void addRecordedProgramToSeriesRecording(SeriesRecording series) { 275 if (series.getSeriesId().equals(recordedProgram.getSeriesId()) 278 // also guaranteed that the schedules don't belong to any series recordings because 279 // there are no more than one series recordings which have the same program title. 281 .setPriority(series.getPriority()) 282 .setSeriesRecordingId(series.getId()).build()); 291 * Adds {@link ScheduledRecording}s for the series recording 387 SeriesRecording series = mDataManager.getSeriesRecording(seriesRecordingId); local [all...] |
/prebuilts/go/darwin-x86/test/chan/ |
powser1.go | 7 // Test concurrency primitives: power series. 9 // Power series package 10 // A power series is a channel, along which flow rational 13 // See Squinting at Power Series by Doug McIlroy, 181 type PS *dch // power series 182 type PS2 *[2] PS // pair of power series 196 // Upper-case for power series. 286 // Print n terms of a power series 300 // Evaluate n terms of power series U at x=c 308 // Power-series constructors return channels on which powe [all...] |
powser2.go | 7 // Test concurrency primitives: power series. 13 // Power series package 14 // A power series is a channel, along which flow rational 17 // See Squinting at Power Series by Doug McIlroy, 191 type PS *dch // power series 192 type PS2 *[2] PS // pair of power series 206 // Upper-case for power series. 296 // Print n terms of a power series 314 // Evaluate n terms of power series U at x=c 322 // Power-series constructors return channels on which powe [all...] |
/prebuilts/go/linux-x86/test/chan/ |
powser1.go | 7 // Test concurrency primitives: power series. 9 // Power series package 10 // A power series is a channel, along which flow rational 13 // See Squinting at Power Series by Doug McIlroy, 181 type PS *dch // power series 182 type PS2 *[2] PS // pair of power series 196 // Upper-case for power series. 286 // Print n terms of a power series 300 // Evaluate n terms of power series U at x=c 308 // Power-series constructors return channels on which powe [all...] |
powser2.go | 7 // Test concurrency primitives: power series. 13 // Power series package 14 // A power series is a channel, along which flow rational 17 // See Squinting at Power Series by Doug McIlroy, 191 type PS *dch // power series 192 type PS2 *[2] PS // pair of power series 206 // Upper-case for power series. 296 // Print n terms of a power series 314 // Evaluate n terms of power series U at x=c 322 // Power-series constructors return channels on which powe [all...] |
/prebuilts/devtools/tools/lib/ |
jfreechart-1.0.9.jar | |