Searched refs:screenSize (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 96 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/ |
D | ScreenDeviceInfo.java | 53 String screenSize = String.format("0x%x", screenLayout); in getScreenSize() local 56 screenSize = "small"; in getScreenSize() 60 screenSize = "normal"; in getScreenSize() 64 screenSize = "large"; in getScreenSize() 68 screenSize = "xlarge"; in getScreenSize() 72 screenSize = "undefined"; in getScreenSize() 75 return screenSize; in getScreenSize()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 107 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/ |
D | ActivityManagerMemoryClassTest.java | 161 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()
|