Home
last modified time | relevance | path

Searched refs:newSpan (Results 1 – 13 of 13) sorted by relevance

/external/perfetto/ui/src/frontend/
Dtime_scale_unittest.ts58 const newSpan = computeZoom(scale, span, 0.5, 50); constant
59 expect(newSpan.start).toEqual(5);
60 expect(newSpan.end).toEqual(15);
66 const newSpan = computeZoom(scale, span, 0.5, 250); constant
67 expect(newSpan.start).toEqual(1005);
68 expect(newSpan.end).toEqual(1015);
74 const newSpan = computeZoom(scale, span, 0.0000000001, 225); constant
75 expect((newSpan.end - newSpan.start) / 2 + newSpan.start).toBeCloseTo(1010);
76 expect(newSpan.end - newSpan.start).toBeCloseTo(1e-6, 8);
Dviewer_page.ts126 const newSpan = computeZoom(scale, span, 1 - zoomRatio, zoomPx); constant
127 frontendLocalState.updateVisibleTime(newSpan);
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/span/
DSpanUtilTest.java43 ForegroundColorSpan newSpan = new ForegroundColorSpan(Color.BLUE); in addOrReplaceSpan_replacesSameTypeAndIndexes() local
45 spannable, newSpan, /* start= */ 2, /* end= */ 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addOrReplaceSpan_replacesSameTypeAndIndexes()
48 assertThat(spans).asList().containsExactly(newSpan); in addOrReplaceSpan_replacesSameTypeAndIndexes()
57 BackgroundColorSpan newSpan = new BackgroundColorSpan(Color.BLUE); in addOrReplaceSpan_ignoresDifferentType() local
58 SpanUtil.addOrReplaceSpan(spannable, newSpan, 2, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addOrReplaceSpan_ignoresDifferentType()
61 assertThat(spans).asList().containsExactly(originalSpan, newSpan).inOrder(); in addOrReplaceSpan_ignoresDifferentType()
/external/perfetto/ui/src/controller/
Dsearch_controller.ts81 const newSpan = new TimeSpan(visibleState.startSec, visibleState.endSec); constant
84 if (this.previousSpan.contains(newSpan) &&
90 Math.max(newSpan.start - newSpan.duration, -TRACE_MARGIN_TIME_S),
91 newSpan.end + newSpan.duration);
111 let startNs = Math.round(newSpan.start * 1e9);
112 let endNs = Math.round(newSpan.end * 1e9);
Dlogs_controller.ts181 const newSpan = new TimeSpan(traceTime.startSec, traceTime.endSec); constant
196 const needSpanUpdate = !oldSpan.equals(newSpan);
202 this.span = newSpan;
203 updateLogBounds(this.engine, newSpan).then(data => {
204 if (!newSpan.equals(this.span)) return;
217 updateLogEntries(this.engine, newSpan, this.pagination).then(data => {
/external/setupdesign/main/src/com/google/android/setupdesign/span/
DSpanHelper.java34 for (Object newSpan : newSpans) { in replaceSpan()
35 spannable.setSpan(newSpan, spanStart, spanEnd, 0); in replaceSpan()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DLeastRecentlyUsedCacheEvictor.java66 public void onSpanTouched(Cache cache, CacheSpan oldSpan, CacheSpan newSpan) { in onSpanTouched() argument
68 onSpanAdded(cache, newSpan); in onSpanTouched()
DSimpleCache.java650 SimpleCacheSpan newSpan = in touchSpan() local
652 notifySpanTouched(span, newSpan); in touchSpan()
653 return newSpan; in touchSpan()
753 private void notifySpanTouched(SimpleCacheSpan oldSpan, CacheSpan newSpan) { in notifySpanTouched() argument
757 keyListeners.get(i).onSpanTouched(this, oldSpan, newSpan); in notifySpanTouched()
760 evictor.onSpanTouched(this, oldSpan, newSpan); in notifySpanTouched()
DNoOpCacheEvictor.java53 public void onSpanTouched(Cache cache, CacheSpan oldSpan, CacheSpan newSpan) { in onSpanTouched() argument
DCache.java64 void onSpanTouched(Cache cache, CacheSpan oldSpan, CacheSpan newSpan); in onSpanTouched() argument
DCachedRegionTracker.java131 public void onSpanTouched(Cache cache, CacheSpan oldSpan, CacheSpan newSpan) {
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracer.java272 Span newSpan = createContinuedSpan(span, OpenCensusSleuthSpanContextHolder.getCurrentSpan()); in continueSpan() local
273 OpenCensusSleuthSpanContextHolder.setCurrentSpan(newSpan); in continueSpan()
274 return newSpan; in continueSpan()
/external/angle/src/compiler/translator/
DParseContext.cpp163 gl::RangeI newSpan(start, start + static_cast<int>(length)); in insertSpan() local
166 if (newSpan.intersects(span)) in insertSpan()
171 mSpans.push_back(newSpan); in insertSpan()
172 mDefaultOffset = newSpan.high(); in insertSpan()