IP Library Granted Patent US 11,561,680
Granted Patent B2
US 11,561,680 · App. 17/374,707 · Granted Jan 24, 2023

Method and apparatus for adding icon to interface of android system, and mobile terminal

Inventor: Pei Wang (Shenzhen, CN)
Assignee: Huawei Device Co., Ltd.
G06F3/0483G06F3/0482G06F3/04817G06F3/04842G06F9/451H04M1/72469G06F3/0488
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,561,680
App. No.
17/374,707
Granted
Jan 24, 2023
Kind
B2
Abstract

A method for adding an icon to an interface of an Android system, where the Android system has N interfaces, includes: a. obtaining add command information; b. obtaining, according to the add command information, space information of an icon to be added; c. obtaining remaining space information of an M th interface according to the add command information; d. judging whether the space information of the icon to be added is greater than the remaining space information of the M th interface; if yes, executing step e; if no, executing step f; e. judging whether the M th interface is a last interface to be judged; if yes, executing step g; if no, assigning M+1 to M and returning to step c; f. adding the icon to the interface; and g. establishing another interface, and adding the icon to the newly established interface; where M and N are natural numbers, and 1≤M≤N.

Claims (48)

1. A method performed by a mobile terminal having N home screens of a display screen, the method comprising:

displaying an Mth home screen;

detecting a gesture that selects an icon associated with a widget for adding the widget;

obtaining space information of the widget;

determining whether the Mth home screen has available space for placing the widget based on the space information of the widget;

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is the last home screen, displaying the widget onto a new N+1 home screen of the display screen; and

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is not the last home screen, assigning M=M+1 to determine whether a home screen of the display screen following the Mth home screen has available space for placing the widget.

2. The method according to claim 1 , wherein the gesture is a press gesture.

3. The method according to claim 1 , wherein the Mth home screen includes a shortcut icon and a folder.

4. The method according to claim 1 , wherein the space information of the widget includes two-dimensional plane information of the widget.

5. The method according to claim 1 , wherein M and N are natural numbers, and N>M>1.

6. The method according to claim 1 , wherein determining whether the Mth home screen has available space for placing the widget based on the space information of the widget comprises:

obtaining remaining space information of an Mth home screen; and

determining the Mth home screen has available space for placing the widget when a size of the widget is smaller than space remaining on the Mth home screen.

7. The method according to claim 1 , wherein available space of the new N+1 home screen is the entire space of the display screen.

8. A mobile terminal comprising:

a display screen;

a memory storing instructions; and

a processor configured to execute the instructions to cause the mobile terminal to perform at least the following operations:

displaying an Mth home screen of the display screen;

detecting a gesture on the Mth home screen that selects an icon associated with a widget for adding the widget;

obtaining space information of the widget;

determining whether the Mth home screen has available space for placing the widget based on the space information of the widget;

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is the last home screen, displaying the widget onto a new N+1 home screen of the display screen; and

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is not the last home screen of the display screen, assigning M=M+1 to determine whether a home screen of the display screen following the Mth home screen has available space for placing the widget.

9. The mobile terminal according to claim 8 , wherein the gesture is a press gesture.

10. The mobile terminal according to claim 8 , wherein the Mth home screen includes a shortcut icon and a folder.

11. The mobile terminal according to claim 8 , wherein the space information of the widget includes two-dimensional plane information of the widget.

12. The mobile terminal according to claim 8 , wherein M and N are natural numbers, and N>M>1.

13. The mobile terminal according to claim 8 , wherein determining whether the Mth home screen has available space for placing the widget based on the space information of the widget comprises:

obtaining remaining space information of an Mth home screen; and

determining the Mth home screen has available space for placing the widget when a size of the widget is smaller than space remaining on the Mth home screen.

14. The mobile terminal according to claim 8 , wherein available space of the new N+1 home screen is the entire space of the display screen.

15. A non-transitory computer-readable storage medium having a program recorded thereon that, when executed by a processor, causes a mobile terminal to add an icon to a display screen of a mobile terminal that has an Mth home screen of the display screen, by performing at least the following operations:

displaying the Mth home screen;

detecting a gesture on the Mth home screen that selects an icon associated with a widget for adding the widget;

obtaining space information of the widget;

determining whether the Mth home screen has available space for placing the widget based on the space information of the widget;

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is the last home screen, displaying the widget onto a new N+1 home screen of the display screen; and

upon determining that the Mth home screen does not have available space for placing the widget and the Mth home screen is not the last home screen of the display screen, assigning M=M+1 to determine whether a home screen of the display screen following the Mth home screen has available space for placing the widget.

16. The non-transitory computer-readable storage medium according to claim 15 , wherein the gesture is a press gesture.

17. The non-transitory computer-readable storage medium according to claim 15 , wherein the Mth home screen includes a shortcut icon and a folder.

18. The non-transitory computer-readable storage medium according to claim 15 , wherein the space information of the widget includes two-dimensional plane information of the widget.

19. The non-transitory computer-readable storage medium according to claim 15 , wherein M and N are natural numbers, and N>M>1.

20. The non-transitory computer-readable storage medium according to claim 15 , wherein determining whether the Mth home screen has available space for placing the widget based on the space information of the widget comprises:

obtaining remaining space information of an Mth home screen; and

determining the Mth home screen has available space for placing the widget when a size of the widget is smaller than space remaining on the Mth home screen.

21. The non-transitory computer-readable storage medium according to claim 15 , wherein available space of the new N+1 home screen is the entire space of the display screen.

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE CORRECT THE COMPANY NAME OF THE COVEYING PARTY DATA PREVIOUSLY RECORDED AT REEL: 66893 FRAME: 671. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Apr 9, 2024
From: HUAWEI DEVICE CO., LTD.
To: BEIJING KUNSHI INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
Reel/Frame 067045/0860 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 25, 2024
From: HUAWEI TECHNOLOGIES CO., LTD.
To: BEIJING KUNSHI INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
Reel/Frame 066893/0671 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 13, 2021
From: WANG, PEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 056842/0350 →