Searched refs:denom (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CameraITS/utils/ |
D | capture_request_utils.py | 225 def float_to_rational(f, denom=128): argument 237 return [{'numerator': math.floor(val*denom+0.5), 'denominator': denom} 240 return {'numerator': math.floor(f*denom+0.5), 'denominator': denom}
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | MSSIMComparer.java | 108 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) in SSIM() local 110 SSIM /= denom; in SSIM()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 507 private void testEnterPipAspectRatio(int num, int denom) { in testEnterPipAspectRatio() argument 514 extraString(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom))); in testEnterPipAspectRatio() 522 (float) num / denom); in testEnterPipAspectRatio() 535 private void testResizePipAspectRatio(int num, int denom) { in testResizePipAspectRatio() argument 542 extraString(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom))); in testResizePipAspectRatio() 546 waitForValidAspectRatio(num, denom); in testResizePipAspectRatio() 548 assertFloatEquals((float) bounds.width() / bounds.height(), (float) num / denom); in testResizePipAspectRatio() 563 private void testEnterPipExtremeAspectRatio(int num, int denom) { in testEnterPipExtremeAspectRatio() argument 571 extraString(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR, Integer.toString(denom))); in testEnterPipExtremeAspectRatio() 587 private void testSetPipExtremeAspectRatio(int num, int denom) { in testSetPipExtremeAspectRatio() argument [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | FadeTest.java | 323 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) in ssim() local 325 ssim /= denom; in ssim()
|