-
公开(公告)号:US20240361897A1
公开(公告)日:2024-10-31
申请号:US18580897
申请日:2023-01-06
Applicant: Honor Device Co., Ltd.
Inventor: Chaojie Yan , Junfeng Liu
IPC: G06F3/04847 , G06F1/16 , G06F3/04842 , G06F3/04845 , H04M1/02
CPC classification number: G06F3/04847 , G06F1/1641 , G06F1/1652 , G06F1/1677 , G06F3/04842 , G06F3/04845 , H04M1/0268 , G06F2203/04803
Abstract: An electronic device displays a first interface by using the first display screen; the electronic device displays a second interface in response to a first operation on the first window or the second window; the second interface includes a first floating window, the first window, the second window, and the first slide bar; and a width of the first floating window is less than that of the first display screen, the first floating window is a non-modal dialog box, and the first floating window satisfies a first state.
-
公开(公告)号:US20240127007A1
公开(公告)日:2024-04-18
申请号:US18004797
申请日:2022-08-18
Applicant: Honor Device Co., Ltd.
Inventor: Junfeng Liu , Chaojie Yan
IPC: G06F40/58 , G06F3/0482 , G06F3/0488
CPC classification number: G06F40/58 , G06F3/0482 , G06F3/0488 , G06F2203/04803
Abstract: Embodiments of this application provide a translation method and an electronic device. In a scenario in which foreign literature needs to be consulted, a user selects a to-be-translated word, an option bar that includes a copy option and a translation option is displayed, a floating window is displayed on a current page of a current application based on different operations of the user, and a translation result of the word is presented in the floating window. In addition, the floating window does not preempt a focus with a page window of the current application. Therefore, after querying the word, the user can continue to browse the original text without closing the floating window. In a process of continuing to browse a page on the current application, when the user needs to query a new word, the user selects the word. Based on different operations of the user, the floating window may be displayed on the current page of the current application, and a translation result of the word is displayed in the floating window. This is particularly applicable to a scenario in which the user requires continuous translation. In a process in which the user uses the application, experience of browsing the original text by the user is not affected.
-