Searched refs:screenWidthDp (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp41 jfieldID screenWidthDp; member in struct:android::__anon1005
67 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp);
119 GET_FIELD_ID(gConfigurationClassInfo.screenWidthDp, clazz,
120 "screenWidthDp", "I");
H A Dandroid_util_AssetManager.cpp507 jint screenWidthDp, jint screenHeightDp,
532 config.screenWidthDp = (uint16_t)screenWidthDp;
499 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 sdkVersion) argument
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java475 * Default value for {@link #screenWidthDp} indicating that no width
487 public int screenWidthDp; field in class:Configuration
515 * This is the smallest value of both screenWidthDp and screenHeightDp
613 screenWidthDp = o.screenWidthDp;
659 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) {
660 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp");
777 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED;
892 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED
893 && screenWidthDp !
[all...]
H A DAssetManager.java661 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp,
658 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 majorVersion) argument
H A DCompatibilityInfo.java459 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp;
H A DResources.java1599 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java347 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue();
349 if (config.screenHeightDp < config.screenWidthDp) {
352 config.smallestScreenWidthDp = config.screenWidthDp;
357 config.compatScreenWidthDp = config.screenWidthDp;
/frameworks/base/core/java/android/app/
H A DResourcesManager.java116 config.screenWidthDp = (int)(dm.widthPixels / dm.density);
122 config.screenWidthDp, config.screenHeightDp);
126 config.screenHeightDp, config.screenWidthDp);
128 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate
129 config.compatScreenWidthDp = config.screenWidthDp;
/frameworks/base/native/android/
H A Dconfiguration.cpp115 return config->screenWidthDp;
207 config->screenWidthDp = value;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp203 *value = config.screenWidthDp;
344 return config.screenWidthDp;
686 this->screenWidthDp = widthdp;
720 s += screenWidthDp;
786 if (this->screenWidthDp != "") {
790 s += screenWidthDp;
1403 out->screenWidthDp = out->SCREENWIDTH_ANY;
1416 out->screenWidthDp = (uint16_t)atoi(xName.string());
1481 if (v == 0) v = screenWidthDp.compare(o.screenWidthDp);
[all...]
H A DAaptAssets.h124 String8 screenWidthDp; member in struct:AaptGroupEntry
H A DResourceTable.cpp2897 config.screenWidthDp,
2940 tHeader->config.screenWidthDp,
3576 config->screenWidthDp,
H A DCommand.cpp527 config.screenWidthDp = 320;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1553 screenWidthDp = dtohs(screenWidthDp);
1567 screenWidthDp = htods(screenWidthDp);
1619 if (screenWidthDp != o.screenWidthDp) {
1620 return screenWidthDp < o.screenWidthDp ? -1 : 1;
1720 if (screenWidthDp != o.screenWidthDp) {
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h1003 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon1099::__anon1100
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6695 config.screenWidthDp = (int)(mPolicy.getConfigDisplayWidth(dw, dh, mRotation)
6701 config.compatScreenWidthDp = (int)(config.screenWidthDp / mCompatibleScreenScale);

Completed in 318 milliseconds