Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java533 public int smallestScreenWidthDp; field in Configuration
641 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
680 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
681 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
806 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
929 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom()
930 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
932 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
1053 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in diff()
1054 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
[all …]
DCompatibilityInfo.java461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
DAssetManager.java680 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1816 mConfiguration.smallestScreenWidthDp, in updateConfiguration()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp43 jfieldID smallestScreenWidthDp; member
69 out->smallestScreenWidthDp = env->GetIntField(clazz, in android_Configuration_getFromJava()
70 gConfigurationClassInfo.smallestScreenWidthDp); in android_Configuration_getFromJava()
114 GET_FIELD_ID(gConfigurationClassInfo.smallestScreenWidthDp, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp601 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument
626 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/aapt/
DResourceFilter.cpp80 if (config.smallestScreenWidthDp != 0 && in match()
81 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
DAaptConfig.cpp243 if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
697 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp()
712 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in parseSmallestScreenWidthDp()
DResourceTable.cpp3010 config.smallestScreenWidthDp, in flatten()
3053 tHeader->config.smallestScreenWidthDp, in flatten()
3780 config->smallestScreenWidthDp, in getEntry()
DCommand.cpp619 config.smallestScreenWidthDp = 320; in doDump()
/frameworks/base/tools/aapt/tests/
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.java173 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
183 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
370 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes() local
388 smallestScreenWidthDp, false); in saveCompatModes()
/frameworks/base/native/android/
Dconfiguration.cpp123 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
215 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java350 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
352 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/core/java/android/app/
DResourcesManager.java128 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfigurationLocked()
131 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp; in applyNonDefaultDisplayMetricsToConfigurationLocked()
DActivityManager.java2352 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconDensity()
2392 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconSizeInner()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1767 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1781 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
1823 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare()
1848 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
1849 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
1903 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
1977 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
1978 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
1979 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
1980 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan()
[all …]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java354 return config.smallestScreenWidthDp >= 720; in isScreenLarge()
/frameworks/base/include/androidfw/
DResourceTypes.h1092 uint16_t smallestScreenWidthDp; member
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd407 android.content.res.Configuration#smallestScreenWidthDp} configuration field, which holds the
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7041 outConfig.smallestScreenWidthDp = (int)(displayInfo.smallestNominalAppWidth / density); in computeSizeRangesAndScreenLayout()
/frameworks/base/api/
Dcurrent.txt9136 field public int smallestScreenWidthDp;