Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java516 public int screenHeightDp; field in Configuration
640 screenHeightDp = o.screenHeightDp; in setTo()
690 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString()
691 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString()
805 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults()
924 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom()
925 && screenHeightDp != delta.screenHeightDp) { in updateFrom()
927 screenHeightDp = delta.screenHeightDp; in updateFrom()
1049 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in diff()
1050 && screenHeightDp != delta.screenHeightDp) { in diff()
[all …]
DCompatibilityInfo.java460 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
DAssetManager.java680 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1817 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()
112 GET_FIELD_ID(gConfigurationClassInfo.screenHeightDp, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp602 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument
628 config.screenHeightDp = (uint16_t)screenHeightDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java348 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue(); in getConfiguration()
349 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration()
350 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
358 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
/frameworks/base/core/java/android/app/
DResourcesManager.java117 config.screenHeightDp = (int)(dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfigurationLocked()
122 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfigurationLocked()
126 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfigurationLocked()
130 config.compatScreenHeightDp = config.screenHeightDp; in applyNonDefaultDisplayMetricsToConfigurationLocked()
/frameworks/base/native/android/
Dconfiguration.cpp119 return config->screenHeightDp; in AConfiguration_getScreenHeightDp()
211 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
/frameworks/base/tools/aapt/
DAaptConfig.cpp245 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in applyVersionForCompatibility()
743 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp()
756 out->screenHeightDp = (uint16_t)atoi(xName.string()); in parseScreenHeightDp()
DResourceTable.cpp3012 config.screenHeightDp, in flatten()
3055 tHeader->config.screenHeightDp, in flatten()
3782 config->screenHeightDp, in getEntry()
DCommand.cpp618 config.screenHeightDp = 480; in doDump()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1769 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH()
1783 screenHeightDp = htods(screenHeightDp); in swapHtoD()
1854 if (screenHeightDp != o.screenHeightDp) { in compareLogical()
1855 return screenHeightDp < o.screenHeightDp ? -1 : 1; in compareLogical()
1990 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan()
1991 if (!screenHeightDp) return false; in isMoreSpecificThan()
1992 if (!o.screenHeightDp) return true; in isMoreSpecificThan()
2146 if (requested->screenHeightDp) { in isBetterThan()
2147 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
2148 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1100 uint16_t screenHeightDp; member
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd467 <p>Also see the {@link android.content.res.Configuration#screenHeightDp}
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7144 config.screenHeightDp = (int)(mPolicy.getConfigDisplayHeight(dw, dh, mRotation) in computeScreenConfigurationLocked()
7149 config.compatScreenHeightDp = (int)(config.screenHeightDp / mCompatibleScreenScale); in computeScreenConfigurationLocked()
/frameworks/base/api/
Dcurrent.txt9133 field public int screenHeightDp;