/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 52 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 53 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK; 64 * @return expected value of {@link Configuration#screenLayout} with the 70 // 2. For each orientation start an activity and compute what it's screenLayout value is 71 // 3. Reduce the screenLayout values if they are smaller 73 int screenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE 77 screenLayout = reduceScreenLayout(activity, screenLayout); 80 return screenLayout; 91 private int reduceScreenLayout(Context context, int screenLayout) { [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ViewContact.java | 31 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
FrontDoor.java | 44 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/frameworks/base/include/utils/ |
ResourceTypes.h | 934 // screenLayout bits for screen size class. 942 // screenLayout bits for wide/long screen variation. 969 uint8_t screenLayout; [all...] |
/frameworks/base/core/jni/ |
android_content_res_Configuration.cpp | 32 jfieldID screenLayout; 50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); 101 GET_FIELD_ID(gConfigurationClassInfo.screenLayout, clazz, 102 "screenLayout", "I");
|
android_util_AssetManager.cpp | 515 jint screenLayout, jint uiMode, 541 config.screenLayout = (uint8_t)screenLayout; [all...] |
/frameworks/base/native/android/ |
configuration.cpp | 96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE; 100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG) 181 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) 186 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG)
|
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 65 /** Constant for {@link #screenLayout}: bits that encode the size. */ 67 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 70 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 75 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 80 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 85 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 119 public int screenLayout; 122 * Check if the Configuration's current {@link #screenLayout} is at 132 int cur = screenLayout&SCREENLAYOUT_SIZE_MASK; 321 screenLayout = o.screenLayout [all...] |
CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, 198 switch (screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) { 217 if ((screenLayout&Configuration.SCREENLAYOUT_COMPAT_NEEDED) != 0) { 456 inoutConfig.screenLayout = 457 (inoutConfig.screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK)
|
AssetManager.java | 656 int screenLayout, int uiMode, int majorVersion);
|
Resources.java | [all...] |
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 50 + "screenLayout=0x" + Integer.toHexString(c.screenLayout) + "\n"
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 312 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; 315 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; 318 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; 321 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 69 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 173 int screenLayout = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 174 String screenSize = String.format("0x%x", screenLayout); 175 switch (screenLayout) {
|
/frameworks/base/services/java/com/android/server/am/ |
CompatModePackages.java | 147 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, 157 mService.mConfiguration.screenLayout, 356 final int screenLayout = mService.mConfiguration.screenLayout; 374 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherApplication.java | 43 final int screenSize = getResources().getConfiguration().screenLayout &
|
/frameworks/base/tools/aapt/ |
AaptAssets.cpp | 172 *value = (config.screenLayout&ResTable_config::MASK_SCREENSIZE); 179 *value = (config.screenLayout&ResTable_config::MASK_SCREENLONG); 275 return config.screenLayout&ResTable_config::MASK_SCREENSIZE; 927 if (out) out->screenLayout = 928 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) 932 if (out) out->screenLayout = 933 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) 937 if (out) out->screenLayout = 938 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) 942 if (out) out->screenLayout [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 160 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigurationTest.java | 192 config.screenLayout = 1; 372 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED;
|
ConfigTest.java | 48 SCREENLAYOUT, 127 case SCREENLAYOUT: 128 mConfig.screenLayout = value; 335 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_SMALL); 342 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_NORMAL); 349 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_LARGE); 356 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_XLARGE); 539 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_SMALL); 546 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_NORMAL); 553 config.setProperty(Properties.SCREENLAYOUT, Configuration.SCREENLAYOUT_SIZE_LARGE) [all...] |
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 66 getResources().getConfiguration().screenLayout,
|
/frameworks/base/core/java/android/app/ |
ActivityManager.java | [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider.java | 394 boolean xlargeScreenSize = (context.getResources().getConfiguration().screenLayout [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 520 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) == [all...] |