/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.cpp | 138 // keyboard show callback in OnShow() 147 // keyboard show callback in OnHide() 190 UIViewGroup* keyboard = new UIViewGroup(); in SetupKeyboard() local 192 keyboard->Resize(KEYBOARD_WIDTH, KEYBOARD_HEIGHT); in SetupKeyboard() 193 keyboard->SetPosition(0, 45); // 45: position y in SetupKeyboard() 194 keyboard->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in SetupKeyboard() 195 keyboard->SetViewId("keyboard"); in SetupKeyboard() 196 container_->Add(keyboard); in SetupKeyboard() 199 keyboard in SetupKeyboard() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | web_pattern_test.cpp | 224 double keyboard = 0; in HWTEST_F() local 226 bool result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F() 229 result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F() 232 result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F() 234 keyboard = 1; in HWTEST_F() 235 result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F() 238 result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F() 255 double keyboard = 1; in HWTEST_F() local 260 bool result = g_webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in HWTEST_F()
|
H A D | mock_web_delegate.cpp | 1051 void WebDelegate::SetVirtualKeyBoardArg(int32_t width, int32_t height, double keyboard) {} in SetVirtualKeyBoardArg() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | textinput_composed_element.cpp | 213 auto keyboard = render->GetKeyboard(); in GetTextinputType() local 214 if (keyboard == TextInputType::NUMBER) { in GetTextinputType() 216 } else if (keyboard == TextInputType::VISIBLE_PASSWORD) { in GetTextinputType() 218 } else if (keyboard == TextInputType::EMAIL_ADDRESS) { in GetTextinputType() 220 } else if (keyboard == TextInputType::USER_NAME) { in GetTextinputType() 222 } else if (keyboard == TextInputType::NEW_PASSWORD) { in GetTextinputType()
|
/foundation/multimodalinput/input/intention/cooperate/plugin/src/ |
H A D | input_device_mgr.cpp | 126 FI_HILOGE("Local device have no keyboard, skip"); in NotifyInputDeviceToRemote() 133 for (const auto &keyboard : keyboards) { in NotifyInputDeviceToRemote() 134 if (SerializeDevice(keyboard, packet) != RET_OK) { in NotifyInputDeviceToRemote() 138 DispDeviceInfo(keyboard); in NotifyInputDeviceToRemote() 153 FI_HILOGI("Not keyboard, skip"); in BroadcastHotPlugToRemote() 225 FI_HILOGI(" is pointer: %{public}s, is keyboard:%{public}s", in DispDeviceInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/ |
H A D | web_pattern.cpp | 750 [weak = AceType::WeakClaim(this)](int32_t width, int32_t height, double keyboard) { in RegistVirtualKeyBoardListener() 753 return webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in RegistVirtualKeyBoardListener() 880 // Initialize events such as keyboard, focus, etc. in OnModifyDone() 895 bool WebPattern::ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard) in ProcessVirtualKeyBoard() argument 906 if (NearZero(keyboard)) { in ProcessVirtualKeyBoard() 912 if (drawSize_.Height() <= (height - keyboard - GetCoordinatePoint()->GetY())) { in ProcessVirtualKeyBoard() 916 if (height - GetCoordinatePoint()->GetY() < keyboard) { in ProcessVirtualKeyBoard() 919 drawSize_.SetHeight(height - keyboard - GetCoordinatePoint()->GetY()); in ProcessVirtualKeyBoard()
|
H A D | web_pattern.h | 484 bool ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard);
|
/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | render_web.cpp | 128 [weak = AceType::WeakClaim(this)](int32_t width, int32_t height, double keyboard) { in RegistVirtualKeyBoardListener() 131 return renderWeb->ProcessVirtualKeyBoard(width, height, keyboard); in RegistVirtualKeyBoardListener() 201 bool RenderWeb::ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard) in ProcessVirtualKeyBoard() argument 215 if (NearZero(keyboard)) { in ProcessVirtualKeyBoard() 223 if (drawSize_.Height() <= (height - keyboard - GetCoordinatePoint().GetY())) { in ProcessVirtualKeyBoard() 228 if (height - GetCoordinatePoint().GetY() < keyboard) { in ProcessVirtualKeyBoard() 231 drawSize_.SetHeight(height - keyboard - GetCoordinatePoint().GetY()); in ProcessVirtualKeyBoard() 305 // clear the recording position, for not move content when virtual keyboard popup when web get focused. in OnMouseEvent() 490 // clear the recording position, for not move content when virtual keyboard popup when web get focused. in HandleTouchDown()
|
H A D | render_web.h | 220 bool ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 60 TextInputType keyboard = TextInputType::TEXT; member 468 return attribute.keyboard; in GetTextInputType() 474 attribute.keyboard = type; in SetTextInputType()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 2310 void WebPattern::UpdateLayoutAfterKeyboardShow(int32_t width, int32_t height, double keyboard, double oldWebHeight) in UpdateLayoutAfterKeyboardShow() argument 2312 lastKeyboardHeight_ = keyboard; in UpdateLayoutAfterKeyboardShow() 2318 "KeyboardShow height:%{public}d, keyboard:%{public}f, offset:%{public}f, oldWebHeight:%{public}f", in UpdateLayoutAfterKeyboardShow() 2319 height, keyboard, GetCoordinatePoint()->GetY(), oldWebHeight); in UpdateLayoutAfterKeyboardShow() 2324 if (GreatOrEqual(height, keyboard + GetCoordinatePoint()->GetY())) { in UpdateLayoutAfterKeyboardShow() 2325 double newHeight = height - keyboard - GetCoordinatePoint()->GetY(); in UpdateLayoutAfterKeyboardShow() 2891 [weak = AceType::WeakClaim(this)](int32_t width, int32_t height, double keyboard) { in RegistVirtualKeyBoardListener() 2894 return webPattern->ProcessVirtualKeyBoard(width, height, keyboard); in RegistVirtualKeyBoardListener() 3077 // Initialize events such as keyboard, focus, etc. in OnModifyDone() 3210 bool WebPattern::ProcessVirtualKeyBoardShow(int32_t width, int32_t height, double keyboard, boo argument 3256 ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard) ProcessVirtualKeyBoard() argument [all...] |
H A D | web_pattern.h | 744 bool ProcessVirtualKeyBoardShow(int32_t width, int32_t height, double keyboard, bool safeAreaEnabled); 745 bool ProcessVirtualKeyBoard(int32_t width, int32_t height, double keyboard); 747 void UpdateLayoutAfterKeyboardShow(int32_t width, int32_t height, double keyboard, double oldWebHeight);
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_base.h | 959 bool NotifyVirtualKeyBoard(int32_t width, int32_t height, double keyboard) const in NotifyVirtualKeyBoard() 963 if (iterVirtualKeyBoardCallback && iterVirtualKeyBoardCallback(width, height, keyboard)) { in NotifyVirtualKeyBoard()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.h | 493 void BindKeyboardWithNode(const RefPtr<UINode>& keyboard, int32_t targetId);
|
H A D | overlay_manager.cpp | 116 // custom keyboard animation params 5444 void OverlayManager::BindKeyboardWithNode(const RefPtr<UINode>& keyboard, int32_t targetId) in BindKeyboardWithNode() argument 5452 auto customKeyboard = KeyboardView::CreateKeyboardWithNode(targetId, keyboard); in BindKeyboardWithNode() 6375 // page will not avoid keyboard when lastChild is sheet in CheckPageNeedAvoidKeyboard()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 97 void GetKeyboardFilter(TextInputType keyboard, std::string& keyboardFilterValue, bool useBlackList) in GetKeyboardFilter() argument 99 switch (keyboard) { in GetKeyboardFilter() 152 // If soft keyboard is still exist, close it. in ~RenderTextField() 263 LOGI("TextInput changed, close keyboard"); in Update() 283 LOGI("Action changed, close keyboard"); in Update() 894 LOGI("Out of rect, close keyboard"); in AddOutOfRectCallbackToContext() 1258 LOGI("Request open soft keyboard"); in RequestKeyboard() 1265 LOGE("Request open soft keyboard failed because input method is null."); in RequestKeyboard() 1320 LOGI("Request close soft keyboard"); in CloseKeyboard() 1324 LOGE("Request close soft keyboard faile in CloseKeyboard() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.h | 1001 void SetVirtualKeyBoardArg(int32_t width, int32_t height, double keyboard);
|
H A D | web_delegate.cpp | 6596 void WebDelegate::SetVirtualKeyBoardArg(int32_t width, int32_t height, double keyboard) in SetVirtualKeyBoardArg() argument 6599 nweb_->SetVirtualKeyBoardArg(width, height, keyboard); in SetVirtualKeyBoardArg()
|