Home
last modified time | relevance | path

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

12

/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp44 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()
Dandroid_util_AssetManager.cpp630 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp); in constructConfigurationObject()
678 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument
708 config.screenHeightDp = (uint16_t)screenHeightDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/core/java/android/content/res/
DConfiguration.java701 public int screenHeightDp; field in Configuration
892 screenHeightDp = o.screenHeightDp; in setTo()
945 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) { in toString()
946 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp"); in toString()
1082 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED; in setToDefaults()
1250 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED in updateFrom()
1251 && screenHeightDp != delta.screenHeightDp) { in updateFrom()
1253 screenHeightDp = delta.screenHeightDp; in updateFrom()
1419 if ((compareUndefined || delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) in diff()
1420 && screenHeightDp != delta.screenHeightDp) { in diff()
[all …]
DCompatibilityInfo.java474 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp; in applyToConfiguration()
DAssetManager.java791 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResourcesImpl.java443 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java50 final int height = config.screenHeightDp; in getMaxActionButtons()
83 final int height = configuration.screenHeightDp; in hasEmbeddedTabs()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java366 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue(); in getConfiguration()
367 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration()
369 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
377 config.compatScreenHeightDp = config.screenHeightDp; in getConfiguration()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp600 out->screenHeightDp = out->SCREENWIDTH_ANY; in parseScreenHeightDp()
613 out->screenHeightDp = (uint16_t)atoi(xName.c_str()); in parseScreenHeightDp()
853 config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) { in ApplyVersionForCompatibility()
914 if (screenHeightDp || o.screenHeightDp) return (!o.screenHeightDp); in HasHigherPrecedenceThan()
/frameworks/base/native/android/
Dconfiguration.cpp123 return config->screenHeightDp; in AConfiguration_getScreenHeightDp()
220 config->screenHeightDp = value; in AConfiguration_setScreenHeightDp()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java57 final int heightDp = configuration.screenHeightDp; in getMaxActionButtons()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java50 context.getResources().getConfiguration().screenHeightDp in ButtonBarLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java318 parentConfig.screenHeightDp); in adjustConfigurationForBounds()
327 config.screenHeightDp = height; in adjustConfigurationForBounds()
DDockedStackDividerController.java248 config.screenHeightDp = (int) in initSnapAlgorithmForRotations()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DButtonBarLayout.java54 getResources().getConfiguration().screenHeightDp >= ALLOW_STACKING_MIN_HEIGHT_DP; in ButtonBarLayout()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1877 screenHeightDp = dtohs(screenHeightDp); in copyFromDtoH()
1891 screenHeightDp = htods(screenHeightDp); in swapHtoD()
1969 if (screenHeightDp != o.screenHeightDp) { in compareLogical()
1970 return screenHeightDp < o.screenHeightDp ? -1 : 1; in compareLogical()
2113 if (screenHeightDp != o.screenHeightDp) { in isMoreSpecificThan()
2114 if (!screenHeightDp) return false; in isMoreSpecificThan()
2115 if (!o.screenHeightDp) return true; in isMoreSpecificThan()
2380 if (requested->screenHeightDp) { in isBetterThan()
2381 myDelta += requested->screenHeightDp - screenHeightDp; in isBetterThan()
2382 otherDelta += requested->screenHeightDp - o.screenHeightDp; in isBetterThan()
[all …]
/frameworks/base/core/java/android/app/
DResourcesManager.java174 config.screenHeightDp = (int) (dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration()
179 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration()
183 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfiguration()
187 config.compatScreenHeightDp = config.screenHeightDp; in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/base/tools/aapt/
DAaptConfig.cpp279 || 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/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItemView.java104 final int heightDp = config.screenHeightDp; in shouldAllowTextWithIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java181 rootParentConfig.screenHeightDp = 100; in testConfigurationChangePropagation()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java102 final int height = configuration.screenHeightDp; in shouldAllowTextWithIcon()
/frameworks/support/design/src/android/support/design/widget/
DFloatingActionButton.java443 final int height = res.getConfiguration().screenHeightDp;
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1127 uint16_t screenHeightDp; member
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java699 rootParentConfig.screenHeightDp = 100; in testConfigurationChangePropagation()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java2551 || crossesVerticalSizeThreshold(lastReportedConfig.screenHeightDp, in getConfigurationChanges()
2552 currentConfig.screenHeightDp); in getConfigurationChanges()

12