Lines Matching refs:Theme
58 bool ResolveAttrs(ResTable::Theme* theme, uint32_t def_style_attr,
64 ALOGI("APPLY STYLE: theme=0x%p defStyleAttr=0x%x defStyleRes=0x%x", theme,
68 const ResTable& res = theme->getResTable();
78 if (theme->getAttribute(def_style_attr, &value, &def_style_bag_type_set_flags) >= 0) {
118 // style, and finally the theme.
144 theme->resolveAttributeReference(&value, block, &resid, &type_set_flags, &config);
151 // it in the theme!
152 ssize_t new_block = theme->getAttribute(cur_ident, &value, &type_set_flags);
155 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data);
160 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data);
206 void ApplyStyle(ResTable::Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr,
210 ALOGI("APPLY STYLE: theme=0x%p defStyleAttr=0x%x defStyleRes=0x%x xml=0x%p",
211 theme, def_style_attr, def_style_res, xml_parser);
214 const ResTable& res = theme->getResTable();
224 if (theme->getAttribute(def_style_attr, &value,
239 if (theme->getAttribute(value.data, &value, &style_bag_type_set_flags) < 0) {
301 // style, and finally the theme.
345 theme->resolveAttributeReference(&value, block, &resid, &type_set_flags, &config);
354 // If we still don't have a value for this attribute, try to find it in the theme!
355 ssize_t new_block = theme->getAttribute(cur_ident, &value, &type_set_flags);
358 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data);
366 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data);