Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java271 public int smallestScreenWidthDp; field in Configuration
325 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
351 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
352 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
470 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
576 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in updateFrom()
577 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
684 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in diff()
685 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
771 dest.writeInt(smallestScreenWidthDp); in writeToParcel()
[all …]
DCompatibilityInfo.java461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
DAssetManager.java655 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
DResources.java1486 mConfiguration.smallestScreenWidthDp, in updateConfiguration()
/frameworks/base/include/utils/
DResourceTypes.h971 uint16_t smallestScreenWidthDp; member
1004 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1018 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
1040 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare()
1084 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
1119 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
1120 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
1121 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
1122 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan()
1255 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isBetterThan()
[all …]
/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.cpp513 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument
538 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java148 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
158 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
357 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes() local
375 smallestScreenWidthDp, false); in saveCompatModes()
/frameworks/base/native/android/
Dconfiguration.cpp123 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
210 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java334 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
336 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/tools/aapt/
DAaptAssets.cpp151 *value = config.smallestScreenWidthDp; in parseNamePart()
295 return config.smallestScreenWidthDp; in getConfigValueForAxis()
626 this->smallestScreenWidthDp = smallestwidthdp; in initFromDirName()
656 s += smallestScreenWidthDp; in toString()
712 if (this->smallestScreenWidthDp != "") { in toDirName()
716 s += smallestScreenWidthDp; in toDirName()
1270 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in getSmallestScreenWidthDpName()
1285 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in getSmallestScreenWidthDpName()
1371 if (v == 0) v = smallestScreenWidthDp.compare(o.smallestScreenWidthDp); in compare()
1402 getSmallestScreenWidthDpName(smallestScreenWidthDp.string(), &params); in toParams()
[all …]
DAaptAssets.h128 String8 smallestScreenWidthDp; member
DResourceTable.cpp2736 config.smallestScreenWidthDp, in flatten()
2778 tHeader->config.smallestScreenWidthDp, in flatten()
3378 config->smallestScreenWidthDp, in getEntry()
DCommand.cpp468 config.smallestScreenWidthDp = 320; in doDump()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/libs/utils/
DResourceTypes.cpp2605 params->smallestScreenWidthDp, in setParameters()
3987 thisConfig.smallestScreenWidthDp, in getEntry()
3988 config ? config->smallestScreenWidthDp : 0, in getEntry()
4293 thisConfig.smallestScreenWidthDp, in parsePackage()
4789 if (type->config.smallestScreenWidthDp != 0) { in print()
4790 printf(" swdp=%d", dtohs(type->config.smallestScreenWidthDp)); in print()
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd384 android.content.res.Configuration#smallestScreenWidthDp} configuration field, which holds the
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java5917 config.smallestScreenWidthDp = computeSmallestWidth(rotated, dw, dh, dm.density); in computeNewConfigurationLocked()
/frameworks/base/api/
Dcurrent.txt6557 field public int smallestScreenWidthDp;
D14.txt6557 field public int smallestScreenWidthDp;