Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java190 public int screenLayout; field in Configuration
273 int cur = screenLayout&SCREENLAYOUT_SIZE_MASK; in isLayoutSizeAtLeast()
637 screenLayout = o.screenLayout; in setTo()
672 int layoutDir = (screenLayout&SCREENLAYOUT_LAYOUTDIR_MASK); in toString()
700 switch ((screenLayout&SCREENLAYOUT_SIZE_MASK)) { in toString()
707 sb.append(screenLayout&SCREENLAYOUT_SIZE_MASK); break; in toString()
709 switch ((screenLayout&SCREENLAYOUT_LONG_MASK)) { in toString()
714 sb.append(screenLayout&SCREENLAYOUT_LONG_MASK); break; in toString()
802 screenLayout = SCREENLAYOUT_UNDEFINED; in setToDefaults()
849 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.java689 int screenLayout, int uiMode, int majorVersion); in setConfiguration() argument
DResources.java1836 mConfiguration.screenLayout, mConfiguration.uiMode, in updateConfiguration()
/frameworks/base/tools/aapt/
DAaptConfig.cpp255 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE) in applyVersionForCompatibility()
257 || (config->screenLayout & ResTable_config::MASK_SCREENLONG) in applyVersionForCompatibility()
331 if (out) out->screenLayout = in parseLayoutDirection()
332 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
336 if (out) out->screenLayout = in parseLayoutDirection()
337 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
341 if (out) out->screenLayout = in parseLayoutDirection()
342 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in parseLayoutDirection()
352 if (out) out->screenLayout = in parseScreenLayoutSize()
353 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE) in parseScreenLayoutSize()
[all …]
DCommand.cpp619 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL; in doDump()
/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()
127 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR) in AConfiguration_getLayoutDirection()
186 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE) in AConfiguration_setScreenSize()
191 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG) in AConfiguration_setScreenLong()
219 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR) in AConfiguration_setLayoutDirection()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp32 jfieldID screenLayout; member
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); in android_Configuration_getFromJava()
92 GET_FIELD_ID(gConfigurationClassInfo.screenLayout, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp604 jint screenLayout, jint uiMode, in android_content_AssetManager_setConfiguration() argument
630 config.screenLayout = (uint8_t)screenLayout; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java328 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; in getConfiguration()
331 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; in getConfiguration()
334 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; in getConfiguration()
337 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE; in getConfiguration()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1823 diff = (int32_t)(screenLayout - o.screenLayout); in compare()
1849 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) { in compareLogical()
1850 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1; in compareLogical()
1879 if (screenLayout != o.screenLayout) { in compareLogical()
1880 return screenLayout < o.screenLayout ? -1 : 1; in compareLogical()
1904 …if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) diffs |= CONFIG_LAYOUTDI… in diff()
1905 …if ((screenLayout & ~MASK_LAYOUTDIR) != (o.screenLayout & ~MASK_LAYOUTDIR)) diffs |= CONFIG_SCREEN… in diff()
1974 if (screenLayout || o.screenLayout) { in isMoreSpecificThan()
1975 if (((screenLayout^o.screenLayout) & MASK_LAYOUTDIR) != 0) { in isMoreSpecificThan()
1976 if (!(screenLayout & MASK_LAYOUTDIR)) return false; in isMoreSpecificThan()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java172 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
182 mService.mConfiguration.screenLayout, in computeCompatModeLocked()
369 final int screenLayout = mService.mConfiguration.screenLayout; in saveCompatModes() local
387 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
/frameworks/base/core/java/android/app/
DResourcesManager.java118 int sl = Configuration.resetScreenLayout(config.screenLayout); in applyNonDefaultDisplayMetricsToConfigurationLocked()
121 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfigurationLocked()
125 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfigurationLocked()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java66 getResources().getConfiguration().screenLayout, in init()
/frameworks/base/include/androidfw/
DResourceTypes.h1110 uint8_t screenLayout; member
/frameworks/base/docs/html/sdk/api_diff/4/
DmissingSinces.txt199 NO DOC BLOCK: android.content.res.Configuration Field screenLayout
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarActivityDelegateBase.java819 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd515 <p>Also see the {@link android.content.res.Configuration#screenLayout} configuration field,
534 <p>Also see the {@link android.content.res.Configuration#screenLayout} configuration field,
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd16 "navigation", "screenLayout", "fontScale", "uiMode",
262 <td>"{@code screenLayout}"</td>
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java680 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) == in openPanel()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7142 int sl = Configuration.resetScreenLayout(outConfig.screenLayout); in computeSizeRangesAndScreenLayout()
7148 outConfig.screenLayout = sl; in computeSizeRangesAndScreenLayout()
/frameworks/base/api/
Dsystem-current.txt9483 field public int screenLayout;
Dcurrent.txt9177 field public int screenLayout;