Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 145) sorted by relevance

123456

/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/energy/
DTabPaneEnergyAnomaly.ts39 let values = Object.values(bean[index]);
40 if (values[TabPaneEnergyAnomaly.VALUE_INDEX]) {
41 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
45 filterAppMap.set(values[0] + values[1], findAppNameIndex);
49 if (values[TabPaneEnergyAnomaly.KEY_INDEX] == 'APPNAME') {
51 filterAppMap.set(values[0] + values[1], findAppNameIndex);
58 let values = Object.values(bean[index]);
60 if (filterAppMap.get(values[0] + values[1]) == -1) {
63 findAppNameIndex = filterAppMap.get(values[0] + values[1]);
65 if (!set.has(values[0])) {
[all …]
DTabPaneSystemDetails.ts175 let values = this.getConvertData(data);
178 for (let index = 0; index < values.length; index++) {
179 let filterData: any = values[index];
254 let values = this.getConvertData(data);
258 for (let index = 0; index < values.length; index++) {
259 let filterData: any = values[index];
287 let values = this.getConvertData(data);
291 for (let index = 0; index < values.length; index++) {
292 let filterData: any = values[index];
331 return Object.values(convertItem);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/
DTabPaneEnergyAnomaly.ts39 let values = Object.values(bean[index]);
40 if (values[TabPaneEnergyAnomaly.VALUE_INDEX]) {
41 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
45 filterAppMap.set(values[0] + values[1], findAppNameIndex);
49 if (values[TabPaneEnergyAnomaly.KEY_INDEX] == 'APPNAME') {
51 filterAppMap.set(values[0] + values[1], findAppNameIndex);
58 let values = Object.values(bean[index]);
60 if (filterAppMap.get(values[0] + values[1]) == -1) {
63 findAppNameIndex = filterAppMap.get(values[0] + values[1]);
65 if (!set.has(values[0])) {
[all …]
DTabPaneSystemDetails.ts183 let values = this.getConvertData(data);
186 for (let index = 0; index < values.length; index++) {
187 let filterData: any = values[index];
262 let values = this.getConvertData(data);
266 for (let index = 0; index < values.length; index++) {
267 let filterData: any = values[index];
295 let values = this.getConvertData(data);
299 for (let index = 0; index < values.length; index++) {
300 let filterData: any = values[index];
339 return Object.values(convertItem);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DMatrix.ets59 public setValues(values: number[]) {
60 this.data = values;
112 var values = matrix.getValues();
113 this.postScale(values[Matrix.MSCALE_X],values[Matrix.MSCALE_Y]);
114 this.postTranslate(values[Matrix.MTRANS_X],values[Matrix.MTRANS_Y]);
115 // this.data[Matrix.MTRANS_X] = values[Matrix.MTRANS_X] * this.data[Matrix.MSCALE_X]
116 // this.data[Matrix.MSCALE_X] *= values[Matrix.MSCALE_X]
117 // this.data[Matrix.MSCALE_Y] *= values[Matrix.MSCALE_Y]
138 var values: number[] = matrix.getValues();
139 values[Matrix.MSCALE_X] = 1 / (this.data[Matrix.MSCALE_X] / 1)
[all …]
DTransformer.ets29 * transforming values into pixels on the screen and backwards.
36 * matrix to map the values to the screen pixels
51 * Prepares the matrix that transforms values to pixels. Calculates the
102 * y values transformed with all matrices for the SCATTERCHART.
139 * y values transformed with all matrices for the BUBBLECHART.
175 * y values transformed with all matrices for the LINECHART.
213 * y values transformed with all matrices for the CANDLESTICKCHART.
264 var values: number[] = matrix.getValues();
266 lastNum = beforeNum * values[Matrix.MSCALE_X] + values[Matrix.MTRANS_X]
268 lastNum = beforeNum * values[Matrix.MSCALE_Y] + values[Matrix.MTRANS_Y]
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/
DSpProbesConfig.ts38 let values = [];
40 values.push(litCheckBoxElement.value);
43 values.push(this.hitrace.value);
45 info('traceConfig is :', values);
46 return values;
57 let values = [];
62 values.push(litCheckBoxElement.value);
64 log('memoryConfig size is :' + values.length);
65 return values;
76 let values = [];
[all …]
/developtools/smartperf_host/ide/src/trace/component/metrics/
DMemAggStrategy.ts33 let values = metricData[sqlIndex].value.split(splitChar);
34 for (let index = 0; index < values.length; index++) {
42 let values = metricData[sqlIndex].value.split(splitChar); variable
47 oomScoreValue = values[indexScore];
55 value: values[index],
/developtools/profiler/host/smartperf/ide/src/trace/component/metrics/
DMemAggStrategy.ts33 let values = metricData[sqlIndex].value.split(splitChar);
36 for (let index = 0; index < values.length; index++) {
42 let values = metricData[sqlIndex].value.split(splitChar); variable
47 oomScoreValue = values[indexScore];
55 value: values[index],
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpProbesConfig.ts38 let values = [];
40 values.push(litCheckBoxElement.value);
43 values.push(this.hitrace.value);
45 info('traceConfig is :', values);
46 return values;
57 let values = [];
62 values.push(litCheckBoxElement.value);
64 log('memoryConfig size is :' + values.length);
65 return values;
76 let values = [];
[all …]
/developtools/hiperf/src/
Doption.cpp118 std::vector<int> &values) in GetValueFromString() argument
124 values.push_back(std::stoi(stringValues.front())); in GetValueFromString()
127 return values.size() > 0; // convert successed ? in GetValueFromString()
136 std::vector<std::string> &values) in GetValueFromString() argument
138 values = StringSplit(optionValue, ","); in GetValueFromString()
140 VectorToString(values).c_str(), optionValue.c_str()); in GetValueFromString()
141 return values.size() > 0; // convert successed ? in GetValueFromString()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DIDataSet.ets58 * Returns the number of y-values this DataSet represents -> the size of the y-values array
66 * Calculates the minimum and maximum x and y values (mXMin, mXMax, mYMin, mYMax).
71 …* Calculates the min and max y-values from the Entry closest to the given fromX to the Entry close…
88 * @param closestToY If there are multiple y-values for the specified x-value,
107 * @param closestToY If there are multiple y-values for the specified x-value,
124 * Returns the Entry object found at the given index (NOT xIndex) in the values array.
140 * @param closestToY If there are multiple y-values for the specified x-value,
172 * values of the DataSet and the value-sum.
181 … * Entries are added to their appropriate index in the values array respective to their x-position.
183 * values of the DataSet and the value-sum.
[all …]
/developtools/global_resource_tool/src/
Djson_compiler.cpp200 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleStringArray() argument
210 values.push_back(value.asString()); in HandleStringArray()
219 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleIntegerArray() argument
223 values.push_back(arrayItem.asString()); in HandleIntegerArray()
235 … [this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandleTheme() argument
236 return ParseAttribute(arrayItem, resourceItem, values); in HandleTheme()
250 …rs, this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandlePlural() argument
261 values.push_back(quantityValue); in HandlePlural()
262 values.push_back(arrayItem[TAG_VALUE].asString()); in HandlePlural()
357 vector<string> values; in ParseValueArray() local
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/animation/
DChartAnimator.ets22 /** The phase of drawn values on the y-axis. 0 - 1 */
25 /** The phase of drawn values on the x-axis. 0 - 1 */
53 * Animates values along the X axis, in a linear fashion.
62 * Animates values along the X axis.
76 * Animates values along both the X and Y axes, in a linear fashion.
87 * Animates values along both the X and Y axes.
110 * Animates values along both the X and Y axes.
135 * Animates values along the Y axis, in a linear fashion.
145 * Animates values along the Y axis.
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/sdk/
DTabPaneSdkCounter.ts62 let values = sdkVal.sdkCounterIds[index].split('-');
63 let value = values[0];
64 componentId = Number(values[1]);
81 let values = Object.values(dataResult);
88 let counterValue = values[counterKeyIndex];
DTabPaneSdkSlice.ts62 let values = sdkSliceVal.sdkSliceIds[index].split('-');
63 let value = values[0];
64 componentId = Number(values[1]);
82 let values = Object.values(dataResult);
89 let sliceValue = values[sliceKeyIndex];
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/sdk/
DTabPaneSdkCounter.ts62 let values = sdkVal.sdkCounterIds[index].split('-');
63 let value = values[0];
64 componentId = Number(values[1]);
81 let values = Object.values(dataResult);
88 let counterValue = values[counterKeyIndex];
DTabPaneSdkSlice.ts62 let values = sdkSliceVal.sdkSliceIds[index].split('-');
63 let value = values[0];
64 componentId = Number(values[1]);
82 let values = Object.values(dataResult);
89 let sliceValue = values[sliceKeyIndex];
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DDataRenderer.ets48 * paint used for highlighting values
55 * paint object for drawing values (text representing values of chart
88 * Returns the Paint object this renderer uses for drawing the values
148 * Loops over all Entrys and draws their values.
184 * Draws all highlight indicators for the values that are currently highlighted.
187 * @param indices the highlighted values
DAxisRenderer.ets33 /** transformer to transform values to screen pixels and return */
42 * paint for the x-label values
111 * Returns the Transformer object used for transforming the axis values.
121 * Computes the axis values.
153 * Sets up the axis values. Computes the desired number of labels between the two given extremes.
172 // Find out how much spacing (in y value space) between axis values
177 // This is used to avoid repeated values when rounding values for display.
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dread_acl_whitelist.py44 values = it.get('acls')
45 acls_dict[key] = values
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DDataSet.ets23 * groups of values inside the Chart (e.g. the values for a specific line in the
24 * LineChart, or the values of a specific group of bars in the BarChart).
56 * Creates a new DataSet object with the given values (entries) it represents. Also, a
157 // * @param values
160 public setValues(values : JArrayList<T>) : void {
161 this.setEntries(values);
250 var values : JArrayList<T> = this.getEntries();
251 if (!values) {
252 values = new JArrayList<T>();
258 values.add(e);
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_data_db.cpp205 std::vector<std::string> values = {}; in SearchData() local
216 values.clear(); in SearchData()
223 values.push_back(left.substr(0, pos + 1)); in SearchData()
226 values.push_back(left); in SearchData()
234 return values; in SearchData()
243 if (!values.empty()) { in SearchData()
244 return values; in SearchData()
265 return values; in SearchData()
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_db.cpp205 std::vector<std::string> values = {}; in SearchData() local
216 values.clear(); in SearchData()
223 values.push_back(left.substr(0, pos + 1)); in SearchData()
226 values.push_back(left); in SearchData()
234 return values; in SearchData()
243 if (!values.empty()) { in SearchData()
244 return values; in SearchData()
265 return values; in SearchData()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/
DTemperature.ets439 let values = new JArrayList<EntryOhos>();
445values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.systemHTemp).valueOf() / 1000));
456 let set1 = new LineDataSet(values, "SystemHTemp(℃)");
475 let values = new JArrayList<EntryOhos>();
481values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.batteryTemp).valueOf() / 1000));
492 let set1 = new LineDataSet(values, "BatteryTemp(℃)");
511 let values = new JArrayList<EntryOhos>();
517values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.shellFrontTemp).valueOf() / 100…
528 let set1 = new LineDataSet(values, "ShellFrontTemp(℃)");
547 let values = new JArrayList<EntryOhos>();
[all …]

123456