/external/perfetto/ui/src/frontend/ |
D | notes_panel.ts | 46 const timescale = globals.frontendLocalState.timeScale; 74 const timeScale = globals.frontendLocalState.timeScale; constant 80 for (const xAndTime of gridlines(size.width, range, timeScale)) { 89 if ((note.noteType !== 'AREA' && !timeScale.timeInBounds(timestamp)) || 91 !timeScale.timeInBounds(note.area.endSec) && 92 !timeScale.timeInBounds(note.area.startSec))) { 102 const x = timeScale.timeToPx(timestamp); 111 timeScale.timeToPx(note.area.endSec) + TRACK_SHELL_WIDTH), 137 const timestamp = timeScale.pxToTime(this.hoveredX); 138 if (timeScale.timeInBounds(timestamp)) { [all …]
|
D | overview_timeline_panel.ts | 31 private timeScale?: TimeScale; 40 this.timeScale = new TimeScale( 62 if (this.timeScale === undefined) return; 72 const t = this.timeScale.pxToTime(xPos); 91 const xStart = Math.floor(this.timeScale.timeToPx(loads[i].startSec)); 92 const xEnd = Math.ceil(this.timeScale.timeToPx(loads[i].endSec)); 108 const vizStartPx = Math.floor(this.timeScale.timeToPx(vizTime.start)); 109 const vizEndPx = Math.ceil(this.timeScale.timeToPx(vizTime.end)); 127 if (this.timeScale === undefined) return; 128 let tStart = this.timeScale.pxToTime(this.dragStartPx); [all …]
|
D | vertical_line_helper.ts | 19 timeScale: TimeScale, 24 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(time)); 48 timeScale: TimeScale, 54 TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(timeStart)); 55 const xEndPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(timeEnd)); 56 const width = timeScale.endPx;
|
D | time_selection_panel.ts | 124 const timeScale = globals.frontendLocalState.timeScale; constant 128 for (const xAndTime of gridlines(size.width, range, timeScale)) { 144 const timeScale = globals.frontendLocalState.timeScale; constant 145 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(ts)); 153 const timeScale = globals.frontendLocalState.timeScale; constant 154 const xLeft = timeScale.timeToPx(span.start); 155 const xRight = timeScale.timeToPx(span.end);
|
D | track_group_panel.ts | 158 localState.timeScale.timeToPx(area.startSec) + this.shellWidth, 160 localState.timeScale.deltaTimeToPx(area.endSec - area.startSec), 178 globals.frontendLocalState.timeScale, 195 localState.timeScale, 203 localState.timeScale, 212 localState.timeScale, 222 localState.timeScale, 229 localState.timeScale, 239 localState.timeScale, 253 localState.timeScale, [all …]
|
D | track_panel.ts | 188 const clickTime = globals.frontendLocalState.timeScale.pxToTime( 275 const timeScale = localState.timeScale; constant 278 timeScale.timeToPx(area.startSec) + TRACK_SHELL_WIDTH, 280 timeScale.deltaTimeToPx(area.endSec - area.startSec), 292 globals.frontendLocalState.timeScale, 308 localState.timeScale, 316 localState.timeScale, 325 localState.timeScale, 335 localState.timeScale, 342 localState.timeScale, [all …]
|
D | tickmark_panel.ts | 30 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;
|
D | track.ts | 76 const {visibleWindowTime, timeScale} = globals.frontendLocalState; constant 77 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); 78 const endPx = Math.ceil(timeScale.timeToPx(visibleWindowTime.end)); 101 const endPx = globals.frontendLocalState.timeScale.endPx;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 376 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/android_icu4j/src/main/java/android/icu/util/ |
D | UniversalTimeScale.java | 338 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/perfetto/ui/src/tracks/cpu_freq/ |
D | frontend.ts | 56 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 64 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); 65 const endPx = Math.floor(timeScale.timeToPx(visibleWindowTime.end)); 99 lastX = Math.floor(timeScale.timeToPx(startTime)); 107 const finalX = Math.floor(timeScale.timeToPx(endTime)); 122 const firstX = Math.floor(timeScale.timeToPx(data.tsStarts[i])); 123 const secondX = Math.floor(timeScale.timeToPx(data.tsEnds[i])); 140 const xStart = Math.floor(timeScale.timeToPx(this.hoveredTs)); 143 Math.floor(timeScale.timeToPx(this.hoveredTsEnd)); 183 timeScale.timeToPx(visibleWindowTime.start), [all …]
|
/external/icu/icu4c/source/i18n/ |
D | utmscale.cpp | 40 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/gpu_freq/ |
D | frontend.ts | 51 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 58 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); 59 const endPx = Math.floor(timeScale.timeToPx(visibleWindowTime.end)); 93 lastX = Math.floor(timeScale.timeToPx(startTime)); 101 const finalX = Math.floor(timeScale.timeToPx(endTime)); 120 const xStart = Math.floor(timeScale.timeToPx(this.hoveredTs)); 123 Math.floor(timeScale.timeToPx(this.hoveredTsEnd)); 156 timeScale.timeToPx(visibleWindowTime.start), 157 timeScale.timeToPx(visibleWindowTime.end), 158 timeScale.timeToPx(data.start), [all …]
|
/external/perfetto/ui/src/tracks/counter/ |
D | frontend.ts | 80 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 87 const endPx = Math.floor(timeScale.timeToPx(visibleWindowTime.end)); 90 let lastX = Math.floor(timeScale.timeToPx(data.timestamps[0])); 136 lastX = Math.floor(timeScale.timeToPx(startTime)); 167 const xStart = Math.floor(timeScale.timeToPx(this.hoveredTs)); 170 Math.floor(timeScale.timeToPx(this.hoveredTsEnd)); 202 const endPx = timeScale.timeToPx(visibleWindowTime.end); 204 Math.min(timeScale.timeToPx(this.config.endTs || Infinity), endPx); 218 timeScale.timeToPx(visibleWindowTime.start), 219 timeScale.timeToPx(visibleWindowTime.end), [all …]
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 61 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 71 timeScale.timeToPx(visibleWindowTime.start), 72 timeScale.timeToPx(visibleWindowTime.end), 73 timeScale.timeToPx(data.start), 74 timeScale.timeToPx(data.end)); 84 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 85 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); 98 lastX = Math.floor(timeScale.timeToPx(startTime)); 110 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 125 const rectStart = timeScale.timeToPx(tStart); [all …]
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | frontend.ts | 52 timeScale, constant 67 timeScale.timeToPx(fromNs(centerX)), 95 const {timeScale} = globals.frontendLocalState; constant 96 const time = toNs(timeScale.pxToTime(x)); 98 const index = this.findTimestampIndex(left, timeScale, data, x, y, right); 109 const {timeScale} = globals.frontendLocalState; constant 111 const time = toNs(timeScale.pxToTime(x)); 114 const index = this.findTimestampIndex(left, timeScale, data, x, y, right); 129 left: number, timeScale: TimeScale, data: Data, x: number, y: number, 133 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left])); [all …]
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | frontend.ts | 54 timeScale, constant 69 timeScale.timeToPx(fromNs(centerX)), 98 const {timeScale} = globals.frontendLocalState; constant 99 const time = toNs(timeScale.pxToTime(x)); 101 const index = this.findTimestampIndex(left, timeScale, data, x, y, right); 112 const {timeScale} = globals.frontendLocalState; constant 114 const time = toNs(timeScale.pxToTime(x)); 117 const index = this.findTimestampIndex(left, timeScale, data, x, y, right); 133 left: number, timeScale: TimeScale, data: Data, x: number, y: number, 137 const centerX = timeScale.timeToPx(fromNs(data.tsStarts[left])); [all …]
|
/external/perfetto/ui/src/tracks/process_summary/ |
D | frontend.ts | 48 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/process_scheduling/ |
D | frontend.ts | 56 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)); 79 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 80 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); 94 lastX = Math.floor(timeScale.timeToPx(startTime)); 106 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 120 const rectStart = timeScale.timeToPx(tStart); [all …]
|
/external/perfetto/ui/src/tracks/vsync/ |
D | frontend.ts | 38 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 43 const dataStartPx = timeScale.timeToPx(data.start); 44 const dataEndPx = timeScale.timeToPx(data.end); 45 const visibleStartPx = timeScale.timeToPx(visibleWindowTime.start); 46 const visibleEndPx = timeScale.timeToPx(visibleWindowTime.end); 67 const leftPx = Math.floor(timeScale.timeToPx(data.vsyncs[i])); 68 const rightPx = Math.floor(timeScale.timeToPx(data.vsyncs[i + 1]));
|
/external/perfetto/ui/src/tracks/android_log/ |
D | frontend.ts | 52 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/thread_state/ |
D | frontend.ts | 66 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 75 timeScale.timeToPx(visibleWindowTime.start), 76 timeScale.timeToPx(visibleWindowTime.end), 77 timeScale.timeToPx(data.start), 78 timeScale.timeToPx(data.end), 96 const rectStart = timeScale.timeToPx(tStart); 97 const rectEnd = timeScale.timeToPx(tEnd); 140 Math.max(0 - EXCESS_WIDTH, timeScale.timeToPx(tStart)); 142 timeScale.timeToPx(visibleWindowTime.end) + EXCESS_WIDTH, 143 timeScale.timeToPx(tEnd)); [all …]
|
/external/perfetto/ui/src/tracks/chrome_slices/ |
D | frontend.ts | 54 const {timeScale, visibleWindowTime} = globals.frontendLocalState; constant 64 timeScale.timeToPx(visibleWindowTime.start), 65 timeScale.timeToPx(visibleWindowTime.end), 66 timeScale.timeToPx(data.start), 67 timeScale.timeToPx(data.end), 75 const pxEnd = timeScale.timeToPx(visibleWindowTime.end); 101 const rectXStart = Math.max(timeScale.timeToPx(tStart), 0); 102 let rectXEnd = Math.min(timeScale.timeToPx(tEnd), pxEnd); 181 const {timeScale} = globals.frontendLocalState; constant 183 const t = timeScale.pxToTime(x);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/ |
D | SegmentIndexBox.java | 47 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/icu4c/source/i18n/unicode/ |
D | utmscale.h | 453 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);
|