/frameworks/base/native/android/ |
H A D | 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/java/android/content/res/ |
H A D | 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} 174 public int screenLayout; field in class:Configuration 1247 getScreenLayoutNoDirection(int screenLayout) argument [all...] |
H A D | CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, argument 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)
|
H A D | AssetManager.java | 656 int screenLayout, int uiMode, int majorVersion); 652 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int majorVersion) argument
|
H A D | Resources.java | 1492 mConfiguration.screenLayout, mConfiguration.uiMode,
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 32 jfieldID screenLayout; member in struct:android::__anon967 50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); 101 GET_FIELD_ID(gConfigurationClassInfo.screenLayout, clazz, 102 "screenLayout", "I");
|
H A D | android_util_AssetManager.cpp | 515 jint screenLayout, jint uiMode, 541 config.screenLayout = (uint8_t)screenLayout; 506 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | 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;
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1444 diff = (int32_t)(screenLayout - o.screenLayout); 1473 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) { 1474 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1; 1503 if (screenLayout != o.screenLayout) { 1504 return screenLayout < o.screenLayout [all...] |
/frameworks/base/tools/aapt/ |
H A D | 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/ |
H A D | 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,
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 66 getResources().getConfiguration().screenLayout,
|
/frameworks/base/include/androidfw/ |
H A D | 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; member in struct:android::ResTable_config::__anon1056::__anon1057
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 3900 int sl = Configuration.resetScreenLayout(config.screenLayout); 3903 config.screenLayout = Configuration.reduceScreenLayout(sl, 3907 config.screenLayout = Configuration.reduceScreenLayout(sl,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 539 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 6801 int sl = Configuration.resetScreenLayout(outConfig.screenLayout); 6807 outConfig.screenLayout = sl;
|