/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 631 public int smallestScreenWidthDp; field in Configuration 770 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo() 810 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString() 811 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString() 937 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults() 1063 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom() 1064 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom() 1066 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom() 1188 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in diff() 1189 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff() [all …]
|
D | CompatibilityInfo.java | 461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
|
D | AssetManager.java | 758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
|
/frameworks/base/tools/aapt2/filter/ |
D | ConfigFilter.cpp | 68 if (config.smallestScreenWidthDp != 0 && in match() 69 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in match()
|
/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 | 629 config.smallestScreenWidthDp); in constructConfigurationObject() 678 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument 707 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.cpp | 87 if (config.smallestScreenWidthDp != 0 && in match() 88 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
|
D | AaptConfig.cpp | 256 } 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()
|
/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 | 201 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked() 211 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked() 412 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes() local 430 smallestScreenWidthDp, false); in saveCompatModes()
|
D | TaskRecord.java | 1554 config.smallestScreenWidthDp = mService.mWindowManager.getSmallestWidthForTaskBounds( in calculateOverrideConfig() 1568 extracted.smallestScreenWidthDp = config.smallestScreenWidthDp; in extractOverrideConfig()
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/content/res/ |
D | ConfigurationHelperHoneycombMr2.java | 34 return resources.getConfiguration().smallestScreenWidthDp; in getSmallestScreenWidthDp()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 127 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp() 224 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
|
/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/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 51 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1845 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH() 1859 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD() 1906 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare() 1931 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical() 1932 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical() 1990 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff() 2064 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan() 2065 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan() 2066 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan() 2067 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 488 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY; in parseSmallestScreenWidthDp() 503 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); in parseSmallestScreenWidthDp() 764 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY in applyVersionForCompatibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 113 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 | 198 && config.smallestScreenWidthDp < 600; in isLandscapePhone()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarInflaterView.java | 323 return (configuration.smallestScreenWidthDp >= 600); in isSw600Dp()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DockedStackDividerController.java | 155 return mService.mCurConfiguration.smallestScreenWidthDp; in getSmallestWidthDpForBounds()
|