Lines Matching refs:config
603 // Make a dummy config for retrieving resources... we need to supply
607 // version if they are using newer config types like density.
608 ResTable_config config;
609 memset(&config, 0, sizeof(ResTable_config));
610 config.language[0] = 'e';
611 config.language[1] = 'n';
612 config.country[0] = 'U';
613 config.country[1] = 'S';
614 config.orientation = ResTable_config::ORIENTATION_PORT;
615 config.density = ResTable_config::DENSITY_MEDIUM;
616 config.sdkVersion = 10000; // Very high.
617 config.screenWidthDp = 320;
618 config.screenHeightDp = 480;
619 config.smallestScreenWidthDp = 320;
620 config.screenLayout |= ResTable_config::SCREENSIZE_NORMAL;
621 assets.setConfiguration(config);
1103 ResTable_config tmpConfig = config;
1115 assets.setConfiguration(config);