/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...] |
/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)
|
/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/core/java/android/content/res/ |
Configuration.java | 75 /** Constant for {@link #screenLayout}: bits that encode the size. */ 77 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 80 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 88 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 96 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 104 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 113 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */ 115 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 118 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 123 /** 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 | 656 int screenLayout, int uiMode, int majorVersion);
|
/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...] |
/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 | 318 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; 321 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; 324 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; 327 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/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/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; 994 if (out) out->screenLayout = 995 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 999 if (out) out->screenLayout = 1000 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 1004 if (out) out->screenLayout [all...] |
/frameworks/base/services/java/com/android/server/am/ |
CompatModePackages.java | 146 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, 156 mService.mConfiguration.screenLayout, 355 final int screenLayout = mService.mConfiguration.screenLayout; 373 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
|
/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 &
|
UserDictionaryToolsList.java | 216 mIsXLarge = ((getResources().getConfiguration().screenLayout &
|
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 198 switch (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) { 251 switch (config.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK) {
|
/frameworks/base/include/androidfw/ |
ResourceTypes.h | 946 // screenLayout bits for screen size class. 954 // screenLayout bits for wide/long screen variation. 961 // screenLayout bits for layout direction. 989 uint8_t screenLayout; [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider.java | 392 boolean xlargeScreenSize = (context.getResources().getConfiguration().screenLayout [all...] |