/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/bart/bart/sched/ |
functions.py | 39 **EVENT SERIES** 46 **RESIDENCY SERIES** 48 This series is a cumulative sum of the event series and 96 """In a residency series, a zero indicates 102 """A memoized flag which is set when an event series 107 def sanitize_asymmetry(series, window=None): 112 :param series: Input Time Series data 113 :type series: :mod:`pandas.Series [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/bart/bart/common/ |
Utils.py | 50 def select_window(series, window): 52 pandas time series 54 :param series: Input Time Series data 55 :type series: :mod:`pandas.Series` 62 return series 65 ix = series.index 67 window_series = series[selector] 70 def area_under_curve(series, sign=None, method="trapz", step="post") [all...] |
/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/trappy/tests/ |
test_utils.py | 32 series = pandas.Series(values, index=index) 36 series.reindex(new_index) 40 expected_series = pandas.Series(values, index=expected_index) 41 series = utils.handle_duplicate_index(series, max_delta) 42 assert_series_equal(series, expected_series) 45 series.reindex(new_index) 48 """handle_duplicate_index copes with duplicates at the end of the series""" 55 series = pandas.Series(values, index=index [all...] |
test_constraint.py | 48 series = constraint.result[AttrConf.PIVOT_VAL] 49 self.assertEquals(series.to_dict().values(), 60 series = constraint.result[AttrConf.PIVOT_VAL] 61 self.assertEquals(series.to_dict().values(), 72 series = constraint.result[AttrConf.PIVOT_VAL] 73 self.assertEquals(series.to_dict().values(), 86 series = constraint.result[AttrConf.PIVOT_VAL] 87 self.assertEquals(series.to_dict(), orig_series.to_dict()) 169 series = constraint.result[AttrConf.PIVOT_VAL] 170 self.assertEquals(len(series), 3 [all...] |
/external/bart/tests/ |
test_common_utils.py | 31 # A series with a non uniform index 38 series = pd.Series(values, index=index) 40 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 8) 41 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 7) 45 series = pd.Series(array) 47 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 2) 48 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 1) 52 series = pd.Series(array [all...] |
/external/bart/bart/thermal/ |
ThermalAssert.py | 67 series = data_frame[pivot] 68 series = Utils.select_window(series, window) 69 mask = (series >= temp_range[0]) & (series <= temp_range[1]) 70 index = series.index.values
|
/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...] |
/external/fio/tools/ |
fiologparser.py | 33 def get_ftime(series): 35 for ts in series: 40 def print_full(ctx, series): 41 ftime = get_ftime(series) 47 results = [ts.get_value(start, end) for ts in series] 52 def print_sums(ctx, series): 53 ftime = get_ftime(series) 59 results = [ts.get_value(start, end) for ts in series] 64 def print_averages(ctx, series): 65 ftime = get_ftime(series) 208 series = [] variable in class:Sample [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},
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
PerformanceSummary.java | 74 if (!ppSummary.series.equals("")) { 75 name += " (" + ppSummary.series + ")"; 89 if (!summaryMap.containsKey(ppSummary.series)) { 91 ppSummary.series, 97 summaryMap.get(ppSummary.series).updateLabel(ppSummary, name);
|
BoxPlot.java | 31 /** Helper object for describing time-series box plot data. */ 128 public void addSeriesData(String label, String series, StatSummary stats) { 133 seriesMap.put(series, stats); 134 seriesSet.add(series); 158 for (String series : seriesList) { 163 if (seriesMap.containsKey(series) && seriesMap.get(series).getCount() > 0) { 164 StatSummary stat = seriesMap.get(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...] |
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
ProfilingPointSummaryEntity.java | 55 public static final String SERIES = "series"; 64 public final String series; field in class:ProfilingPointSummaryEntity 77 * @param series The string describing the profiling point series (e.g. binder or passthrough). 87 String series, 94 this.series = series == null ? "" : series; 96 this.key = createKey(parentKey, this.branch, this.buildFlavor, this.series, this.startTime) 279 String series = (String) e.getProperty(SERIES); local [all...] |
/external/trappy/trappy/stats/ |
Aggregator.py | 35 :param aggfunc: Function that accepts a pandas.Series and 52 def _add_result(self, pivot, series): 58 :param series: series to be added to result 59 :type series: :mod:`pandas.Series` 63 self._result[pivot] = self.indexer.series() 65 for idx in series.index: 66 self._result[pivot][idx] = series[idx] 98 :param aggfunc: A function to be applied on each series being aggregated [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
SchedulesHeaderRow.java | 80 /** The header row which represent the series recording. */ 89 SeriesRecording series, 92 mSeriesRecording = series; 96 /** Returns the list of programs which belong to the series. */ 101 /** Returns the series recording, it is for series schedules list. */ 106 /** 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.
|
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrManager.java | 138 // Removing series recording is handled in the 250 /** Adds a new series recording and schedules for the programs with the initial state. */ 257 "Adding series recording for program " 294 private void addRecordedProgramToSeriesRecording(SeriesRecording series) { 297 if (series.getSeriesId().equals(recordedProgram.getSeriesId()) 300 // also guaranteed that the schedules don't belong to any series recordings because 301 // there are no more than one series recordings which have the same program title. 304 .setPriority(series.getPriority()) 305 .setSeriesRecordingId(series.getId()) 315 * Adds {@link ScheduledRecording}s for the series recording 422 SeriesRecording series = mDataManager.getSeriesRecording(seriesRecordingId); local [all...] |