Home
last modified time | relevance | path

Searched refs:toRange (Results 1 – 2 of 2) sorted by relevance

/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dtransformer_test.ts27 const toRange = { constant
33 toRange,
41 expect(transformer.transform(fromRange.from)).toBe(toRange.from);
42 expect(transformer.transform(fromRange.to)).toBe(toRange.to);
48 ).toBe(toRange.from + (toRange.to - toRange.from) / 2);
53 ).toBe(toRange.from + (toRange.to - toRange.from) / 4);
58 ).toBe(toRange.from + (toRange.to - toRange.from) / 20);
64 ).toBe(toRange.from - (toRange.to - toRange.from) / 2);
69 ).toBe(toRange.to + (toRange.to - toRange.from) / 2);
77 const toRange = { constant
[all …]
Dtransformer.ts30 private toRange: Segment, property in Transformer
36 this.targetWidth = Math.round(this.toRange.to - this.toRange.from);
40 this.toOffset = this.toRange.from;