Searched refs:screenLayout (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationTest.java40 config.screenLayout = Configuration.SCREENLAYOUT_ROUND_YES;
44 assertEquals(config.screenLayout, Configuration.SCREENLAYOUT_ROUND_YES);
50 config.screenLayout = Configuration.SCREENLAYOUT_COMPAT_NEEDED;
53 assertEquals(config.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED);
56 assertEquals(config2.screenLayout, Configuration.SCREENLAYOUT_COMPAT_NEEDED);
H A DResourcesManagerTest.java224 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
245 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java169 /** Constant for {@link #screenLayout}: bits that encode the size. */
171 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
174 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
182 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
190 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
198 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
207 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
209 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
212 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
217 /** Constant for {@link #screenLayout}
297 public int screenLayout; field in class:Configuration
1835 getScreenLayoutNoDirection(int screenLayout) argument
[all...]
H A DCompatibilityInfo.java102 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, argument
208 switch (screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) {
227 if ((screenLayout&Configuration.SCREENLAYOUT_COMPAT_NEEDED) != 0) {
470 inoutConfig.screenLayout =
471 (inoutConfig.screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK)
H A DAssetManager.java786 int screenLayout, int uiMode, int colorMode, int majorVersion);
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
H A DResourcesImpl.java444 mConfiguration.screenLayout, mConfiguration.uiMode,
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp105 out->screenLayout =
106 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) |
111 out->screenLayout =
112 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) |
117 out->screenLayout =
118 (out->screenLayout & ~ResTable_config::MASK_LAYOUTDIR) |
129 out->screenLayout =
130 (out->screenLayout & ~ResTable_config::MASK_SCREENSIZE) |
135 out->screenLayout =
136 (out->screenLayout
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE;
100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG)
131 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR)
190 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE)
195 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG)
228 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp34 jfieldID screenLayout; member in struct:android::__anon1013
52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
82 gConfigurationClassInfo.screenLayout = GetFieldIDOrDie(env, clazz, "screenLayout", "I");
H A Dandroid_util_AssetManager.cpp679 jint screenLayout, jint uiMode,
709 config.screenLayout = (uint8_t)screenLayout;
715 // In Java, we use a 32bit integer for screenLayout, while we only use an 8bit integer
716 // in C++. We must extract the round qualifier out of the Java screenLayout and put it
719 (uint8_t)((screenLayout & kScreenLayoutRoundMask) >> kScreenLayoutRoundShift);
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/base/tools/aapt/
H A DAaptConfig.cpp286 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE)
288 || (config->screenLayout & ResTable_config::MASK_SCREENLONG)
362 if (out) out->screenLayout =
363 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
367 if (out) out->screenLayout =
368 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
372 if (out) out->screenLayout =
373 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
383 if (out) out->screenLayout =
384 (out->screenLayout
[all...]
H A DResourceTable.cpp3183 config.screenLayout);
3228 tHeader->config.screenLayout);
3963 config->screenLayout);
H A DCommand.cpp792 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java346 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
349 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
352 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
355 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
401 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
404 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO;
407 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED;
/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp136 longConfig.screenLayout = ResTable_config::SCREENLONG_YES;
170 deviceConfig.screenLayout = ResTable_config::SCREENLONG_YES;
176 targetConfigB.screenLayout = ResTable_config::SCREENLONG_YES;
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java202 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout,
212 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout,
415 final int screenLayout = globalConfig.screenLayout;
433 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
H A DTaskRecord.java2172 // We're only overriding LONG, SIZE and COMPAT parts of screenLayout, so we start override
2177 config.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1930 diff = (int32_t)(screenLayout - o.screenLayout);
1960 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) {
1961 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1;
1990 if (screenLayout != o.screenLayout) {
1991 return screenLayout < o.screenLayout
[all...]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java66 getResources().getConfiguration().screenLayout,
/frameworks/base/core/java/android/app/
H A DResourcesManager.java175 int sl = Configuration.resetScreenLayout(config.screenLayout);
178 config.screenLayout = Configuration.reduceScreenLayout(sl,
182 config.screenLayout = Configuration.reduceScreenLayout(sl,
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1072 // screenLayout bits for screen size class.
1080 // screenLayout bits for wide/long screen variation.
1087 // screenLayout bits for layout direction.
1117 uint8_t screenLayout; member in struct:android::ResTable_config::__anon1159::__anon1160
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java1220 config.screenLayout = (config.screenLayout & ~Configuration.SCREENLAYOUT_ROUND_MASK)
1368 int sl = Configuration.resetScreenLayout(outConfig.screenLayout);
1378 outConfig.screenLayout = sl;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV9.java1106 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK)
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java783 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==

Completed in 4680 milliseconds