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

1 2 3 4

  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationScreenLayoutTest.java 58 int actualSize = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
59 int actualLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK;
70 * @return expected value of {@link Configuration#screenLayout} with the
76 // 2. For each orientation start an activity and compute what it's screenLayout value is
77 // 3. Reduce the screenLayout values if they are smaller
79 int screenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE
83 screenLayout = reduceScreenLayout(activity, screenLayout);
86 return screenLayout;
97 private int reduceScreenLayout(Context context, int screenLayout) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/res/
ConfigurationTest.java 40 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);
ResourcesManagerTest.java 224 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
245 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowConfiguration.java 17 public int screenLayout;
23 realConfiguration.screenLayout = Configuration.SCREENLAYOUT_LONG_NO |
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
ScreenDeviceInfo.java 52 int screenLayout = configuration.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
53 String screenSize = String.format("0x%x", screenLayout);
54 switch (screenLayout) {
  /frameworks/base/core/java/android/content/res/
Configuration.java 171 /** Constant for {@link #screenLayout}: bits that encode the size. */
173 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
176 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
184 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
192 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
200 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
209 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
211 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
214 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
219 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK
    [all...]
CompatibilityInfo.java 102 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw,
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)
  /frameworks/base/tools/aapt2/
ConfigDescription.cpp 105 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 & ~ResTable_config::MASK_SCREENSIZE)
    [all...]
  /frameworks/base/native/android/
configuration.cpp 96 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)
  /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/core/jni/
android_content_res_Configuration.cpp 34 jfieldID screenLayout;
52 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout);
82 gConfigurationClassInfo.screenLayout = GetFieldIDOrDie(env, clazz, "screenLayout", "I");
  /frameworks/base/tools/aapt/
AaptConfig.cpp 286 } 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&~ResTable_config::MASK_SCREENSIZE
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 332 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
335 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
338 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
341 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
387 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
390 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_NO;
393 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_UNDEFINED;
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 50 + "screenLayout=0x" + Integer.toHexString(c.screenLayout) + "\n"
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ConfigurationTest.java 32 assertThat(configuration.screenLayout, equalTo(Configuration.SCREENLAYOUT_LONG_NO | Configuration.SCREENLAYOUT_SIZE_NORMAL));
  /frameworks/base/libs/androidfw/tests/
Config_test.cpp 136 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/
CompatModePackages.java 202 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,
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp     [all...]
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java 210 int screenLayout = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
211 String screenSize = String.format("0x%x", screenLayout);
212 switch (screenLayout) {
  /cts/tests/tests/theme/src/android/theme/cts/
DeviceDefaultTest.java 151 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /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 205 config.screenLayout = 1;
356 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout);
383 assertEquals(Configuration.SCREENLAYOUT_UNDEFINED, config.screenLayout);
483 config.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
731 config.screenLayout = Configuration.SCREENLAYOUT_LONG_UNDEFINED;
  /cts/tests/app/src/android/app/cts/
ActivityManagerMemoryClassTest.java 183 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
  /cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java 146 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;

Completed in 1276 milliseconds

1 2 3 4