CN103605464B - A kind of desktop application icon is across screen merging method - Google Patents

A kind of desktop application icon is across screen merging method Download PDF

Info

Publication number
CN103605464B
CN103605464B CN201310628516.6A CN201310628516A CN103605464B CN 103605464 B CN103605464 B CN 103605464B CN 201310628516 A CN201310628516 A CN 201310628516A CN 103605464 B CN103605464 B CN 103605464B
Authority
CN
China
Prior art keywords
icon
desktop
animation
screen
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310628516.6A
Other languages
Chinese (zh)
Other versions
CN103605464A (en
Inventor
张剑文
张肖保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhang Jianwen
Original Assignee
HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd filed Critical HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201310628516.6A priority Critical patent/CN103605464B/en
Publication of CN103605464A publication Critical patent/CN103605464A/en
Application granted granted Critical
Publication of CN103605464B publication Critical patent/CN103605464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a kind of desktop application icon is across screen merging method, its step is:1)Event sniffer is pressed to all icons registration length, icon lower-left, the upper right corner is pressed to length deletion, addition packet button is set;2)Click event is added to all icons, be will click on icon and be added in the group icons set of operating system;3)Application icon to be combined in each screen of the toggle screen that horizontally slips selection, method is with step 2);4)Click chooses icon to judge click location coordinate on the table, and judgement is into packet flow process or calls the interface for deleting application program;5)New file is created in click location, new icon is created and new icon is moved to into new folder position;Clicked icon is added sequentially to into new folder, new icon is deleted, is shown new folder;6)Icon will move forward with the part that fills a vacancy below;7)All icon location informations in desktop screen are synchronized in data base.

Description

A kind of desktop application icon is across screen merging method
Technical field
The present invention relates to a kind of application program of mobile phone processing method, especially with regard to one kind by multiple application drawings The desktop application icon that mark merges is across screen merging method.
Background technology
At present, when merging to desktop application icon in smart mobile phone, user needs to want to merge Application icon drag to another icon after carry out union operation, if it is desired to by other screens should In being pressed from both sides with this document that icon also merges, need the icon on other screens is dragged after length is by operation To the page that file is located, can just be put in this document folder, if it is desired to which multiple application icons are merged Need frequently to carry out the above operation during to a file, it is comparatively laborious.
The content of the invention
For the problems referred to above, it is an object of the invention to provide a kind of desktop application icon is across screen merging method, The method can be prevented effectively from troublesome operation when the multiple application icons of mobile phone desktop merge, and improve operation effect Rate.
For achieving the above object, the present invention takes technical scheme below:A kind of desktop application icon is closed across screen And method, which comprises the following steps:1)Desktop presses event sniffer, user to all icons registration length When length presses desktop icons, operating system is obtained with the head of a household is by event and calls the length of registration by action listener Device;To long by event, in traversal desktop, in addition to the icon being long pressed, all icons do and reduce desktop reception Animation, reduced icon enter editing mode, and press figure to long by operating system by the way of drawing The target lower left corner and the upper right corner are respectively provided with deletion button and addition packet button;2)Desktop is to all figures Mark addition click event, user trigger click event after clicking on icon, and operating system judges whether desktop is located In editing mode, amplification animation, and the figure that will click on are done to the click icon if in editing mode Mark is added in the group icons set of operating system;3)User horizontally slips toggle screen, selects each Application icon to be combined in individual screen, its operational approach and step 2)In the same manner;4)User clicks on choosing Middle icon, operating system judge click location x-axis on the table, y-axis coordinate, if click location In the packet button area in the clicked icon upper right corner, then into step 5)In carry out packet flow process;Such as Deletion button area of the fruit click location in the clicked icon lower left corner, then call deletion to answer by operating system With the interface of program;5)Desktop creates new file in click location first and is hidden in clicked figure At mark, new icon is created according to the APP icons of group icons set in operating system then, and is added To the superiors of desktop screen, and new icon is moved to into new folder position;Again by group icons Clicked icon in set is added sequentially in new folder, while deleting new icon;Finally show New folder;6)After the completion of packet, all icons exit editing mode, recover to life size, are closed And icon can have vacant position in former screen, then operating system travels through all of desktop screen, and by icon Be added in the original data acquisition system of operating system according to sequencing, according to the order in data acquisition system according to It is secondary to put in screen, realize icon below being moved forward with the part that fills a vacancy;7)Icon is closed And after the completion of, data processing module is notified by operating system, by all icon location informations in desktop screen It is synchronized in data base, after starting next time, the grouping information of user will not then disappear.
Further, the step 1)In, in addition to the icon being long pressed, all icons reduce method For:First, all icons on desktop are done by diminution animation operation by function enterScale (), if There is icon already at deflated state, then do not process;Conversely, being respectively created one to the icon of all diminutions Individual animation object;Secondly, animation object by function setDuration () arrange the animation persistent period, Animation is arranged by function setInterpolator () and plays form;Finally, by function AddUpdatelistener () arranges animation audiomonitor, reduces the animation for listening to by animation audiomonitor Process is transmitted to operating system, after the completion of animation is listened to, is changed by operating system and is zoomed out icon Size.
Further, the step 1)In, the desktop registration length by event sniffer method is:Pass through Function setOnLongClickListener()Length is pressed into event sniffer and all icons associations of desktop, Event sniffer is pressed to each icon addition length.
Further, the step 2)In, the method that the click icon amplifies animation is:First, lead to Cross function exitScale () and clicked icon on desktop is done into amplification animation operation, if clicking on icon In magnifying state, then do not process;Conversely, creating an animation object to clicking on icon;Secondly, move Object is drawn by function setDuration () the setting animation persistent period, by function SetInterpolator () arranges animation and plays form;Finally, by function addUpdatelistener () Animation audiomonitor is set, the animation amplification process for listening to is transmitted to operating system by animation audiomonitor, After the completion of animation is listened to, the size of icon to be amplified is changed by operating system, amplify and click on icon.
Further, the step 5)In, the creation method of the new icon is:First, by function CreatDragBitmap () creates a new icon, is obtained by function getLocationInDragLayer () To position of the clicked icon in desktop screen;Secondly, newly schemed according to the position calculation of clicked icon The x-axis position being marked in desktop screen and y-axis position;Finally, according to the x-axis and y-axis for calculating New icon is placed on the position by position, completes the addition of the new icon of desktop screen, and in desktop screen Middle display animation.
Due to taking above technical scheme, which has advantages below to the present invention:1st, the present invention is due to adopting Event sniffer is pressed to all icons registration length, and is respectively provided with by the lower left corner and the upper right corner of icon in length Delete button and addition packet button so as to the editor of application icon faster, it is more convenient, by user's All application icons are classified, and create multiple files, improve operating efficiency and user's impression.2、 The present invention is long by any application icon in desktop, and icon can enter into editing mode, and click is wanted to merge To the application icon in a file, it is also possible to select the application icon on other screens, after the completion of selection Any application icon is clicked on, all icons for selecting just now are merged into into a file automatically using meeting In, including the application icon on other screens, so as to reduce number of times of the user to same operation, save User time.3rd, the present invention need not be by application icon dragging one by one(Or drag across screen)Enter Row union operation, efficiently solves and merges between screen that application icon is cumbersome, needs to carry out repeatedly Icon could be merged into the problem in a file by dragging, and application icon is dragged between screen Problem that can be more loaded down with trivial details between same screen is compared in the operation of merging.4th, the present invention can be by same screen The application icon of curtain is disposably merged into same file folder, reduces user to the anti-of same operation Again count, faster, more easily meet the demand of user.The present invention can extensively in smart mobile phone Using.
Description of the drawings
Fig. 1 is the overall structure diagram of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is described in detail.
As shown in figure 1, the present invention provides a kind of mobile phone desktop application icon across screen merging method, which includes Following steps:
1)Desktop presses event sniffer to all icons registration length, when pressing desktop icons with the head of a household, operation System is obtained with the head of a household is by event and calls the length of registration by event sniffer;Desktop reception is to long by thing Part, in traversal desktop, in addition to the icon being long pressed, all icons do diminution animation, and reduced icon enters Enter editing mode, and pressed the lower left corner and the upper right corner point of icon by operating system by the way of drawing to length Button and addition packet button She Zhi not be deleted;
Wherein, desktop registration length by event sniffer method is:By function setOnLongClickListener()Length is pressed into event sniffer and all icons associations of desktop, to every Individual icon addition length presses event sniffer;
In addition to the icon being long pressed, all icons diminution methods are:First, by function enterScale () All icons on desktop are done into diminution animation operation, if having icon already at deflated state, is not located Reason;Conversely, being respectively created an animation object to the icon of all diminutions;Secondly, animation object passes through Function setDuration () is arranged the animation persistent period, is arranged by function setInterpolator () Animation plays form;Finally, animation audiomonitor is arranged by function addUpdatelistener (), by moving Draw audiomonitor the animation for listening to diminution process to be transmitted to operating system, after the completion of animation is listened to, Changed by operating system and be zoomed out the size of icon, that is, reduce the big of in addition to icon is long pressed all icons It is little.
2)Desktop adds click event to all icons(Icon is pressed including length and icon is reduced), Yong Hudian Click event is triggered after hitting icon, whether operating system judges desktop in editing mode, if in volume The state of collecting then does amplification animation to the click icon, and the icon that will click on is added to the packet of operating system In icon set;
Wherein, the method for click icon amplification animation is:First, by function exitScale () by table On face, clicked icon does amplification animation operation, if clicking on icon already at magnifying state, does not process; Conversely, creating an animation object to clicking on icon;Secondly, animation object passes through function setDuration () The animation persistent period is set, animation broadcasting form is set by function setInterpolator ();Finally, Animation audiomonitor is arranged by function addUpdatelistener (), it is dynamic by what is listened to by animation audiomonitor Draw amplification process to transmit to operating system, after the completion of animation is listened to, change to be amplified by operating system The size of icon, that is, amplify and click on icon.
3)User can horizontally slip toggle screen, select the application icon to be combined in each screen, Its operational approach and step 2)It is identical, will not be described here.
4)User clicks on and chooses icon, and operating system judges click location x-axis on the table, y-axis seat Mark, if click location is in the packet button area in the clicked icon upper right corner, into step 5)In Carry out packet flow process;If click location is in the deletion button area in the clicked icon lower left corner, by grasping The interface for deleting application program is called as system.
5)Desktop creates new file in click location first and is hidden at clicked icon, then New icon DragView is created according to the APP icons of group icons set in operating system, and is added to The superiors of desktop screen, and new icon DragView is moved to into new folder position;Again will Clicked icon in group icons set is added sequentially in new folder, while deleting new icon DragView;New folder is shown finally;
Wherein, creating new icon DragView is used for animation, and new icon DragView is added to Desktop screen, the creation method of new icon DragView is:First, by function CreatDragBitmap () creates a new icon, is obtained by function getLocationInDragLayer () To position of the clicked icon in desktop screen;Secondly, newly schemed according to the position calculation of clicked icon The x-axis position being marked in desktop screen and y-axis position;Finally, according to the x-axis and y-axis for calculating New icon is placed on the position by position, completes the addition of the new icon DragView of desktop screen, and Animation is shown in desktop screen.
6)After the completion of packet, all icons exit editing mode, recover to life size, merged figure Can have vacant position in being marked on former screen, then operating system travels through all of desktop screen, and by icon according to elder generation Sequentially it is added in the original data acquisition system of operating system afterwards, is put according to the order in data acquisition system successively To in screen, realize icon below being moved forward with the part that fills a vacancy.
7)After the completion of icon merges, data processing module is notified by operating system, by institute in desktop screen There is icon location information to be synchronized in data base, after starting next time, can ensure that the grouping information of user will not Disappear.
The various embodiments described above are merely to illustrate the present invention, and each step and implementation all can be to be varied from , on the basis of technical solution of the present invention, all improvement separate step carried out according to the principle of the invention And equivalents, should not exclude outside protection scope of the present invention.

Claims (7)

1. across screen merging method, which comprises the following steps a kind of desktop application icon:
1) desktop presses event sniffer to all icons registration length, when pressing desktop icons with the head of a household, operating system Obtain with the head of a household is by event and calls the length of registration by event sniffer;Desktop reception is to long by event, editing desk In face, in addition to the icon being long pressed, all icons do diminution animation, and reduced icon enters editing mode, and By operating system using draw by the way of to length press icon the lower left corner and the upper right corner be respectively provided with deletion button and Addition packet button;
2) desktop adds click event to all icons, and user triggers click event, operation system after clicking on icon System judges that desktop, whether in editing mode, does amplification animation to the click icon if in editing mode, And the icon that will click on is added in the group icons set of operating system;
3) user horizontally slips toggle screen, selects the application icon to be combined in each screen, its operation Method and step 2) in the same manner;
4) user clicks on and chooses icon, and operating system judges click location x-axis on the table, y-axis coordinate, If click location is in the packet button area in the clicked icon upper right corner, into step 5) in be grouped Flow process;If click location is called by operating system and is deleted in the deletion button area in the clicked icon lower left corner Except the interface of application program;
5) desktop creates new file in click location first and is hidden at clicked icon, then basis The APP icons of group icons set in operating system create new icon, and are added to most going up for desktop screen Layer, and new icon is moved to into new folder position;Again by the clicked icon in group icons set according to It is secondary to be added in new folder, while deleting new icon;New folder is shown finally;
6), after the completion of being grouped, all icons exit editing mode, recover to life size, and merged icon exists Can have vacant position in former screen, then operating system travels through all of desktop screen, and icon is added according to sequencing It is added in the original data acquisition system of operating system, is put in screen successively according to the order in data acquisition system, it is real Now icon below is moved forward with the part that fills a vacancy;
7), after the completion of icon merges, data processing module is notified by operating system, by all figures in desktop screen To in data base, after starting next time, the grouping information of user will not then disappear cursor position synchronizing information.
2. a kind of desktop application icon as claimed in claim 1 is across screen merging method, it is characterised in that:Institute State step 1) in, in addition to the icon being long pressed, all icons diminution methods are:
First, all icons on desktop are done by diminution animation operation by function enterScale (), if there is figure Mark is not then processed already at deflated state;Conversely, being respectively created an animation pair to the icon of all diminutions As;
Secondly, animation object arranges the animation persistent period by function setDuration (), by function SetInterpolator () arranges animation and plays form;
Finally, animation audiomonitor is arranged by function addUpdatelistener (), will be listened to by animation audiomonitor Animation reduce process transmit to operating system, after the completion of animation is listened to, by operating system change be zoomed out The size of icon.
3. a kind of desktop application icon as claimed in claim 1 is across screen merging method, it is characterised in that:Institute State step 1) in,
The desktop registration length by event sniffer method is:
Length is pressed by event sniffer and all icons associations of desktop by function setOnLongClickListener (), Event sniffer is pressed to each icon addition length.
4. a kind of desktop application icon as claimed in claim 2 is across screen merging method, it is characterised in that:Institute State step 1) in, the desktop registration length by event sniffer method is:
Length is pressed event sniffer by function setOnLongClickListener () to close with all icons of desktop Connection, presses event sniffer to each icon addition length.
5. a kind of desktop application icon as claimed in claim 1 or 2 or 3 or 4 across screen merging method, its It is characterised by:The step 2) in, the method that the click icon amplifies animation is:
First, clicked icon on desktop is done by amplification animation operation by function exitScale (), if clicking on figure Mark is not then processed already at magnifying state;Conversely, creating an animation object to clicking on icon;
Secondly, animation object arranges the animation persistent period by function setDuration (), by function SetInterpolator () arranges animation and plays form;
Finally, animation audiomonitor is arranged by function addUpdatelistener (), will be listened to by animation audiomonitor Animation amplification process transmit to operating system, after the completion of animation is listened to, change to be amplified by operating system The size of icon, amplifies and clicks on icon.
6. a kind of desktop application icon as claimed in claim 1 or 2 or 3 or 4 across screen merging method, its It is characterised by:
The step 5) in, the creation method of the new icon is:
First, a new icon is created by function creatDragBitmap (), by function GetLocationInDragLayer () gets position of the clicked icon in desktop screen;
Secondly, the x-axis position and y-axis position according to the new icon of position calculation of clicked icon in desktop screen Put;
Finally, according to the x-axis and y-axis position for calculating, new icon is placed on into the position, desktop screen is completed The addition of the new icon of curtain, and animation is shown in desktop screen.
7. a kind of desktop application icon as claimed in claim 5 is across screen merging method, it is characterised in that:Institute State step 5) in, the creation method of the new icon is:
First, a new icon is created by function creatDragBitmap (), by function GetLocationInDragLayer () gets position of the clicked icon in desktop screen;
Secondly, the x-axis position and y-axis position according to the new icon of position calculation of clicked icon in desktop screen Put;
Finally, according to the x-axis and y-axis position for calculating, new icon is placed on into the position, desktop screen is completed The addition of the new icon of curtain, and animation is shown in desktop screen.
CN201310628516.6A 2013-11-29 2013-11-29 A kind of desktop application icon is across screen merging method Active CN103605464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310628516.6A CN103605464B (en) 2013-11-29 2013-11-29 A kind of desktop application icon is across screen merging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310628516.6A CN103605464B (en) 2013-11-29 2013-11-29 A kind of desktop application icon is across screen merging method

Publications (2)

Publication Number Publication Date
CN103605464A CN103605464A (en) 2014-02-26
CN103605464B true CN103605464B (en) 2017-03-29

Family

ID=50123696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310628516.6A Active CN103605464B (en) 2013-11-29 2013-11-29 A kind of desktop application icon is across screen merging method

Country Status (1)

Country Link
CN (1) CN103605464B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133885A (en) * 2014-07-29 2014-11-05 广州视源电子科技股份有限公司 Classifying and grouping method
CN104360793B (en) * 2014-11-19 2018-01-19 成都中科创达软件有限公司 A kind of method and system of terminal desktop editor
KR20160089205A (en) * 2015-01-19 2016-07-27 삼성전자주식회사 Mehtod and electronic device for item management
CN105912313A (en) * 2015-12-28 2016-08-31 乐视致新电子科技(天津)有限公司 Method and device for displaying animation of view, and terminal device
CN105607815A (en) * 2016-03-16 2016-05-25 深圳市万普拉斯科技有限公司 Icon management method and device
CN105933511A (en) * 2016-04-14 2016-09-07 深圳天珑无线科技有限公司 Technology for shifting all application icons out of file rapidly
WO2020006669A1 (en) * 2018-07-02 2020-01-09 华为技术有限公司 Icon switching method, method for displaying gui, and electronic device
CN109324805A (en) * 2018-08-02 2019-02-12 珠海格力电器股份有限公司 A kind of method and apparatus applied in deletion backstage
CN110502162B (en) * 2019-07-08 2021-06-29 维沃移动通信有限公司 Folder creating method and terminal equipment
WO2021249069A1 (en) * 2020-06-11 2021-12-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System and method for combing applications running on a user device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707873A (en) * 2011-03-16 2012-10-03 Lg电子株式会社 Mobile terminal and method for controlling the mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101733485B1 (en) * 2010-06-15 2017-05-10 엘지전자 주식회사 Touch panel and mobile terminal comprising the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707873A (en) * 2011-03-16 2012-10-03 Lg电子株式会社 Mobile terminal and method for controlling the mobile terminal

Also Published As

Publication number Publication date
CN103605464A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN103605464B (en) A kind of desktop application icon is across screen merging method
US11023097B2 (en) Mobile terminal and message-based conversation operation method for grouping messages
WO2021175052A1 (en) Screenshot image sharing method and device, terminal and storage medium
CN103970827B (en) Page search method and the electronic equipment for supporting the method
CN105068727B (en) A kind of implementation method and device of drawing tool
CN102799358B (en) The determination method and device of display position of cursor
CN103716712A (en) Video processing method based on mobile terminal
CN102819417B (en) Picture display processing method and device
CN103186336B (en) A kind of icon adjustment method and device
CN102799357A (en) Method for creating folder on user interface and terminal
JP6448639B2 (en) Text selection method, apparatus and terminal
WO2018076174A1 (en) Multimedia editing method and device, and smart terminal
CN103067569A (en) Method and device of multi-window displaying of smart phone
WO2023030306A1 (en) Method and apparatus for video editing, and electronic device
CN106681641A (en) Split screen display method and device
CN105989180A (en) Method and device for operating picture
CN102799389A (en) Method, client and system for realizing doodle board by instant communication tool
CN105122244A (en) A multi-panel view interface for a browser operating on a computing device
CN105183275A (en) Terminal icon arrangement method and apparatus
CN105677178B (en) A kind of method and mobile terminal adjusting the affiliated figure layer of control
US20220374588A1 (en) View display method and device of form and electronic equipment
CN106406651A (en) A method and a device for dynamic enlarging display of video
CN104820548A (en) Screenshot method and device
CN106648707A (en) Collecting method and collecting system of intelligent terminal application information and intelligent terminal
CN105190505A (en) Method and apparatus for controlling electronic medical record system based output window

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170303

Address after: The industrial city of Xinyang city in Henan province 464000 (Pingqiao District Liu Wacun North Building Group)

Applicant after: HENAN BOSHIDA COMMUNICATION TECHNOLOGY CO., LTD.

Address before: 518057 Nanshan District science and Technology Park, Guangdong science and Technology Park Road, SED science and technology building, No. 1, building No. 6

Applicant before: SHENZHEN LANGSI SCIENCE & TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190816

Address after: 518057 Nanshan District science and Technology Park, Guangdong science and Technology Park Road, SED science and technology building, No. 1, building No. 6

Patentee after: Zhang Jianwen

Address before: The industrial city of Xinyang city in Henan province 464000 (Pingqiao District Liu Wacun North Building Group)

Patentee before: HENAN BOSHIDA COMMUNICATION TECHNOLOGY CO., LTD.