Lines Matching refs:cand_panel

436     lv_obj_align_to(pinyin_ime->cand_panel, pinyin_ime->kb, LV_ALIGN_OUT_TOP_MID, 0, 0);  in lv_ime_pinyin_set_keyboard()
504 return pinyin_ime->cand_panel; in lv_ime_pinyin_get_cand_panel()
573 pinyin_ime->cand_panel = lv_btnmatrix_create(lv_scr_act()); in lv_ime_pinyin_constructor()
574 lv_btnmatrix_set_map(pinyin_ime->cand_panel, (const char **)lv_btnm_def_pinyin_sel_map); in lv_ime_pinyin_constructor()
575 lv_obj_set_size(pinyin_ime->cand_panel, LV_PCT(100), LV_PCT(5)); in lv_ime_pinyin_constructor()
576 lv_obj_add_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_HIDDEN); in lv_ime_pinyin_constructor()
578 lv_btnmatrix_set_one_checked(pinyin_ime->cand_panel, true); in lv_ime_pinyin_constructor()
579 lv_obj_clear_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_CLICK_FOCUSABLE); in lv_ime_pinyin_constructor()
583 lv_obj_set_style_bg_opa(pinyin_ime->cand_panel, LV_OPA_0, 0); in lv_ime_pinyin_constructor()
584 lv_obj_set_style_border_width(pinyin_ime->cand_panel, 0, 0); in lv_ime_pinyin_constructor()
585 lv_obj_set_style_pad_all(pinyin_ime->cand_panel, 8, 0); in lv_ime_pinyin_constructor()
586 lv_obj_set_style_pad_gap(pinyin_ime->cand_panel, 0, 0); in lv_ime_pinyin_constructor()
587 lv_obj_set_style_radius(pinyin_ime->cand_panel, 0, 0); in lv_ime_pinyin_constructor()
588 lv_obj_set_style_pad_gap(pinyin_ime->cand_panel, 0, 0); in lv_ime_pinyin_constructor()
589 lv_obj_set_style_base_dir(pinyin_ime->cand_panel, LV_BASE_DIR_LTR, 0); in lv_ime_pinyin_constructor()
592 lv_obj_set_style_radius(pinyin_ime->cand_panel, 12, LV_PART_ITEMS); in lv_ime_pinyin_constructor()
593 lv_obj_set_style_bg_color(pinyin_ime->cand_panel, lv_color_white(), LV_PART_ITEMS); in lv_ime_pinyin_constructor()
594 lv_obj_set_style_bg_opa(pinyin_ime->cand_panel, LV_OPA_0, LV_PART_ITEMS); in lv_ime_pinyin_constructor()
595 lv_obj_set_style_shadow_opa(pinyin_ime->cand_panel, LV_OPA_0, LV_PART_ITEMS); in lv_ime_pinyin_constructor()
598 lv_obj_set_style_bg_opa(pinyin_ime->cand_panel, LV_OPA_COVER, LV_PART_ITEMS | LV_STATE_PRESSED); in lv_ime_pinyin_constructor()
599 …lv_obj_set_style_bg_color(pinyin_ime->cand_panel, lv_color_white(), LV_PART_ITEMS | LV_STATE_PRESS… in lv_ime_pinyin_constructor()
602 …lv_obj_add_event_cb(pinyin_ime->cand_panel, lv_ime_pinyin_cand_panel_event, LV_EVENT_VALUE_CHANGED… in lv_ime_pinyin_constructor()
626 if(lv_obj_is_valid(pinyin_ime->cand_panel)) in lv_ime_pinyin_destructor()
627 lv_obj_del(pinyin_ime->cand_panel); in lv_ime_pinyin_destructor()
674 lv_obj_add_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_HIDDEN); in lv_ime_pinyin_kb_event()
688 lv_obj_add_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_HIDDEN); in lv_ime_pinyin_kb_event()
760 lv_obj_t * cand_panel = lv_event_get_target(e); in lv_ime_pinyin_cand_panel_event() local
766 uint32_t id = lv_btnmatrix_get_selected_btn(cand_panel); in lv_ime_pinyin_cand_panel_event()
776 const char * txt = lv_btnmatrix_get_btn_text(cand_panel, id); in lv_ime_pinyin_cand_panel_event()
811 lv_obj_clear_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_HIDDEN); in pinyin_input_proc()
862 lv_obj_set_style_text_font(pinyin_ime->cand_panel, font, 0); in lv_ime_pinyin_style_change_event()
957 lv_obj_add_flag(pinyin_ime->cand_panel, LV_OBJ_FLAG_HIDDEN); in pinyin_ime_clear_data()