Searched refs:denom (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CameraITS/pymodules/its/ |
D | objects.py | 41 def float_to_rational(f, denom=128): argument 53 return [{"numerator":math.floor(val*denom+0.5), "denominator":denom} 56 return {"numerator":math.floor(f*denom+0.5), "denominator":denom}
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | MSSIMComparer.java | 92 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) in SSIM() local 94 SSIM /= denom; in SSIM()
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerPinnedStackTests.java | 342 private void testEnterPipAspectRatio(int num, int denom) throws Exception { in testEnterPipAspectRatio() argument 348 EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom)); in testEnterPipAspectRatio() 356 (float) num / denom); in testEnterPipAspectRatio() 369 private void testResizePipAspectRatio(int num, int denom) throws Exception { in testResizePipAspectRatio() argument 375 EXTRA_SET_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom)); in testResizePipAspectRatio() 379 waitForValidAspectRatio(num, denom); in testResizePipAspectRatio() 381 assertFloatEquals((float) bounds.width() / bounds.height(), (float) num / denom); in testResizePipAspectRatio() 396 private void testEnterPipExtremeAspectRatio(int num, int denom) throws Exception { in testEnterPipExtremeAspectRatio() argument 403 EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom)); in testEnterPipExtremeAspectRatio() 419 private void testSetPipExtremeAspectRatio(int num, int denom) throws Exception { in testSetPipExtremeAspectRatio() argument [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | FadeTest.java | 322 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) in ssim() local 324 ssim /= denom; in ssim()
|