Lines Matching refs:kb

425 void lv_ime_pinyin_set_keyboard(lv_obj_t * obj, lv_obj_t * kb)  in lv_ime_pinyin_set_keyboard()  argument
427 if(kb) { in lv_ime_pinyin_set_keyboard()
428 LV_ASSERT_OBJ(kb, &lv_keyboard_class); in lv_ime_pinyin_set_keyboard()
434 pinyin_ime->kb = kb; in lv_ime_pinyin_set_keyboard()
435 lv_obj_add_event_cb(pinyin_ime->kb, lv_ime_pinyin_kb_event, LV_EVENT_VALUE_CHANGED, obj); in lv_ime_pinyin_set_keyboard()
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()
461 LV_ASSERT_OBJ(pinyin_ime->kb, &lv_keyboard_class); in lv_ime_pinyin_set_mode()
468 …lv_keyboard_set_map(pinyin_ime->kb, LV_KEYBOARD_MODE_USER_1, (const char *)lv_btnm_def_pinyin_k9_m… in lv_ime_pinyin_set_mode()
470 lv_keyboard_set_mode(pinyin_ime->kb, LV_KEYBOARD_MODE_USER_1); in lv_ime_pinyin_set_mode()
490 return pinyin_ime->kb; in lv_ime_pinyin_get_kb()
623 if(lv_obj_is_valid(pinyin_ime->kb)) in lv_ime_pinyin_destructor()
624 lv_obj_del(pinyin_ime->kb); in lv_ime_pinyin_destructor()
633 lv_obj_t * kb = lv_event_get_target(e); in lv_ime_pinyin_kb_event() local
643 uint16_t btn_id = lv_btnmatrix_get_selected_btn(kb); in lv_ime_pinyin_kb_event()
646 const char * txt = lv_btnmatrix_get_btn_text(kb, lv_btnmatrix_get_selected_btn(kb)); in lv_ime_pinyin_kb_event()
651 lv_obj_t * ta = lv_keyboard_get_textarea(pinyin_ime->kb); in lv_ime_pinyin_kb_event()
719 lv_keyboard_set_mode(pinyin_ime->kb, LV_KEYBOARD_MODE_TEXT_LOWER); in lv_ime_pinyin_kb_event()
777 lv_obj_t * ta = lv_keyboard_get_textarea(pinyin_ime->kb); in lv_ime_pinyin_cand_panel_event()
1116 lv_obj_t * ta = lv_keyboard_get_textarea(pinyin_ime->kb); in pinyin_k9_fill_cand()
1128 lv_obj_t * ta = lv_keyboard_get_textarea(pinyin_ime->kb); in pinyin_k9_cand_page_proc()