/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 614 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 …]
|
D | CompatibilityInfo.java | 460 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
|
D | AssetManager.java | 758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
D | ResourcesImpl.java | 415 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 44 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()
|
D | android_util_AssetManager.cpp | 641 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/ |
D | RenderAction.java | 352 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/ |
D | ActionBarPolicy.java | 50 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/ |
D | ConfigurationHelperHoneycombMr2.java | 26 return resources.getConfiguration().screenHeightDp; in getScreenHeightDp()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 123 return config->screenHeightDp; in AConfiguration_getScreenHeightDp() 220 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 176 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/ |
D | ButtonBarLayout.java | 50 context.getResources().getConfiguration().screenHeightDp in ButtonBarLayout()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1847 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/ |
D | ConfigDescription.cpp | 534 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/ |
D | AaptConfig.cpp | 258 || 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/ |
D | DisplayInfo.java | 542 && 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/ |
D | TaskRecord.java | 1531 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()
|
D | ActivityStack.java | 4676 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/ |
D | ActionMenuItemView.java | 107 final int height = configuration.screenHeightDp; in shouldAllowTextWithIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DockedStackDividerController.java | 212 config.screenHeightDp = (int) in initSnapAlgorithmForRotations()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1127 uint16_t screenHeightDp; member
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 2044 final int height = configuration.screenHeightDp; in getSearchViewTextMinWidthDp()
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/resources/ |
D | providing-resources.jd | 469 {@link android.content.res.Configuration#screenHeightDp} 配置字段,该字段存放当前屏幕宽度。</p>
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/resources/ |
D | providing-resources.jd | 468 <p>另請查看 {@link android.content.res.Configuration#screenHeightDp} 設定欄位,該欄位保留目前的螢幕寬度。
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/resources/ |
D | providing-resources.jd | 468 <p>현재 화면 너비를 보유한 {@link android.content.res.Configuration#screenHeightDp}
|