Searched refs:screenHeightDp (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp44 jfieldID screenHeightDp; member in struct:android::__anon1050
70 out->screenHeightDp = env->GetIntField(clazz, gConfigurationClassInfo.screenHeightDp);
93 gConfigurationClassInfo.screenHeightDp = GetFieldIDOrDie(env, clazz, "screenHeightDp", "I");
H A Dandroid_util_AssetManager.cpp630 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp);
678 jint screenWidthDp, jint screenHeightDp,
708 config.screenHeightDp = (uint16_t)screenHeightDp;
1809 "screenHeightDp", "I");
670 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint colorMode, jint sdkVersion) argument
/frameworks/support/compat/java/android/support/v4/content/res/
H A DConfigurationHelper.java36 * <p>Uses {@code Configuration.screenHeightDp} when available, otherwise an approximation
39 * @deprecated Use {@link Configuration#screenHeightDp} directly.
43 return resources.getConfiguration().screenHeightDp;
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java50 final int height = config.screenHeightDp;
83 final int height = configuration.screenHeightDp;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java691 * Default value for {@link #screenHeightDp} indicating that no width
703 public int screenHeightDp; field in class:Configuration
716 * This is the smallest value of both screenWidthDp and screenHeightDp
894 screenHeightDp = o.screenHeightDp;
947 if (screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED) {
948 sb.append(" h"); sb.append(screenHeightDp); sb.append("dp");
1084 screenHeightDp = compatScreenHeightDp = SCREEN_HEIGHT_DP_UNDEFINED;
1252 if (delta.screenHeightDp != SCREEN_HEIGHT_DP_UNDEFINED
1253 && screenHeightDp !
[all...]
H A DCompatibilityInfo.java474 inoutConfig.screenHeightDp = inoutConfig.compatScreenHeightDp;
H A DAssetManager.java785 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp,
782 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java352 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue();
353 if (config.screenHeightDp < config.screenWidthDp) {
355 config.smallestScreenWidthDp = config.screenHeightDp;
363 config.compatScreenHeightDp = config.screenHeightDp;
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java57 final int heightDp = configuration.screenHeightDp;
/frameworks/base/native/android/
H A Dconfiguration.cpp123 return config->screenHeightDp;
220 config->screenHeightDp = value;
/frameworks/base/core/java/com/android/internal/widget/
H A DButtonBarLayout.java50 context.getResources().getConfiguration().screenHeightDp
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DButtonBarLayout.java54 getResources().getConfiguration().screenHeightDp >= ALLOW_STACKING_MIN_HEIGHT_DP;
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp600 out->screenHeightDp = out->SCREENWIDTH_ANY;
613 out->screenHeightDp = (uint16_t)atoi(xName.c_str());
853 config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) {
905 if (screenHeightDp || o.screenHeightDp) return (!o.screenHeightDp);
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackWindowController.java318 parentConfig.screenHeightDp);
327 config.screenHeightDp = height;
H A DDockedStackDividerController.java248 config.screenHeightDp = (int)
/frameworks/base/core/java/android/app/
H A DResourcesManager.java176 config.screenHeightDp = (int) (dm.heightPixels / dm.density);
181 config.screenWidthDp, config.screenHeightDp);
185 config.screenHeightDp, config.screenWidthDp);
189 config.compatScreenHeightDp = config.screenHeightDp;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java102 final int height = configuration.screenHeightDp;
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DConfigurationContainerTests.java181 rootParentConfig.screenHeightDp = 100;
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DActionMenuItemView.java104 final int heightDp = config.screenHeightDp;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1853 screenHeightDp = dtohs(screenHeightDp);
1867 screenHeightDp = htods(screenHeightDp);
1945 if (screenHeightDp != o.screenHeightDp) {
1946 return screenHeightDp < o.screenHeightDp ? -1 : 1;
2089 if (screenHeightDp != o.screenHeightDp) {
[all...]
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp279 || config->screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) {
839 out->screenHeightDp = out->SCREENWIDTH_ANY;
852 out->screenHeightDp = (uint16_t)atoi(xName.string());
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java443 final int height = res.getConfiguration().screenHeightDp;
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1127 uint16_t screenHeightDp; member in struct:android::ResTable_config::__anon1203::__anon1204
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerTests.java699 rootParentConfig.screenHeightDp = 100;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java2571 || crossesVerticalSizeThreshold(lastReportedConfig.screenHeightDp,
2572 currentConfig.screenHeightDp);

Completed in 2508 milliseconds

12