HomeSort by relevance Sort by last modified time
    Searched refs:screenLayout (Results 1 - 25 of 49) sorted by null

1 2

  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationScreenLayoutTest.java 53 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
54 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK;
65 * @return expected value of {@link Configuration#screenLayout} with the
71 // 2. For each orientation start an activity and compute what it's screenLayout value is
72 // 3. Reduce the screenLayout values if they are smaller
74 int screenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE
78 screenLayout = reduceScreenLayout(activity, screenLayout);
81 return screenLayout;
92 private int reduceScreenLayout(Context context, int screenLayout) {
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowConfiguration.java 17 public int screenLayout;
23 realConfiguration.screenLayout = Configuration.SCREENLAYOUT_LONG_NO |
  /frameworks/base/core/java/android/content/res/
Configuration.java 91 /** 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}: a {@link #SCREENLAYOUT_LONG_MASK
    [all...]
CompatibilityInfo.java 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw,
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)
AssetManager.java 681 int screenLayout, int uiMode, int majorVersion);
  /frameworks/base/tools/aapt/
AaptConfig.cpp 252 } else if ((config->screenLayout & ResTable_config::MASK_SCREENSIZE)
254 || (config->screenLayout & ResTable_config::MASK_SCREENLONG)
330 if (out) out->screenLayout =
331 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
335 if (out) out->screenLayout =
336 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
340 if (out) out->screenLayout =
341 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
351 if (out) out->screenLayout =
352 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ViewContact.java 31 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
FrontDoor.java 44 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /frameworks/base/native/android/
configuration.cpp 96 return config->screenLayout&ResTable_config::MASK_SCREENSIZE;
100 return (config->screenLayout&ResTable_config::MASK_SCREENLONG)
127 return (config->screenLayout&ResTable_config::MASK_LAYOUTDIR)
186 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENSIZE)
191 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_SCREENLONG)
219 config->screenLayout = (config->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
  /frameworks/base/core/jni/
android_content_res_Configuration.cpp 32 jfieldID screenLayout;
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
92 GET_FIELD_ID(gConfigurationClassInfo.screenLayout, clazz,
93 "screenLayout", "I");
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 50 + "screenLayout=0x" + Integer.toHexString(c.screenLayout) + "\n"
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ConfigurationTest.java 32 assertThat(configuration.screenLayout, equalTo(Configuration.SCREENLAYOUT_LONG_NO | Configuration.SCREENLAYOUT_SIZE_NORMAL));
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 328 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
331 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
334 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
337 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp     [all...]
  /frameworks/base/services/core/java/com/android/server/am/
CompatModePackages.java 172 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout,
182 mService.mConfiguration.screenLayout,
369 final int screenLayout = mService.mConfiguration.screenLayout;
387 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
  /frameworks/base/core/java/android/app/
ResourcesManager.java 118 int sl = Configuration.resetScreenLayout(config.screenLayout);
121 config.screenLayout = Configuration.reduceScreenLayout(sl,
125 config.screenLayout = Configuration.reduceScreenLayout(sl,
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerMemoryClassTest.java 69 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /cts/tests/tests/theme/src/android/theme/cts/
DeviceDefaultTest.java 149 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java 187 int screenLayout = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
188 String screenSize = String.format("0x%x", screenLayout);
189 switch (screenLayout) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactsListFragment.java 160 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigurationTest.java 163 config.screenLayout = 1;
365 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED;
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 66 getResources().getConfiguration().screenLayout,
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
OpenWnn.java 345 mIsXLarge = ((getResources().getConfiguration().screenLayout &
UserDictionaryToolsList.java 216 mIsXLarge = ((getResources().getConfiguration().screenLayout &
  /sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
ConfigGenerator.java 199 switch (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) {
253 switch (config.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK) {

Completed in 1129 milliseconds

1 2