Home
last modified time | relevance | path

Searched refs:timeScale (Results 1 – 25 of 39) sorted by relevance

12

/external/perfetto/ui/src/frontend/
Doverview_timeline_panel.ts36 private timeScale?: TimeScale;
47 this.timeScale = new TimeScale(
76 if (this.timeScale === undefined) return;
86 const t = this.timeScale.pxToTime(xPos);
105 const xStart = Math.floor(this.timeScale.timeToPx(loads[i].startSec));
106 const xEnd = Math.ceil(this.timeScale.timeToPx(loads[i].endSec));
122 OverviewTimelinePanel.extractBounds(this.timeScale);
160 if (this.timeScale === undefined) return 'default';
162 OverviewTimelinePanel.extractBounds(this.timeScale);
183 if (this.timeScale === undefined) return;
[all …]
Dnotes_panel.ts54 const timescale = globals.frontendLocalState.timeScale;
82 const timeScale = globals.frontendLocalState.timeScale; constant
88 for (const xAndTime of gridlines(size.width, range, timeScale)) {
99 if ((note.noteType !== 'AREA' && !timeScale.timeInBounds(timestamp)) ||
101 !timeScale.timeInBounds(globals.state.areas[note.areaId].endSec) &&
102 !timeScale.timeInBounds(
114 const x = timeScale.timeToPx(timestamp);
123 Math.floor(timeScale.timeToPx(area.endSec) + TRACK_SHELL_WIDTH),
149 const timestamp = timeScale.pxToTime(this.hoveredX);
150 if (timeScale.timeInBounds(timestamp)) {
[all …]
Dtime_selection_panel.ts124 const timeScale = globals.frontendLocalState.timeScale; constant
128 for (const xAndTime of gridlines(size.width, range, timeScale)) {
164 const timeScale = globals.frontendLocalState.timeScale; constant
165 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(ts));
173 const timeScale = globals.frontendLocalState.timeScale; constant
174 const xLeft = timeScale.timeToPx(span.start);
175 const xRight = timeScale.timeToPx(span.end);
Dtickmark_panel.ts30 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
35 size.width, visibleWindowTime, timeScale)) {
47 Math.max(timeScale.timeToPx(tStart), 0) + TRACK_SHELL_WIDTH;
48 const rectEnd = timeScale.timeToPx(tEnd) + TRACK_SHELL_WIDTH;
59 Math.max(timeScale.timeToPx(startSec), 0) + TRACK_SHELL_WIDTH;
Dtrack_group_panel.ts167 localState.timeScale.timeToPx(selectedArea.startSec) +
170 localState.timeScale.deltaTimeToPx(
188 globals.frontendLocalState.timeScale,
207 localState.timeScale,
215 localState.timeScale,
226 localState.timeScale,
236 localState.timeScale,
250 localState.timeScale,
257 localState.timeScale,
Dtrack_panel.ts298 const timeScale = localState.timeScale; constant
301 timeScale.timeToPx(selectedArea.startSec) + TRACK_SHELL_WIDTH,
303 timeScale.deltaTimeToPx(selectedArea.endSec - selectedArea.startSec),
313 globals.frontendLocalState.timeScale,
329 localState.timeScale,
337 localState.timeScale,
348 localState.timeScale,
359 localState.timeScale,
373 localState.timeScale,
380 localState.timeScale,
/external/perfetto/ui/src/tracks/thread_state/
Dfrontend.ts50 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
63 timeScale.timeToPx(visibleWindowTime.start),
64 timeScale.timeToPx(visibleWindowTime.end),
65 timeScale.timeToPx(data.start),
66 timeScale.timeToPx(data.end),
82 const rectStart = timeScale.timeToPx(tStart);
83 const rectEnd = timeScale.timeToPx(tEnd);
111 Math.max(0 - EXCESS_WIDTH, timeScale.timeToPx(tStart));
113 timeScale.timeToPx(visibleWindowTime.end) + EXCESS_WIDTH,
114 timeScale.timeToPx(tEnd));
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java338 public static long from(long otherTime, int timeScale) in from() argument
340 TimeScaleData data = fromRangeCheck(otherTime, timeScale); in from()
355 public static BigDecimal bigDecimalFrom(double otherTime, int timeScale) in bigDecimalFrom() argument
357 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
375 public static BigDecimal bigDecimalFrom(long otherTime, int timeScale) in bigDecimalFrom() argument
377 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
395 public static BigDecimal bigDecimalFrom(BigDecimal otherTime, int timeScale) in bigDecimalFrom() argument
397 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
443 public static long toLong(long universalTime, int timeScale) in toLong() argument
445 TimeScaleData data = toRangeCheck(universalTime, timeScale); in toLong()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java376 public static long from(long otherTime, int timeScale) in from() argument
378 TimeScaleData data = fromRangeCheck(otherTime, timeScale); in from()
395 public static BigDecimal bigDecimalFrom(double otherTime, int timeScale) in bigDecimalFrom() argument
397 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
417 public static BigDecimal bigDecimalFrom(long otherTime, int timeScale) in bigDecimalFrom() argument
419 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
439 public static BigDecimal bigDecimalFrom(BigDecimal otherTime, int timeScale) in bigDecimalFrom() argument
441 TimeScaleData data = getTimeScaleData(timeScale); in bigDecimalFrom()
489 public static long toLong(long universalTime, int timeScale) in toLong() argument
491 TimeScaleData data = toRangeCheck(universalTime, timeScale); in toLong()
[all …]
/external/icu/icu4c/source/i18n/
Dutmscale.cpp40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() argument
46 if (timeScale < UDTS_JAVA_TIME || UDTS_MAX_SCALE <= timeScale in utmscale_getTimeScaleValue()
53 return timeScaleTable[timeScale][value]; in utmscale_getTimeScaleValue()
57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() argument
65 if ((int32_t)timeScale < 0 || timeScale >= UDTS_MAX_SCALE) { in utmscale_fromInt64()
70 data = (const int64_t *)(&timeScaleTable[timeScale]); in utmscale_fromInt64()
81 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_toInt64() argument
89 if ((int32_t)timeScale < 0 || timeScale >= UDTS_MAX_SCALE) { in utmscale_toInt64()
94 data = (const int64_t *)(&timeScaleTable[timeScale]); in utmscale_toInt64()
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts53 timeScale, constant
68 timeScale.timeToPx(fromNs(centerX)),
97 const {timeScale} = globals.frontendLocalState; constant
98 const time = toNs(timeScale.pxToTime(x));
100 const index = this.findTimestampIndex(left, timeScale, data, x, y, right);
111 const {timeScale} = globals.frontendLocalState; constant
113 const time = toNs(timeScale.pxToTime(x));
116 const index = this.findTimestampIndex(left, timeScale, data, x, y, right);
130 left: number, timeScale: TimeScale, data: Data, x: number, y: number,
134 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left]));
[all …]
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts56 timeScale, constant
71 timeScale.timeToPx(fromNs(centerX)),
100 const {timeScale} = globals.frontendLocalState; constant
101 const time = toNs(timeScale.pxToTime(x));
103 const index = this.findTimestampIndex(left, timeScale, data, x, y, right);
114 const {timeScale} = globals.frontendLocalState; constant
116 const time = toNs(timeScale.pxToTime(x));
119 const index = this.findTimestampIndex(left, timeScale, data, x, y, right);
134 left: number, timeScale: TimeScale, data: Data, x: number, y: number,
138 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left]));
[all …]
/external/perfetto/ui/src/frontend/drag/
Dborder_drag_strategy.ts21 constructor(timeScale: TimeScale, private pixelBounds: [number, number]) {
22 super(timeScale);
27 this.timeScale.pxToTime(this.moveStart ? x : this.pixelBounds[0]);
29 this.timeScale.pxToTime(!this.moveStart ? x : this.pixelBounds[1]);
36 [this.timeScale.timeToPx(tStart), this.timeScale.timeToPx(tEnd)];
Dinner_drag_strategy.ts20 constructor(timeScale: TimeScale, private pixelBounds: [number, number]) {
21 super(timeScale);
26 const tStart = this.timeScale.pxToTime(this.pixelBounds[0] + move);
27 const tEnd = this.timeScale.pxToTime(this.pixelBounds[1] + move);
/external/perfetto/ui/src/tracks/process_summary/
Dfrontend.ts48 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
55 timeScale.timeToPx(visibleWindowTime.start),
56 timeScale.timeToPx(visibleWindowTime.end),
57 timeScale.timeToPx(data.start),
58 timeScale.timeToPx(data.end));
65 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
66 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start));
85 lastX = Math.floor(timeScale.timeToPx(startTime));
/external/perfetto/ui/src/tracks/cpu_slices/
Dfrontend.ts56 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
66 timeScale.timeToPx(visibleWindowTime.start),
67 timeScale.timeToPx(visibleWindowTime.end),
68 timeScale.timeToPx(data.start),
69 timeScale.timeToPx(data.end));
75 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
95 const rectStart = timeScale.timeToPx(tStart);
96 const rectEnd = timeScale.timeToPx(tEnd);
160 const rectStart = timeScale.timeToPx(tStart);
161 const rectEnd = timeScale.timeToPx(tEnd);
[all …]
/external/perfetto/ui/src/tracks/android_log/
Dfrontend.ts52 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
58 const dataStartPx = timeScale.timeToPx(data.start);
59 const dataEndPx = timeScale.timeToPx(data.end);
60 const visibleStartPx = timeScale.timeToPx(visibleWindowTime.start);
61 const visibleEndPx = timeScale.timeToPx(visibleWindowTime.end);
72 Math.max(EVT_PX, timeScale.deltaTimeToPx(data.resolution));
82 const px = Math.floor(timeScale.timeToPx(data.timestamps[i]));
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts56 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
69 const endPx = timeScale.timeToPx(visibleWindowTime.end);
93 return Math.floor(timeScale.timeToPx(timestamp));
150 const x = timeScale.timeToPx(data.timestamps[i]);
153 timeScale.timeToPx(data.timestamps[i + 1]);
169 const xStart = Math.floor(timeScale.timeToPx(this.hoveredTs));
172 Math.floor(timeScale.timeToPx(this.hoveredTsEnd));
212 timeScale.timeToPx(visibleWindowTime.start),
213 timeScale.timeToPx(visibleWindowTime.end),
214 timeScale.timeToPx(data.start),
[all …]
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts119 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
147 const endPx = Math.floor(timeScale.timeToPx(visibleWindowTime.end));
190 return Math.floor(timeScale.timeToPx(ts));
243 const xStart = Math.floor(timeScale.timeToPx(this.hoveredTs));
246 Math.floor(timeScale.timeToPx(this.hoveredTsEnd));
278 const endPx = timeScale.timeToPx(visibleWindowTime.end);
280 Math.min(timeScale.timeToPx(this.config.endTs || Infinity), endPx);
294 timeScale.timeToPx(visibleWindowTime.start),
295 timeScale.timeToPx(visibleWindowTime.end),
296 timeScale.timeToPx(data.start),
[all …]
/external/perfetto/ui/src/tracks/chrome_slices/
Dfrontend.ts52 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
62 timeScale.timeToPx(visibleWindowTime.start),
63 timeScale.timeToPx(visibleWindowTime.end),
64 timeScale.timeToPx(data.start),
65 timeScale.timeToPx(data.end),
195 const {timeScale} = globals.frontendLocalState; constant
197 const instantWidthTime = timeScale.deltaPxToDuration(HALF_CHEVRON_WIDTH_PX);
198 const t = timeScale.pxToTime(x);
260 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
261 const pxEnd = timeScale.timeToPx(visibleWindowTime.end);
[all …]
/external/perfetto/ui/src/tracks/process_scheduling/
Dfrontend.ts53 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant
63 timeScale.timeToPx(visibleWindowTime.start),
64 timeScale.timeToPx(visibleWindowTime.end),
65 timeScale.timeToPx(data.start),
66 timeScale.timeToPx(data.end));
86 const rectStart = timeScale.timeToPx(tStart);
87 const rectEnd = timeScale.timeToPx(tEnd);
140 const {timeScale} = globals.frontendLocalState; constant
141 const t = timeScale.pxToTime(x);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/
DSegmentIndexBox.java47 long timeScale; field in SegmentIndexBox
75 IsoTypeWriter.writeUInt32(byteBuffer, timeScale); in getContent()
102 timeScale = IsoTypeReader.readUInt32(content); in _parseDetails()
144 return timeScale; in getTimeScale()
147 public void setTimeScale(long timeScale) { in setTimeScale() argument
148 this.timeScale = timeScale; in setTimeScale()
/external/icu/libicu/cts_headers/unicode/
Dutmscale.h453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
/external/icu/icu4c/source/i18n/unicode/
Dutmscale.h453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
/external/icu/libandroidicu/include/unicode/
Dutmscale.h453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);

12