Home
last modified time | relevance | path

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

12

/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.cpp628 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/
DConfigFilter.cpp114 if (config.smallestScreenWidthDp != 0 && in Match()
115 config.smallestScreenWidthDp < target.smallestScreenWidthDp) { in Match()
/frameworks/base/core/java/android/content/res/
DConfiguration.java718 public int smallestScreenWidthDp; field in Configuration
893 smallestScreenWidthDp = o.smallestScreenWidthDp; in setTo()
935 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { in toString()
936 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp"); in toString()
1083 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED; in setToDefaults()
1255 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED in updateFrom()
1256 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in updateFrom()
1258 smallestScreenWidthDp = delta.smallestScreenWidthDp; in updateFrom()
1423 if ((compareUndefined || delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) in diff()
1424 && smallestScreenWidthDp != delta.smallestScreenWidthDp) { in diff()
[all …]
DCompatibilityInfo.java475 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp; in applyToConfiguration()
/frameworks/base/tools/aapt/
DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 && in match()
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) { in match()
DAaptConfig.cpp277 } 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/
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.java203 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/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java30 if (config.smallestScreenWidthDp < 600) { in getRotation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNearestTouchFrameTest.java49 c.smallestScreenWidthDp = 500; in setup()
56 c.smallestScreenWidthDp = 700; in testNoActionOnLargeDevices()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp554 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()
911 if (smallestScreenWidthDp || o.smallestScreenWidthDp) in HasHigherPrecedenceThan()
912 return (!o.smallestScreenWidthDp); in HasHigherPrecedenceThan()
/frameworks/base/native/android/
Dconfiguration.cpp127 return config->smallestScreenWidthDp; in AConfiguration_getSmallestScreenWidthDp()
224 config->smallestScreenWidthDp = value; in AConfiguration_setSmallestScreenWidthDp()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java58 final int smallest = configuration.smallestScreenWidthDp; in getMaxActionButtons()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java51 final int smallest = config.smallestScreenWidthDp; in getMaxActionButtons()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java369 config.smallestScreenWidthDp = config.screenHeightDp; in getConfiguration()
371 config.smallestScreenWidthDp = config.screenWidthDp; in getConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNearestTouchFrame.java53 mIsActive = c.smallestScreenWidthDp < 600; in NearestTouchFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java328 config.smallestScreenWidthDp = getSmallestWidthForTaskBounds( in adjustConfigurationForBounds()
362 return displayContent.getConfiguration().smallestScreenWidthDp; in getSmallestWidthForTaskBounds()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1875 smallestScreenWidthDp = dtohs(smallestScreenWidthDp); in copyFromDtoH()
1889 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()
1938 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp); in compare()
1963 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in compareLogical()
1964 return smallestScreenWidthDp < o.smallestScreenWidthDp ? -1 : 1; in compareLogical()
2027 if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE; in diff()
2100 if (smallestScreenWidthDp || o.smallestScreenWidthDp) { in isMoreSpecificThan()
2101 if (smallestScreenWidthDp != o.smallestScreenWidthDp) { in isMoreSpecificThan()
2102 if (!smallestScreenWidthDp) return false; in isMoreSpecificThan()
2103 if (!o.smallestScreenWidthDp) return true; in isMoreSpecificThan()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java156 rootOverrideConfig.smallestScreenWidthDp = 200; in testConfigurationChangePropagation()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false)); in init()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java91 overrideConfig.smallestScreenWidthDp = 200; in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java136 mIsShowingNavBackdrop = newConfig.smallestScreenWidthDp >= 600 in updateNavBackDrop()
/frameworks/base/core/java/android/app/
DResourcesManager.java185 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate in applyNonDefaultDisplayMetricsToConfiguration()
188 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp; in applyNonDefaultDisplayMetricsToConfiguration()

12