Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java96 int screenSize = getScreenSize(); in testMinimumMemory() local
101 density, supports64Bit, screenSize, watch)); in testMinimumMemory()
106 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize, in testMinimumMemory()
108 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
109 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
116 } else if (greaterThanDpi(density, DENSITY_560, screenSize, in testMinimumMemory()
118 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
119 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
126 } else if (greaterThanDpi(density, DENSITY_400, screenSize, in testMinimumMemory()
128 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java96 String screenSize = String.format("0x%x", screenLayout); in getScreenSize() local
99 screenSize = "small"; in getScreenSize()
103 screenSize = "normal"; in getScreenSize()
107 screenSize = "large"; in getScreenSize()
111 screenSize = "xlarge"; in getScreenSize()
115 screenSize = "undefined"; in getScreenSize()
118 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.java161 int screenSize, in getExpectedMemorySize() argument
169 switch (screenSize) { in getExpectedMemorySize()
179 + " for screen layout size " + screenSize); in getExpectedMemorySize()
191 int screenSize = getScreenSize(); in testGetMemoryClass() local
192 assertMemoryForScreenDensity(memoryClass, screenDensity, screenSize); in testGetMemoryClass()
240 private void assertMemoryForScreenDensity(int memoryClass, int screenDensity, int screenSize) { in assertMemoryForScreenDensity() argument
245 ExpectedMemorySizesClass.getExpectedMemorySize(screenSize, screenDensity, isWatch); in assertMemoryForScreenDensity()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEmbeddedHierarchyTest.java177 final Point screenSize = getScreenSize(); in testEmbeddedViewIsInvisibleAfterMovingOutOfScreen() local
178 mActivity.requestNewLayoutForTest(screenSize.x, screenSize.y); in testEmbeddedViewIsInvisibleAfterMovingOutOfScreen()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...