Lines Matching refs:fragment
49 …gment_managed_states_t * fragment_attach(lv_fragment_manager_t * manager, lv_fragment_t * fragment,
110 void lv_fragment_manager_add(lv_fragment_manager_t * manager, lv_fragment_t * fragment, lv_obj_t * … in lv_fragment_manager_add() argument
112 lv_fragment_managed_states_t * states = fragment_attach(manager, fragment, container); in lv_fragment_manager_add()
118 void lv_fragment_manager_remove(lv_fragment_manager_t * manager, lv_fragment_t * fragment) in lv_fragment_manager_remove() argument
121 LV_ASSERT_NULL(fragment); in lv_fragment_manager_remove()
122 LV_ASSERT_NULL(fragment->managed); in lv_fragment_manager_remove()
123 LV_ASSERT(fragment->managed->manager == manager); in lv_fragment_manager_remove()
124 lv_fragment_managed_states_t * states = fragment->managed; in lv_fragment_manager_remove()
153 void lv_fragment_manager_push(lv_fragment_manager_t * manager, lv_fragment_t * fragment, lv_obj_t *… in lv_fragment_manager_push() argument
159 lv_fragment_managed_states_t * states = fragment_attach(manager, fragment, container); in lv_fragment_manager_push()
176 void lv_fragment_manager_replace(lv_fragment_manager_t * manager, lv_fragment_t * fragment, in lv_fragment_manager_replace() argument
183 lv_fragment_manager_add(manager, fragment, container); in lv_fragment_manager_replace()
260 …gment_managed_states_t * fragment_attach(lv_fragment_manager_t * manager, lv_fragment_t * fragment, in fragment_attach() argument
264 LV_ASSERT(fragment); in fragment_attach()
265 LV_ASSERT(fragment->managed == NULL); in fragment_attach()
268 states->cls = fragment->cls; in fragment_attach()
271 states->instance = fragment; in fragment_attach()
272 fragment->managed = states; in fragment_attach()
273 if(fragment->cls->attached_cb) { in fragment_attach()
274 fragment->cls->attached_cb(fragment); in fragment_attach()