Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method of Moving Icons Based on Grid Algorithm

An icon and grid technology, applied in the field of icon movement based on the grid algorithm, can solve the problems of fixed position of icons on each page, inability to add, setting the number of icons, limited number of icons, etc.

Active Publication Date: 2021-02-26
SHANGHAI PUTAO TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of the above method is that the icon position is preset in advance, and the number of icons placed on each page is determined. Users cannot add or set the number of icons on each page at will according to their own needs.
[0004] Therefore, there is an urgent need for an icon moving method based on a grid algorithm in the field of computer application technology. Through the grid algorithm, after adding or deleting icons on the same page, the number of grids, the position of each grid, and the number of grids can be recalculated. Each icon is correspondingly placed in a new grid position, which solves the problems in the prior art that the position of icons on each page of the main interface is fixed and the number of icons is limited.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Method of Moving Icons Based on Grid Algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] An icon moving method based on a grid algorithm, comprising:

[0035] 1) Add a new icon to the main interface to move the existing icons on the main interface to this page;

[0036] 2) Delete icons from the main interface, prompting the remaining icons to move on this page;

[0037] 3) If the icon is moved on the same page of the main interface, the position of the icon will be exchanged.

Embodiment 2

[0039] A method for moving icons based on a grid algorithm, comprising the following steps:

[0040] figure 1 It is a flow chart of a new icon moving method based on grid algorithm in the present invention.

[0041] Such as figure 1 As shown, 1) Add a new icon to the main interface to move the original icon on the main interface to this page, specifically including:

[0042] a) Before adding new icons to the main interface, the main interface recalculates the number of icons after adding new icons;

[0043] b) Move the remaining icons on this page according to the number of icons calculated in a), specifically including:

[0044] c) According to the number of icons calculated in a), the main interface is divided into n grids, and the value of n is equal to the number of icons, and the position of each grid is calculated. The specific formula is:

[0045] First, assuming that the width of the main interface is x and needs to be divided into n grids, then calculate the cente...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to the field of computer application technology, and provides an icon moving method based on a grid algorithm, including: adding a new icon to the main interface, prompting the original icon on the main interface to move on this page; deleting the icon from the main interface Icons, prompting the rest of the icons to move on this page; moving icons on the same page of the main interface, the icon positions will be exchanged. Preferably, before adding new icons to the main interface, the main interface recalculates the number of icons added or deleted; the main interface is divided into n or N grids, n or N The value of is equal to the number of icons, and the position of each grid is calculated; according to the order of the existing icons on this page, and the position of newly added or deleted icons, the order of the new icon list and each icon on this page are calculated New position, just move each icon to the corresponding grid position. The invention solves the problems in the prior art that the positions of icons on each page of the main interface are fixed and the number of icons is limited.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to an icon moving method based on a grid algorithm. Background technique [0002] For mobile operating systems including tablet PCs and mobile phones, due to the openness of Android, most domestic manufacturers of mobile phones and tablet PCs use secondary development operating systems based on the Android operating system. [0003] At present, a large amount of application software is often installed on smart phones, and users can adjust icon positions according to personal preferences and usage habits. The current approach adopted by the Android version is to reserve a position in advance and wait for the user to add an icon to this empty position. If no icon is added, this position is blank. The disadvantage of the above approach is that the positions of the icons are preset in advance, and the number of icons placed on each page is determined, and the user cannot ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0481
CPCG06F3/04817
Inventor 张峰
Owner SHANGHAI PUTAO TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More