Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 3 of 3) sorted by relevance

/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DRenderState.kt23 var scale: Double in <lambda>() variable
32 scale = viewWidth / (maxX - minX) in <lambda>()
39 fun xViewToWorld(x: Int) = (x / scale) + panX in <lambda>()
43 val endScale = scale * amount in <lambda>()
44 animate(scale, endScale) { in <lambda>()
45 scale = it in <lambda>()
46 panX = worldX - (viewX / scale) in <lambda>()
52 val endPanX = panX + (deltaX / scale) in <lambda>()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt39 val scale = renderState.scale in paintComponent() constant
51 x = ((it.startTime - panX) * scale).toInt() in paintComponent()
52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py396 scale = 1.0 / len(all_values)
398 cdf[i] = cdf[i] * scale