Method and terminal device for adjusting widget

US10013151B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10013151-B2
Application numberUS-201414586848-A
CountryUS
Kind codeB2
Filing dateDec 30, 2014
Priority dateAug 15, 2012
Publication dateJul 3, 2018
Grant dateJul 3, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure discloses a method and a terminal device for adjusting a widget. The method includes: acquiring a size value of the widget on an interface of a terminal device after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; and determining the number of grids occupied by the widget according to size values of each grid in the second grid configuration.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for adjusting a widget displayed on an interface of a terminal device, comprising: acquiring, by a processor of the terminal device, a size value of the widget displayed on the interface after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; determining, by the processor, the number of grids occupied by the widget according to size values of each grid in the second grid configuration; adjusting, by the processor, a displayed location of the widget on the interface according to the number of grids occupied by the widget if the widget is located on the interface; and adjusting, by the processor, grid attributes displayed by the widget according to the number of grids occupied by the widget if the widget is not located on the interface; displaying, by a screen of the terminal device, the widget on the interface of the terminal device. 2. The method according to claim 1 , wherein switching the grid configuration of the interface from the first grid configuration to the second grid configuration comprises: acquiring, by the processor, a selected second grid configuration after receiving a request for switching the grid configuration of the interface; removing, by the processor, the first grid configuration; and adopting, by the processor, the second grid configuration as the current grid configuration of the interface. 3. The method according to claim 1 , wherein determining the number of grids occupied by the widget according to the size values of each grid in the second grid configuration comprises: acquiring, by the processor, a length ratio by comparing a length of the widget with a length of a grid; acquiring, by the processor, a width ratio by comparing a width of the widget with a width of the grid; and obtaining, by the processor, the number of latitudinal grids occupied by the widget according to the length ratio and the number of longitudinal grids occupied by the widget according to the width ratio. 4. The method according to claim 1 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget comprises: aligning, by the processor, the widget with grids if the number of grids occupied by the widget is an integer; and aligning, by the processor, the widget with a center at its external-connected grids if the number of grids occupied by the widget is not an integer. 5. The method according to claim 4 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget further comprises: aligning, by the processor, the widget with the grids after the length or the width of the widget is stretched or contracted to be an integer, if the number of grids occupied by the widget is not an integer. 6. The method according to claim 3 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget comprises: aligning, by the processor, the widget with grids if the number of grids occupied by the widget is an integer, and aligning, by the processor, the widget with a center at its external-connected grids if the number of grids occupied by the widget is not an integer. 7. The method according to claim 6 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget further comprises: aligning the widget with the grids after the length or the width of the widget is stretched or contracted to be an integer, if the number of grids occupied by the widget is not an integer. 8. A terminal device for adjusting a widget displayed on an interface of the terminal device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to perform: acquiring a size value of the widget displayed on the interface after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; determining the number of grids occupied by the widget according to size values of each grid in the second grid configuration; adjusting a displayed location of the widget on the interface according to the number of grids occupied by the widget if the widget is located on the interface; and adjusting grid attributes displayed by the widget according to the number of grids occupied by the widget if the widget is not located on the interface; displaying, by a screen of the terminal device, the widget on the interface of the terminal device. 9. The terminal device according to claim 8 , wherein switching the grid configuration of the interface from the first grid configuration to the second grid configuration comprises: acquiring a selected second grid configuration after receiving a request for switching the grid configuration of the interface; removing the first grid configuration; and adopting the second grid configuration as the current grid configuration of the interface. 10. The terminal device according to claim 8 , wherein determining the number of grids occupied by the widget according to the size values of each grid in the second grid configuration comprises: acquiring a length ratio by comparing a length of the widget with a length of a grid; acquiring a width ratio by comparing a width of the widget with a width of the grid; and obtaining the number of latitudinal grids occupied by the widget according to the length ratio and the number of longitudinal grids occupied by the widget according to the width ratio. 11. The terminal device according to claim 8 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget comprises: aligning the widget with grids if the number of grids occupied by the widget is an integer; and aligning the widget with a center at its external-connected grids if the number of grids occupied by the widget is not an integer. 12. The method according to claim 11 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget further comprises: aligning the widget with the grids after the length or the width of the widget is stretched or contracted to be an integer, if the number of grids occupied by the widget is not an integer. 13. The terminal device according to claim 10 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget comprises: aligning the widget with grids if the number of grids occupied by the widget is an integer, and aligning the widget with a center at its external-connected grids if the number of grids occupied by the widget is not an integer. 14. The terminal device according to claim 13 , wherein adjusting the displayed location of the widget on the interface according to the number of grids occupied by the widget comprises: aligning the widget with the grids after the length or the width of the widget is stretched or contracted to be an integer, if the number of grids occupied by the widget is not an integer. 15. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal device, causes the terminal device to perform a method for adjusting a widget displayed on an interface of the terminal device, the method comprising: acquiring a size value of the widget displayed on the interface after switching a grid configurati

Assignees

Inventors

Classifications

  • G06F3/0481Primary

    based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance · CPC title

  • Split screen, i.e. subdividing the display area or the window area into separate subareas · CPC title

  • Electricity · mapped topic

  • G06F3/0484Primary

    for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range · CPC title

  • with means for local support of applications that increase the functionality · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10013151B2 cover?
The present disclosure discloses a method and a terminal device for adjusting a widget. The method includes: acquiring a size value of the widget on an interface of a terminal device after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; and determining the number of grids occupied by the widget according to size values of each grid…
Who is the assignee on this patent?
Xiaomi Inc
What technology area does this patent fall under?
Primary CPC classification G06F3/0481. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 03 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).