Searched refs:PointF (Results 1 – 5 of 5) sorted by relevance
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | UiObjectUtils.kt | 19 import android.graphics.PointF in <lambda>() 150 private data class Vector2F(val from: PointF, val to: PointF) 156 PointF(visibleBounds.exactCenterX(), visibleBounds.bottom.toFloat() - 1f), in getPointsToScroll() 157 PointF(visibleBounds.exactCenterX(), visibleBounds.top.toFloat() + 1f) in getPointsToScroll() 162 PointF(visibleBounds.exactCenterX(), visibleBounds.top.toFloat() + 1f), in getPointsToScroll() 163 PointF(visibleBounds.exactCenterX(), visibleBounds.bottom.toFloat() - 1f) in getPointsToScroll() 168 PointF(visibleBounds.left.toFloat() + 1f, visibleBounds.exactCenterY()), in getPointsToScroll() 169 PointF(visibleBounds.right.toFloat() - 1f, visibleBounds.exactCenterY()) in getPointsToScroll() 174 PointF(visibleBounds.right.toFloat() - 1f, visibleBounds.exactCenterY()), in getPointsToScroll() 175 PointF(visibleBounds.left.toFloat() + 1f, visibleBounds.exactCenterY()) in getPointsToScroll()
|
D | BetterSwipe.kt | 20 import android.graphics.PointF in <lambda>() 66 @JvmStatic fun from(start: PointF) = Swipe(start) in <lambda>() 69 @JvmStatic fun from(start: Point) = Swipe(PointF(start.x.toFloat(), start.y.toFloat())) in <lambda>() 71 class Swipe internal constructor(start: PointF) { in <lambda>() 75 private var lastPoint: PointF = start in <lambda>() 93 end: PointF, in <lambda>() 123 return to(PointF(end.x.toFloat(), end.y.toFloat()), duration, interpolator) in <lambda>() 128 return to(PointF(lastPoint.x, lastPoint.y), PAUSE_DURATION) in <lambda>() 147 internal fun moveBy(delta: PointF, currentTime: Long, sync: Boolean) { in <lambda>() 148 val targetPoint = PointF(lastPoint.x + delta.x, lastPoint.y + delta.y) in <lambda>() [all …]
|
D | DeviceHelpers.kt | 23 import android.graphics.PointF 342 BetterSwipe.from(PointF(startX.toFloat(), startY.toFloat())) in betterSwipe() 343 .to(PointF(endX.toFloat(), endY.toFloat()), interpolator = interpolator) in betterSwipe()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/ |
D | ViewNode.kt | 20 import android.graphics.PointF 37 val translation: PointF, 38 val scale: PointF, // [default = 1, 1]; 94 translation: PointF, in toString() 95 scale: PointF, in toString()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/ |
D | ViewFrameBuilder.kt | 20 import android.graphics.PointF 49 translation = PointF(node.translationX, node.translationY), in parseViewNode() 50 scale = PointF(node.scaleX, node.scaleY), in parseViewNode()
|