Searched refs:smallestScreenWidthDp (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp114 if (config.smallestScreenWidthDp != 0 &&
115 config.smallestScreenWidthDp < target.smallestScreenWidthDp) {
/frameworks/base/tools/aapt/tests/
H A DResourceTable_test.cpp36 sw600dpLandConfig.smallestScreenWidthDp = 600;
55 sw600dpV13Config.smallestScreenWidthDp = 600;
H A DResourceFilter_test.cpp107 config.smallestScreenWidthDp = 600;
120 config.smallestScreenWidthDp = 320;
147 config.smallestScreenWidthDp = 600;
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp45 jfieldID smallestScreenWidthDp; member in struct:android::__anon1050
71 out->smallestScreenWidthDp = env->GetIntField(clazz,
72 gConfigurationClassInfo.smallestScreenWidthDp);
94 gConfigurationClassInfo.smallestScreenWidthDp = GetFieldIDOrDie(env, clazz,
95 "smallestScreenWidthDp", "I");
H A Dandroid_util_AssetManager.cpp628 config.smallestScreenWidthDp);
677 jint smallestScreenWidthDp,
706 config.smallestScreenWidthDp = (uint16_t)smallestScreenWidthDp;
1805 "smallestScreenWidthDp", "I");
670 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint colorMode, jint sdkVersion) argument
/frameworks/support/compat/java/android/support/v4/content/res/
H A DConfigurationHelper.java62 * <p>Uses {@code Configuration.smallestScreenWidthDp} when available, otherwise an
65 * @deprecated Use {@link Configuration#smallestScreenWidthDp} directly.
69 return resources.getConfiguration().smallestScreenWidthDp;
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp135 if (config.smallestScreenWidthDp != 0 &&
136 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) {
H A DAaptConfig.cpp277 } else if (config->smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY
793 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY;
808 out->smallestScreenWidthDp = (uint16_t)atoi(xName.string());
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java706 * Default value for {@link #smallestScreenWidthDp} indicating that no width
720 public int smallestScreenWidthDp; field in class:Configuration
895 smallestScreenWidthDp = o.smallestScreenWidthDp;
937 if (smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) {
938 sb.append(" sw"); sb.append(smallestScreenWidthDp); sb.append("dp");
1085 smallestScreenWidthDp = compatSmallestScreenWidthDp = SMALLEST_SCREEN_WIDTH_DP_UNDEFINED;
1257 if (delta.smallestScreenWidthDp != SMALLEST_SCREEN_WIDTH_DP_UNDEFINED
1258 && smallestScreenWidthDp != delta.smallestScreenWidthDp) {
[all...]
H A DCompatibilityInfo.java475 inoutConfig.smallestScreenWidthDp = inoutConfig.compatSmallestScreenWidthDp;
H A DAssetManager.java785 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp,
782 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java51 final int smallest = config.smallestScreenWidthDp;
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java58 final int smallest = configuration.smallestScreenWidthDp;
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java203 globalConfig.smallestScreenWidthDp,
213 globalConfig.smallestScreenWidthDp, enabled);
416 final int smallestScreenWidthDp = globalConfig.smallestScreenWidthDp;
434 smallestScreenWidthDp, false);
/frameworks/base/native/android/
H A Dconfiguration.cpp127 return config->smallestScreenWidthDp;
224 config->smallestScreenWidthDp = value;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java355 config.smallestScreenWidthDp = config.screenHeightDp;
357 config.smallestScreenWidthDp = config.screenWidthDp;
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp554 out->smallestScreenWidthDp = out->SCREENWIDTH_ANY;
569 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str());
850 } else if (config->smallestScreenWidthDp !=
902 if (smallestScreenWidthDp || o.smallestScreenWidthDp)
903 return (!o.smallestScreenWidthDp);
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackWindowController.java328 config.smallestScreenWidthDp = getSmallestWidthForTaskBounds(
362 return displayContent.getConfiguration().smallestScreenWidthDp;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1851 smallestScreenWidthDp = dtohs(smallestScreenWidthDp);
1865 smallestScreenWidthDp = htods(smallestScreenWidthDp);
1914 diff = (int32_t)(smallestScreenWidthDp - o.smallestScreenWidthDp);
1939 if (smallestScreenWidthDp != o.smallestScreenWidthDp) {
1940 return smallestScreenWidthDp < o.smallestScreenWidthDp
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DConfigurationContainerTests.java156 rootOverrideConfig.smallestScreenWidthDp = 200;
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesManagerTest.java91 overrideConfig.smallestScreenWidthDp = 200;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DQSCustomizer.java119 boolean shouldShow = newConfig.smallestScreenWidthDp >= 600
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DScreenPinningRequest.java208 if (config.smallestScreenWidthDp < 600) {
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java67 getResources().getConfiguration().smallestScreenWidthDp, false));
/frameworks/base/core/java/android/app/
H A DResourcesManager.java187 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate
190 config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp;

Completed in 619 milliseconds

12