Home
last modified time | relevance | path

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

/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java73 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in testScreenLayout()
74 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK; in testScreenLayout()
94 int screenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE in computeScreenLayout() local
98 screenLayout = reduceScreenLayout(activity, screenLayout); in computeScreenLayout()
101 return screenLayout; in computeScreenLayout()
118 private int reduceScreenLayout(Context context, int screenLayout) { in reduceScreenLayout() argument
153 screenLayout = (screenLayout & ~Configuration.SCREENLAYOUT_LONG_MASK) in reduceScreenLayout()
156 int curSize = screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK; in reduceScreenLayout()
158 screenLayout = (screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK) in reduceScreenLayout()
161 return screenLayout; in reduceScreenLayout()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java95 int screenLayout = configuration.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize() local
96 String screenSize = String.format("0x%x", screenLayout); in getScreenSize()
97 switch (screenLayout) { in getScreenSize()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DProtoExtractors.java45 config.screenLayout = proto.screenLayout; in extract()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java213 int screenLayout = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize() local
214 String screenSize = String.format("0x%x", screenLayout); in getScreenSize()
215 switch (screenLayout) { in getScreenSize()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultTest.java151 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in isLargeScreen()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java213 config.screenLayout = 1; in testDiff()
379 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout); in testSetToDefaults()
407 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout); in testUnset()
508 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testIsScreenRound()
756 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED; in createConfig()
DConfigTest.java159 mConfig.screenLayout = value; in setProperty()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java261 config.screenLayout, resConfig.configuration.screenLayout); in checkResourceConfig()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java188 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java237 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize()