Movatterモバイル変換


[0]ホーム

URL:


CN102929506B - A method to quickly add desktop elements to the desktop - Google Patents

A method to quickly add desktop elements to the desktop
Download PDF

Info

Publication number
CN102929506B
CN102929506BCN201210356600.2ACN201210356600ACN102929506BCN 102929506 BCN102929506 BCN 102929506BCN 201210356600 ACN201210356600 ACN 201210356600ACN 102929506 BCN102929506 BCN 102929506B
Authority
CN
China
Prior art keywords
desktop
elements
menu bar
coordinates
area
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
CN201210356600.2A
Other languages
Chinese (zh)
Other versions
CN102929506A (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.)
Guangzhou Gomo Shiji Technology Co ltd
Original Assignee
Guangzhou Jiubang Digital 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 Guangzhou Jiubang Digital Technology Co LtdfiledCriticalGuangzhou Jiubang Digital Technology Co Ltd
Priority to CN201210356600.2ApriorityCriticalpatent/CN102929506B/en
Publication of CN102929506ApublicationCriticalpatent/CN102929506A/en
Application grantedgrantedCritical
Publication of CN102929506BpublicationCriticalpatent/CN102929506B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a kind of quick interpolation desktop elements to the method for desktop, comprise the following steps: start menu bar at the first desktop, described menu bar and the first desktop are positioned at same display screen, and described first desktop is currently displaying desktop, and described menu bar includes desktop elements;Obtain the desktop elements coordinate of selected desktop elements in menu bar;According to preset rules, distributing desktop coordinate at the first desktop and being used for placing selected desktop elements, described desktop coordinate is used for placing selected desktop elements;Mobile described selected desktop elements is to desktop coordinate.The present invention can not only add desktop elements efficiently and easily, can be immediately seen the adding procedure of desktop elements and be added on the position of desktop, moreover it is possible to obtains the feedback information of operation.

Description

Translated fromChinese
一种快速添加桌面元素至桌面的方法A method to quickly add desktop elements to the desktop

技术领域technical field

本发明涉及Android平台的桌面添加操作技术领域,具体是一种帮助用户快速添加应用程序、文件夹、系统小部件,自定义小部件等桌面元素至桌面的方法。The invention relates to the technical field of desktop addition operation on an Android platform, in particular to a method for helping users quickly add desktop elements such as application programs, folders, system widgets, and custom widgets to the desktop.

背景技术Background technique

Android是基于Linux开放性内核的操作系统,仅正式上市两年便跃居全球最受欢迎的智能手机平台。安卓操作系统自身拥有一个桌面系统。现有的安卓桌面系统提供了一些应用程序或小部件添加至桌面的桌面系统,但是存在着以下的缺点:Android is an operating system based on the Linux open kernel. It has become the most popular smartphone platform in the world after only two years since its official launch. The Android operating system itself has a desktop system. The existing Android desktop system provides some application programs or widgets to add to the desktop system of the desktop, but there are the following disadvantages:

1.需要在增加的弹出层或对话框处理所有添加逻辑,不能直接在同一个界面上完成。1. All added logic needs to be processed in the added pop-up layer or dialog box, which cannot be done directly on the same interface.

现有的桌面系统在选择添加桌面元素时,弹出层或对话框会覆盖或者遮挡大部分桌面屏幕,造成用户只能直接在弹出层或对话框操作,无法对桌面进行操作。When the existing desktop system chooses to add desktop elements, the pop-up layer or dialog box will cover or block most of the desktop screen, causing the user to directly operate on the pop-up layer or dialog box instead of the desktop.

2.添加过程中的操作步骤数量较多,添加桌面元素效率不高。2. There are many operation steps in the adding process, and the efficiency of adding desktop elements is not high.

添加组件的过程中,往往需要经过进入对话框或弹出层,选择组件类型,选择组件类型下的桌面元素等操作。In the process of adding components, it is often necessary to go through operations such as entering a dialog box or a pop-up layer, selecting a component type, and selecting a desktop element under the component type.

3.添加过程中的交互体验不够直观,不能立即获得操作响应的反馈。3. The interactive experience during the adding process is not intuitive enough, and the feedback of the operation response cannot be obtained immediately.

由于添加过程中,弹出层或对话框会覆盖或者遮挡大部分桌面屏幕,用户无法查看是否存在添加失败或者不清楚桌面元素位于桌面的具体位置,整个添加过程不够直观。Since the pop-up layer or dialog box will cover or block most of the desktop screen during the adding process, the user cannot check whether there is an addition failure or the specific location of the desktop elements on the desktop, and the entire adding process is not intuitive enough.

4.添加过程中发生错误或中断,不能在当前界面直接处理,需要退出弹出层或对话框后再次进入。4. If an error or interruption occurs during the adding process, it cannot be processed directly in the current interface. You need to exit the pop-up layer or dialog box and enter again.

5.添加完成后,弹出层或对话框会自动关闭,不能在当前界面直接处理或者继续添加,用户需要重新进入弹出层或对话框,浪费时间。5. After the addition is completed, the pop-up layer or dialog box will be automatically closed, and it cannot be directly processed or continued to add in the current interface. The user needs to re-enter the pop-up layer or dialog box, wasting time.

由所列举的劣势可知,现有的桌面的添加桌面元素至桌面的方法无法满足用户快速添加桌面元素至桌面的需求。From the listed disadvantages, it can be seen that the existing methods for adding desktop elements to the desktop cannot meet the needs of users for quickly adding desktop elements to the desktop.

发明内容Contents of the invention

本发明的目的,就是克服现有技术的不足,提供一种从菜单栏快速添加桌面元素至桌面的方法。本方法可以快捷方便地添加桌面元素,在一个显示屏内显示桌面和菜单栏,可以直接看到桌面元素添加在桌面的位置。The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for quickly adding desktop elements to the desktop from the menu bar. This method can quickly and conveniently add desktop elements, display the desktop and the menu bar in one display screen, and directly see the positions where the desktop elements are added on the desktop.

为了达到上述目的,采用如下技术方案:In order to achieve the above purpose, the following technical solutions are adopted:

一种快速添加桌面元素至桌面的方法,包括以下步骤:A method for quickly adding desktop elements to the desktop, comprising the following steps:

S10:在第一桌面启动菜单栏,所述菜单栏与第一桌面位于同一显示屏内,所述第一桌面为当前显示的桌面,所述菜单栏包括桌面元素;S10: Start a menu bar on the first desktop, the menu bar is located in the same display screen as the first desktop, the first desktop is the currently displayed desktop, and the menu bar includes desktop elements;

S20:获取菜单栏中被选择的桌面元素的桌面元素坐标;S20: Obtain the desktop element coordinates of the selected desktop element in the menu bar;

S50:根据预设规则,在第一桌面分配桌面坐标用于放置被选择的桌面元素;S50: according to preset rules, allocate desktop coordinates on the first desktop for placing the selected desktop elements;

S60:移动所述被选择的桌面元素至桌面坐标。S60: Move the selected desktop element to the coordinates of the desktop.

进一步地,所述步骤S20之后还包括以下步骤S30:判断所述第一桌面的桌面坐标是否符合被选择的桌面元素的显示需求,若否,生成并显示提示信息。Further, after the step S20, the following step S30 is further included: judging whether the desktop coordinates of the first desktop meet the display requirement of the selected desktop element, if not, generating and displaying prompt information.

进一步地,所述步骤S30后还包括以下步骤S40:所述显示提示信息后,判断第二桌面的桌面坐标是否符合被选择桌面元素的显示需求,若否,建立第三桌面并将所述第一桌面替换为第三桌面;若是,所述第一桌面替换为符合被选择桌面元素的显示需求的第二桌面;所述第二桌面为已建立,但非当前显示的桌面。Further, the step S30 further includes the following step S40: after the prompt information is displayed, it is judged whether the desktop coordinates of the second desktop meet the display requirements of the selected desktop elements, if not, a third desktop is established and the second desktop is A desktop is replaced by a third desktop; if yes, the first desktop is replaced by a second desktop that meets the display requirements of the selected desktop element; the second desktop is an established but not currently displayed desktop.

进一步地,所述第一桌面和菜单栏位于同一显示屏内,第一桌面根据菜单栏的面积调整其面积,第一桌面和菜单栏之间无叠加区域。Further, the first desktop and the menu bar are located in the same display screen, the area of the first desktop is adjusted according to the area of the menu bar, and there is no overlapping area between the first desktop and the menu bar.

进一步的,所述步骤S60之后,还包括重复执行步骤S20、S50、S60。Further, after the step S60, it also includes repeatedly executing steps S20, S50, and S60.

进一步地,所述步骤S60之后,还包括重复执行步骤S20~S60。Further, after the step S60, steps S20-S60 are repeatedly executed.

进一步地,所述菜单栏包括分类栏,分类栏包括应用程序,文件夹,自定义小部件或系统小部件中的一种或多种分类栏,所述分类栏中包括该分类栏下的桌面元素。Further, the menu bar includes a category bar, and the category bar includes one or more categories of applications, folders, custom widgets or system widgets, and the category bar includes desktops under the category bar element.

进一步地,所述移动所述被选择的桌面元素至桌面坐标的移动过程中,显示所述桌面元素的移动轨迹。Further, during the moving process of moving the selected desktop element to the coordinates of the desktop, a moving track of the desktop element is displayed.

进一步地,所述桌面元素从桌面元素坐标移动至桌面坐标,移动轨迹包括直线轨迹或曲线轨迹。Further, the desktop element moves from the coordinates of the desktop element to the coordinates of the desktop, and the moving track includes a straight track or a curved track.

与现有技术相比,本发明的有益效果在于:Compared with prior art, the beneficial effect of the present invention is:

1.本方法可以快捷方便地添加桌面元素,而且能直观地获得操作的反馈,可以直接看到桌面元素的添加过程及添加在桌面的位置。1. This method can quickly and conveniently add desktop elements, and can intuitively obtain operation feedback, and can directly see the process of adding desktop elements and the position of adding them on the desktop.

2.本方法克服了现有的桌面系统在选择添加桌面元素时,菜单栏或对话框会覆盖或者遮挡大部分桌面屏幕,造成用户无法操作被覆盖桌面的问题。2. This method overcomes the problem that when the existing desktop system chooses to add desktop elements, the menu bar or dialog box will cover or block most of the desktop screen, causing the user to be unable to operate the covered desktop.

3.避免了添加过程中用户不能立即获得操作响应的反馈问题。当添加过程中发生错误或中断,不能在当前界面直接处理,需要退出弹出层或对话框后再次进入。3. Avoid the feedback problem that the user cannot immediately get the operation response during the adding process. When an error or interruption occurs during the adding process, it cannot be directly processed in the current interface, and it is necessary to exit the pop-up layer or dialog box and enter again.

4.添加完成后,弹出层或对话框会自动关闭,不能在当前界面直接处理或者继续添加,用户需要重新进入弹出层或对话框,浪费时间。4. After the addition is completed, the pop-up layer or dialog box will be automatically closed, and it cannot be directly processed or continued to add in the current interface. The user needs to re-enter the pop-up layer or dialog box, wasting time.

附图说明Description of drawings

图1是本发明第一实施例的快速添加桌面元素至桌面的实现方法的步骤流程图;Fig. 1 is a flow chart of the steps of the implementation method of quickly adding desktop elements to the desktop according to the first embodiment of the present invention;

图2是本发明第二实施例的快速添加桌面元素至桌面的实现方法的步骤流程图。Fig. 2 is a flow chart of the steps of the implementation method of quickly adding desktop elements to the desktop according to the second embodiment of the present invention.

具体实施方式detailed description

下面将结合附图以及具体实施方法来详细说明本发明,在本发明的示意性实施及说明用来解释本发明,但并不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. The schematic implementation and description of the present invention are used to explain the present invention, but are not intended to limit the present invention.

实施例一Embodiment one

请参阅图1,其为一种快速添加桌面元素至桌面的方法,具体包括以下步骤:Please refer to Figure 1, which is a method for quickly adding desktop elements to the desktop, which specifically includes the following steps:

S10:在第一桌面启动菜单栏,所述菜单栏与第一桌面位于同一显示屏内,所述第一桌面为当前显示的桌面,所述菜单栏包括桌面元素。S10: Start a menu bar on the first desktop, the menu bar is located in the same display screen as the first desktop, the first desktop is a currently displayed desktop, and the menu bar includes desktop elements.

具体地,用户通过长按第一桌面的空白处,调出菜单栏。所述第一桌面位于屏幕的上半部分,菜单栏位于屏幕的下半部分。所述菜单栏是自定义绘制的菜单栏,区别于android系统已有的菜单栏。所述菜单栏包括分类栏,分类栏包括应用程序,文件夹,自定义小部件或系统小部件中的一种或多种分类栏,所述分类栏中包括该分类栏下的桌面元素。应用程序分类栏内包含有应用程序桌面元素,文件夹分类栏中包含有文件夹桌面元素,自定义小部件内包含有自定义小部件桌面元素,系统小部件内包含有系统小部件桌面元素。通过菜单栏的分类栏,桌面元素可以好分类,更快地筛选出来。Specifically, the user calls out the menu bar by long pressing a blank space on the first desktop. The first desktop is located in the upper half of the screen, and the menu bar is located in the lower half of the screen. The menu bar is a custom-drawn menu bar, which is different from the existing menu bar of the android system. The menu bar includes a category bar, and the category bar includes one or more category bars among applications, folders, custom widgets or system widgets, and the category bar includes desktop elements under the category bar. The application classification column contains application desktop elements, the folder classification column contains folder desktop elements, the custom widget contains custom widget desktop elements, and the system widget contains system widget desktop elements. Through the classification bar of the menu bar, the desktop elements can be easily classified and screened out faster.

通过计算用户点击桌面的时间和判断点击位置是否存在图标,判断用户是否发出调用菜单栏的信息,若接收到用户长按桌面空白处的信息,则调出菜单栏。调出菜单栏后,当前显示的桌面为第一桌面,第一桌面根据菜单栏的面积等比例调整其面积,第一桌面和菜单栏之间无叠加区域。即,第一桌面和菜单栏共同显示于同一屏幕,第一桌面和菜单栏各自所在的显示框相互独立,并没有叠加的区域。第一桌面根据菜单栏的面积等比例调整其面积具体是根据不同手机的分辨率动态计算菜单栏的面积,然后根据菜单栏的面积算出整个屏幕中第一桌面占有的面积。显示过程中菜单栏和第一桌面具体的放缩动画是通过调用系统API实现。By calculating the time when the user clicks on the desktop and judging whether there is an icon at the clicked position, it is judged whether the user sends a message to call the menu bar. If the user receives the message that the user long presses the blank space on the desktop, the menu bar is called out. After calling out the menu bar, the currently displayed desktop is the first desktop, and the area of the first desktop is adjusted according to the same proportion as the area of the menu bar, and there is no overlapping area between the first desktop and the menu bar. That is, the first desktop and the menu bar are displayed together on the same screen, and the respective display frames of the first desktop and the menu bar are independent of each other, and there is no overlapping area. The area of the first desktop is adjusted in proportion to the area of the menu bar. Specifically, the area of the menu bar is dynamically calculated according to the resolution of different mobile phones, and then the area occupied by the first desktop in the entire screen is calculated according to the area of the menu bar. The specific scaling animation of the menu bar and the first desktop during the display process is realized by calling the system API.

S20:获取菜单栏中被选择的桌面元素的桌面元素坐标。S20: Obtain the desktop element coordinates of the selected desktop element in the menu bar.

具体地,根据安卓系统预设的桌面图标规则,桌面图标与桌面坐标一一对应,一个桌面坐标中只能显示一个桌面图标。所述被选择的桌面元素的显示图标为单个桌面图标,也可以为多个桌面图标组成。即,桌面元素的显示图标包括一个以上桌面图标。通过记录被选择的分类栏中的桌面元素,记录用户选择的桌面元素所在的桌面元素坐标。Specifically, according to the preset desktop icon rules of the Android system, desktop icons correspond to desktop coordinates one by one, and only one desktop icon can be displayed in one desktop coordinate. The display icon of the selected desktop element is a single desktop icon, or may be composed of multiple desktop icons. That is, the displayed icons of the desktop elements include more than one desktop icon. The coordinates of the desktop element where the desktop element selected by the user is located are recorded by recording the desktop element in the selected classification bar.

S50:根据预设规则,在第一桌面分配桌面坐标,所述桌面坐标用于放置被选择的桌面元素。S50: According to a preset rule, allocate desktop coordinates on the first desktop, where the desktop coordinates are used to place the selected desktop elements.

具体地,分配被选择的桌面元素在第一桌面显示的桌面坐标,所述桌面坐标的数量为一个或多个。桌面坐标的数量根据桌面元素的显示图标大小而定。建立所述被选择桌面元素的桌面元素坐标与桌面坐标的对应关系。Specifically, the desktop coordinates displayed by the selected desktop element on the first desktop are assigned, and the number of the desktop coordinates is one or more. The number of desktop coordinates depends on the display icon size of desktop elements. A correspondence relationship between desktop element coordinates and desktop coordinates of the selected desktop element is established.

S60:移动所述被选择的桌面元素至桌面坐标。S60: Move the selected desktop element to the coordinates of the desktop.

具体地,建立桌面元素坐标与桌面坐标的对应关系后,所述桌面元素从桌面元素坐标移动至桌面坐标。移动过程中,显示移动轨迹。移动轨迹包括直线轨迹或曲线轨迹。由于显示了移动轨迹,用户可以直观地获得点选的桌面元素在桌面的显示位置,快捷找到所需的桌面元素,增强了人机互动,增加了操作的人性化。Specifically, after the correspondence between the coordinates of the desktop elements and the coordinates of the desktop is established, the desktop elements are moved from the coordinates of the desktop elements to the coordinates of the desktop. During the movement, the movement track is displayed. The moving trajectory includes a straight trajectory or a curved trajectory. Due to the display of the moving track, the user can intuitively obtain the display position of the clicked desktop element on the desktop, quickly find the desired desktop element, enhance the human-computer interaction, and increase the humanization of the operation.

进一步,所述桌面元素从桌面元素坐标移动至桌面坐标后,还包括重复执行步骤S20、S50、S60。在调出菜单栏选择放置了所需的桌面元素后,菜单栏并没有直接关闭,而是可以再次针对菜单栏操作,再次从菜单栏选择桌面元素。避免了现有的桌面系统点选后桌面元素后自动退出菜单栏的问题。需要关闭菜单栏时,只需要使用操作系统自带的返回功能键。Further, after the desktop element is moved from the coordinates of the desktop element to the coordinates of the desktop, the steps S20, S50, and S60 are repeatedly executed. After calling out the menu bar and selecting and placing the desired desktop elements, the menu bar is not closed directly, but can operate on the menu bar again, and select the desktop elements from the menu bar again. The problem that the existing desktop system automatically exits the menu bar after clicking the desktop element is avoided. When you need to close the menu bar, you only need to use the return function key that comes with the operating system.

实施例二Embodiment two

请参阅图2,其为本发明实施例二的步骤流程图。Please refer to FIG. 2 , which is a flow chart of steps in Embodiment 2 of the present invention.

本实施例的步骤S10、步骤S20、步骤S50和步骤S60与实施例一相同。在步骤S20后增加以下步骤S30和步骤S40。Step S10 , step S20 , step S50 and step S60 in this embodiment are the same as those in the first embodiment. The following steps S30 and S40 are added after step S20.

S30:判断所述第一桌面的桌面坐标是否符合被选择的桌面元素的显示需求,若否,生成并显示提示信息。S30: Judging whether the desktop coordinates of the first desktop meet the display requirements of the selected desktop element, if not, generating and displaying prompt information.

具体地,所述桌面根据安卓系统预设的桌面图标规则,桌面图标与桌面坐标一一对应。每个桌面坐标对应一个桌面图标。所述被选择的桌面元素的显示图标为单个桌面图标,也可以为多个桌面图标组成。所述桌面元素实质通过显示图标在第一桌面显示,这个原理与计算机中的桌面图标原理相同。判断所述桌面的所有桌面坐标是否有桌面图标,桌面图标的数量是否满足桌面元素的显示图标所需要的桌面图标数量。若所述桌面的所有桌面坐标均有桌面图标,桌面图标的数量不满足桌面元素的显示图标所需要的桌面图标数量,则生成提示信息,在屏幕表面显示所述提示信息提醒用户第一桌面已满,无法放置用户选择的桌面元素。Specifically, the desktop is based on the desktop icon rules preset by the Android system, and the desktop icons correspond to the desktop coordinates one by one. Each desktop coordinate corresponds to a desktop icon. The display icon of the selected desktop element is a single desktop icon, or may be composed of multiple desktop icons. The desktop elements are substantially displayed on the first desktop by displaying icons, and this principle is the same as that of desktop icons in a computer. It is judged whether all desktop coordinates of the desktop have desktop icons, and whether the number of desktop icons satisfies the number of desktop icons required for displaying icons of desktop elements. If all the desktop coordinates of the desktop have desktop icons, and the number of desktop icons does not meet the number of desktop icons required by the display icons of the desktop elements, then a prompt message is generated, and the prompt message is displayed on the screen surface to remind the user that the first desktop has been completed. is full to place the user-selected desktop element.

S40:所述显示提示信息后,判断第二桌面的桌面坐标是否符合被选择桌面元素的显示需求,若否,建立第三桌面并将所述第一桌面替换为第三桌面;若是,所述第一桌面替换为符合被选择桌面元素的显示需求的第二桌面;所述第二桌面为已建立,但非当前显示的桌面。S40: After the prompt information is displayed, determine whether the desktop coordinates of the second desktop meet the display requirements of the selected desktop element, if not, create a third desktop and replace the first desktop with the third desktop; if yes, the The first desktop is replaced with a second desktop that meets the display requirements of the selected desktop element; the second desktop is an established but not currently displayed desktop.

具体地,所述第一桌面以外已建立的桌面统称为第二桌面。所述在第一桌面和第二桌面以外新建的桌面为第三桌面。显示提示信息后,判断第二桌面的桌面坐标是否符合被选择的桌面元素的显示需求。所述桌面坐标能否满足所述被选择的桌面元素的显示图标的显示需求已是现有技术,这里不再赘述。若桌面坐标能满足所述被选择的桌面元素的显示图标的显示需求,则第二桌面替换原第一桌面作为新的第一桌面,原第一桌面作为第二桌面。新的第一桌面与菜单栏显示于同一屏幕。若不能满足,则建立第三桌面,并将第一桌面替换为第三桌面,第三桌面作为新的第一桌面。Specifically, established desktops other than the first desktop are collectively referred to as second desktops. The newly created desktop other than the first desktop and the second desktop is the third desktop. After the prompt information is displayed, it is judged whether the desktop coordinates of the second desktop meet the display requirement of the selected desktop element. Whether the desktop coordinates can meet the display requirements of the display icons of the selected desktop elements is already a prior art, and will not be repeated here. If the coordinates of the desktop can meet the display requirements of the display icons of the selected desktop elements, the second desktop replaces the original first desktop as the new first desktop, and the original first desktop is used as the second desktop. The new primary desktop is displayed on the same screen as the menu bar. If not, a third desktop is established, and the first desktop is replaced by the third desktop, and the third desktop is used as the new first desktop.

进一步地,所述桌面元素从桌面元素坐标移动至桌面坐标后,还包括重复执行步骤S20~S60。在调出菜单栏选择放置了所需的桌面元素后,菜单栏并没有直接关闭,而是可以再次针对菜单栏操作,再次从菜单栏选择桌面元素。避免了现有的桌面系统点选后桌面元素后自动退出菜单栏的问题。也避免了出现第一桌面满屏后,桌面元素无法放置在第一桌面上,需要退出菜单栏,新建桌面后再调用菜单栏的问题。Further, after the desktop element is moved from the coordinates of the desktop element to the coordinates of the desktop, it also includes repeatedly executing steps S20-S60. After calling out the menu bar and selecting and placing the desired desktop elements, the menu bar is not closed directly, but can operate on the menu bar again, and select the desktop elements from the menu bar again. The problem that the existing desktop system automatically exits the menu bar after clicking the desktop element is avoided. It also avoids the problem that when the first desktop is full screen, the desktop elements cannot be placed on the first desktop, and the menu bar needs to be exited, and the menu bar is invoked after creating a new desktop.

以上对本发明实施例所提供的技术方案进行了详细介绍,本文中应用了具体个例对本发明实施例的原理以及实施方式进行了阐述,以上实施例的说明只适用于帮助理解本发明实施例的原理;同时,对于本领域的一般技术人员,依据本发明实施例,在具体实施方式以及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The technical solutions provided by the embodiments of the present invention have been introduced in detail above, and the principles and implementation modes of the embodiments of the present invention have been explained by using specific examples in this paper. The descriptions of the above embodiments are only applicable to help understand the embodiments of the present invention At the same time, for those of ordinary skill in the art, according to the embodiment of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.

Claims (7)

Translated fromChinese
1.一种快速添加桌面元素至桌面的方法,其特征在于,包括依次执行以下步骤:1. A method for quickly adding desktop elements to the desktop, comprising performing the following steps in sequence:S10:在第一桌面启动菜单栏,所述菜单栏与第一桌面位于同一显示屏内,所述第一桌面为当前显示的桌面,所述菜单栏包括桌面元素;S10: Start a menu bar on the first desktop, the menu bar is located in the same display screen as the first desktop, the first desktop is the currently displayed desktop, and the menu bar includes desktop elements;具体为:通过计算用户点击桌面的时间和判断点击位置是否存在图标,判断用户是否发出调用菜单栏的信息,若接收到用户长按桌面空白处的信息,则调出菜单栏,调出菜单栏后,当前显示的桌面为第一桌面,第一桌面根据菜单栏的面积等比例调整其面积,第一桌面和菜单栏之间无叠加区域;Specifically: by calculating the time when the user clicks on the desktop and judging whether there is an icon at the clicked position, it is judged whether the user sends a message to call the menu bar. After that, the currently displayed desktop is the first desktop, and the area of the first desktop is adjusted in proportion to the area of the menu bar, and there is no overlapping area between the first desktop and the menu bar;所述第一桌面根据菜单栏的面积等比例调整其面积具体是根据不同手机的分辨率动态计算菜单栏的面积,然后根据菜单栏的面积算出整个屏幕中第一桌面;The area of the first desktop is adjusted according to the area of the menu bar in proportion to dynamically calculate the area of the menu bar according to the resolution of different mobile phones, and then calculate the first desktop in the whole screen according to the area of the menu bar;S20:获取菜单栏中被选择的桌面元素的桌面元素坐标;S20: Obtain the desktop element coordinates of the selected desktop element in the menu bar;S50:根据预设规则,在第一桌面分配桌面坐标用于放置被选择的桌面元素,所述桌面坐标用于放置被选择的桌面元素;S50: According to a preset rule, allocate desktop coordinates on the first desktop for placing the selected desktop elements, and the desktop coordinates are used for placing the selected desktop elements;S60:移动所述被选择的桌面元素至桌面坐标;所述移动所述被选择的桌面元素至桌面坐标的移动过程中,显示所述桌面元素的移动轨迹;S60: Move the selected desktop element to the desktop coordinates; during the moving process of the selected desktop element to the desktop coordinates, display the moving track of the desktop element;其中,所述第一桌面和菜单栏位于同一显示屏内,是通过第一桌面根据菜单栏的面积调整其面积,使得第一桌面和菜单栏之间无叠加区域。Wherein, the first desktop and the menu bar are located in the same display screen, and the area of the first desktop is adjusted according to the area of the menu bar, so that there is no overlapping area between the first desktop and the menu bar.2.根据权利要求1所述的快速添加桌面元素至桌面的方法,其特征在于,所述步骤S20之后还包括以下步骤:2. The method for quickly adding desktop elements to the desktop according to claim 1, further comprising the following steps after the step S20:S30:判断所述第一桌面的桌面坐标是否符合被选择的桌面元素的显示需求,若否,生成并显示提示信息。S30: Judging whether the desktop coordinates of the first desktop meet the display requirements of the selected desktop element, if not, generating and displaying prompt information.3.根据权利要求2所述的快速添加桌面元素至桌面的方法,其特征在于,所述步骤S30后还包括以下步骤:3. The method for quickly adding desktop elements to the desktop according to claim 2, further comprising the following steps after the step S30:S40:所述显示提示信息后,判断第二桌面的桌面坐标是否符合被选择桌面元素的显示需求,若否,建立第三桌面并将所述第一桌面替换为第三桌面;若是,所述第一桌面替换为符合被选择桌面元素的显示需求的第二桌面;所述第二桌面为已建立,但非当前显示的桌面。S40: After the prompt information is displayed, determine whether the desktop coordinates of the second desktop meet the display requirements of the selected desktop element, if not, create a third desktop and replace the first desktop with the third desktop; if yes, the The first desktop is replaced with a second desktop that meets the display requirements of the selected desktop element; the second desktop is an established but not currently displayed desktop.4.根据权利要求1所述的快速添加桌面元素至桌面的方法,其特征在于:所述步骤S60之后,还包括重复执行步骤S20、S50、S60。4. The method for quickly adding desktop elements to the desktop according to claim 1, characterized in that: after the step S60, further comprising repeatedly executing steps S20, S50, and S60.5.根据权利要求3所述的快速添加桌面元素至桌面的方法,其特征在于:所述步骤S60之后,还包括重复执行步骤S20~S60。5 . The method for quickly adding desktop elements to the desktop according to claim 3 , characterized in that: after the step S60 , further comprising repeatedly executing steps S20 - S60 .6.根据权利要求1所述的快速添加桌面元素至桌面的方法,其特征在于:所述菜单栏包括分类栏,分类栏包括应用程序,文件夹,自定义小部件或系统小部件中的一种或多种分类 栏,所述分类栏中包括该分类栏下的桌面元素。6. The method for quickly adding desktop elements to the desktop according to claim 1, wherein the menu bar includes a classification bar, and the classification bar includes one of application programs, folders, custom widgets or system widgets One or more category columns, the category columns include desktop elements under the category columns.7.根据权利要求1所述的快速添加桌面元素至桌面的方法,其特征在于:所述桌面元素从桌面元素坐标移动至桌面坐标,移动轨迹包括直线轨迹或曲线轨迹。7. The method for quickly adding desktop elements to the desktop according to claim 1, wherein the desktop element moves from the coordinates of the desktop element to the coordinates of the desktop, and the moving track includes a straight track or a curved track.
CN201210356600.2A2012-09-212012-09-21 A method to quickly add desktop elements to the desktopActiveCN102929506B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210356600.2ACN102929506B (en)2012-09-212012-09-21 A method to quickly add desktop elements to the desktop

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210356600.2ACN102929506B (en)2012-09-212012-09-21 A method to quickly add desktop elements to the desktop

Publications (2)

Publication NumberPublication Date
CN102929506A CN102929506A (en)2013-02-13
CN102929506Btrue CN102929506B (en)2016-11-09

Family

ID=47644326

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210356600.2AActiveCN102929506B (en)2012-09-212012-09-21 A method to quickly add desktop elements to the desktop

Country Status (1)

CountryLink
CN (1)CN102929506B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103761023A (en)*2013-12-312014-04-30上海斐讯数据通信技术有限公司Method for improving screen utilization rate and mobile terminal
CN106020945B (en)*2016-05-042020-08-11腾讯科技(深圳)有限公司Shortcut item adding method and device
CN106371728A (en)*2016-08-302017-02-01上海电力通信有限公司Information processing method for power communication project digital management system
CN109284048A (en)*2018-09-272019-01-29深圳点猫科技有限公司Method, electronic equipment based on the convenient setting desktop plug-ins of linux system
CN109725816A (en)*2018-12-142019-05-07Oppo广东移动通信有限公司 Method, terminal and storage medium for removing corner mark
CN116249960A (en)*2020-08-142023-06-09上海传英信息技术有限公司 Equipment control method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101667098A (en)*2005-12-302010-03-10苹果公司Portable electronic device with interface reconfiguration mode
CN101923436A (en)*2010-08-302010-12-22宇龙计算机通信科技(深圳)有限公司Method, system and mobile terminal for mobile terminal desktop display
CN102681826A (en)*2011-03-102012-09-19腾讯科技(深圳)有限公司Method and system for adjusting desktop layout dynamically

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102520964B (en)*2011-12-272014-08-06北京神州泰岳软件股份有限公司Method and device for management of application icon on client interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101667098A (en)*2005-12-302010-03-10苹果公司Portable electronic device with interface reconfiguration mode
CN101923436A (en)*2010-08-302010-12-22宇龙计算机通信科技(深圳)有限公司Method, system and mobile terminal for mobile terminal desktop display
CN102681826A (en)*2011-03-102012-09-19腾讯科技(深圳)有限公司Method and system for adjusting desktop layout dynamically

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HTC使用手册;colajlp;《百度文库》;20110824;第19-20页*
酷派8180怎么样 酷派8180评测;365商城;《http://article.365.com/review/kupai8180w6-2208441-4.shtml》;20120716;全文*

Also Published As

Publication numberPublication date
CN102929506A (en)2013-02-13

Similar Documents

PublicationPublication DateTitle
CN102929506B (en) A method to quickly add desktop elements to the desktop
CN102609188B (en)User interface interaction behavior based on insertion point
CN103530127B (en)icon display method and device
WO2016078441A1 (en)Icon management method and apparatus, and terminal
US11099723B2 (en)Interaction method for user interfaces
CN103677485B (en) Method and device for displaying icon on mobile terminal
JP6313395B1 (en) Drawing processing method, drawing processing program, and drawing processing apparatus
JP2013528304A (en) Jump, check mark, and strikethrough gestures
CN103927083B (en)A kind of desktop function sheet icon is added to the exchange method of preview screen
TW201525776A (en)Invocation control over keyboard user interface
CN103034396B (en)A kind of moving icon is to the method and apparatus of android system desktop
CN102236516A (en)Electronic device and control method thereof
JPWO2008001771A1 (en) Method, program, and data processing system for changing shape of display object
CN109446832A (en)A kind of screenshotss method and device
US20140344738A1 (en)Providing contextual menus
US9442642B2 (en)Tethered selection handle
CN104951195A (en)Conversion method and device of electronic document reading area
CN114896208A (en)Application icon retrieval method and device, storage medium and terminal equipment
CN113574500A (en)Interface presentation on a display
CN102541423A (en)Method and device for compiling organic chemical structural formulas
CN107844254A (en)Text display processing method and device
JPWO2015005058A1 (en) Touch operation compatible program code conversion method and program
CN103218119B (en)File executing method
JP2015122076A (en) Computer-implemented method for configuring a tool with at least one pointing element on a screen
US20150261433A1 (en)Efficient touch emulation with navigation keys

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20171124

Address after:510055, tower 17, A tower, Zhonghua International Center, No. three, 33 Zhongshan Road, Yuexiu District, Guangdong, Guangzhou, China

Patentee after:GUANGZHOU GOMO SHIJI TECHNOLOGY Co.,Ltd.

Address before:510055 A, block 16-17, China International Center, No. three, Zhongshan Road, Guangzhou, Guangdong, China

Patentee before:GUANGZHOU JIUBANG DIGITAL TECHNOLOGY Co.,Ltd.

PE01Entry into force of the registration of the contract for pledge of patent right
PE01Entry into force of the registration of the contract for pledge of patent right

Denomination of invention:A quick method to add desktop elements to the desktop

Granted publication date:20161109

Pledgee:China Co. truction Bank Corp Guangzhou Yuexiu branch

Pledgor:GUANGZHOU GOMO SHIJI TECHNOLOGY Co.,Ltd.

Registration number:Y2025980023406


[8]ページ先頭

©2009-2025 Movatter.jp