Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 32) sorted by relevance

12

/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dtransformer_test.ts39 const range = fromRange.to.getValueNs() - fromRange.from.getValueNs(); constant
46 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 2n),
51 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 4n),
56 TimestampConverterUtils.makeRealTimestamp(rangeStart + range / 20n),
62 TimestampConverterUtils.makeRealTimestamp(rangeStart - range / 2n),
67 TimestampConverterUtils.makeRealTimestamp(rangeEnd + range / 2n),
88 const range = fromRange.to.getValueNs() - fromRange.from.getValueNs(); constant
101 ).toBe(rangeStart + range / 2n);
106 ).toBe(rangeStart + range / 4n);
111 ).toBe(rangeStart + range / 20n);
[all …]
Dmini_timeline_component.ts139 range: TimeRange;
412 range: this.lastRightClickTimeRange,
Dmini_timeline_component_test.ts382 range: new TimeRange(timestamp10, timestamp10),
406 range: new TimeRange(timestamp10, timestamp10),
/development/tools/winscope/src/trace/
Dframe_map_builder.ts56 range: FramesRange | undefined,
59 if (!range || range.start === range.end) {
63 this.setStartArrayValue(this.entryToStartFrame, entry, range.start);
64 this.setEndArrayValue(this.entryToEndFrame, entry, range.end);
66 for (let frame = range.start; frame < range.end; ++frame) {
/development/tools/winscope/src/common/
Dtime.ts55 in(range: TimeRange): boolean {
57 range.from.getValueNs() <= this.getValueNs() &&
58 this.getValueNs() <= range.to.getValueNs()
Dtime_test.ts231 const range = new TimeRange( constant
238 range.containsTimestamp(
244 range.containsTimestamp(
250 range.containsTimestamp(
258 range.containsTimestamp(
264 range.containsTimestamp(
/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Ddraggable_canvas_object_impl.ts57 get range(): Segment { method in DraggableCanvasObjectImpl
85 return MathUtils.clamp(x, this.range.from, this.range.to);
/development/tools/axl/
Dchewperf.py16 for x in range(len(rawLines)):
72 for x in range(top):
77 window = [0 for x in range(5)]
79 for x in range(len(buckets.items())):
Dchewie.py24 for x in range(len(self.queue)):
139 rng = range(connectionCount)
/development/samples/ApiDemos/src/com/example/android/apis/hardware/
DConsumerIr.java114 for (ConsumerIrManager.CarrierFrequencyRange range : freqs) {
115 b.append(String.format(" %d - %d\n", range.getMinFrequency(),
116 range.getMaxFrequency()));
/development/tools/winscope/src/viewers/common/
Dvariable_height_scroll_strategy.ts96 const range = { constant
108 this.viewport.setRenderedRange(range);
110 this.getOffsetByItemIndex(range.start),
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java213 for (MotionRange range : ranges) { in InputDeviceState()
214 if (range.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) { in InputDeviceState()
222 for (MotionRange range : ranges) { in InputDeviceState()
223 if (range.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) { in InputDeviceState()
224 mAxes[i++] = range.getAxis(); in InputDeviceState()
DGameView.java272 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource());
273 if (range != null) {
274 final float flat = range.getFlat();
/development/tools/winscope/src/app/components/timeline/
Dtimeline_component.ts850 toggleBookmarkRange(range: TimeRange, rangeContainsBookmark?: boolean) {
853 range.containsTimestamp(bookmark),
856 const clickedNs = (range.from.getValueNs() + range.to.getValueNs()) / 2n;
/development/scripts/
Dsymbol.py270 for x in range(len(addrs)):
339 for x in range(len(addrs)):
480 for i in reversed(range(len(result))): # Iterate backward to make cutting easier.
/development/tools/winscope/src/app/
Dloaded_parsers.ts334 .filter((range) => range !== undefined) as TimeRange[];
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java123 int range = computeVerticalScrollRange(); in getTopAndBottomTranslations()
125 int leftoverExtent = range-offset - extent; in getTopAndBottomTranslations()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java486 int range = computeVerticalScrollRange(); in handleMobileCellScroll() local
495 if (hoverViewTop + hoverHeight >= height && (offset + extent) < range) { in handleMobileCellScroll()
/development/tools/logblame/
Dlogs.py66 for i in range(int(m.group(1))):
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java467 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource()); in getCenteredAxis() local
468 if (range != null) { in getCenteredAxis()
469 final float flat = range.getFlat(); in getCenteredAxis()
/development/tools/otagui/
Dweb_server.py149 for offset in range(0, file_length, BUFFER_SIZE):
/development/vndk/tools/elfcheck/elfcheck/
Drewriter.py263 locs = range(start, end)
/development/tools/
Dmonkey270 for run in range(1, options.runs+1):
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java469 double range = stop - start; in computeAxisStops() local
470 if (steps == 0 || range <= 0) { in computeAxisStops()
476 double rawInterval = range / steps; in computeAxisStops()
/development/tools/external_crates/crate_health/src/
Dname_and_version_map.rs99 self.range(std::ops::RangeFrom { in get_versions()

12