/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 99 out->screenLayout = in parseLayoutDirection() 100 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) | in parseLayoutDirection() 105 out->screenLayout = in parseLayoutDirection() 106 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) | in parseLayoutDirection() 111 out->screenLayout = in parseLayoutDirection() 112 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) | in parseLayoutDirection() 123 out->screenLayout = in parseScreenLayoutSize() 124 (out->screenLayout & ~ResTable_config::MASK_SCREENSIZE) | in parseScreenLayoutSize() 129 out->screenLayout = in parseScreenLayoutSize() 130 (out->screenLayout & ~ResTable_config::MASK_SCREENSIZE) | in parseScreenLayoutSize() [all …]
|
D | ResourceTypes.cpp | 1992 if (screenLayout != o.screenLayout) { in compare() 1993 return (screenLayout > o.screenLayout) ? 1 : -1; in compare() 2029 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) { in compareLogical() 2030 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1; in compareLogical() 2059 if (screenLayout != o.screenLayout) { in compareLogical() 2060 return screenLayout < o.screenLayout ? -1 : 1; in compareLogical() 2090 …if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) diffs |= CONFIG_LAYOUTDI… in diff() 2091 …if ((screenLayout & ~MASK_LAYOUTDIR) != (o.screenLayout & ~MASK_LAYOUTDIR)) diffs |= CONFIG_SCREEN… in diff() 2164 if (screenLayout || o.screenLayout) { in isMoreSpecificThan() 2165 if (((screenLayout^o.screenLayout) & MASK_LAYOUTDIR) != 0) { in isMoreSpecificThan() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 333 public int screenLayout; field in Configuration 487 int cur = screenLayout&SCREENLAYOUT_SIZE_MASK; in isLayoutSizeAtLeast() 925 screenLayout = o.screenLayout; in setTo() 964 int layoutDir = (screenLayout&SCREENLAYOUT_LAYOUTDIR_MASK); in toString() 992 switch ((screenLayout&SCREENLAYOUT_SIZE_MASK)) { in toString() 999 sb.append(screenLayout&SCREENLAYOUT_SIZE_MASK); break; in toString() 1001 switch ((screenLayout&SCREENLAYOUT_LONG_MASK)) { in toString() 1006 sb.append(screenLayout&SCREENLAYOUT_LONG_MASK); break; in toString() 1118 protoOutputStream.write(SCREEN_LAYOUT, screenLayout); in writeToProto() 1244 screenLayout = protoInputStream.readInt(SCREEN_LAYOUT); in readFromProto() [all …]
|
D | CompatibilityInfo.java | 106 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument 212 switch (screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) { in CompatibilityInfo() 231 if ((screenLayout&Configuration.SCREENLAYOUT_COMPAT_NEEDED) != 0) { in CompatibilityInfo() 488 inoutConfig.screenLayout = in applyToConfiguration() 489 (inoutConfig.screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK) in applyToConfiguration()
|
D | AssetManager.java | 1355 int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) { in setConfiguration() argument 1360 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, in setConfiguration() 1422 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, in nativeSetConfiguration() argument
|
D | ResourcesImpl.java | 473 mConfiguration.screenLayout, mConfiguration.uiMode, in updateConfiguration()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 286 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE) in applyVersionForCompatibility() 288 || (config->screenLayout & ResTable_config::MASK_SCREENLONG) in applyVersionForCompatibility() 362 if (out) out->screenLayout = in parseLayoutDirection() 363 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection() 367 if (out) out->screenLayout = in parseLayoutDirection() 368 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection() 372 if (out) out->screenLayout = in parseLayoutDirection() 373 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection() 383 if (out) out->screenLayout = in parseScreenLayoutSize() 384 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize() [all …]
|
D | ResourceTable.cpp | 3180 config.screenLayout); in flatten() 3225 tHeader->config.screenLayout); in flatten() 3960 config->screenLayout); in getEntry()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 101 return config->screenLayout&ResTable_config::MASK_SCREENSIZE; in AConfiguration_getScreenSize() 105 return (config->screenLayout&ResTable_config::MASK_SCREENLONG) in AConfiguration_getScreenLong() 136 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR) in AConfiguration_getLayoutDirection() 195 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) in AConfiguration_setScreenSize() 200 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG) in AConfiguration_setScreenLong() 233 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in AConfiguration_setLayoutDirection()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 52 config.screenLayout = Configuration.SCREENLAYOUT_ROUND_YES; in testUpdateFromPreservesRoundBit() 56 assertEquals(config.screenLayout, Configuration.SCREENLAYOUT_ROUND_YES); in testUpdateFromPreservesRoundBit() 62 config.screenLayout = Configuration.SCREENLAYOUT_COMPAT_NEEDED; in testUpdateFromPreservesCompatNeededBit() 65 assertEquals(config.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED); in testUpdateFromPreservesCompatNeededBit() 68 assertEquals(config2.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED); in testUpdateFromPreservesCompatNeededBit()
|
D | ResourcesManagerTest.java | 226 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() 247 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 341 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; in getConfiguration() 344 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; in getConfiguration() 347 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; in getConfiguration() 350 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE; in getConfiguration() 396 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in getConfiguration() 399 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO; in getConfiguration() 402 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED; in getConfiguration()
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 34 jfieldID screenLayout; member 52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); in android_Configuration_getFromJava() 82 gConfigurationClassInfo.screenLayout = GetFieldIDOrDie(env, clazz, "screenLayout", "I"); in register_android_content_res_Configuration()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 84 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb() 89 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb() 103 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb() 108 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb() 113 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb() 118 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb() 128 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENLONG) | in DeserializeConfigFromPb() 133 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENLONG) | in DeserializeConfigFromPb()
|
D | ProtoSerialize.cpp | 65 switch (config.screenLayout & ConfigDescription::MASK_LAYOUTDIR) { in SerializeConfig() 81 switch (config.screenLayout & ConfigDescription::MASK_SCREENSIZE) { in SerializeConfig() 103 switch (config.screenLayout & ConfigDescription::MASK_SCREENLONG) { in SerializeConfig()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CompatModePackages.java | 204 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout, in compatibilityInfoForPackageLocked() 214 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout, in computeCompatModeLocked() 372 final int screenLayout = globalConfig.screenLayout; in saveCompatModes() local 390 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
|
D | TaskRecord.java | 2181 if (inOutConfig.screenLayout == Configuration.SCREENLAYOUT_UNDEFINED) { in computeConfigResourceOverrides() 2190 final int sl = parentConfig.screenLayout in computeConfigResourceOverrides() 2194 inOutConfig.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeConfigResourceOverrides()
|
D | DisplayContent.java | 1710 config.screenLayout = (config.screenLayout & ~Configuration.SCREENLAYOUT_ROUND_MASK) in computeScreenConfiguration() 1868 int sl = Configuration.resetScreenLayout(outConfig.screenLayout); in computeSizeRangesAndScreenLayout() 1874 outConfig.screenLayout = sl; in computeSizeRangesAndScreenLayout()
|
D | ActivityRecord.java | 2859 overrideConfig.screenLayout = parentConfig.screenLayout in updateOverrideConfiguration()
|
/frameworks/base/libs/androidfw/tests/ |
D | Config_test.cpp | 136 longConfig.screenLayout = ResTable_config::SCREENLONG_YES; in TEST() 170 deviceConfig.screenLayout = ResTable_config::SCREENLONG_YES; in TEST() 176 targetConfigB.screenLayout = ResTable_config::SCREENLONG_YES; in TEST()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 279 ConfigDescriptionBuilder& setScreenLayout(uint8_t screenLayout) { in setScreenLayout() argument 280 config_.screenLayout = screenLayout; in setScreenLayout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordTests.java | 540 mTask.getConfiguration().screenLayout = fixedScreenLayout in testSizeCompatMode_FixedScreenLayoutSizeBits() 545 assertEquals(mTask.getConfiguration().screenLayout, in testSizeCompatMode_FixedScreenLayoutSizeBits() 546 mActivity.getConfiguration().screenLayout); in testSizeCompatMode_FixedScreenLayoutSizeBits() 548 mTask.getConfiguration().screenLayout = Configuration.SCREENLAYOUT_LAYOUTDIR_RTL in testSizeCompatMode_FixedScreenLayoutSizeBits() 554 mActivity.getConfiguration().screenLayout); in testSizeCompatMode_FixedScreenLayoutSizeBits()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 236 int sl = Configuration.resetScreenLayout(config.screenLayout); in applyNonDefaultDisplayMetricsToConfiguration() 239 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfiguration() 243 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfiguration()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 66 getResources().getConfiguration().screenLayout, in init()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1135 uint8_t screenLayout; member
|