Lines Matching refs:prop

29 static void lv_style_set_prop_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * prop_…
31 static void lv_style_set_prop_meta_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * …
222 bool lv_style_remove_prop(lv_style_t * style, lv_style_prop_t prop) in lv_style_remove_prop() argument
234 if(LV_STYLE_PROP_ID_MASK(style->prop1) == prop) { in lv_style_remove_prop()
246 if(LV_STYLE_PROP_ID_MASK(old_props[i]) == prop) { in lv_style_remove_prop()
268 if(old_props[j] != prop) { in lv_style_remove_prop()
283 void lv_style_set_prop(lv_style_t * style, lv_style_prop_t prop, lv_style_value_t value) in lv_style_set_prop() argument
285 lv_style_set_prop_internal(style, prop, value, lv_style_set_prop_helper); in lv_style_set_prop()
288 void lv_style_set_prop_meta(lv_style_t * style, lv_style_prop_t prop, uint16_t meta) in lv_style_set_prop_meta() argument
290 lv_style_set_prop_internal(style, prop | meta, null_style_value, lv_style_set_prop_meta_helper); in lv_style_set_prop_meta()
293 lv_style_res_t lv_style_get_prop(const lv_style_t * style, lv_style_prop_t prop, lv_style_value_t *… in lv_style_get_prop() argument
295 return lv_style_get_prop_inlined(style, prop, value); in lv_style_get_prop()
313 lv_style_value_t lv_style_prop_get_default(lv_style_prop_t prop) in lv_style_prop_get_default() argument
316 switch(prop) { in lv_style_prop_get_default()
374 uint8_t _lv_style_get_prop_group(lv_style_prop_t prop) in _lv_style_get_prop_group() argument
376 uint16_t group = (prop & 0x1FF) >> 4; in _lv_style_get_prop_group()
381 uint8_t _lv_style_prop_lookup_flags(lv_style_prop_t prop) in _lv_style_prop_lookup_flags() argument
385 if(prop == LV_STYLE_PROP_ANY) return LV_STYLE_PROP_ALL; /*Any prop can have any flags*/ in _lv_style_prop_lookup_flags()
386 if(prop == LV_STYLE_PROP_INV) return 0; in _lv_style_prop_lookup_flags()
388 if(prop < _LV_STYLE_NUM_BUILT_IN_PROPS) in _lv_style_prop_lookup_flags()
389 return _lv_style_builtin_prop_flag_lookup_table[prop]; in _lv_style_prop_lookup_flags()
390 prop -= _LV_STYLE_NUM_BUILT_IN_PROPS; in _lv_style_prop_lookup_flags()
391 …if(LV_GC_ROOT(_lv_style_custom_prop_flag_lookup_table) != NULL && prop < _lv_style_custom_prop_fla… in _lv_style_prop_lookup_flags()
392 return LV_GC_ROOT(_lv_style_custom_prop_flag_lookup_table)[prop]; in _lv_style_prop_lookup_flags()
400 static void lv_style_set_prop_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * prop_… in lv_style_set_prop_helper() argument
403 *prop_storage = prop; in lv_style_set_prop_helper()
407 static void lv_style_set_prop_meta_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * … in lv_style_set_prop_meta_helper() argument
412 *prop_storage = prop; /* meta is OR-ed into the prop ID already */ in lv_style_set_prop_meta_helper()