-
公开(公告)号:US20230315148A1
公开(公告)日:2023-10-05
申请号:US18306717
申请日:2023-04-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dinggeng Fang , Ming Li , Puyao Qiao , Haishan Lu
IPC: G06F1/16 , G06F1/3246
CPC classification number: G06F1/1626 , G06F1/3246 , G06F2200/1614 , G06F2200/1637
Abstract: An interface display method and an electronic device are provided. The method includes: performing screen-on interception in response to a screen wakeup operation performed by a user on an electronic device, to prevent a screen from being lit up; drawing an interface adapted to a screen orientation; and after the interface is drawn, disabling screen-on interception, and displaying the interface based on the screen orientation. The electronic device may collect and report data in real time through a sensor, and calculate a current screen orientation in real time, so that the drawn interface adapts to the current screen orientation.