/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
D | base_encoder_test.py | 29 def _GetType(self, chart): argument 32 def _GetDependentAxis(self, chart): argument 33 return chart.left 63 chart = TestChart(*args, **kwargs) 64 chart.display = TestEncoder(chart) 65 return chart 67 def AddToChart(self, chart, points, color=None, label=None): argument 72 return chart.AddData(points, color=color, label=label) 75 self.chart = self.GetChart() 79 self.assertIn(self.chart.display.Url(500, 100, use_html_entities=True), [all …]
|
D | bar_chart_test.py | 34 def AddToChart(self, chart, points, color=None, label=None): argument 35 return chart.AddBars(points, color=color, label=label) 39 self.chart.vertical = vertical 40 self.chart.stacked = stacked 49 self.AddToChart(self.chart, [1]) 56 self.AddToChart(self.chart, [3]) 57 self.chart.vertical = False 58 self.chart.bottom.min = 0 59 self.chart.bottom.max = 3 61 self.chart.bottom.max = 6 [all …]
|
D | encoders.py | 44 def __init__(self, chart): argument 48 self.chart = chart 63 params = self._Params(self.chart) 73 def _GetType(self, chart): argument 90 def _Params(self, chart): argument 94 chart = chart.GetFormattedChart() 100 Add(formatter(chart)) 106 def _GetSizeParams(self, chart): argument 110 def _GetExtraParams(self, chart): argument 114 def _GetDataSeriesParams(self, chart): argument [all …]
|
D | pie_chart_test.py | 38 def AddToChart(self, chart, points, color=None, label=None): argument 39 return chart.AddSegment(points[0], color=color, label=label) 46 self.chart.display.is3d = False 48 self.chart.display.is3d = True 57 self.chart = self.GetChart([1,2,3], ['Mouse', 'Cat', 'Dog']) 64 self.chart = self.GetChart([1,2,3], ['Mouse', 'Cat', 'Dog']) 65 self.chart.AddSegment(4, label='Horse') 72 self.chart.AddSegments([1,2,3], 79 self.chart.AddSegments([4,5,6], ['Horse', 'Moose', 'Elephant'], ['cccccc']) 85 self.chart.AddPie([1,2,3], [all …]
|
D | line_chart_test.py | 33 def AddToChart(self, chart, points, color=None, label=None): argument 34 return chart.AddLine(points, color=color, label=label) 43 self.chart.AddLine([1, 2, 3], markers=[(1, x), (2, o), (3, x)]) 44 self.chart.AddLine([4, 5, 6], markers=[(x, line) for x in range(3)]) 55 self.chart.AddLine([1, 2, 3]) 56 self.chart.AddLine([4, 5, 6], pattern=line_chart.LineStyle.DASHED) 62 left_axis = self.chart.AddAxis(common.AxisPosition.LEFT, 68 bottom_axis = self.chart.AddAxis(common.AxisPosition.BOTTOM, 72 sub_axis = self.chart.AddAxis(common.AxisPosition.BOTTOM, 79 self.chart.AddAxis(common.AxisPosition.RIGHT, left_axis) [all …]
|
D | __init__.py | 31 chart = chart_class(*args, **kwargs) 32 chart.display = display_class(chart) 33 return chart
|
/external/chromium-trace/catapult/third_party/graphy/graphy/ |
D | formatters_test.py | 28 self.chart = google_chart_api.LineChart() 29 self.chart.formatters.append(formatters.InlineLegend) 30 self.chart.AddLine([1, 2, 3], label='A') 31 self.chart.AddLine([4, 5, 6], label='B') 32 self.chart.auto_scale.buffer = 0 48 self.chart = google_chart_api.LineChart([1, 2, 3]) 52 self.auto_scale(self.chart) 53 self.assertEqual(1, self.chart.left.min) 54 self.assertEqual(3, self.chart.left.max) 58 self.auto_scale(self.chart) [all …]
|
D | pie_chart_test.py | 51 chart = pie_chart.PieChart() 53 segment = chart.AddSegment(10, label='Dummy', color='0000ff') 58 chart = pie_chart.PieChart() 61 self.assertRaises(DeprecationWarning, chart.AddSegment, 1, 65 chart.AddSegment(1, 'label', '0000FF') 66 self.assertEqual('label', chart.data[0][0].label) 67 self.assertEqual('0000FF', chart.data[0][0].color) 71 chart = pie_chart.PieChart() 74 self.assertRaises(DeprecationWarning, chart.AddSegments, [1], 78 chart.AddSegments([1], ['label'], ['0000FF']) [all …]
|
D | formatters.py | 32 def AutoLegend(chart): argument 36 chart._show_legend = False 38 for series in chart.data: 43 chart._show_legend = True 44 if chart._show_legend: 45 chart._legend_labels = labels 61 def __call__(self, chart): argument 63 for series in chart.data: 95 def __call__(self, chart): argument 97 if not chart.data: [all …]
|
D | bar_chart_test.py | 30 self.chart = google_chart_api.BarChart() 43 chart = bar_chart.BarChart() 45 self.assertRaises(DeprecationWarning, chart.AddBars, [1, 2, 3], 49 chart = bar_chart.BarChart() 50 chart.AddBars([1, 2, 3], 'label', '0000FF') 51 self.assertEqual('label', chart.data[0].label) 52 self.assertEqual('0000FF', chart.data[0].style.color) 55 c = self.chart 74 self.chart.vertical = True 75 self.assertTrue(self.chart.left is self.chart.GetDependentAxis()) [all …]
|
D | common_test.py | 29 self.chart = google_chart_api.LineChart() 35 self.assertTrue(self.chart.left is self.chart.GetDependentAxis()) 36 self.assertTrue(self.chart.bottom is self.chart.GetIndependentAxis()) 41 self.chart.top = new_axis 42 self.assertTrue(self.chart.top is new_axis) 44 self.chart.bottom = new_axis 45 self.assertTrue(self.chart.bottom is new_axis) 47 self.chart.left = new_axis 48 self.assertTrue(self.chart.left is new_axis) 50 self.chart.right = new_axis [all …]
|
D | line_chart_test.py | 38 chart = line_chart.LineChart() 39 chart.AddSeries(points=[1, 2, 3], style=line_chart.LineStyle.solid(), 41 series = chart.data[0] 54 chart = line_chart.LineChart() 56 self.assertRaises(DeprecationWarning, chart.AddLine, [1, 2, 3], 60 chart = line_chart.LineChart() 61 chart.AddLine([1, 2, 3], 'label', 'color', markers=[x]) 62 self.assertEqual('label', chart.data[0].label) 63 self.assertEqual([x], chart.data[0].markers) 64 self.assertEqual('color', chart.data[0].style.color)
|
D | graphy_test.py | 37 def Param(self, param_name, chart=None): argument 39 if chart is None: 40 chart = self.chart 41 params = chart.display._Params(chart)
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/ |
D | PercentagePanel.java | 35 Chart chart; field in PercentagePanel 43 chart.setValues(value.getTimeline(), value.getScaling()); in PercentagePanel() 47 chart.setExpanded(!chart.isExpanded()); in PercentagePanel() 48 boolean expanded = chart.isExpanded(); in PercentagePanel() 50 GridBagConstraints chartConstraints = layout.getConstraints(chart); in PercentagePanel() 53 chart.setPreferredSize(new Dimension(150, 200)); in PercentagePanel() 58 chart.setPreferredSize(new Dimension(150, 62)); in PercentagePanel() 63 layout.setConstraints(chart, chartConstraints); in PercentagePanel() 65 chart.revalidate(); in PercentagePanel() 73 chart = new Chart(chartTitle) { in initializeComponents() [all …]
|
D | ScaledNumericPanel.java | 41 Chart chart; field in ScaledNumericPanel 57 chart.setValues(value.getTimeline(), value.getScaling()); in ScaledNumericPanel() 119 chart.setExpanded(!chart.isExpanded()); in ScaledNumericPanel() 120 boolean expanded = chart.isExpanded(); in ScaledNumericPanel() 122 GridBagConstraints chartConstraints = layout.getConstraints(chart); in ScaledNumericPanel() 125 chart.setPreferredSize(new Dimension(150, 200)); in ScaledNumericPanel() 130 chart.setPreferredSize(new Dimension(150, 30)); in ScaledNumericPanel() 135 layout.setConstraints(chart, chartConstraints); in ScaledNumericPanel() 139 chart.revalidate(); in ScaledNumericPanel() 201 chart = new Chart(chartTitle) { in initializeComponents() [all …]
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
D | PercentagePanel.java | 35 Chart chart; field in PercentagePanel 48 chart.setValues(this.value.getTimeline(), this.value.getScaling()); in setValue() 54 chart = new Chart(chartTitle) { in initializeComponents() 56 value.setTimeline(chart.getValuesX()); in initializeComponents() 57 value.setScaling(chart.getValuesY()); in initializeComponents() 60 chart.setPreferredSize(new Dimension(150, 62)); in initializeComponents() 61 …contentPanel.add(chart, new GridBagConstraints(0, 0, 1, 1, 0, 0, GridBagConstraints.WEST, GridBagC… in initializeComponents() 72 chart.setExpanded(!chart.isExpanded()); in initializeComponents() 73 boolean expanded = chart.isExpanded(); in initializeComponents() 75 GridBagConstraints chartConstraints = layout.getConstraints(chart); in initializeComponents() [all …]
|
D | ScaledNumericPanel.java | 41 Chart chart; field in ScaledNumericPanel 112 chart = new Chart(chartTitle) { in initializeComponents() 114 value.setTimeline(chart.getValuesX()); in initializeComponents() 115 value.setScaling(chart.getValuesY()); in initializeComponents() 118 …contentPanel.add(chart, new GridBagConstraints(6, 5, 1, 1, 0, 0, GridBagConstraints.CENTER, GridBa… in initializeComponents() 120 chart.setPreferredSize(new Dimension(150, 30)); in initializeComponents() 193 chart.setExpanded(!chart.isExpanded()); in initializeComponents() 194 boolean expanded = chart.isExpanded(); in initializeComponents() 196 GridBagConstraints chartConstraints = layout.getConstraints(chart); in initializeComponents() 199 chart.setPreferredSize(new Dimension(150, 200)); in initializeComponents() [all …]
|
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
D | pie_chart.css | 5 * /deep/ .pie-chart .arc-text { 9 * /deep/ .pie-chart .label { 13 * /deep/ .pie-chart polyline {
|
D | line_chart.css | 6 * /deep/ .line-chart .line { 11 * /deep/ .line-chart #brushes > rect {
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
D | model.py | 644 chart = google_chart_api.BarChart() 655 chart.stacked = True 656 chart.AddBars(filter_status("unknown"), color="404040") 657 chart.AddBars(filter_status("success"), color="00ac42") 658 chart.AddBars(filter_status("running"), color="3636a9") 659 chart.AddBars(filter_status("aborted"), color="e29e24") 660 chart.AddBars(filter_status("failed"), color="f6350f") 662 chart.AddBars(shards_processed) 671 chart.style = bar_chart.BarChartStyle(bar_thickness=bar_thickness, 679 chart.bottom.labels = [] [all …]
|
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/ |
D | picture_ops_chart_view.css | 6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view { 14 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-view > .use-percentile-scale {
|
D | picture_ops_chart_summary_view.css | 6 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view { 16 * /deep/ tr-ui-e-chrome-cc-picture-ops-chart-summary-view.hidden {
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | add_point_test.py | 1090 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON) 1091 del chart['master'] 1093 '/add_point', {'data': json.dumps(chart)}, status=400, 1098 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON) 1099 del chart['bot'] 1101 '/add_point', {'data': json.dumps(chart)}, status=400, 1106 chart = copy.deepcopy(_SAMPLE_DASHBOARD_JSON) 1107 del chart['point_id'] 1109 '/add_point', {'data': json.dumps(chart)}, status=400, 1114 chart = {'foo': 'garbage'} [all …]
|
D | start_try_job.py | 503 chart = None 508 chart = parts[3] 518 chart = '%s-%s' % (parts[4], parts[3]) 521 chart = parts[3] 525 chart = '%s-%s' % (parts[4], parts[3]) 531 trace = chart 532 return '%s/%s' % (chart, trace)
|
D | add_point.py | 210 for chart in charts: 211 for trace in charts[chart]: 215 test_suite_name, chart, trace, charts[chart][trace], is_ref,
|