Home | History | Annotate | Download | only in aapt

Lines Matching refs:ResTable_config

117     ResTable_config config;
172 *value = (config.screenLayout&ResTable_config::MASK_SCREENSIZE);
179 *value = (config.screenLayout&ResTable_config::MASK_SCREENLONG);
193 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
200 *value = (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
264 AaptGroupEntry::getConfigValueForAxis(const ResTable_config& config, int axis)
275 return config.screenLayout&ResTable_config::MASK_SCREENSIZE;
279 return (config.uiMode&ResTable_config::MASK_UI_MODE_TYPE);
281 return (config.uiMode&ResTable_config::MASK_UI_MODE_NIGHT);
307 AaptGroupEntry::configSameExcept(const ResTable_config& config,
308 const ResTable_config& otherConfig, int axis)
813 ResTable_config* out)
845 ResTable_config* out)
882 ResTable_config* out)
924 ResTable_config* out)
928 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
929 | ResTable_config::SCREENSIZE_ANY;
933 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
934 | ResTable_config::SCREENSIZE_SMALL;
938 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
939 | ResTable_config::SCREENSIZE_NORMAL;
943 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
944 | ResTable_config::SCREENSIZE_LARGE;
948 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
949 | ResTable_config::SCREENSIZE_XLARGE;
957 ResTable_config* out)
961 (out->screenLayout&~ResTable_config::MASK_SCREENLONG)
962 | ResTable_config::SCREENLONG_ANY;
966 (out->screenLayout&~ResTable_config::MASK_SCREENLONG)
967 | ResTable_config::SCREENLONG_YES;
971 (out->screenLayout&~ResTable_config::MASK_SCREENLONG)
972 | ResTable_config::SCREENLONG_NO;
980 ResTable_config* out)
1000 ResTable_config* out)
1004 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1005 | ResTable_config::UI_MODE_TYPE_ANY;
1009 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1010 | ResTable_config::UI_MODE_TYPE_DESK;
1014 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1015 | ResTable_config::UI_MODE_TYPE_CAR;
1019 (out->uiMode&~ResTable_config::MASK_UI_MODE_TYPE)
1020 | ResTable_config::UI_MODE_TYPE_TELEVISION;
1028 ResTable_config* out)
1032 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
1033 | ResTable_config::UI_MODE_NIGHT_ANY;
1037 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
1038 | ResTable_config::UI_MODE_NIGHT_YES;
1042 (out->uiMode&~ResTable_config::MASK_UI_MODE_NIGHT)
1043 | ResTable_config::UI_MODE_NIGHT_NO;
1051 ResTable_config* out)
1054 if (out) out->density = ResTable_config::DENSITY_DEFAULT;
1059 if (out) out->density = ResTable_config::DENSITY_NONE;
1064 if (out) out->density = ResTable_config::DENSITY_LOW;
1069 if (out) out->density = ResTable_config::DENSITY_MEDIUM;
1074 if (out) out->density = ResTable_config::DENSITY_TV;
1079 if (out) out->density = ResTable_config::DENSITY_HIGH;
1084 if (out) out->density = ResTable_config::DENSITY_MEDIUM*2;
1118 ResTable_config* out)
1138 ResTable_config* out)
1143 mask = ResTable_config::MASK_KEYSHIDDEN;
1144 value = ResTable_config::KEYSHIDDEN_ANY;
1146 mask = ResTable_config::MASK_KEYSHIDDEN;
1147 value = ResTable_config::KEYSHIDDEN_NO;
1149 mask = ResTable_config::MASK_KEYSHIDDEN;
1150 value = ResTable_config::KEYSHIDDEN_YES;
1152 mask = ResTable_config::MASK_KEYSHIDDEN;
1153 value = ResTable_config::KEYSHIDDEN_SOFT;
1165 ResTable_config* out)
1185 ResTable_config* out)
1190 mask = ResTable_config::MASK_NAVHIDDEN;
1191 value = ResTable_config::NAVHIDDEN_ANY;
1193 mask = ResTable_config::MASK_NAVHIDDEN;
1194 value = ResTable_config::NAVHIDDEN_NO;
1196 mask = ResTable_config::MASK_NAVHIDDEN;
1197 value = ResTable_config::NAVHIDDEN_YES;
1209 ResTable_config* out)
1231 bool AaptGroupEntry::getScreenSizeName(const char* name, ResTable_config* out)
1266 bool AaptGroupEntry::getSmallestScreenWidthDpName(const char* name, ResTable_config* out)
1291 bool AaptGroupEntry::getScreenWidthDpName(const char* name, ResTable_config* out)
1314 bool AaptGroupEntry::getScreenHeightDpName(const char* name, ResTable_config* out)
1337 bool AaptGroupEntry::getVersionName(const char* name, ResTable_config* out)
1390 const ResTable_config& AaptGroupEntry::toParams() const
1397 ResTable_config& params(mParams);
1421 if (params.smallestScreenWidthDp != ResTable_config::SCREENWIDTH_ANY
1422 || params.screenWidthDp != ResTable_config::SCREENWIDTH_ANY
1423 || params.screenHeightDp != ResTable_config::SCREENHEIGHT_ANY) {
1425 } else if ((params.uiMode&ResTable_config::MASK_UI_MODE_TYPE)
1426 != ResTable_config::UI_MODE_TYPE_ANY
1427 || (params.uiMode&ResTable_config::MASK_UI_MODE_NIGHT)
1428 != ResTable_config::UI_MODE_NIGHT_ANY) {
1430 } else if ((params.screenLayout&ResTable_config::MASK_SCREENSIZE)
1431 != ResTable_config::SCREENSIZE_ANY
1432 || (params.screenLayout&ResTable_config::MASK_SCREENLONG)
1433 != ResTable_config::SCREENLONG_ANY
1434 || params.density != ResTable_config::DENSITY_DEFAULT) {
2321 const ResTable_config& config(file->getGroupEntry().toParams());
2357 const ResTable_config& config(file->getGroupEntry().toParams());
2365 const ResTable_config& mconfig(mfile->getGroupEntry().toParams());