Method and Apparatus for Creating Desktop Widget, and Terminal Device
Abstract
A method and an apparatus for creating a desktop widget are provided that pertain to the terminal device field. The method includes acquiring a desktop widget framework of a desktop widget, where the desktop widget framework is used to hold at least two desktop widget units, and the desktop widget framework includes at least two desktop widget configuration areas; controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, where the first movement operation is used to move the first desktop widget unit; and positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends. The present invention achieves a purpose of implementing multiple Widgets in one desktop widget framework, which improves personalization of terminal device configuration.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for creating a desktop widget, comprising:
acquiring a desktop widget framework of the desktop widget, wherein the desktop widget framework is configured to hold at least two desktop widget units, and the desktop widget framework comprises at least two desktop widget configuration areas; controlling, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, wherein the first movement operation is configured to move the first desktop widget unit; and positioning the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, wherein the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
2 . The method according to claim 1 , wherein acquiring the desktop widget framework of the desktop widget, wherein the desktop widget framework comprises at least two desktop widget configuration areas comprises:
displaying at least one desktop widget framework of the desktop widget; and acquiring a desktop widget framework corresponding to a first touchscreen operation when the first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, wherein the first touchscreen operation is configured to select the at least one desktop widget framework.
3 . The method according to claim 1 , wherein after acquiring the desktop widget framework of the desktop widget, the method further comprises:
controlling, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, wherein the second movement operation is configured to move the second desktop widget unit; and positioning the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, wherein the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends, and wherein the second desktop widget unit maps to the first application program or a second application program.
4 . The method according to claim 1 , wherein positioning the first desktop widget unit in the first specified desktop widget configuration area when the first movement operation ends, wherein the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to the first application program comprises positioning the first desktop widget unit in the first specified desktop widget configuration area when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, wherein the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and wherein the first desktop widget unit maps to the first application program.
5 . The method according claim 1 , wherein after positioning the first desktop widget unit in the first specified desktop widget configuration area when the first movement operation ends, the method further comprises:
saving positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; loading each desktop widget unit according to saved layout information of each desktop widget unit when a second touchscreen operation performed on the desktop widget is received; and displaying each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, wherein the second touchscreen operation is configured to start the desktop widget.
6 . An apparatus for creating a desktop widget, comprising:
a framework acquiring module configured to acquire a desktop widget framework of the desktop widget, wherein the desktop widget framework is configured to hold at least two desktop widget units, and the desktop widget framework comprises at least two desktop widget configuration areas; a control module configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, wherein the first movement operation is configured to move the first desktop widget unit; and a positioning module configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, wherein the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
7 . The apparatus according to claim 6 , wherein the framework acquiring module is configured to:
display at least one desktop widget framework of the desktop widget; and acquire a desktop widget framework corresponding to a first touchscreen operation when the first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, wherein the first touchscreen operation is configured to select the at least one desktop widget framework.
8 . The apparatus according to claim 6 , wherein the control module is further configured control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, wherein the second movement operation is configured to move the second desktop widget unit, wherein the positioning module is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, wherein the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends, and wherein the second desktop widget unit maps to the first application program or a second application program.
9 . The apparatus according to claim 6 , wherein the positioning module is configured to position the first desktop widget unit in the first specified desktop widget configuration area when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, wherein the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and wherein the first desktop widget unit maps to the first application program.
10 . The apparatus according to claim 6 , wherein the apparatus further comprises:
a storing module configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit; and a loading module configured to:
load each desktop widget unit according to saved layout information of each desktop widget unit when a second touchscreen operation performed on the desktop widget is received; and
display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, wherein the second touchscreen operation is configured to start the desktop widget.
11 . A terminal device, comprising:
a processor configured to acquire a desktop widget framework of a desktop widget, wherein the desktop widget framework is configured to hold at least two desktop widget units, and the desktop widget framework comprises at least two desktop widget configuration areas, wherein the processor is further configured to control, according to a first movement operation performed on a first desktop widget unit, the first desktop widget unit to move along a movement track of the first movement operation, wherein the first movement operation is configured to move the first desktop widget unit, and wherein the processor is further configured to position the first desktop widget unit in a first specified desktop widget configuration area when the first movement operation ends, wherein the first specified desktop widget configuration area is a blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and the first desktop widget unit maps to a first application program.
12 . The terminal device according to claim 11 , wherein the processor is configured to:
display at least one desktop widget framework of the desktop widget; and acquire a desktop widget framework corresponding to a first touchscreen operation when the first touchscreen operation performed on any desktop widget framework in the at least one desktop widget framework is received, wherein the first touchscreen operation is configured to select the at least one desktop widget framework.
13 . The terminal device according to claim 11 , wherein the processor is further configured to control, according to a second movement operation performed on a second desktop widget unit, the second desktop widget unit to move along a movement track of the second movement operation, wherein the second movement operation is configured to move the second desktop widget unit, wherein the processor is further configured to position the second desktop widget unit in a second specified desktop widget configuration area when the second movement operation ends, wherein the second specified desktop widget configuration area is a blank desktop widget configuration area in which the second movement operation is located when the second movement operation ends, and wherein the second desktop widget unit maps to the first application program or a second application program.
14 . The terminal device according to claim 11 , wherein the processor is configured to position the first desktop widget unit in the first specified desktop widget configuration area when the first movement operation ends, and an overlap ratio of the first desktop widget unit to the desktop widget configuration area in which the end point of the first movement operation is located is greater than or equal to a preset ratio, wherein the first specified desktop widget configuration area is the blank desktop widget configuration area in which the first movement operation is located when the first movement operation ends, and wherein the first desktop widget unit maps to the first application program.
15 . The terminal device according to claim 11 , wherein the terminal device further comprises a memory configured to save positioning information of the positioned first desktop widget unit in the desktop widget framework as layout information of the first desktop widget unit, wherein the processor is further configured to load each desktop widget unit according to saved layout information of each desktop widget unit when a second touchscreen operation performed on the desktop widget is received, and display each desktop widget unit at a location, corresponding to the layout information of each desktop widget unit, in the desktop widget, wherein the second touchscreen operation is configured to start the desktop widget.Join the waitlist — get patent alerts
Track US2015113427A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.