/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 | 510 configuration.screenHeightDp = static_cast<uint16_t>(screen_height_dp); in NativeSetConfiguration() 1154 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp); in ConstructConfigurationObject()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 736 public int screenHeightDp; field in Configuration 929 screenHeightDp = o.screenHeightDp; in setTo() 982 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString() 983 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString() 1136 protoOutputStream.write(SCREEN_HEIGHT_DP, screenHeightDp); in writeToProto() 1277 screenHeightDp = protoInputStream.readInt(SCREEN_HEIGHT_DP); in readFromProto() 1385 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults() 1553 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom() 1554 && screenHeightDp != delta.screenHeightDp) { in updateFrom() 1556 screenHeightDp = delta.screenHeightDp; in updateFrom() [all …]
|
D | AssetManager.java | 1355 int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) { in setConfiguration() argument 1360 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, in setConfiguration() 1422 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, in nativeSetConfiguration() argument
|
D | CompatibilityInfo.java | 492 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 361 config.screenHeightDp = hardwareConfig.getScreenHeight() * 160 / density.getDpiValue(); in getConfiguration() 362 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration() 364 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration() 372 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 55 final int height = config.screenHeightDp; in getMaxActionButtons() 91 final int height = configuration.screenHeightDp; in hasEmbeddedTabs()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 295 ConfigDescriptionBuilder& setScreenHeightDp(uint16_t screenHeightDp) { in setScreenHeightDp() argument 296 config_.screenHeightDp = screenHeightDp; in setScreenHeightDp()
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 594 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp() 607 out->screenHeightDp = (uint16_t)atoi(xName.c_str()); in parseScreenHeightDp() 847 config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in ApplyVersionForCompatibility() 919 if (screenHeightDp || o.screenHeightDp) return (!o.screenHeightDp); in HasHigherPrecedenceThan()
|
D | ResourceTypes.cpp | 1922 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH() 1936 screenHeightDp = htods(screenHeightDp); in swapHtoD() 2038 if (screenHeightDp != o.screenHeightDp) { in compareLogical() 2039 return screenHeightDp < o.screenHeightDp ? -1 : 1; in compareLogical() 2184 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan() 2185 if (!screenHeightDp) return false; in isMoreSpecificThan() 2186 if (!o.screenHeightDp) return true; in isMoreSpecificThan() 2462 if (requested->screenHeightDp) { in isBetterThan() 2463 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan() 2464 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan() [all …]
|
/frameworks/base/native/android/ |
D | configuration.cpp | 128 return config->screenHeightDp; in AConfiguration_getScreenHeightDp() 225 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 37 config.screenHeightDp = 15; in config()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 365 parentConfig.screenHeightDp = 200; // 200 * 400 / 160 = 500px in testComputeConfigResourceOverrides() 374 assertEquals(parentConfig.screenHeightDp, inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides() 403 inOutConfig.screenHeightDp); in testComputeConfigResourceOverrides()
|
D | ConfigurationContainerTests.java | 186 rootParentConfig.screenHeightDp = 100; in testConfigurationChangePropagation()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 235 config.screenHeightDp = (int) (dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration() 240 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration() 244 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfiguration() 246 config.smallestScreenWidthDp = Math.min(config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration() 248 config.compatScreenHeightDp = config.screenHeightDp; in applyNonDefaultDisplayMetricsToConfiguration()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 108 device_config.screenHeightDp = 1024; in BM_ApplyStyleFramework()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 279 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in applyVersionForCompatibility() 839 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp() 852 out->screenHeightDp = (uint16_t)atoi(xName.string()); in parseScreenHeightDp()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 103 final int height = configuration.screenHeightDp; in shouldAllowTextWithIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskRecord.java | 2117 || inOutConfig.screenHeightDp == Configuration.SCREEN_HEIGHT_DP_UNDEFINED) { in computeConfigResourceOverrides() 2153 if (inOutConfig.screenHeightDp == Configuration.SCREEN_HEIGHT_DP_UNDEFINED) { in computeConfigResourceOverrides() 2155 inOutConfig.screenHeightDp = insideParentBounds in computeConfigResourceOverrides() 2156 ? Math.min(overrideScreenHeightDp, parentConfig.screenHeightDp) in computeConfigResourceOverrides() 2178 inOutConfig.orientation = (inOutConfig.screenWidthDp <= inOutConfig.screenHeightDp) in computeConfigResourceOverrides()
|
D | DockedStackDividerController.java | 303 config.screenHeightDp = (int) (displayPolicy.getConfigDisplayHeight(dw, dh, rotation, in initSnapAlgorithmForRotations()
|
D | ActivityRecord.java | 2994 if (resolvedConfig.screenWidthDp == resolvedConfig.screenHeightDp) { in resolveSizeCompatModeConfiguration() 3393 || crossesVerticalSizeThreshold(lastReportedConfig.screenHeightDp, in getConfigurationChanges() 3394 currentConfig.screenHeightDp); in getConfigurationChanges()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 218 config8.screenHeightDp = 17; in populateIntervalStats()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 78 out_pb_config->set_screen_height_dp(config.screenHeightDp); in SerializeConfig()
|
D | ProtoDeserialize.cpp | 99 out_config->screenHeightDp = static_cast<uint16_t>(pb_config.screen_height_dp()); in DeserializeConfigFromPb()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1145 uint16_t screenHeightDp; member
|