Searched refs:errorPx (Results 1 – 1 of 1) sorted by relevance
253 float errorPx = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in isRestartingAnimation() local261 && 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() local282 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()