/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 53 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 54 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK; 65 * @return expected value of {@link Configuration#screenLayout} with the 71 // 2. For each orientation start an activity and compute what it's screenLayout value is 72 // 3. Reduce the screenLayout values if they are smaller 74 int screenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE 78 screenLayout = reduceScreenLayout(activity, screenLayout); 81 return screenLayout; 92 private int reduceScreenLayout(Context context, int screenLayout) { [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowConfiguration.java | 17 public int screenLayout; 23 realConfiguration.screenLayout = Configuration.SCREENLAYOUT_LONG_NO |
|
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 82 /** Constant for {@link #screenLayout}: bits that encode the size. */ 84 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 87 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 95 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 103 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 111 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 120 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */ 122 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 125 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 130 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK [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 | 662 int screenLayout, int uiMode, int majorVersion);
|
/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/native/android/ |
configuration.cpp | 96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE; 100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG) 127 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR) 186 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) 191 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG) 219 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
|
/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 | 508 jint screenLayout, jint uiMode, 534 config.screenLayout = (uint8_t)screenLayout; [all...] |
/development/apps/Development/src/com/android/development/ |
ConfigurationViewer.java | 50 + "screenLayout=0x" + Integer.toHexString(c.screenLayout) + "\n"
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ConfigurationTest.java | 32 assertThat(configuration.screenLayout, equalTo(Configuration.SCREENLAYOUT_LONG_NO | Configuration.SCREENLAYOUT_SIZE_NORMAL));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 328 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; 331 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; 334 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; 337 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 182 int screenLayout = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 183 String screenSize = String.format("0x%x", screenLayout); 184 switch (screenLayout) {
|
/frameworks/base/tools/aapt/ |
AaptAssets.cpp | 189 *value = (config.screenLayout&ResTable_config::MASK_LAYOUTDIR); 217 *value = (config.screenLayout&ResTable_config::MASK_SCREENSIZE); 224 *value = (config.screenLayout&ResTable_config::MASK_SCREENLONG); 320 return config.screenLayout&ResTable_config::MASK_LAYOUTDIR; 322 return config.screenLayout&ResTable_config::MASK_SCREENSIZE; 997 if (out) out->screenLayout = 998 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 1002 if (out) out->screenLayout = 1003 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 1007 if (out) out->screenLayout [all...] |
/frameworks/base/services/java/com/android/server/am/ |
CompatModePackages.java | 145 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, 155 mService.mConfiguration.screenLayout, 342 final int screenLayout = mService.mConfiguration.screenLayout; 360 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
|
/frameworks/base/core/java/android/app/ |
ResourcesManager.java | 118 int sl = Configuration.resetScreenLayout(config.screenLayout); 121 config.screenLayout = Configuration.reduceScreenLayout(sl, 125 config.screenLayout = Configuration.reduceScreenLayout(sl,
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 69 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultTest.java | 144 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/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 | 163 config.screenLayout = 1; 365 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED;
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 66 getResources().getConfiguration().screenLayout,
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnn.java | 345 mIsXLarge = ((getResources().getConfiguration().screenLayout &
|
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 199 switch (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) { 253 switch (config.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK) {
|