Home
last modified time | relevance | path

Searched refs:smallestScreenWidthDp (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java562 public int smallestScreenWidthDp; field in Configuration
670 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
709 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
710 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
835 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
958 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom()
959 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
961 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
1082 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in diff()
1083 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
[all …]
DCompatibilityInfo.java461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
DAssetManager.java702 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java2042 mConfiguration.smallestScreenWidthDp, in updateConfiguration()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp45 jfieldID smallestScreenWidthDp; member
71 out->smallestScreenWidthDp = env->GetIntField(clazz, in android_Configuration_getFromJava()
72 gConfigurationClassInfo.smallestScreenWidthDp); in android_Configuration_getFromJava()
94 gConfigurationClassInfo.smallestScreenWidthDp = GetFieldIDOrDie(env, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp603 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument
632 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/aapt/
DResourceFilter.cpp87 if (config.smallestScreenWidthDp != 0 && in match()
88 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
DAaptConfig.cpp256 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
727 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
742 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in parseSmallestScreenWidthDp()
DResourceTable.cpp3109 config.smallestScreenWidthDp, in flatten()
3154 tHeader->config.smallestScreenWidthDp, in flatten()
3889 config->smallestScreenWidthDp, in getEntry()
DCommand.cpp619 config.smallestScreenWidthDp = 320; in doDump()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp36 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST()
55 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
DResourceFilter_test.cpp107 config.smallestScreenWidthDp = 600; in TEST()
120 config.smallestScreenWidthDp = 320; in TEST()
147 config.smallestScreenWidthDp = 600; in TEST()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java176 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
186 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
373 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes() local
391 smallestScreenWidthDp, false); in saveCompatModes()
DActivityStack.java3884 if (oldStackOverride.smallestScreenWidthDp != mOverrideConfig.smallestScreenWidthDp) { in ensureActivityConfigurationLocked()
/frameworks/base/native/android/
Dconfiguration.cpp127 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
224 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java357 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
359 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1843 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1857 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
1901 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare()
1926 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
1927 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
1985 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
2059 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
2060 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
2061 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
2062 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan()
[all …]
/frameworks/base/core/java/android/app/
DResourcesManager.java99 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfigurationLocked()
102 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp; in applyNonDefaultDisplayMetricsToConfigurationLocked()
DActivityManager.java2497 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconDensity()
2537 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconSizeInner()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp463 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
478 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); in parseSmallestScreenWidthDp()
730 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java187 && config.smallestScreenWidthDp < 600; in isLandscapePhone()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java193 mOverrideConfig.smallestScreenWidthDp = in updateOverrideConfiguration()
/frameworks/base/include/androidfw/
DResourceTypes.h1113 uint16_t smallestScreenWidthDp; member
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java353 return config.smallestScreenWidthDp >= 720; in isScreenLarge()

12