-
公开(公告)号:US20200257558A1
公开(公告)日:2020-08-13
申请号:US16754563
申请日:2017-10-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Zhenchao Lin , Chao Ding , Lei Liu , Shun Xu , Bo Liu , Meng Deng , Shoudong Lu , Wei Zhao , Jianhai Lu
Abstract: A processing method and an apparatus, applied to the process of Binder communication, to resolve a problem that a normal communication service of an Android system is affected due to Binder thread exhaustion. The processing method comprises: when a. quantity of application threads in an application process of an application is greater than or equal to a first threshold, determining a quantity of Binder threads, the Binder threads are occupied by the application process, the application process is in each interface in a system server process (S301), wherein one application thread in the application process corresponds to one Binder thread in the system server process; and keeping a quantity of Binder threads not greater than a second threshold, the Binder threads are occupied by the application process, the application process is in at least one interface in the system server process (S302).
-
公开(公告)号:US20250047774A1
公开(公告)日:2025-02-06
申请号:US18926853
申请日:2024-10-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chang Shan , Zhenchao Lin , Dong Lu , Shun Xu , Jianhai Lu
IPC: H04M1/72454 , G09G3/20 , H04M1/02 , H04M1/72469
Abstract: A display method includes a terminal that detects a first trigger event, and determines, based on the first trigger event, that a first application is in a large-screen display mode. The terminal obtains an internal element of a control on a first user interface. The terminal determines a scaling size of the element, and determines a layout of the internal element of the control based on the scaling size of the element and a screen size in the large-screen display mode. The terminal draws a second user interface based on the scaling size of the element and the layout of the internal element of the control, and displays the second user interface.
-