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::__anon967
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.java468 * Default value for {@link #screenWidthDp} indicating that no width
480 public int screenWidthDp; field in class:Configuration
508 * This is the smallest value of both screenWidthDp and screenHeightDp
573 screenWidthDp = o.screenWidthDp;
619 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) {
620 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp");
737 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED;
846 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED
847 && 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.java1491 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java337 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue();
339 if (config.screenHeightDp < config.screenWidthDp) {
342 config.smallestScreenWidthDp = config.screenWidthDp;
347 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;
1395 out->screenWidthDp = out->SCREENWIDTH_ANY;
1408 out->screenWidthDp = (uint16_t)atoi(xName.string());
1473 if (v == 0) v = screenWidthDp.compare(o.screenWidthDp);
[all...]
H A DAaptAssets.h124 String8 screenWidthDp; member in struct:AaptGroupEntry
H A DCommand.cpp468 config.screenWidthDp = 320;
H A DResourceTable.cpp2831 config.screenWidthDp,
2874 tHeader->config.screenWidthDp,
3510 config->screenWidthDp,
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1413 screenWidthDp = dtohs(screenWidthDp);
1427 screenWidthDp = htods(screenWidthDp);
1479 if (screenWidthDp != o.screenWidthDp) {
1480 return screenWidthDp < o.screenWidthDp ? -1 : 1;
1579 if (screenWidthDp != o.screenWidthDp) {
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h998 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon1058::__anon1059
/frameworks/base/core/java/android/app/
H A DActivityThread.java3898 config.screenWidthDp = (int)(dm.widthPixels / dm.density);
3904 config.screenWidthDp, config.screenHeightDp);
3908 config.screenHeightDp, config.screenWidthDp);
3910 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate
3911 config.compatScreenWidthDp = config.screenWidthDp;
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java6908 config.screenWidthDp = (int)(mPolicy.getConfigDisplayWidth(dw, dh, mRotation)
6914 config.compatScreenWidthDp = (int)(config.screenWidthDp / mCompatibleScreenScale);

Completed in 9399 milliseconds