Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DConfiguration.java631 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 …]
DCompatibilityInfo.java461 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
DAssetManager.java758 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, in setConfiguration() argument
/frameworks/base/tools/aapt2/filter/
DConfigFilter.cpp68 if (config.smallestScreenWidthDp != 0 && in match()
69 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in match()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp45 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()
Dandroid_util_AssetManager.cpp639 config.smallestScreenWidthDp); in constructConfigurationObject()
688 jint smallestScreenWidthDp, in android_content_AssetManager_setConfiguration() argument
717 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp; in android_content_AssetManager_setConfiguration()
/frameworks/base/tools/aapt/
DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 && in match()
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
DAaptConfig.cpp256 } 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/
DResourceTable_test.cpp36 sw600dpLandConfig.smallestScreenWidthDp = 600; in TEST()
55 sw600dpV13Config.smallestScreenWidthDp = 600; in TEST()
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.java201 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()
DTaskRecord.java1554 config.smallestScreenWidthDp = mService.mWindowManager.getSmallestWidthForTaskBounds( in calculateOverrideConfig()
1568 extracted.smallestScreenWidthDp = config.smallestScreenWidthDp; in extractOverrideConfig()
/frameworks/support/compat/honeycomb_mr2/android/support/v4/content/res/
DConfigurationHelperHoneycombMr2.java34 return resources.getConfiguration().smallestScreenWidthDp; in getSmallestScreenWidthDp()
/frameworks/base/native/android/
Dconfiguration.cpp127 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
224 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java355 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
357 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java51 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1845 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/
DConfigDescription.cpp488 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/
DQSCustomizer.java113 boolean shouldShow = newConfig.smallestScreenWidthDp >= 600 in onConfigurationChanged()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java198 && config.smallestScreenWidthDp < 600; in isLandscapePhone()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java91 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
/frameworks/base/core/java/android/app/
DResourcesManager.java187 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfiguration()
190 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp; in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java157 return mService.mCurConfiguration.smallestScreenWidthDp; in getSmallestWidthDpForBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java98 boolean isPhoneLandscape = isRotated && (config.smallestScreenWidthDp < 600); in inflatePreview()

12