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

1 2 3

  /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/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/tools/aapt2/
ConfigDescription.cpp 101 if (out) out->screenLayout =
102 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
106 if (out) out->screenLayout =
107 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
111 if (out) out->screenLayout =
112 (out->screenLayout&~ResTable_config::MASK_LAYOUTDIR)
122 if (out) out->screenLayout =
123 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
127 if (out) out->screenLayout =
128 (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)
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/java/android/content/res/
Configuration.java 104 /** Constant for {@link #screenLayout}: bits that encode the size. */
106 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
109 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
117 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
125 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
133 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_SIZE_MASK}
142 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
144 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
147 /** Constant for {@link #screenLayout}: a {@link #SCREENLAYOUT_LONG_MASK}
152 /** 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)
  /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 265 } 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&~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 133 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/
CompatModePackages.java 200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout,
210 mService.mConfiguration.screenLayout,
411 final int screenLayout = mService.mConfiguration.screenLayout;
429 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout,
TaskRecord.java     [all...]
  /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;
  /frameworks/base/core/tests/coretests/src/android/content/res/
ResourcesManagerTest.java 222 config2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
241 expectedConfig2.screenLayout |= Configuration.SCREENLAYOUT_ROUND_YES;
  /cts/tests/app/src/android/app/cts/
ActivityManagerMemoryClassTest.java 168 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;
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 66 getResources().getConfiguration().screenLayout,

Completed in 401 milliseconds

1 2 3