Home
last modified time | relevance | path

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

/cts/tests/tests/transition/src/android/transition/cts/
DChangeBoundsTest.java253 float errorPx = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in isRestartingAnimation() local
261 && Math.abs(smallSize - start.green.position.top) < errorPx; in isRestartingAnimation()
266 && Math.abs(largeSize - start.red.position.top) < errorPx; in isRestartingAnimation()
275 float errorPx = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in isRestartingClip() local
282 return start.red.clip.width() < smallSize + errorPx in isRestartingClip()
283 && start.green.clip.width() < smallSize + errorPx; in isRestartingClip()
287 return start.red.clip.width() > largeSize - errorPx in isRestartingClip()
288 && start.green.clip.width() > largeSize - errorPx; in isRestartingClip()