/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 599 public int screenWidthDp; field in Configuration 768 screenWidthDp = o.screenWidthDp; in setTo() 815 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) { in toString() 816 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp"); in toString() 935 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1053 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1054 && screenWidthDp != delta.screenWidthDp) { in updateFrom() 1056 screenWidthDp = delta.screenWidthDp; in updateFrom() 1180 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED in diff() 1181 && screenWidthDp != delta.screenWidthDp) { in diff() [all …]
|
D | CompatibilityInfo.java | 459 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp; in applyToConfiguration()
|
D | AssetManager.java | 758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
D | ResourcesImpl.java | 415 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 | 630 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp); in constructConfigurationObject() 679 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument 708 config.screenWidthDp = (uint16_t)screenWidthDp; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 351 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue(); in getConfiguration() 353 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration() 357 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration() 362 config.compatScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 49 final int width = config.screenWidthDp; in getMaxActionButtons() 82 final int width = configuration.screenWidthDp; in hasEmbeddedTabs()
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/content/res/ |
D | ConfigurationHelperHoneycombMr2.java | 30 return resources.getConfiguration().screenWidthDp; in getScreenWidthDp()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 175 config.screenWidthDp = (int) (dm.widthPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration() 181 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration() 185 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfiguration() 187 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfiguration() 188 config.compatScreenWidthDp = config.screenWidthDp; in applyNonDefaultDisplayMetricsToConfiguration()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 119 return config->screenWidthDp; in AConfiguration_getScreenWidthDp() 216 config->screenWidthDp = value; in AConfiguration_setScreenWidthDp()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1846 screenWidthDp = dtohs(screenWidthDp); in copyFromDtoH() 1860 screenWidthDp = htods(screenWidthDp); in swapHtoD() 1934 if (screenWidthDp != o.screenWidthDp) { in compareLogical() 1935 return screenWidthDp < o.screenWidthDp ? -1 : 1; in compareLogical() 2072 if (screenWidthDp != o.screenWidthDp) { in isMoreSpecificThan() 2073 if (!screenWidthDp) return false; in isMoreSpecificThan() 2074 if (!o.screenWidthDp) return true; in isMoreSpecificThan() 2300 if (requested->screenWidthDp) { in isBetterThan() 2301 myDelta += requested->screenWidthDp - screenWidthDp; in isBetterThan() 2302 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 512 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp() 525 out->screenWidthDp = (uint16_t)atoi(xName.c_str()); in parseScreenWidthDp() 765 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
|
/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()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 563 && configuration.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) in getMetricsWithSize() 564 ? (int)((configuration.screenWidthDp * outMetrics.density) + 0.5f) : width; in getMetricsWithSize()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 1529 config.screenWidthDp = in calculateOverrideConfig() 1530 Math.min((int)(mTmpStableBounds.width() / density), serviceConfig.screenWidthDp); in calculateOverrideConfig() 1535 config.orientation = (config.screenWidthDp <= config.screenHeightDp) in calculateOverrideConfig() 1566 extracted.screenWidthDp = config.screenWidthDp; in extractOverrideConfig()
|
D | ActivityStack.java | 4625 oldTaskOverride.screenWidthDp, taskConfig.screenWidthDp) in getTaskConfigurationChanges() 4660 final int oldWidth = oldTaskOverride.screenWidthDp; in catchConfigChangesFromUnset() 4661 final int newWidth = taskConfig.screenWidthDp; in catchConfigChangesFromUnset()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 106 final int width = configuration.screenWidthDp; in shouldAllowTextWithIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DockedStackDividerController.java | 207 config.screenWidthDp = (int) in initSnapAlgorithmForRotations()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1126 uint16_t screenWidthDp; member
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 2041 final int width = configuration.screenWidthDp; in getSearchViewTextMinWidthDp()
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/resources/ |
D | providing-resources.jd | 437 {@link android.content.res.Configuration#screenWidthDp} 配置字段,该字段存放当前屏幕宽度。</p>
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/resources/ |
D | providing-resources.jd | 436 <p>См. также поле конфигурации {@link android.content.res.Configuration#screenWidthDp}
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/resources/ |
D | providing-resources.jd | 436 … <p>さらに、{@link android.content.res.Configuration#screenWidthDp} 設定フィールドもご覧ください。これは現在の画面の幅を保持します。
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/resources/ |
D | providing-resources.jd | 436 <p>另請查看 {@link android.content.res.Configuration#screenWidthDp} 設定欄位,該欄位保留目前的螢幕寬度。
|