/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 45 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()
|
D | android_util_AssetManager.cpp | 628 config.smallestScreenWidthDp); in constructConfigurationObject() 677 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument 706 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/tools/aapt2/filter/ |
D | ConfigFilter.cpp | 114 if (config.smallestScreenWidthDp != 0 && in Match() 115 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 720 public int smallestScreenWidthDp; field in Configuration 895 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo() 937 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString() 938 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString() 1085 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1257 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1258 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom() 1260 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom() 1413 if ((compareUndefined || delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) in diff() 1414 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff() [all …]
|
D | CompatibilityInfo.java | 475 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
|
D | AssetManager.java | 785 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.cpp | 135 if (config.smallestScreenWidthDp != 0 && in match() 136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
D | AaptConfig.cpp | 277 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility() 793 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp() 808 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string()); in parseSmallestScreenWidthDp()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 36 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST() 55 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
|
D | ResourceFilter_test.cpp | 107 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/ |
D | CompatModePackages.java | 203 globalConfig.smallestScreenWidthDp, in compatibilityInfoForPackageLocked() 213 globalConfig.smallestScreenWidthDp, enabled); in computeCompatModeLocked() 416 final int smallestScreenWidthDp = globalConfig.smallestScreenWidthDp; in saveCompatModes() local 434 smallestScreenWidthDp, false); in saveCompatModes()
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
D | ConfigurationHelper.java | 69 return resources.getConfiguration().smallestScreenWidthDp; in getSmallestScreenWidthDp()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 554 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp() 569 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); in parseSmallestScreenWidthDp() 850 } else if (config->smallestScreenWidthDp != in ApplyVersionForCompatibility() 902 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan() 903 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 127 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp() 224 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ActionBarPolicy.java | 58 final int smallest = configuration.smallestScreenWidthDp; in getMaxActionButtons()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 51 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 355 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration() 357 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StackWindowController.java | 328 config.smallestScreenWidthDp = getSmallestWidthForTaskBounds( in adjustConfigurationForBounds() 362 return displayContent.getConfiguration().smallestScreenWidthDp; in getSmallestWidthForTaskBounds()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1851 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH() 1865 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD() 1914 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare() 1939 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical() 1940 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical() 2003 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff() 2076 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan() 2077 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan() 2078 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan() 2079 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ConfigurationContainerTests.java | 156 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 119 boolean shouldShow = newConfig.smallestScreenWidthDp >= 600 in onConfigurationChanged()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 208 if (config.smallestScreenWidthDp < 600) { in getRotation()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 91 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 187 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfiguration() 190 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp; in applyNonDefaultDisplayMetricsToConfiguration()
|