# US 12,112,014 B2 · Widget display method and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,112,014 B2
- Document ID: US12112014B2
- Status: Granted
- Kind: B2
- Application number: 18/261,115
- Filed: 2022-01-05
- Published: 2024-03-07
- Granted: 2024-10-08
- Earliest claimed: 2021-01-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yanan Zhang; Hongjun Wang
- Web page: https://patentgrep.com/patent/US12112014B2

## CPC

- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 9/451: Execution arrangements for user interfaces
- G06Q 10/109: Time management, e.g. calendars, reminders, meetings or time accounting
- H04M 1/72448: with means for adapting the functionality of the device according to specific conditions
- H04M 1/72442: for playing music files
- H04M 1/72451: according to schedules, e.g. using calendar applications
- H04M 1/72454: according to context-related or environment-related conditions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

This application provides a widget display method applied to an electronic device, and the method includes: displaying, in a first area of a first page of a home screen, a first widget that has a first size; in response to detecting that an ongoing task exists in a first application, simultaneously displaying, in the first area, a widget of the first application and the first widget with the size reduced, where the widget of the first application displays first content, the widget of the first application has a second size, and the second size is less than the first size; and in response to the fact that the electronic device meets a preset condition, enlarging the size of the widget of the first application, where the enlarged widget displays more content than the first content. This application provides a widget display method and an electronic device, to improve user experience.

## Claims

### Claim 1

A widget display method applied to an electronic device, wherein the method comprises:
displaying, in a first area of a first page of a home screen, a first widget that has a first size;
detecting that an ongoing task exists in a first application;
in response to the detecting that the ongoing task exists in the first application, simultaneously displaying, in the first area, the first widget with a reduced size and a widget of the first application with a second size, wherein the widget of the first application displays first content, and the second size of the widget of the first application is less than the first size;
detecting that the electronic device meets a preset condition; and
in response to the detecting that the electronic device meets the preset condition, enlarging the size of the widget of the first application and stopping displaying the first widget.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the enlarged widget of the first application displays more content than the first content.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the enlarging the size of the widget of the first application comprises: enlarging the size of the widget of the first application from the second size to the first size.

### Claim 4 (depends on 1)

The method according to claim 1, wherein when the widget of the first application and the first widget with the reduced size are simultaneously displayed, the method further comprises:
detecting that an ongoing task exists in a second application; and
in response to the detecting that the ongoing task exists in the second application, stopping displaying the first widget, and simultaneously displaying the widget of the first application and a widget of the second application in the first area.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the method further comprises:
determining that the priority of the widget of the second application is higher than at least one of the first widget and the widget of the first application.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the first application is a schedule application, and the detecting that the ongoing task exists in the first application comprises at least one of the following:
determining, by identifying schedule content in the schedule application, that a time difference between system time of the electronic device and time in the schedule content is less than a first time threshold; or
determining, by identifying schedule content in the schedule application, that a distance difference between a geographical location of the electronic device and a geographical location in the schedule content is less than a first distance threshold.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the preset condition comprises at least one of the following conditions:
determining that the time difference between the system time of the electronic device and the time in the schedule content is less than a second time threshold, wherein the second time threshold is less than the first time threshold; or
determining that the distance difference between the geographical location of the electronic device and the geographical location in the schedule content is less than a second distance threshold, wherein the second distance threshold is less than the first distance threshold.

### Claim 8 (depends on 1)

The method according to claim 1, wherein when the widget of the first application and the first widget with the reduced size are simultaneously displayed, the method further comprises:
detecting a pinch gesture, wherein a first contact point of the pinch gesture is in contact with the widget of the first application, and a second contact point of the pinch gesture is in contact with the first widget; and
in response to the pinch gesture, combining the widget of the first application and the first widget into a first composite widget for displaying in the first area.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the method further comprises:
detecting that the system time of the electronic device exceeds an end time in the schedule content; and
in response to the detecting that the system time of the electronic device exceeds the end time in the schedule content, stopping displaying the widget of the first application, and displaying, in the first area, the first widget that has the first size.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the detecting that the ongoing task exists in the first application further comprises:
detecting, by using a broadcast receiver component, that the ongoing task exists in the first application.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the detecting that the ongoing task exists in the first application further comprises:
detecting, by using a service component in the first application, that the ongoing task exists in the first application.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the detecting that the ongoing task exists in the first application further comprises:
detecting that the ongoing task of the first application with a same user account logged-on exists on another electronic device; or
after the electronic device is paired with another electronic device, detecting that the ongoing task of the first application exists on another electronic device.

### Claim 13 (depends on 1)

The method according to claim 1, wherein the first area is above the first page.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the ongoing task is playing music.

### Claim 15

An electronic device, comprising:
a display, a memory, and one or more processors, wherein the memory comprises instructions, and when the instructions are executed by the one or more processors, the electronic device is enabled to perform:
displaying, in a first area of a first page of a home screen, a first widget that has a first size;
detecting that an ongoing task exists in a first application;
in response to the detecting that the ongoing task exists in the first application, simultaneously displaying, in the first area, the first widget with a reduced size and a widget of the first application with a second size, wherein the widget of the first application displays first content, and the second size of the widget of the first application is less than the first size;
detecting that the electronic device meets a preset condition; and
in response to the detecting that the electronic device meets the preset condition, enlarging the size of the widget of the first application and stopping displaying the first widget.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the enlarged widget of the first application displays more content than the first content.

### Claim 17 (depends on 15)

The electronic device according to claim 15, wherein the enlarging the size of the widget of the first application comprises: enlarging the size of the widget of the first application from the second size to the first size.

### Claim 18 (depends on 15)

The electronic device according to claim 15, wherein when the widget of the first application and the first widget with the reduced size are simultaneously displayed, the instructions are executed by the one or more processors, the electronic device is further enabled to perform:
detecting that an ongoing task exists in a second application; and
in response to the detecting that the ongoing task exists in the second application, stopping displaying the first widget, and simultaneously displaying the widget of the first application and a widget of the second application in the first area.

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the instructions are executed by the one or more processors, the electronic device is further enabled to perform:
determining that the priority of the widget of the second application is higher than at least one of the first widget and the widget of the first application.

### Claim 20 (depends on 15)

The electronic device according to claim 15, wherein the first area is above the first page.
