Home | History | Annotate | Download | only in androidfw

Lines Matching refs:ResTable_config

1396 void ResTable_config::copyFromDeviceNoSwap(const ResTable_config& o) {
1398 if (size >= sizeof(ResTable_config)) {
1402 memset(((uint8_t*)this)+size, 0, sizeof(ResTable_config)-size);
1406 void ResTable_config::copyFromDtoH(const ResTable_config& o) {
1408 size = sizeof(ResTable_config);
1421 void ResTable_config::swapHtoD() {
1435 int ResTable_config::compare(const ResTable_config& o) const {
1458 int ResTable_config::compareLogical(const ResTable_config& o) const {
1519 int ResTable_config::diff(const ResTable_config& o) const {
1541 bool ResTable_config::isMoreSpecificThan(const ResTable_config& o) const {
1678 bool ResTable_config::isBetterThan(const ResTable_config& o,
1679 const ResTable_config* requested) const {
1911 bool ResTable_config::match(const ResTable_config& settings) const {
2033 void ResTable_config::getLocale(char str[6]) const {
2046 String8 ResTable_config::toString() const {
2067 switch (screenLayout&ResTable_config::MASK_LAYOUTDIR) {
2068 case ResTable_config::LAYOUTDIR_LTR:
2071 case ResTable_config::LAYOUTDIR_RTL:
2076 dtohs(screenLayout&ResTable_config::MASK_LAYOUTDIR));
2094 switch (screenLayout&ResTable_config::MASK_SCREENSIZE) {
2095 case ResTable_config::SCREENSIZE_SMALL:
2098 case ResTable_config::SCREENSIZE_NORMAL:
2101 case ResTable_config::SCREENSIZE_LARGE:
2104 case ResTable_config::SCREENSIZE_XLARGE:
2109 dtohs(screenLayout&ResTable_config::MASK_SCREENSIZE));
2115 switch (screenLayout&ResTable_config::MASK_SCREENLONG) {
2116 case ResTable_config::SCREENLONG_NO:
2119 case ResTable_config::SCREENLONG_YES:
2124 dtohs(screenLayout&ResTable_config::MASK_SCREENLONG));
2131 case ResTable_config::ORIENTATION_PORT:
2134 case ResTable_config::ORIENTATION_LAND:
2137 case ResTable_config::ORIENTATION_SQUARE:
2147 switch (uiMode&ResTable_config::MASK_UI_MODE_TYPE) {
2148 case ResTable_config::UI_MODE_TYPE_DESK:
2151 case ResTable_config::UI_MODE_TYPE_CAR:
2154 case ResTable_config::UI_MODE_TYPE_TELEVISION:
2157 case ResTable_config::UI_MODE_TYPE_APPLIANCE:
2162 dtohs(screenLayout&ResTable_config::MASK_UI_MODE_TYPE));
2168 switch (uiMode&ResTable_config::MASK_UI_MODE_NIGHT) {
2169 case ResTable_config::UI_MODE_NIGHT_NO:
2172 case ResTable_config::UI_MODE_NIGHT_YES:
2184 case ResTable_config::DENSITY_LOW:
2187 case ResTable_config::DENSITY_MEDIUM:
2190 case ResTable_config::DENSITY_TV:
2193 case ResTable_config::DENSITY_HIGH:
2196 case ResTable_config::DENSITY_XHIGH:
2199 case ResTable_config::DENSITY_XXHIGH:
2202 case ResTable_config::DENSITY_NONE:
2213 case ResTable_config::TOUCHSCREEN_NOTOUCH:
2216 case ResTable_config::TOUCHSCREEN_FINGER:
2219 case ResTable_config::TOUCHSCREEN_STYLUS:
2230 case ResTable_config::KEYBOARD_NOKEYS:
2233 case ResTable_config::KEYBOARD_QWERTY:
2236 case ResTable_config::KEYBOARD_12KEY:
2247 case ResTable_config::KEYSHIDDEN_NO:
2250 case ResTable_config::KEYSHIDDEN_YES:
2253 case ResTable_config::KEYSHIDDEN_SOFT:
2261 case ResTable_config::NAVIGATION_NONAV:
2264 case ResTable_config::NAVIGATION_DPAD:
2267 case ResTable_config::NAVIGATION_TRACKBALL:
2270 case ResTable_config::NAVIGATION_WHEEL:
2281 case ResTable_config::NAVHIDDEN_NO:
2284 case ResTable_config::NAVHIDDEN_YES:
2677 uint32_t* inoutTypeSpecFlags, ResTable_config* inoutConfig) const
3000 uint32_t* outSpecFlags, ResTable_config* outConfig) const
3025 ResTable_config bestItem;
3039 const ResTable_config* desiredConfig = &mParams;
3040 ResTable_config* overrideConfig = NULL;
3042 overrideConfig = (ResTable_config*) malloc(sizeof(ResTable_config));
3044 ALOGE("Couldn't malloc ResTable_config for overrides: %s", strerror(errno));
3047 memcpy(overrideConfig, &mParams, sizeof(ResTable_config));
3114 ResTable_config thisConfig;
3170 ResTable_config* outConfig) const
3326 ResTable_config bestConfig;
3527 void ResTable::setParameters(const ResTable_config* params)
3539 void ResTable::getParameters(ResTable_config* params) const
4787 void ResTable::getConfigurations(Vector<ResTable_config>* configs) const
4802 const ResTable_config* cfg = &config->config;
4823 Vector<ResTable_config> configs;
4846 const ResTable_config* config,
4868 ResTable_config bestConfig;
4876 ResTable_config thisConfig;
5117 err = validate_chunk(&type->header, sizeof(*type)-sizeof(ResTable_config)+4,
5163 ResTable_config thisConfig;