/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 | 629 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp); in constructConfigurationObject() 678 jint screenWidthDp, jint screenHeightDp, in android_content_AssetManager_setConfiguration() argument 707 config.screenWidthDp = (uint16_t)screenWidthDp; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 686 public int screenWidthDp; field in Configuration 891 screenWidthDp = o.screenWidthDp; in setTo() 940 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) { in toString() 941 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp"); in toString() 1081 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1245 if (delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1246 && screenWidthDp != delta.screenWidthDp) { in updateFrom() 1248 screenWidthDp = delta.screenWidthDp; in updateFrom() 1415 if ((compareUndefined || delta.screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) in diff() 1416 && screenWidthDp != delta.screenWidthDp) { in diff() [all …]
|
D | CompatibilityInfo.java | 473 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp; in applyToConfiguration()
|
D | AssetManager.java | 791 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
D | ResourcesImpl.java | 443 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
|
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 365 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue(); in getConfiguration() 367 if (config.screenHeightDp < config.screenWidthDp) { in getConfiguration() 371 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration() 376 config.compatScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 578 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp() 591 out->screenWidthDp = (uint16_t)atoi(xName.c_str()); in parseScreenWidthDp() 852 config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY || in ApplyVersionForCompatibility() 913 if (screenWidthDp || o.screenWidthDp) return (!o.screenWidthDp); in HasHigherPrecedenceThan()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 119 return config->screenWidthDp; in AConfiguration_getScreenWidthDp() 216 config->screenWidthDp = value; in AConfiguration_setScreenWidthDp()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ActionBarPolicy.java | 56 final int widthDp = configuration.screenWidthDp; in getMaxActionButtons()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 173 config.screenWidthDp = (int) (dm.widthPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration() 179 config.screenWidthDp, config.screenHeightDp); in applyNonDefaultDisplayMetricsToConfiguration() 183 config.screenHeightDp, config.screenWidthDp); in applyNonDefaultDisplayMetricsToConfiguration() 185 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfiguration() 186 config.compatScreenWidthDp = config.screenWidthDp; in applyNonDefaultDisplayMetricsToConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StackWindowController.java | 316 parentConfig.screenWidthDp); in adjustConfigurationForBounds() 326 config.screenWidthDp = width; in adjustConfigurationForBounds()
|
D | DockedStackDividerController.java | 245 config.screenWidthDp = (int) in initSnapAlgorithmForRotations()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1876 screenWidthDp = dtohs(screenWidthDp); in copyFromDtoH() 1890 screenWidthDp = htods(screenWidthDp); in swapHtoD() 1966 if (screenWidthDp != o.screenWidthDp) { in compareLogical() 1967 return screenWidthDp < o.screenWidthDp ? -1 : 1; in compareLogical() 2108 if (screenWidthDp != o.screenWidthDp) { in isMoreSpecificThan() 2109 if (!screenWidthDp) return false; in isMoreSpecificThan() 2110 if (!o.screenWidthDp) return true; in isMoreSpecificThan() 2376 if (requested->screenWidthDp) { in isBetterThan() 2377 myDelta += requested->screenWidthDp - screenWidthDp; in isBetterThan() 2378 otherDelta += requested->screenWidthDp - o.screenWidthDp; in isBetterThan() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 278 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility() 817 out->screenWidthDp = out->SCREENWIDTH_ANY; in parseScreenWidthDp() 830 out->screenWidthDp = (uint16_t)atoi(xName.string()); in parseScreenWidthDp()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | ActionMenuItemView.java | 103 final int widthDp = config.screenWidthDp; in shouldAllowTextWithIcon()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ConfigurationContainerTests.java | 151 childOverrideConfig2.screenWidthDp = 150; in testConfigurationChangePropagation()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 101 final int width = configuration.screenWidthDp; in shouldAllowTextWithIcon()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | FloatingActionButton.java | 442 final int width = res.getConfiguration().screenWidthDp;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1126 uint16_t screenWidthDp; member
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 669 childOverrideConfig2.screenWidthDp = 150; in testConfigurationChangePropagation()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 2549 final boolean crosses = crossesHorizontalSizeThreshold(lastReportedConfig.screenWidthDp, in getConfigurationChanges() 2550 currentConfig.screenWidthDp) in getConfigurationChanges()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SearchView.java | 1959 final int widthDp = config.screenWidthDp; in getSearchViewTextMinWidthDp()
|
/frameworks/base/core/java/android/widget/ |
D | SearchView.java | 2022 final int width = configuration.screenWidthDp; in getSearchViewTextMinWidthDp()
|