Home | History | Annotate | Download | only in cts

Lines Matching refs:screenLayout

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) {
132 screenLayout = (screenLayout & ~Configuration.SCREENLAYOUT_LONG_MASK)
135 int curSize = screenLayout&Configuration.SCREENLAYOUT_SIZE_MASK;
137 screenLayout = (screenLayout&~Configuration.SCREENLAYOUT_SIZE_MASK)
140 return screenLayout;