Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DMSSIMComparer.java63 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java51 private static double[] hann(int windowWidth) { in hann() argument
52 double[] envelopeArray = new double[windowWidth]; in hann()
53 for (int i = 0; i < windowWidth; i++) { in hann()
55 * (1 - Math.cos(2 * Math.PI * i / windowWidth)); in hann()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCompatScaleTests.java149 mAppSizesNormal.windowWidth, mCompatScale, mAppSizesDownscaled.windowWidth); in test_config_windowSizes_inPXs_scaleCorrectly_inCompatDownscalingMode()
DWindowInputTests.java817 static void placeWindowAtLayoutCenter(WindowManager.LayoutParams windowParams, int windowWidth, in placeWindowAtLayoutCenter() argument
820 int offset = (layoutWidth - windowWidth) / 2; in placeWindowAtLayoutCenter()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java1140 public int windowWidth;
1163 windowWidth = config.windowConfiguration.getBounds().width();
1175 + " windowWidth=" + windowWidth + " windowHeight=" + windowHeight
1198 && windowWidth == that.windowWidth
1216 result = 31 * result + windowWidth;
1239 dest.writeInt(windowWidth);
1255 windowWidth = in.readInt();