/frameworks/support/v4/honeycomb_mr2/android/support/v4/content/res/ |
H A D | ConfigurationHelperHoneycombMr2.java | 30 return resources.getConfiguration().screenWidthDp;
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 43 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 D | android_util_AssetManager.cpp | 630 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 D | ActionBarPolicy.java | 49 final int width = config.screenWidthDp; 82 final int width = configuration.screenWidthDp;
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 587 * 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 D | AssetManager.java | 758 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 D | CompatibilityInfo.java | 459 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp;
|
H A D | ResourcesImpl.java | 415 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 351 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 D | configuration.cpp | 119 return config->screenWidthDp; 216 config->screenWidthDp = value;
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 175 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 D | ActivityThread.java | 2760 if (config.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) { 2761 horizontal.put(config.screenWidthDp, 0);
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 512 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 D | ResourceTypes.cpp | 1846 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 D | DisplayInfo.java | 563 && 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 D | ActionMenuItemView.java | 106 final int width = configuration.screenWidthDp;
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 257 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY 751 out->screenWidthDp = out->SCREENWIDTH_ANY; 764 out->screenWidthDp = (uint16_t)atoi(xName.string());
|
H A D | ResourceTable.cpp | 3160 config.screenWidthDp, 3205 tHeader->config.screenWidthDp, 3940 config->screenWidthDp,
|
H A D | Command.cpp | 740 config.screenWidthDp = 320;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskRecord.java | 1523 // 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 D | ActivityStack.java | 4625 oldTaskOverride.screenWidthDp, taskConfig.screenWidthDp) 4660 final int oldWidth = oldTaskOverride.screenWidthDp; 4661 final int newWidth = taskConfig.screenWidthDp;
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 1126 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon1004::__anon1005
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DockedStackDividerController.java | 207 config.screenWidthDp = (int)
|
/frameworks/base/core/java/android/widget/ |
H A D | SearchView.java | 2041 final int width = configuration.screenWidthDp;
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 2188 res.getConfiguration().screenWidthDp, res.getDisplayMetrics());
|