Home
last modified time | relevance | path

Searched refs:screenSize (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java98 int screenSize = getScreenSize(); in testMinimumMemory() local
102 density, supports64Bit, screenSize, watch)); in testMinimumMemory()
107 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize, in testMinimumMemory()
109 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
110 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
117 } else if (greaterThanDpi(density, DENSITY_560, screenSize, in testMinimumMemory()
119 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
120 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
127 } else if (greaterThanDpi(density, DENSITY_400, screenSize, in testMinimumMemory()
129 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java210 String screenSize = String.format("0x%x", screenLayout); in getScreenSize() local
213 screenSize = "small"; in getScreenSize()
217 screenSize = "normal"; in getScreenSize()
221 screenSize = "large"; in getScreenSize()
225 screenSize = "xlarge"; in getScreenSize()
229 screenSize = "undefined"; in getScreenSize()
232 return screenSize; in getScreenSize()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java107 String screenSize = getScreenSize(); in onStart() local
108 addResult(SCREEN_SIZE, screenSize); in onStart()
214 String screenSize = String.format("0x%x", screenLayout); in getScreenSize() local
217 screenSize = "small"; in getScreenSize()
221 screenSize = "normal"; in getScreenSize()
225 screenSize = "large"; in getScreenSize()
229 screenSize = "xlarge"; in getScreenSize()
233 screenSize = "undefined"; in getScreenSize()
236 return screenSize; in getScreenSize()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java189 int screenSize, in getExpectedMemorySize() argument
197 switch (screenSize) { in getExpectedMemorySize()
207 + " for screen layout size " + screenSize); in getExpectedMemorySize()
219 int screenSize = getScreenSize(); in testGetMemoryClass() local
220 assertMemoryForScreenDensity(memoryClass, screenDensity, screenSize); in testGetMemoryClass()
291 private void assertMemoryForScreenDensity(int memoryClass, int screenDensity, int screenSize) { in assertMemoryForScreenDensity() argument
296 ExpectedMemorySizesClass.getExpectedMemorySize(screenSize, screenDensity, isWatch); in assertMemoryForScreenDensity()
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/
DEmulateInputDevice.kt45 private lateinit var screenSize: Size in <lambda>() variable in android.input.cts.hostside.app.EmulateInputDevice
55 screenSize = Size(dm.widthPixels, dm.heightPixels) in <lambda>()
83 val pointer = Point(screenSize.width / 2, screenSize.height / 2) in <lambda>()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEmbeddedHierarchyTest.java224 final Point screenSize = getScreenSize(); in testEmbeddedViewIsInvisibleAfterMovingOutOfScreen() local
225 mActivity.moveSurfaceViewLayoutPosition(screenSize.x * 2, screenSize.y * 2, true); in testEmbeddedViewIsInvisibleAfterMovingOutOfScreen()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1487 double screenSize = getScreenSizeInInches(); in isHandheld() local
1488 if (screenSize < (FIRST_SDK_IS_AT_LEAST_R ? 3.3 : 2.5)) return false; in isHandheld()
1489 if (screenSize > 8.0) return false; in isHandheld()
1503 double screenSize = getScreenSizeInInches(); in isTablet() local
1504 if (screenSize < 7.0) return false; in isTablet()
1505 if (screenSize > 18.0) return false; in isTablet()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java658 final Size screenSize = getScreenSize(); in takeScreenshot_expectedScreenshotSaved() local
659 assertThat(gameScreenshot.getWidth()).isEqualTo(screenSize.getWidth()); in takeScreenshot_expectedScreenshotSaved()
660 assertThat(gameScreenshot.getHeight()).isEqualTo(screenSize.getHeight()); in takeScreenshot_expectedScreenshotSaved()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1436 field public static final int screenSize = 16843466; // 0x10102ca