Home
last modified time | relevance | path

Searched refs:screenHeightDp (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java614 public int screenHeightDp; field in Configuration
769 screenHeightDp = o.screenHeightDp; in setTo()
820 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString()
821 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString()
936 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults()
1058 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom()
1059 && screenHeightDp != delta.screenHeightDp) { in updateFrom()
1061 screenHeightDp = delta.screenHeightDp; in updateFrom()
1184 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in diff()
1185 && screenHeightDp != delta.screenHeightDp) { in diff()
[all …]
DCompatibilityInfo.java460 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
DAssetManager.java758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResourcesImpl.java415 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp44 jfieldID screenHeightDp; member
70 out->screenHeightDp = env->GetIntField(clazz, gConfigurationClassInfo.screenHeightDp); in android_Configuration_getFromJava()
93 gConfigurationClassInfo.screenHeightDp = GetFieldIDOrDie(env, clazz, "screenHeightDp", "I"); in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp641 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp); in constructConfigurationObject()
689 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument
719 config.screenHeightDp = (uint16_t)screenHeightDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java352 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue(); in getConfiguration()
353 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration()
355 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
363 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java50 final int height = config.screenHeightDp; in getMaxActionButtons()
83 final int height = configuration.screenHeightDp; in hasEmbeddedTabs()
/frameworks/support/compat/honeycomb_mr2/android/support/v4/content/res/
DConfigurationHelperHoneycombMr2.java26 return resources.getConfiguration().screenHeightDp; in getScreenHeightDp()
/frameworks/base/native/android/
Dconfiguration.cpp123 return config->screenHeightDp; in AConfiguration_getScreenHeightDp()
220 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
/frameworks/base/core/java/android/app/
DResourcesManager.java176 config.screenHeightDp = (int) (dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration()
181 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration()
185 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfiguration()
189 config.compatScreenHeightDp = config.screenHeightDp; in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java50 context.getResources().getConfiguration().screenHeightDp in ButtonBarLayout()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1847 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH()
1861 screenHeightDp = htods(screenHeightDp); in swapHtoD()
1937 if (screenHeightDp != o.screenHeightDp) { in compareLogical()
1938 return screenHeightDp < o.screenHeightDp ? -1 : 1; in compareLogical()
2077 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan()
2078 if (!screenHeightDp) return false; in isMoreSpecificThan()
2079 if (!o.screenHeightDp) return true; in isMoreSpecificThan()
2304 if (requested->screenHeightDp) { in isBetterThan()
2305 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
2306 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
[all …]
/frameworks/base/tools/aapt2/
DConfigDescription.cpp534 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp()
547 out->screenHeightDp = (uint16_t)atoi(xName.c_str()); in parseScreenHeightDp()
766 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in applyVersionForCompatibility()
/frameworks/base/tools/aapt/
DAaptConfig.cpp258 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in applyVersionForCompatibility()
773 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp()
786 out->screenHeightDp = (uint16_t)atoi(xName.string()); in parseScreenHeightDp()
/frameworks/base/core/java/android/view/
DDisplayInfo.java542 && configuration.screenHeightDp != Configuration.SCREEN_HEIGHT_DP_UNDEFINED) in getMetricsWithSize()
543 ? (int)((configuration.screenHeightDp * outMetrics.density) + 0.5f) : height; in getMetricsWithSize()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1531 config.screenHeightDp = in calculateOverrideConfig()
1532 Math.min((int)(mTmpStableBounds.height() / density), serviceConfig.screenHeightDp); in calculateOverrideConfig()
1535 config.orientation = (config.screenWidthDp <= config.screenHeightDp) in calculateOverrideConfig()
1567 extracted.screenHeightDp = config.screenHeightDp; in extractOverrideConfig()
DActivityStack.java4676 oldTaskOverride.screenHeightDp, taskConfig.screenHeightDp); in getTaskConfigurationChanges()
4702 final int oldHeight = oldTaskOverride.screenHeightDp; in catchConfigChangesFromUnset()
4703 final int newHeight = taskConfig.screenHeightDp; in catchConfigChangesFromUnset()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java107 final int height = configuration.screenHeightDp; in shouldAllowTextWithIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java212 config.screenHeightDp = (int) in initSnapAlgorithmForRotations()
/frameworks/base/include/androidfw/
DResourceTypes.h1127 uint16_t screenHeightDp; member
/frameworks/base/core/java/android/widget/
DSearchView.java2044 final int height = configuration.screenHeightDp; in getSearchViewTextMinWidthDp()
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/resources/
Dproviding-resources.jd469 {@link android.content.res.Configuration#screenHeightDp} 配置字段,该字段存放当前屏幕宽度。</p>
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/resources/
Dproviding-resources.jd468 <p>另請查看 {@link android.content.res.Configuration#screenHeightDp} 設定欄位,該欄位保留目前的螢幕寬度。
/frameworks/base/docs/html-intl/intl/ko/guide/topics/resources/
Dproviding-resources.jd468 <p>현재 화면 너비를 보유한 {@link android.content.res.Configuration#screenHeightDp}

12