Home
last modified time | relevance | path

Searched refs:windowHeight (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DMSSIMComparer.java61 int windowHeight = computeWindowSize(currentWindowY, height); 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
96 for (int y = 0; y < windowHeight; y++) { in isWindowWhite()
121 int windowWidth, int windowHeight) { in getMeans() argument
124 for (int y = 0; y < windowHeight; y++) { in getMeans()
131 avg0 /= windowWidth * windowHeight; in getMeans()
[all …]
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DMssimCalculator.java89 int windowHeight = computeWindowSize(currentWindowY, height); in calculate() local
97 referenceBuffer, bufferIndexOffset, /* stride= */ width, windowWidth, windowHeight); in calculate()
100 distortedBuffer, bufferIndexOffset, /* stride= */ width, windowWidth, windowHeight); in calculate()
111 windowHeight); in calculate()
163 byte[] pixelBuffer, int bufferIndexOffset, int stride, int windowWidth, int windowHeight) { in getMean() argument
165 for (int y = 0; y < windowHeight; y++) { in getMean()
170 return total / (windowWidth * windowHeight); in getMean()
182 int windowHeight) { in getVariancesAndCovariance() argument
186 for (int y = 0; y < windowHeight; y++) { in getVariancesAndCovariance()
197 int normalizationFactor = windowWidth * windowHeight - 1; in getVariancesAndCovariance()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DCompatScaleTests.java240 mAppSizesNormal.windowHeight, in test_scalesCorrectly_inCompatDownscalingMode()
242 mAppSizesDownscaled.windowHeight); in test_scalesCorrectly_inCompatDownscalingMode()
300 mAppSizesNormal.windowHeight, in test_scalesCorrectly_inCompatUpscalingMode()
302 mAppSizesUpscaled.windowHeight); in test_scalesCorrectly_inCompatUpscalingMode()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java1200 public int windowHeight;
1223 windowHeight = config.windowConfiguration.getBounds().height();
1234 + " windowWidth=" + windowWidth + " windowHeight=" + windowHeight
1258 && windowHeight == that.windowHeight
1276 result = 31 * result + windowHeight;
1299 dest.writeInt(windowHeight);
1315 windowHeight = in.readInt();
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java988 int windowHeight = windowBounds.height(); in findCommonPreviewSize() local
990 if (windowHeight > windowWidth) { in findCommonPreviewSize()
991 windowHeight = windowWidth; in findCommonPreviewSize()
1001 || previewSize.getHeight() > windowHeight) { in findCommonPreviewSize()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3945 int windowHeight = windowBounds.height(); in getPreviewSizeBound() local
3948 if (windowHeight > windowWidth) { in getPreviewSizeBound()
3949 windowHeight = windowWidth; in getPreviewSizeBound()
3954 && bound.getHeight() <= windowHeight) { in getPreviewSizeBound()
3957 return new Size(windowWidth, windowHeight); in getPreviewSizeBound()