Lines Matching refs:new_state
67 static void lv_obj_set_state(lv_obj_t * obj, lv_state_t new_state);
298 lv_state_t new_state = obj->state | state; in lv_obj_add_state() local
299 if(obj->state != new_state) { in lv_obj_add_state()
300 lv_obj_set_state(obj, new_state); in lv_obj_add_state()
308 lv_state_t new_state = obj->state & (~state); in lv_obj_clear_state() local
309 if(obj->state != new_state) { in lv_obj_clear_state()
310 lv_obj_set_state(obj, new_state); in lv_obj_clear_state()
883 static void lv_obj_set_state(lv_obj_t * obj, lv_state_t new_state) in lv_obj_set_state() argument
885 if(obj->state == new_state) return; in lv_obj_set_state()
890 obj->state = new_state; in lv_obj_set_state()
892 _lv_style_state_cmp_t cmp_res = _lv_obj_style_state_compare(obj, prev_state, new_state); in lv_obj_set_state()
904 if(state_act & (~new_state)) continue; /*Skip unrelated styles*/ in lv_obj_set_state()
939 _lv_obj_style_create_transition(obj, part_act, prev_state, new_state, &ts[i]); in lv_obj_set_state()