Home
last modified time | relevance | path

Searched refs:screenWidthDp (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp43 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()
Dandroid_util_AssetManager.cpp629 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/
DConfiguration.java686 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 …]
DCompatibilityInfo.java473 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp; in applyToConfiguration()
DAssetManager.java791 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResourcesImpl.java443 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp, in updateConfiguration()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java49 final int width = config.screenWidthDp; in getMaxActionButtons()
82 final int width = configuration.screenWidthDp; in hasEmbeddedTabs()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java365 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/
DConfigDescription.cpp578 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/
Dconfiguration.cpp119 return config->screenWidthDp; in AConfiguration_getScreenWidthDp()
216 config->screenWidthDp = value; in AConfiguration_setScreenWidthDp()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java56 final int widthDp = configuration.screenWidthDp; in getMaxActionButtons()
/frameworks/base/core/java/android/app/
DResourcesManager.java173 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/
DStackWindowController.java316 parentConfig.screenWidthDp); in adjustConfigurationForBounds()
326 config.screenWidthDp = width; in adjustConfigurationForBounds()
DDockedStackDividerController.java245 config.screenWidthDp = (int) in initSnapAlgorithmForRotations()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1876 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/
DAaptConfig.cpp278 || 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/
DActionMenuItemView.java103 final int widthDp = config.screenWidthDp; in shouldAllowTextWithIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java151 childOverrideConfig2.screenWidthDp = 150; in testConfigurationChangePropagation()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java101 final int width = configuration.screenWidthDp; in shouldAllowTextWithIcon()
/frameworks/support/design/src/android/support/design/widget/
DFloatingActionButton.java442 final int width = res.getConfiguration().screenWidthDp;
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1126 uint16_t screenWidthDp; member
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java669 childOverrideConfig2.screenWidthDp = 150; in testConfigurationChangePropagation()
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java2549 final boolean crosses = crossesHorizontalSizeThreshold(lastReportedConfig.screenWidthDp, in getConfigurationChanges()
2550 currentConfig.screenWidthDp) in getConfigurationChanges()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1959 final int widthDp = config.screenWidthDp; in getSearchViewTextMinWidthDp()
/frameworks/base/core/java/android/widget/
DSearchView.java2022 final int width = configuration.screenWidthDp; in getSearchViewTextMinWidthDp()

12