Home
last modified time | relevance | path

Searched refs:screenLayout (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java232 public int screenLayout; field in Configuration
371 int cur = screenLayout&SCREENLAYOUT_SIZE_MASK; in isLayoutSizeAtLeast()
766 screenLayout = o.screenLayout; in setTo()
802 int layoutDir = (screenLayout&SCREENLAYOUT_LAYOUTDIR_MASK); in toString()
830 switch ((screenLayout&SCREENLAYOUT_SIZE_MASK)) { in toString()
837 sb.append(screenLayout&SCREENLAYOUT_SIZE_MASK); break; in toString()
839 switch ((screenLayout&SCREENLAYOUT_LONG_MASK)) { in toString()
844 sb.append(screenLayout&SCREENLAYOUT_LONG_MASK); break; in toString()
933 screenLayout = SCREENLAYOUT_UNDEFINED; in setToDefaults()
983 final int deltaScreenLayoutDir = delta.screenLayout & SCREENLAYOUT_LAYOUTDIR_MASK; in updateFrom()
[all …]
DCompatibilityInfo.java95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument
198 switch (screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) { in CompatibilityInfo()
217 if ((screenLayout&Configuration.SCREENLAYOUT_COMPAT_NEEDED) != 0) { in CompatibilityInfo()
456 inoutConfig.screenLayout = in applyToConfiguration()
457 (inoutConfig.screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK) in applyToConfiguration()
DAssetManager.java759 int screenLayout, int uiMode, int majorVersion); in setConfiguration() argument
/frameworks/base/tools/aapt2/
DConfigDescription.cpp101 if (out) out->screenLayout = in parseLayoutDirection()
102 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
106 if (out) out->screenLayout = in parseLayoutDirection()
107 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
111 if (out) out->screenLayout = in parseLayoutDirection()
112 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
122 if (out) out->screenLayout = in parseScreenLayoutSize()
123 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
127 if (out) out->screenLayout = in parseScreenLayoutSize()
128 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp265 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE) in applyVersionForCompatibility()
267 || (config->screenLayout & ResTable_config::MASK_SCREENLONG) in applyVersionForCompatibility()
341 if (out) out->screenLayout = in parseLayoutDirection()
342 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
346 if (out) out->screenLayout = in parseLayoutDirection()
347 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
351 if (out) out->screenLayout = in parseLayoutDirection()
352 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
362 if (out) out->screenLayout = in parseScreenLayoutSize()
363 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
[all …]
/frameworks/base/native/android/
Dconfiguration.cpp96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE; in AConfiguration_getScreenSize()
100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG) in AConfiguration_getScreenLong()
131 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR) in AConfiguration_getLayoutDirection()
190 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) in AConfiguration_setScreenSize()
195 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG) in AConfiguration_setScreenLong()
228 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in AConfiguration_setLayoutDirection()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java332 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; in getConfiguration()
335 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; in getConfiguration()
338 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; in getConfiguration()
341 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE; in getConfiguration()
387 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in getConfiguration()
390 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO; in getConfiguration()
393 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED; in getConfiguration()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp34 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()
Dandroid_util_AssetManager.cpp680 jint screenLayout, jint uiMode, in android_content_AssetManager_setConfiguration() argument
710 config.screenLayout = (uint8_t)screenLayout; in android_content_AssetManager_setConfiguration()
719 (uint8_t)((screenLayout & kScreenLayoutRoundMask) >> kScreenLayoutRoundShift); in android_content_AssetManager_setConfiguration()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1900 diff = (int32_t)(screenLayout - o.screenLayout); in compare()
1928 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) { in compareLogical()
1929 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1; in compareLogical()
1958 if (screenLayout != o.screenLayout) { in compareLogical()
1959 return screenLayout < o.screenLayout ? -1 : 1; in compareLogical()
1986 …if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) diffs |= CONFIG_LAYOUTDI… in diff()
1987 …if ((screenLayout & ~MASK_LAYOUTDIR) != (o.screenLayout & ~MASK_LAYOUTDIR)) diffs |= CONFIG_SCREEN… in diff()
2057 if (screenLayout || o.screenLayout) { in isMoreSpecificThan()
2058 if (((screenLayout^o.screenLayout) & MASK_LAYOUTDIR) != 0) { in isMoreSpecificThan()
2059 if (!(screenLayout & MASK_LAYOUTDIR)) return false; in isMoreSpecificThan()
[all …]
/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp133 longConfig.screenLayout = ResTable_config::SCREENLONG_YES; in TEST()
166 deviceConfig.screenLayout = ResTable_config::SCREENLONG_YES; in TEST()
172 targetConfigB.screenLayout = ResTable_config::SCREENLONG_YES; in TEST()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
210 mService.mConfiguration.screenLayout, in computeCompatModeLocked()
411 final int screenLayout = mService.mConfiguration.screenLayout; in saveCompatModes() local
429 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
DTaskRecord.java1549 final int sl = Configuration.resetScreenLayout(serviceConfig.screenLayout); in calculateOverrideConfig()
1552 config.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in calculateOverrideConfig()
1570 extracted.screenLayout = config.screenLayout; in extractOverrideConfig()
1598 int overrideScreenLayout = mOverrideConfig.screenLayout; in sanitizeOverrideConfiguration()
1599 int newScreenLayout = globalConfig.screenLayout; in sanitizeOverrideConfiguration()
1604 mOverrideConfig.screenLayout = newScreenLayout; in sanitizeOverrideConfiguration()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java222 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
241 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES; in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
/frameworks/base/core/java/android/app/
DResourcesManager.java177 int sl = Configuration.resetScreenLayout(config.screenLayout); in applyNonDefaultDisplayMetricsToConfiguration()
180 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfiguration()
184 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/base/docs/html-intl/intl/ru/preview/features/
Dpicture-in-picture.jd86 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/docs/html-intl/intl/zh-tw/preview/features/
Dpicture-in-picture.jd86 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/docs/html-intl/intl/ja/preview/features/
Dpicture-in-picture.jd88 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/docs/html-intl/intl/ko/preview/features/
Dpicture-in-picture.jd88 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/
Dpicture-in-picture.jd88 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java66 getResources().getConfiguration().screenLayout, in init()
/frameworks/base/docs/html-intl/intl/in/preview/features/
Dpicture-in-picture.jd88 "screenSize|smallestScreenSize|screenLayout|orientation"
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/resources/
Dproviding-resources.jd516 <p>另请参阅 {@link android.content.res.Configuration#screenLayout} 配置字段,该字段表示屏幕是小尺寸、标准尺寸还是大尺寸。
535 <p>另请参阅 {@link android.content.res.Configuration#screenLayout} 配置字段,该字段指示屏幕是否为宽屏。
/frameworks/base/docs/html-intl/intl/ru/guide/topics/resources/
Dproviding-resources.jd516 … <p>См. также поле конфигурации {@link android.content.res.Configuration#screenLayout}, которое
535 … <p>См. также поле конфигурации {@link android.content.res.Configuration#screenLayout}, которое
/frameworks/base/docs/html-intl/intl/ja/guide/topics/resources/
Dproviding-resources.jd516 …<p>さらに、{@link android.content.res.Configuration#screenLayout} 設定フィールドもご覧ください。これは、画面のサイズが小、中、大のいずれか…
535 …<p>さらに、{@link android.content.res.Configuration#screenLayout} 設定フィールドもご覧ください。これは、画面のサイズが長いかどうかを表しま…

12