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

/frameworks/base/core/java/android/content/res/
H A DConfiguration.java91 /** Constant for {@link #screenLayout}: bits that encode the size. */
93 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
96 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
104 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
112 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
120 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
129 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
131 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
134 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
139 /** Constant for {@link #screenLayout}
219 public int screenLayout; field in class:Configuration
1355 getScreenLayoutNoDirection(int screenLayout) argument
[all...]
H A DCompatibilityInfo.java95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, argument
198 switch (screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK) {
217 if ((screenLayout&Configuration.SCREENLAYOUT_COMPAT_NEEDED) != 0) {
456 inoutConfig.screenLayout =
457 (inoutConfig.screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK)
H A DAssetManager.java703 int screenLayout, int uiMode, int majorVersion);
699 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 majorVersion) argument
H A DResources.java2044 mConfiguration.screenLayout, mConfiguration.uiMode,
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp96 if (out) out->screenLayout =
97 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
101 if (out) out->screenLayout =
102 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
106 if (out) out->screenLayout =
107 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
117 if (out) out->screenLayout =
118 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
122 if (out) out->screenLayout =
123 (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::__anon829
52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
82 gConfigurationClassInfo.screenLayout = GetFieldIDOrDie(env, clazz, "screenLayout", "I");
H A Dandroid_util_AssetManager.cpp605 jint screenLayout, jint uiMode,
635 config.screenLayout = (uint8_t)screenLayout;
640 // In Java, we use a 32bit integer for screenLayout, while we only use an 8bit integer
641 // in C++. We must extract the round qualifier out of the Java screenLayout and put it
644 (uint8_t)((screenLayout & kScreenLayoutRoundMask) >> kScreenLayoutRoundShift);
596 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 sdkVersion) argument
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp265 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE)
267 || (config->screenLayout & ResTable_config::MASK_SCREENLONG)
341 if (out) out->screenLayout =
342 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
346 if (out) out->screenLayout =
347 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
351 if (out) out->screenLayout =
352 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
362 if (out) out->screenLayout =
363 (out->screenLayout
[all...]
H A DResourceTable.cpp3112 config.screenLayout);
3157 tHeader->config.screenLayout);
3892 config->screenLayout);
H A DCommand.cpp620 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java334 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
337 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
340 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
343 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
390 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
393 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO;
396 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1895 diff = (int32_t)(screenLayout - o.screenLayout);
1923 if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) {
1924 return (screenLayout & MASK_LAYOUTDIR) < (o.screenLayout & MASK_LAYOUTDIR) ? -1 : 1;
1953 if (screenLayout != o.screenLayout) {
1954 return screenLayout < o.screenLayout
[all...]
/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp133 longConfig.screenLayout = ResTable_config::SCREENLONG_YES;
166 deviceConfig.screenLayout = ResTable_config::SCREENLONG_YES;
172 targetConfigB.screenLayout = ResTable_config::SCREENLONG_YES;
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java175 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout,
185 mService.mConfiguration.screenLayout,
372 final int screenLayout = mService.mConfiguration.screenLayout;
390 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
/frameworks/base/core/java/android/app/
H A DResourcesManager.java89 int sl = Configuration.resetScreenLayout(config.screenLayout);
92 config.screenLayout = Configuration.reduceScreenLayout(sl,
96 config.screenLayout = Configuration.reduceScreenLayout(sl,
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java66 getResources().getConfiguration().screenLayout,
/frameworks/base/include/androidfw/
H A DResourceTypes.h1067 // screenLayout bits for screen size class.
1075 // screenLayout bits for wide/long screen variation.
1082 // screenLayout bits for layout direction.
1111 uint8_t screenLayout; member in struct:android::ResTable_config::__anon968::__anon969
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV7.java992 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java7253 int sl = Configuration.resetScreenLayout(outConfig.screenLayout);
7259 outConfig.screenLayout = sl;
7376 config.screenLayout = (config.screenLayout & ~Configuration.SCREENLAYOUT_ROUND_MASK)
/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneWindow.java698 boolean isXLarge = (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) ==

Completed in 496 milliseconds