Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCamUtils.java122 double epsilon = 216.0 / 24389.0; in argbFromLstar() local
125 boolean cubeExceedEpsilon = fy * fy * fy > epsilon; in argbFromLstar()
209 float epsilon = 216f / 24389f; in intFromLstar() local
212 boolean cubeExceedEpsilon = (fy * fy * fy) > epsilon; in intFromLstar()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
H A DAdbDebuggingManagerTest.java457 final long epsilon = 5000; in testKeystoreExpirationTimes() local
472 > epsilon) { in testKeystoreExpirationTimes()
483 if (Math.abs(delay - expectedValue) > epsilon) { in testKeystoreExpirationTimes()
498 if (Math.abs(expirationTime - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes()
503 if (Math.abs(delay - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes()
628 final long epsilon = 5000; in testUntrackedUserKeysAddedToKeystore() local
651 if (Math.abs(time - connectionTime) > epsilon) { in testUntrackedUserKeysAddedToKeystore()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimationSpec.java256 Interpolator interpolator, float target, float epsilon) { in findInterpolationAdjustedTargetFraction() argument
260 while (adj >= epsilon) { in findInterpolationAdjustedTargetFraction()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DLayoutTest.java606 final float epsilon = 1.0f; in testGetCursorPath() local
611 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); in testGetCursorPath()
612 assertTrue(bounds.bottom <= layout.getLineBottom(i) + epsilon); in testGetCursorPath()