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.java519 public int smallestScreenWidthDp; field in Configuration
615 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
654 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
655 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
779 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
902 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom()
903 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
905 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
1026 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in diff()
1027 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
[all …]
DCompatibilityInfo.java461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
DAssetManager.java661 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1598 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()
123 GET_FIELD_ID(gConfigurationClassInfo.smallestScreenWidthDp, clazz, in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp506 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument
531 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java146 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
156 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
343 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes() local
361 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.java1994 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconDensity()
2030 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconSize()
/frameworks/base/tools/aapt/
DAaptAssets.cpp196 *value = config.smallestScreenWidthDp; in parseNamePart()
342 return config.smallestScreenWidthDp; in getConfigValueForAxis()
685 this->smallestScreenWidthDp = smallestwidthdp; in initFromDirName()
718 s += smallestScreenWidthDp; in toString()
780 if (this->smallestScreenWidthDp != "") { in toDirName()
784 s += smallestScreenWidthDp; in toDirName()
1378 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in getSmallestScreenWidthDpName()
1393 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in getSmallestScreenWidthDpName()
1480 if (v == 0) v = smallestScreenWidthDp.compare(o.smallestScreenWidthDp); in compare()
1512 getSmallestScreenWidthDpName(smallestScreenWidthDp.string(), &params); in toParams()
[all …]
DAaptAssets.h123 String8 smallestScreenWidthDp; member
DResourceTable.cpp2896 config.smallestScreenWidthDp, in flatten()
2939 tHeader->config.smallestScreenWidthDp, in flatten()
3575 config->smallestScreenWidthDp, in getEntry()
DCommand.cpp529 config.smallestScreenWidthDp = 320; in doDump()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1552 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1566 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
1588 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare()
1616 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
1617 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
1672 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
1712 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
1713 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
1714 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
1715 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java68 && context.getResources().getConfiguration().smallestScreenWidthDp >= 600; in isRotationLockToggleSupported()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/include/androidfw/
DResourceTypes.h996 uint16_t smallestScreenWidthDp; member
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java329 return config.smallestScreenWidthDp >= 720; in isScreenLarge()
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd407 android.content.res.Configuration#smallestScreenWidthDp} configuration field, which holds the
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6594 outConfig.smallestScreenWidthDp = (int)(displayInfo.smallestNominalAppWidth / density); in computeSizeRangesAndScreenLayout()
/frameworks/base/api/
Dcurrent.txt7659 field public int smallestScreenWidthDp;