Home
last modified time | relevance | path

Searched refs:btn_id (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_btnm.h143 void lv_btnm_set_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl);
150 void lv_btnm_clear_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl);
176 void lv_btnm_set_btn_width(const lv_obj_t * btnm, uint16_t btn_id, uint8_t width);
238 const char * lv_btnm_get_btn_text(const lv_obj_t * btnm, uint16_t btn_id);
248 bool lv_btnm_get_btn_ctrl(lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl);
A Dlv_btnm.c349 if(btn_id >= ext->btn_cnt) return; in lv_btnm_set_btn_ctrl()
351 ext->ctrl_bits[btn_id] |= ctrl; in lv_btnm_set_btn_ctrl()
352 invalidate_button_area(btnm, btn_id); in lv_btnm_set_btn_ctrl()
364 if(btn_id >= ext->btn_cnt) return; in lv_btnm_clear_btn_ctrl()
366 ext->ctrl_bits[btn_id] &= (~ctrl); in lv_btnm_clear_btn_ctrl()
367 invalidate_button_area(btnm, btn_id); in lv_btnm_clear_btn_ctrl()
412 if(btn_id >= ext->btn_cnt) return; in lv_btnm_set_btn_width()
413 ext->ctrl_bits[btn_id] &= (~LV_BTNM_WIDTH_MASK); in lv_btnm_set_btn_width()
514 if(btn_id > ext->btn_cnt) return NULL; in lv_btnm_get_btn_text()
521 while(btn_i != btn_id) { in lv_btnm_get_btn_text()
[all …]
A Dlv_mbox.c454 uint32_t btn_id = lv_btnm_get_active_btn(ext->btnm); in lv_mbox_signal() local
455 if(btn_id != LV_BTNM_BTN_NONE) lv_event_send(mbox, LV_EVENT_VALUE_CHANGED, &btn_id); in lv_mbox_signal()
527 uint32_t btn_id = lv_mbox_get_active_btn(mbox); in lv_mbox_default_event_cb() local
528 if(btn_id == LV_BTNM_BTN_NONE) return; in lv_mbox_default_event_cb()
A Dlv_kb.c329 uint16_t btn_id = lv_btnm_get_active_btn(kb); in lv_kb_def_event_cb() local
330 if(btn_id == LV_BTNM_BTN_NONE) return; in lv_kb_def_event_cb()
331 if(lv_btnm_get_btn_ctrl(kb, btn_id, LV_BTNM_CTRL_HIDDEN | LV_BTNM_CTRL_INACTIVE)) return; in lv_kb_def_event_cb()
332 …if(lv_btnm_get_btn_ctrl(kb, btn_id, LV_BTNM_CTRL_NO_REPEAT) && event == LV_EVENT_LONG_PRESSED_REPE… in lv_kb_def_event_cb()
A Dlv_tabview.c945 uint16_t btn_id = lv_btnm_get_active_btn(tab_btnm); in tab_btnm_event_cb() local
946 if(btn_id == LV_BTNM_BTN_NONE) return; in tab_btnm_event_cb()
949 lv_btnm_set_btn_ctrl(tab_btnm, btn_id, LV_BTNM_CTRL_TGL_STATE); in tab_btnm_event_cb()
954 lv_tabview_set_tab_act(tabview, btn_id, LV_ANIM_ON); in tab_btnm_event_cb()
/AliOS-Things-master/components/littlevgl/src/lv_hal/
A Dlv_hal_indev.h62 uint32_t btn_id; /**< For LV_INDEV_TYPE_BUTTON the currently pressed button*/ member
/AliOS-Things-master/components/littlevgl/porting/
A Dlv_port_indev_template.c392 data->btn_id = last_btn;
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_indev.c662 i->proc.types.pointer.act_point.x = i->btn_points[data->btn_id].x; in indev_button_proc()
663 i->proc.types.pointer.act_point.y = i->btn_points[data->btn_id].y; in indev_button_proc()

Completed in 15 milliseconds