Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java495 public int screenHeightDp; field in Configuration
574 screenHeightDp = o.screenHeightDp; in setTo()
624 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString()
625 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString()
738 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults()
851 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom()
852 && screenHeightDp != delta.screenHeightDp) { in updateFrom()
854 screenHeightDp = delta.screenHeightDp; in updateFrom()
969 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in diff()
970 && screenHeightDp != delta.screenHeightDp) { in diff()
[all …]
DCompatibilityInfo.java460 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
DAssetManager.java661 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1595 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp42 jfieldID screenHeightDp; member
68 out->screenHeightDp = env->GetIntField(clazz, gConfigurationClassInfo.screenHeightDp); in android_Configuration_getFromJava()
121 GET_FIELD_ID(gConfigurationClassInfo.screenHeightDp, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp514 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument
540 config.screenHeightDp = (uint16_t)screenHeightDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java338 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue(); in getConfiguration()
339 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration()
340 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
348 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp119 return config->screenHeightDp; in AConfiguration_getScreenHeightDp()
211 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
/frameworks/base/tools/aapt/
DAaptAssets.cpp210 *value = config.screenHeightDp; in parseNamePart()
346 return config.screenHeightDp; in getConfigValueForAxis()
687 this->screenHeightDp = heightdp; in initFromDirName()
722 s += screenHeightDp; in toString()
792 if (this->screenHeightDp != "") { in toDirName()
796 s += screenHeightDp; in toDirName()
1423 out->screenHeightDp = out->SCREENWIDTH_ANY; in getScreenHeightDpName()
1436 out->screenHeightDp = (uint16_t)atoi(xName.string()); in getScreenHeightDpName()
1479 if (v == 0) v = screenHeightDp.compare(o.screenHeightDp); in compare()
1511 getScreenHeightDpName(screenHeightDp.string(), &params); in toParams()
[all …]
DAaptAssets.h125 String8 screenHeightDp; member
DCommand.cpp470 config.screenHeightDp = 480; in doDump()
DResourceTable.cpp2837 config.screenHeightDp, in flatten()
2880 tHeader->config.screenHeightDp, in flatten()
3516 config->screenHeightDp, in getEntry()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1418 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH()
1432 screenHeightDp = htods(screenHeightDp); in swapHtoD()
1486 if (screenHeightDp != o.screenHeightDp) { in compareLogical()
1487 return screenHeightDp < o.screenHeightDp ? -1 : 1; in compareLogical()
1589 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan()
1590 if (!screenHeightDp) return false; in isMoreSpecificThan()
1591 if (!o.screenHeightDp) return true; in isMoreSpecificThan()
1733 if (requested->screenHeightDp) { in isBetterThan()
1734 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
1735 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1000 uint16_t screenHeightDp; member
/frameworks/base/core/java/android/app/
DActivityThread.java3947 config.screenHeightDp = (int)(dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfigurationLocked()
3952 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfigurationLocked()
3956 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfigurationLocked()
3960 config.compatScreenHeightDp = config.screenHeightDp; in applyNonDefaultDisplayMetricsToConfigurationLocked()
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd467 <p>Also see the {@link android.content.res.Configuration#screenHeightDp}
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6444 config.screenHeightDp = (int)(mPolicy.getConfigDisplayHeight(dw, dh, mRotation) in computeScreenConfigurationLocked()
6449 config.compatScreenHeightDp = (int)(config.screenHeightDp / mCompatibleScreenScale); in computeScreenConfigurationLocked()
/frameworks/base/api/
Dcurrent.txt7315 field public int screenHeightDp;