Home
last modified time | relevance | path

Searched refs:screenLayout (Results 1 – 11 of 11) 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.java52 int screenLayout = configuration.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in getScreenSize() local
53 String screenSize = String.format("0x%x", screenLayout); in getScreenSize()
54 switch (screenLayout) { in getScreenSize()
/cts/tests/tests/keystore/src/android/server/am/
DProtoExtractors.java45 config.screenLayout = proto.screenLayout; in extract()
/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/content/src/android/content/res/cts/
DConfigurationTest.java205 config.screenLayout = 1; in testDiff()
356 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout); in testSetToDefaults()
383 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout); in testUnset()
483 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testIsScreenRound()
731 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED; in createConfig()
DConfigTest.java159 mConfig.screenLayout = value; in setProperty()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultTest.java151 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in isLargeScreen()
/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()