Searched refs:windowWidth (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | MSSIMComparer.java | 63 int windowWidth = computeWindowSize(currentWindowX, width); in verifySame() local 65 if (isWindowWhite(ideal, start, stride, windowWidth, windowHeight) in verifySame() 66 && isWindowWhite(given, start, stride, windowWidth, windowHeight)) { in verifySame() 70 double[] means = getMeans(ideal, given, start, stride, windowWidth, windowHeight); in verifySame() 74 windowWidth, windowHeight); in verifySame() 95 int windowWidth, int windowHeight) { in isWindowWhite() argument 97 for (int x = 0; x < windowWidth; x++) { in isWindowWhite() 121 int windowWidth, int windowHeight) { in getMeans() argument 125 for (int x = 0; x < windowWidth; x++) { in getMeans() 131 avg0 /= windowWidth * windowHeight; in getMeans() [all …]
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | MssimCalculator.java | 92 int windowWidth = computeWindowSize(currentWindowX, width); in calculate() local 97 referenceBuffer, bufferIndexOffset, /* stride= */ width, windowWidth, windowHeight); in calculate() 100 distortedBuffer, bufferIndexOffset, /* stride= */ width, windowWidth, windowHeight); in calculate() 110 windowWidth, in calculate() 163 byte[] pixelBuffer, int bufferIndexOffset, int stride, int windowWidth, int windowHeight) { in getMean() argument 166 for (int x = 0; x < windowWidth; x++) { in getMean() 170 return total / (windowWidth * windowHeight); in getMean() 181 int windowWidth, in getVariancesAndCovariance() argument 187 for (int x = 0; x < windowWidth; x++) { in getVariancesAndCovariance() 197 int normalizationFactor = windowWidth * windowHeight - 1; in getVariancesAndCovariance()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 60 private static double[] hann(int windowWidth) { in hann() argument 61 double[] envelopeArray = new double[windowWidth]; in hann() 62 for (int i = 0; i < windowWidth; i++) { in hann() 64 * (1 - Math.cos(2 * Math.PI * i / windowWidth)); in hann()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | CompatScaleTests.java | 235 mAppSizesNormal.windowWidth, in test_scalesCorrectly_inCompatDownscalingMode() 237 mAppSizesDownscaled.windowWidth); in test_scalesCorrectly_inCompatDownscalingMode() 295 mAppSizesNormal.windowWidth, in test_scalesCorrectly_inCompatUpscalingMode() 297 mAppSizesUpscaled.windowWidth); in test_scalesCorrectly_inCompatUpscalingMode()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 1199 public int windowWidth; 1222 windowWidth = config.windowConfiguration.getBounds().width(); 1234 + " windowWidth=" + windowWidth + " windowHeight=" + windowHeight 1257 && windowWidth == that.windowWidth 1275 result = 31 * result + windowWidth; 1298 dest.writeInt(windowWidth); 1314 windowWidth = in.readInt();
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 987 int windowWidth = windowBounds.width(); in findCommonPreviewSize() local 990 if (windowHeight > windowWidth) { in findCommonPreviewSize() 991 windowHeight = windowWidth; in findCommonPreviewSize() 992 windowWidth = windowBounds.height(); in findCommonPreviewSize() 1000 if (previewSize.getWidth() > windowWidth in findCommonPreviewSize()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3946 int windowWidth = windowBounds.width(); in getPreviewSizeBound() local 3948 if (windowHeight > windowWidth) { in getPreviewSizeBound() 3949 windowHeight = windowWidth; in getPreviewSizeBound() 3950 windowWidth = windowBounds.height(); in getPreviewSizeBound() 3953 if (bound.getWidth() <= windowWidth in getPreviewSizeBound() 3957 return new Size(windowWidth, windowHeight); in getPreviewSizeBound()
|