Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 17 of 17) sorted by relevance

/developtools/smartperf_host/ide/src/base-ui/utils/
DCSVFormater.ts29 formatter: undefined,
58 …'"' + (typeof columns.formatter === 'function' ? columns.formatter(key, n[key]) || n[key] : n[key]…
76 } else if (obj.formatter && obj.formatter.has(m)) {
77 strItem = obj.formatter.get(m)?.(n[m]) || n[m];
91 (typeof columns.formatter === 'function' ? columns.formatter(m, n[m]) || n[m] : strItem) +
95 …'"' + (typeof columns.formatter === 'function' ? columns.formatter(m, n[m]) || n[m] : strItem) + '…
228 formatter: dataSource.columnFormatter,
237 formatter: dataSource.columnFormatter,
/developtools/packing_tool/adapter/ohos/
DLog.java37 PackFormatter formatter = new PackFormatter(); in Log() local
39 handler.setFormatter(formatter); in Log()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DDefaultValueFormatter.ets21 * Default formatter used for formatting values inside the chart. Uses a DecimalFormat with
46 * Sets up the formatter with a given number of decimal digits.
72 * Returns the number of decimal digits this formatter uses.
DDefaultAxisValueFormatter.ets22 * the number of decimal digits this formatter uses
55 * Returns the number of decimal digits this formatter uses or -1, if unspecified.
DIAxisValueFormatter.ets18 * Custom formatter interface that allows formatting of
DDefaultFillFormatter.ets22 * Default formatter that calculates the position of the filled line.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DLineDataSet.ets21 import IFillFormatter from '../formatter/IFillFormatter'
22 import DefaultFillFormatter from '../formatter/DefaultFillFormatter'
69 * formatter for customizing the position of the fill-line
348 * @param formatter
350 public setFillFormatter(formatter: IFillFormatter): void {
352 if (!formatter) {
355 if (formatter instanceof DefaultFillFormatter) {
356 this.mFillFormatter = <DefaultFillFormatter> formatter;
DBaseDataSet.ets21 import IValueFormatter from '../formatter/IValueFormatter'
61 * custom formatter that is used instead of the auto-formatter if set
DChartData.ets17 import IValueFormatter from '../formatter/IValueFormatter';
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DDataRenderer.ets26 import IValueFormatter from '../formatter/IValueFormatter'
158 * @param formatter formatter for custom value-formatting
166 …public drawValue(formatter:IValueFormatter, value:number, entry:EntryOhos, dataSetIndex:number, x:…
170 … textPaint.setText(formatter.getFormattedValue(value, entry, dataSetIndex, this.mViewPortHandler));
/developtools/smartperf_host/ide/test/base-ui/untils/
DCSVFormater.test.ts31 formatter: undefined,
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DUtils.ets20 import IValueFormatter from '../formatter/IValueFormatter';
21 import DefaultValueFormatter from '../formatter/DefaultValueFormatter';
115 var formatter: DefaultValueFormatter = new DefaultValueFormatter(1);
116 return formatter;
119 // /// - returns: The default value formatter used for all chart components that needs a default
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DAxisBase.ets19 import DefaultAxisValueFormatter from '../formatter/DefaultAxisValueFormatter';
20 import IAxisValueFormatter from '../formatter/IAxisValueFormatter';
30 * custom formatter that is used instead of the auto-formatter if set
518 * Sets the formatter to be used for formatting the axis labels. If no formatter is set, the
522 * the chart. Use chart.getDefaultValueFormatter() to use the formatter calculated by the chart.
535 * Returns the formatter used for formatting the axis labels.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DIDataSet.ets21 import IValueFormatter from '../../formatter/IValueFormatter'
319 * Sets the formatter to be used for drawing the values inside the chart. If
320 * no formatter is set, the chart will automatically determine a reasonable
322 * the chart. Use chart.getDefaultValueFormatter() to use the formatter
330 * Returns the formatter used for drawing the values inside the chart.
DILineDataSet.ets18 import IFillFormatter from '../../formatter/IFillFormatter';
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/dataprovider/
DChartInterface.ets18 import IValueFormatter from '../../formatter/IValueFormatter'
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/charts/
DChart.ets28 import DefaultValueFormatter from '../formatter/DefaultValueFormatter';
42 import IValueFormatter from '../formatter/IValueFormatter'
85 * default value-formatter, number of digits depends on provided chart-data
299 * drawn in the chart (if enabled), and creates the default-value-formatter
316 // setup the formatter with a new number of digits