Lines Matching refs:config
310 Configuration config = new Configuration();
318 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
321 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
324 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
327 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
337 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue();
338 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue();
339 if (config.screenHeightDp < config.screenWidthDp) {
340 config.smallestScreenWidthDp = config.screenHeightDp;
342 config.smallestScreenWidthDp = config.screenWidthDp;
344 config.densityDpi = density.getDpiValue();
347 config.compatScreenWidthDp = config.screenWidthDp;
348 config.compatScreenHeightDp = config.screenHeightDp;
350 // TODO: fill in more config info.
352 return config;