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

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp41 jfieldID screenWidthDp; member in struct:android::__anon28
67 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp);
119 GET_FIELD_ID(gConfigurationClassInfo.screenWidthDp, clazz,
120 "screenWidthDp", "I");
H A Dandroid_util_AssetManager.cpp514 jint screenWidthDp, jint screenHeightDp,
539 config.screenWidthDp = (uint16_t)screenWidthDp;
506 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.java255 public int screenWidthDp; field in class:Configuration
268 * This is the smallest value of both screenWidthDp and screenHeightDp
323 screenWidthDp = o.screenWidthDp;
356 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) {
357 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp");
468 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED;
566 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED
567 && screenWidthDp != delta.screenWidthDp) {
[all...]
H A DAssetManager.java655 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp,
652 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.java1487 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java331 config.screenWidthDp = mParams.getScreenWidth() / density.getDpiValue();
333 if (config.screenHeightDp < config.screenWidthDp) {
336 config.smallestScreenWidthDp = config.screenWidthDp;
340 config.compatScreenWidthDp = config.screenWidthDp;
/frameworks/base/include/utils/
H A DResourceTypes.h978 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon218::__anon219
1005 screenWidthDp = dtohs(screenWidthDp);
1019 screenWidthDp = htods(screenWidthDp);
1127 if (screenWidthDp != o.screenWidthDp) {
1128 if (!screenWidthDp) return false;
1129 if (!o.screenWidthDp) return true;
1272 if (requested->screenWidthDp) {
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp115 return config->screenWidthDp;
202 config->screenWidthDp = value;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp158 *value = config.screenWidthDp;
297 return config.screenWidthDp;
627 this->screenWidthDp = widthdp;
658 s += screenWidthDp;
718 if (this->screenWidthDp != "") {
722 s += screenWidthDp;
1295 out->screenWidthDp = out->SCREENWIDTH_ANY;
1308 out->screenWidthDp = (uint16_t)atoi(xName.string());
1372 if (v == 0) v = screenWidthDp.compare(o.screenWidthDp);
[all...]
H A DAaptAssets.h129 String8 screenWidthDp; member in struct:AaptGroupEntry
H A DCommand.cpp466 config.screenWidthDp = 320;
H A DResourceTable.cpp2737 config.screenWidthDp,
2779 tHeader->config.screenWidthDp,
3379 config->screenWidthDp,
/frameworks/base/libs/utils/
H A DResourceTypes.cpp2606 params->screenWidthDp,
3989 thisConfig.screenWidthDp,
3990 config ? config->screenWidthDp : 0,
4294 thisConfig.screenWidthDp,
4792 if (type->config.screenWidthDp != 0) {
4793 printf(" wdp=%d", dtohs(type->config.screenWidthDp));
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6076 config.screenWidthDp = (int)(mPolicy.getConfigDisplayWidth(dw, dh, mRotation)
6082 config.compatScreenWidthDp = (int)(config.screenWidthDp / mCompatibleScreenScale);

Completed in 7368 milliseconds