/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 530 public int screenWidthDp; field in Configuration 668 screenWidthDp = o.screenWidthDp; in setTo() 714 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) { in toString() 715 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp"); in toString() 833 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 948 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 949 && screenWidthDp != delta.screenWidthDp) { in updateFrom() 951 screenWidthDp = delta.screenWidthDp; in updateFrom() 1074 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED in diff() 1075 && screenWidthDp != delta.screenWidthDp) { in diff() [all …]
|
D | CompatibilityInfo.java | 459 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp; in applyToConfiguration()
|
D | AssetManager.java | 702 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
D | Resources.java | 2043 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 43 jfieldID screenWidthDp; member 69 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp); in android_Configuration_getFromJava() 92 gConfigurationClassInfo.screenWidthDp = GetFieldIDOrDie(env, clazz, "screenWidthDp", "I"); in register_android_content_res_Configuration()
|
D | android_util_AssetManager.cpp | 604 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument 633 config.screenWidthDp = (uint16_t)screenWidthDp; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 87 config.screenWidthDp = (int)(dm.widthPixels / dm.density); in applyNonDefaultDisplayMetricsToConfigurationLocked() 93 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfigurationLocked() 97 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfigurationLocked() 99 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfigurationLocked() 100 config.compatScreenWidthDp = config.screenWidthDp; in applyNonDefaultDisplayMetricsToConfigurationLocked()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 353 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue(); in getConfiguration() 355 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration() 359 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration() 364 config.compatScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 189 mOverrideConfig.screenWidthDp = in updateOverrideConfiguration() 190 Math.min((int)(mBounds.width() / density), serviceConfig.screenWidthDp); in updateOverrideConfiguration() 194 Math.min(mOverrideConfig.screenWidthDp, mOverrideConfig.screenHeightDp); in updateOverrideConfiguration() 196 (mOverrideConfig.screenWidthDp <= mOverrideConfig.screenHeightDp) in updateOverrideConfiguration()
|
D | WindowManagerService.java | 7366 config.screenWidthDp = in computeScreenConfigurationLocked() 7380 config.compatScreenWidthDp = (int)(config.screenWidthDp / mCompatibleScreenScale); in computeScreenConfigurationLocked()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 119 return config->screenWidthDp; in AConfiguration_getScreenWidthDp() 216 config->screenWidthDp = value; in AConfiguration_setScreenWidthDp()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 487 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp() 500 out->screenWidthDp = (uint16_t)atoi(xName.c_str()); in parseScreenWidthDp() 731 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1844 screenWidthDp = dtohs(screenWidthDp); in copyFromDtoH() 1858 screenWidthDp = htods(screenWidthDp); in swapHtoD() 1929 if (screenWidthDp != o.screenWidthDp) { in compareLogical() 1930 return screenWidthDp < o.screenWidthDp ? -1 : 1; in compareLogical() 2067 if (screenWidthDp != o.screenWidthDp) { in isMoreSpecificThan() 2068 if (!screenWidthDp) return false; in isMoreSpecificThan() 2069 if (!o.screenWidthDp) return true; in isMoreSpecificThan() 2231 if (requested->screenWidthDp) { in isBetterThan() 2232 myDelta += requested->screenWidthDp - screenWidthDp; in isBetterThan() 2233 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 257 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility() 751 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp() 764 out->screenWidthDp = (uint16_t)atoi(xName.string()); in parseScreenWidthDp()
|
D | ResourceTable.cpp | 3110 config.screenWidthDp, in flatten() 3155 tHeader->config.screenWidthDp, in flatten() 3890 config->screenWidthDp, in getEntry()
|
D | Command.cpp | 617 config.screenWidthDp = 320; in doDump()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 510 && configuration.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) in getMetricsWithSize() 511 ? (int)((configuration.screenWidthDp * outMetrics.density) + 0.5f) : width; in getMetricsWithSize()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1120 uint16_t screenWidthDp; member
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 3881 || oldStackOverride.screenWidthDp != mOverrideConfig.screenWidthDp) { in ensureActivityConfigurationLocked()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | providing-resources.jd | 449 <p>Also see the {@link android.content.res.Configuration#screenWidthDp}
|
/frameworks/base/api/ |
D | current.txt | 9721 field public int screenWidthDp;
|
D | system-current.txt | 10058 field public int screenWidthDp;
|