/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 101 if (out) out->screenLayout = 102 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 106 if (out) out->screenLayout = 107 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 111 if (out) out->screenLayout = 112 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 122 if (out) out->screenLayout = 123 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) 127 if (out) out->screenLayout = 128 (out->screenLayout [all...] |
/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) 131 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR) 190 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) 195 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG) 228 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 104 /** Constant for {@link #screenLayout}: bits that encode the size. */ 106 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 109 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 117 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 125 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 133 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK} 142 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */ 144 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 147 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK} 152 /** Constant for {@link #screenLayout} 232 public int screenLayout; field in class:Configuration 1527 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 | 759 int screenLayout, int uiMode, int majorVersion); 755 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 | ResourcesImpl.java | 416 mConfiguration.screenLayout, mConfiguration.uiMode,
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 34 jfieldID screenLayout; member in struct:android::__anon859 52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); 82 gConfigurationClassInfo.screenLayout = GetFieldIDOrDie(env, clazz, "screenLayout", "I");
|
H A D | android_util_AssetManager.cpp | 680 jint screenLayout, jint uiMode, 710 config.screenLayout = (uint8_t)screenLayout; 715 // In Java, we use a 32bit integer for screenLayout, while we only use an 8bit integer 716 // in C++. We must extract the round qualifier out of the Java screenLayout and put it 719 (uint8_t)((screenLayout & kScreenLayoutRoundMask) >> kScreenLayoutRoundShift); 671 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/aapt/ |
H A D | AaptConfig.cpp | 265 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE) 267 || (config->screenLayout & ResTable_config::MASK_SCREENLONG) 341 if (out) out->screenLayout = 342 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 346 if (out) out->screenLayout = 347 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 351 if (out) out->screenLayout = 352 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) 362 if (out) out->screenLayout = 363 (out->screenLayout [all...] |
H A D | ResourceTable.cpp | 3162 config.screenLayout); 3207 tHeader->config.screenLayout); 3942 config->screenLayout);
|
H A D | Command.cpp | 743 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 332 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; 335 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; 338 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; 341 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE; 387 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; 390 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO; 393 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | Config_test.cpp | 133 longConfig.screenLayout = ResTable_config::SCREENLONG_YES; 166 deviceConfig.screenLayout = ResTable_config::SCREENLONG_YES; 172 targetConfigB.screenLayout = ResTable_config::SCREENLONG_YES;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CompatModePackages.java | 200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, 210 mService.mConfiguration.screenLayout, 411 final int screenLayout = mService.mConfiguration.screenLayout; 429 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
|
H A D | TaskRecord.java | 1549 final int sl = Configuration.resetScreenLayout(serviceConfig.screenLayout); 1552 config.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); 1570 extracted.screenLayout = config.screenLayout; 1595 // screenLayout field is set in #calculateOverrideConfig but only part of it is really 1598 int overrideScreenLayout = mOverrideConfig.screenLayout; 1599 int newScreenLayout = globalConfig.screenLayout; 1604 mOverrideConfig.screenLayout = newScreenLayout;
|
H A D | ActivityStack.java | 4674 final int oldLayout = oldTaskOverride.screenLayout; 4675 final int newLayout = taskConfig.screenLayout;
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1900 diff = (int32_t)(screenLayout - o.screenLayout); 1928 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) { 1929 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1; 1958 if (screenLayout != o.screenLayout) { 1959 return screenLayout < o.screenLayout [all...] |
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ResourcesManagerTest.java | 222 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; 241 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 66 getResources().getConfiguration().screenLayout,
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 177 int sl = Configuration.resetScreenLayout(config.screenLayout); 180 config.screenLayout = Configuration.reduceScreenLayout(sl, 184 config.screenLayout = Configuration.reduceScreenLayout(sl,
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 1073 // screenLayout bits for screen size class. 1081 // screenLayout bits for wide/long screen variation. 1088 // screenLayout bits for layout direction. 1117 uint8_t screenLayout; member in struct:android::ResTable_config::__anon1002::__anon1003
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplV7.java | 1093 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 7285 int sl = Configuration.resetScreenLayout(outConfig.screenLayout); 7291 outConfig.screenLayout = sl; 7410 config.screenLayout = (config.screenLayout & ~Configuration.SCREENLAYOUT_ROUND_MASK)
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 764 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==
|