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

12

/frameworks/support/v4/honeycomb_mr2/android/support/v4/content/res/
H A DConfigurationHelperHoneycombMr2.java30 return resources.getConfiguration().screenWidthDp;
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp43 jfieldID screenWidthDp; member in struct:android::__anon859
69 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp);
92 gConfigurationClassInfo.screenWidthDp = GetFieldIDOrDie(env, clazz, "screenWidthDp", "I");
H A Dandroid_util_AssetManager.cpp630 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp);
679 jint screenWidthDp, jint screenHeightDp,
708 config.screenWidthDp = (uint16_t)screenWidthDp;
2290 "screenWidthDp", "I");
671 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/com/android/internal/view/
H A DActionBarPolicy.java49 final int width = config.screenWidthDp;
82 final int width = configuration.screenWidthDp;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java587 * Default value for {@link #screenWidthDp} indicating that no width
599 public int screenWidthDp; field in class:Configuration
627 * This is the smallest value of both screenWidthDp and screenHeightDp
768 screenWidthDp = o.screenWidthDp;
815 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) {
816 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp");
935 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED;
1053 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED
1054 && screenWidthDp !
[all...]
H A DAssetManager.java758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp,
755 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 DResourcesImpl.java415 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java351 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue();
353 if (config.screenHeightDp < config.screenWidthDp) {
357 config.smallestScreenWidthDp = config.screenWidthDp;
362 config.compatScreenWidthDp = config.screenWidthDp;
/frameworks/base/native/android/
H A Dconfiguration.cpp119 return config->screenWidthDp;
216 config->screenWidthDp = value;
/frameworks/base/core/java/android/app/
H A DResourcesManager.java175 config.screenWidthDp = (int) (dm.widthPixels / dm.density);
181 config.screenWidthDp, config.screenHeightDp);
185 config.screenHeightDp, config.screenWidthDp);
187 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate
188 config.compatScreenWidthDp = config.screenWidthDp;
H A DActivityThread.java2760 if (config.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) {
2761 horizontal.put(config.screenWidthDp, 0);
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp512 out->screenWidthDp = out->SCREENWIDTH_ANY;
525 out->screenWidthDp = (uint16_t)atoi(xName.c_str());
765 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1846 screenWidthDp = dtohs(screenWidthDp);
1860 screenWidthDp = htods(screenWidthDp);
1934 if (screenWidthDp != o.screenWidthDp) {
1935 return screenWidthDp < o.screenWidthDp ? -1 : 1;
2072 if (screenWidthDp != o.screenWidthDp) {
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java563 && configuration.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED)
564 ? (int)((configuration.screenWidthDp * outMetrics.density) + 0.5f) : width;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java106 final int width = configuration.screenWidthDp;
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp257 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY
751 out->screenWidthDp = out->SCREENWIDTH_ANY;
764 out->screenWidthDp = (uint16_t)atoi(xName.string());
H A DResourceTable.cpp3160 config.screenWidthDp,
3205 tHeader->config.screenWidthDp,
3940 config->screenWidthDp,
H A DCommand.cpp740 config.screenWidthDp = 320;
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java1523 // For calculating screenWidthDp, screenWidthDp, we use the stable inset screen area,
1529 config.screenWidthDp =
1530 Math.min((int)(mTmpStableBounds.width() / density), serviceConfig.screenWidthDp);
1535 config.orientation = (config.screenWidthDp <= config.screenHeightDp)
1566 extracted.screenWidthDp = config.screenWidthDp;
H A DActivityStack.java4625 oldTaskOverride.screenWidthDp, taskConfig.screenWidthDp)
4660 final int oldWidth = oldTaskOverride.screenWidthDp;
4661 final int newWidth = taskConfig.screenWidthDp;
/frameworks/base/include/androidfw/
H A DResourceTypes.h1126 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon1004::__anon1005
/frameworks/base/services/core/java/com/android/server/wm/
H A DDockedStackDividerController.java207 config.screenWidthDp = (int)
/frameworks/base/core/java/android/widget/
H A DSearchView.java2041 final int width = configuration.screenWidthDp;
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java2188 res.getConfiguration().screenWidthDp, res.getDisplayMetrics());

Completed in 306 milliseconds

12