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.java262 public int screenHeightDp; field in Configuration
324 screenHeightDp = o.screenHeightDp; in setTo()
361 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString()
362 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString()
469 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults()
571 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom()
572 && screenHeightDp != delta.screenHeightDp) { in updateFrom()
574 screenHeightDp = delta.screenHeightDp; in updateFrom()
680 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in diff()
681 && screenHeightDp != delta.screenHeightDp) { in diff()
[all …]
DCompatibilityInfo.java460 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
DAssetManager.java655 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1487 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/include/utils/
DResourceTypes.h979 uint16_t screenHeightDp; member
1006 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH()
1020 screenHeightDp = htods(screenHeightDp); in swapHtoD()
1132 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan()
1133 if (!screenHeightDp) return false; in isMoreSpecificThan()
1134 if (!o.screenHeightDp) return true; in isMoreSpecificThan()
1276 if (requested->screenHeightDp) { in isBetterThan()
1277 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
1278 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
1512 if (screenHeightDp != 0 && screenHeightDp > settings.screenHeightDp) { in match()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java332 config.screenHeightDp = mParams.getScreenHeight() / density.getDpiValue(); in getConfiguration()
333 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration()
334 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
341 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp119 return config->screenHeightDp; in AConfiguration_getScreenHeightDp()
206 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
/frameworks/base/tools/aapt/
DAaptAssets.cpp165 *value = config.screenHeightDp; in parseNamePart()
299 return config.screenHeightDp; in getConfigValueForAxis()
628 this->screenHeightDp = heightdp; in initFromDirName()
660 s += screenHeightDp; in toString()
724 if (this->screenHeightDp != "") { in toDirName()
728 s += screenHeightDp; in toDirName()
1318 out->screenHeightDp = out->SCREENWIDTH_ANY; in getScreenHeightDpName()
1331 out->screenHeightDp = (uint16_t)atoi(xName.string()); in getScreenHeightDpName()
1373 if (v == 0) v = screenHeightDp.compare(o.screenHeightDp); in compare()
1404 getScreenHeightDpName(screenHeightDp.string(), &params); in toParams()
[all …]
DAaptAssets.h130 String8 screenHeightDp; member
DResourceTable.cpp2738 config.screenHeightDp)); in flatten()
2780 tHeader->config.screenHeightDp)); in flatten()
3380 config->screenHeightDp)); in getEntry()
DCommand.cpp467 config.screenHeightDp = 480; in doDump()
/frameworks/base/libs/utils/
DResourceTypes.cpp2607 params->screenHeightDp)); in setParameters()
3991 thisConfig.screenHeightDp, in getEntry()
3992 config ? config->screenHeightDp : 0)); in getEntry()
4295 thisConfig.screenHeightDp)); in parsePackage()
4795 if (type->config.screenHeightDp != 0) { in print()
4796 printf(" hdp=%d", dtohs(type->config.screenHeightDp)); in print()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java5915 config.screenHeightDp = (int)(mPolicy.getConfigDisplayHeight(dw, dh, mRotation) in computeNewConfigurationLocked()
5920 config.compatScreenHeightDp = (int)(config.screenHeightDp / mCompatibleScreenScale); in computeNewConfigurationLocked()
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd444 <p>Also see the {@link android.content.res.Configuration#screenHeightDp}
/frameworks/base/api/
Dcurrent.txt6554 field public int screenHeightDp;
D14.txt6554 field public int screenHeightDp;