CN109885314B - Automatic layout method and device for small programs - Google Patents

Automatic layout method and device for small programs Download PDF

Info

Publication number
CN109885314B
CN109885314B CN201910151855.7A CN201910151855A CN109885314B CN 109885314 B CN109885314 B CN 109885314B CN 201910151855 A CN201910151855 A CN 201910151855A CN 109885314 B CN109885314 B CN 109885314B
Authority
CN
China
Prior art keywords
icon
layout
small program
target
array
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
CN201910151855.7A
Other languages
Chinese (zh)
Other versions
CN109885314A (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.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance 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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201910151855.7A priority Critical patent/CN109885314B/en
Publication of CN109885314A publication Critical patent/CN109885314A/en
Application granted granted Critical
Publication of CN109885314B publication Critical patent/CN109885314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an automatic layout method and device for applets, wherein the method comprises the following steps: when a first request for calling a first operation event function is acquired, acquiring a first position where a current operation occurs from the first request; determining a target applet icon according to the first position and a pre-stored position information list; when a second request for calling a second operation event function is acquired, according to a second position contained in the second request, adjusting position information of the target small program icon in a pre-established initial array to generate a pre-layout array; and when the fact that the end event function is called is monitored, rendering is carried out according to the pre-layout array, and a small program sequence list page which is re-laid out is displayed. By the method, automatic layout of the small program icons can be realized, and the technical problem that automatic layout of the small programs cannot be carried out in the prior art is solved.

Description

Automatic layout method and device for small programs
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to an automatic layout method and device for applets.
Background
With the development of internet technology, more and more internet enterprises are beginning to pay attention to the development of applets. The applet is an application which can be used without downloading and installation, and is popular with the majority of users. As the size of applets increases, the number of applet distribution platforms increases, and each applet is displayed in the form of an icon on the applet distribution platform.
However, the existing applet distributing platform has limited functions, only supports the functions of displaying, classifying, commenting and grading, does not support the automatic layout and arrangement function of the applet, and cannot allow a user to layout the applet. Therefore, how to implement automatic layout of applets in an applet distributing platform becomes a problem to be solved urgently.
Disclosure of Invention
The disclosure provides an automatic layout method and device for an applet, and solves the technical problem that the applet cannot be automatically laid out in the prior art.
Therefore, a first aspect of the present disclosure provides an applet automatic layout method to implement automatic layout of applet icons and improve user experience.
A second aspect of the present disclosure provides an automatic layout apparatus for applets.
A third aspect of the present disclosure provides an electronic device.
A fourth aspect of the disclosure proposes a non-transitory computer-readable storage medium.
A fifth aspect of the present disclosure proposes a computer program product.
An embodiment of the first aspect of the present disclosure provides an applet automatic layout method, including:
when a first request for calling a first operation event function is acquired, acquiring a first position where a current operation occurs from the first request;
determining a target applet icon according to the first position and a pre-stored position information list;
when a second request for calling a second operation event function is acquired, according to a second position contained in the second request, adjusting position information of the target small program icon in a pre-established initial array to generate a pre-layout array;
and when the fact that the end event function is called is monitored, rendering is carried out according to the pre-layout array, and a small program sequence list page which is re-laid out is displayed.
According to the automatic layout method of the small programs, when a first request for calling a first operation event function is obtained, a first position where current operation occurs is obtained from the first request, a target small program icon is determined according to the first position and a position information list stored in advance, when a second request for calling a second operation event function is obtained, the position information of the target small program icon in an initial array established in advance is adjusted according to a second position contained in the second request, a pre-layout array is generated, and then when it is monitored that an end event function is called, a sequence list is rendered according to the pre-layout array, and a small program page which is rearranged is displayed. Therefore, the position information of the dragged target small program icon is adjusted according to the position information carried in the mobile event function, and the small program sequence list page after the position information is adjusted is rendered and displayed, so that the automatic layout of the small program icons is realized, convenience is provided for a user to adjust the arrangement sequence of the small programs in the small program distribution platform, and the user experience is improved.
An embodiment of a second aspect of the present disclosure provides an automatic applet layout apparatus, including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first position of a current operation from a first request when the first request for calling a first operation event function is acquired;
the determining module is used for determining a target applet icon according to the first position and a pre-stored position information list;
the adjusting module is used for adjusting the position information of the target small program icon in the pre-established initial array according to a second position contained in a second request when the second request for calling a second operation event function is obtained, and generating a pre-layout array;
and the rendering module is used for rendering according to the pre-layout array and displaying the re-laid small program sequence list page when the end event function is monitored to be called.
According to the automatic applet layout device disclosed by the embodiment of the disclosure, when a first request for calling a first operation event function is obtained, a first position where a current operation occurs is obtained from the first request, a target applet icon is determined according to the first position and a pre-stored position information list, when a second request for calling a second operation event function is obtained, position information of the target applet icon in a pre-established initial array is adjusted according to a second position contained in the second request to generate a pre-layout array, and then when an end event function is monitored to be called, a sequence list is rendered according to the pre-layout array to display a re-laid applet page. Therefore, the position information of the dragged target small program icon is adjusted according to the position information carried in the mobile event function, and the small program sequence list page after the position information is adjusted is rendered and displayed, so that the automatic layout of the small program icons is realized, convenience is provided for a user to adjust the arrangement sequence of the small programs in the small program distribution platform, and the user experience is improved.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: a processor and a memory; wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the applet automatic layout method according to the embodiment of the first aspect.
A fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the applet automatic layout method as described in the first aspect.
A fifth aspect of the present disclosure provides a computer program product, wherein when the instructions of the computer program product are executed by a processor, the method for automatically laying out an applet according to the first aspect is performed.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The above and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of an applet automatic layout method according to an embodiment of the disclosure;
FIG. 2 is a schematic flow chart illustrating an automatic layout method of applets according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an automatic applet layout apparatus according to an embodiment of the disclosure;
FIG. 4 is a schematic structural diagram of an electronic device for implementing an embodiment of the present disclosure; and
fig. 5 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and intended to be illustrative of the present disclosure, and should not be construed as limiting the present disclosure.
An applet automatic layout method and apparatus according to an embodiment of the present disclosure are described below with reference to the drawings.
Fig. 1 is a schematic flow chart of an automatic applet layout method according to an embodiment of the present disclosure, which may be executed by an automatic applet layout apparatus according to an embodiment of the present disclosure, where the automatic applet layout apparatus may be installed in an electronic device such as a desktop computer, a notebook computer, a smart phone, or a tablet computer.
As shown in fig. 1, the applet automatic layout method includes the steps of:
step 101, when a first request for calling a first operation event function is obtained, a first position where a current operation occurs is obtained from the first request.
The first operation event function is called when a user clicks or presses a certain small program icon in a small program sequence list page, that is, when the user clicks or presses the certain small program icon, a first request is generated to call the first operation event function, and the current operation refers to the current clicking or pressing operation of the user on the small program icon. The first operation event function may be, for example, a finger-down event function touchstart, a mouse-down event function onmousedown.
For the applet lists displayed in the same applet distributing platform, different users have different requirements on the arrangement sequence of the applets, for example, some users want to arrange the applets of shopping category at the front position in the applet list, and some users want to arrange the applets of video playing category at the front position in the applet list.
And for the well-laid small program sequence list page, the positions of all small program icons contained in the page are determined. When a user wants to re-layout the applet icons in the page to obtain an applet list page meeting the needs of the user, the user can select the applet icons needing to be moved. For example, a user may place a mouse over an applet icon that needs to be moved and press the mouse to select the applet icon; alternatively, the user may select an applet icon that needs to be moved by performing a pressing operation on the applet icon with a finger.
Take the example where the user uses a finger to select the applet icon that needs to be moved. When a user uses a finger to press down a certain applet icon in the applet sequence table page, a first request for calling a first operation event function is generated, wherein the first request comprises position information of a current touch position of the finger of the user. When the automatic applet layout device acquires a first request for calling a first operation event function, acquiring a first position where a current operation event occurs from the first request, namely acquiring position information of a position currently touched by a finger of a user.
During specific implementation, a callback function of touchstart can be set for the applet list page, when a certain applet icon is pressed by a finger of a user, the touchstart function is called, a TouchEvent object containing the position of the finger of the user is transmitted into the function, and the currently pressed position, namely the first position, of the finger of the user can be obtained from the TouchEvent object.
And 102, determining a target applet icon according to the first position and a pre-stored position information list.
The position information list may be pre-stored in the automatic applet layout device, where the position information list includes an identifier of each applet icon and corresponding position information in the applet list interface when the first request is obtained, and the identifier of the applet icon may be determined according to a storage position of the information of the applet icon in the initial array, for example, if the information of a certain applet icon is stored in the initial array as a first element of the initial array, the identifier of the applet icon is 1. The initial array is established in advance, one element of the initial array corresponds to information of one applet icon in the applet sequence table page, and the information of the applet icon includes, but is not limited to, position information, width and height information of the applet icon, picture resource source link of the icon and the like. That is to say, the length of the initial array represents the number of the applet icons contained in the applet list page, the corresponding applet icon can be rendered by using the data of each element in the initial array to generate the applet list page, and during rendering, a corresponding identifier can be set for each applet icon according to the position of each element in the initial array.
For example, the following code initializes an initial array of length 2:
Figure BDA0001981774490000041
Figure BDA0001981774490000051
where left represents the left offset of the icon relative to the page of the short-cut list, top represents the upper offset of the icon relative to the page of the short-cut list, and the anchor point (i.e., the origin of the icon) of the icon is the upper left corner thereof. The position of the icon in the applet list page can be determined according to the left value, the top value, the width value and the height value of the icon, and the coordinates of the four vertexes of the icon in the applet list page are (100 ), (300,100), (100, 300) and (300 ) taking the first icon defined by the above codes as an example.
For a given array, rendering is performed by using the following codes, so that a corresponding applet icon can be displayed in an applet list page:
Figure BDA0001981774490000052
in this embodiment, after the first position where the pressing operation occurs is acquired, the acquired first position may be matched with each piece of position information recorded in a position information list stored in advance, and an applet icon to which position information that is successfully matched with the first position in the position information list belongs may be determined as a target applet icon.
As a possible implementation manner, the first position may be compared with each position in the position information list to determine whether the first position matches with the position information of any applet icon in the position information list, and if the first position matches with some position information in the position information list successfully, the applet icon corresponding to the target position information that matches with the first position is determined as the target applet icon. For example, when the first position is successfully matched with certain position information in the position information list, the identifier of the applet icon corresponding to the target position information (the position information successfully matched with the first position in the position information list) can be determined according to the identifier of each applet icon recorded in the position information list and the corresponding position information, and the applet icon corresponding to the identifier is determined as the target applet icon.
It can be understood that determining whether the first position matches the position information of any of the applet icons may determine whether the first position falls within the area defined by the position information of the applet icon. For example, the area range determined by the position information of a certain applet icon is a rectangular area surrounded by (100 ), (300,100), (100, 300) and (300 ), and the first position is (100 ), and the first position is determined to match the position information of the applet icon.
Step 103, when a second request for calling a second operation event function is acquired, according to a second position included in the second request, adjusting position information of the target applet icon in the pre-established initial array, and generating a pre-layout array.
The second operation event function may be a movement function, such as a mouse movement event function onmousemove and a finger movement event function touchmove.
In this embodiment, after the user selects the target applet icon, the mouse or finger may be dragged to move the target applet icon. When the user moves the target applet icon, the applet automatic layout device acquires a second request for calling a second operation event function, wherein the second request comprises a second position to which the mouse or the finger of the user is currently moved. And the automatic applet layout device acquires a second position from the second request, and adjusts the position information of the target applet icon in the initial array according to the second position to obtain a pre-layout array.
In specific implementation, a touchmove callback function can be set for the applet list page, when the user moves a finger for holding a target applet icon, the touchmove function is called, a touchpresent object containing the position of the finger after the user moves is transmitted into the touchpresent object, and the position of the finger, namely the second position, can be obtained from the touchpresent object. With the continuous movement of the user's finger, the finger position in the touchvent object changes. The applet automatic layout apparatus continuously acquires the second position and adjusts the position information of the target applet icon according to the newly acquired second position.
As a possible implementation manner, adjusting the position information of the target applet icon in the initial array according to the second position may be implemented by changing a left value and a top value of the target applet icon in the initial array. Specifically, the left value of the target applet icon in the initial array is adjusted to the left offset of the mouse or the finger relative to the page of the applet list in the second position, and the top value of the target applet icon in the initial array is adjusted to the upper offset of the mouse or the finger relative to the page of the applet list in the second position, so that the target applet icon moves along with the movement of the mouse or the finger.
In a possible implementation manner of the embodiment of the present disclosure, when the second request is obtained, the z-index attribute value of the target applet icon may also be adjusted, for example, if the initial value of the z-index attribute value of each applet icon is 2000, the z-index attribute value of the target applet icon may be set to a value greater than 2000, such as 2010, so that the target applet is displayed on other applet icons. When the z-index attribute values of the respective applet icons do not coincide, the z-index attribute value of the target applet icon may be set to be greater than a maximum value among the z-index attribute values of the respective applet icons.
And 104, when the fact that the end event function is called is monitored, rendering is carried out according to the pre-layout array, and a small program sequence list page which is re-laid out is displayed.
In this embodiment, when it is monitored that the end event function is called, the automatic applet layout device may render according to the pre-layout array to display the rearranged applet sequence list page. For example, the pre-layout array may be rendered by using the rendering code, so as to implement the re-layout of the page in the small program list.
In specific implementation, a touchend callback function can be set for the applet list page, when a user finishes mouse dragging operation or finger touch dragging operation, the applet automatic layout device can obtain a touchend callback function calling request and call the touchend callback function, at the moment, the touchend callback function is determined to be called, then the pre-layout array is rendered, and rearrangement of applet icons in the applet list page is achieved.
In a possible implementation manner of the embodiment of the present disclosure, after the applet list page is re-laid, the pre-stored location information list may be updated according to the identifier and the location information of each applet icon in the re-laid applet list page, or according to the information of each applet icon recorded in the pre-laid array, so as to accurately determine the target applet icon when the applet list page is re-laid in the following.
According to the automatic layout method of the small programs, when a first request for calling a first operation event function is obtained, a first position where current operation occurs is obtained from the first request, a target small program icon is determined according to the first position and a pre-stored position information list, when a second request for calling a second operation event function is obtained, position information of the target small program icon in a pre-established initial array is adjusted according to a second position contained in the second request, a pre-layout array is generated, then when it is monitored that an end event function is called, rendering is carried out according to the pre-layout array, and a newly-laid small program sequence list page is displayed. Therefore, the position information of the dragged target small program icon is adjusted according to the position information carried in the mobile event function, and the small program sequence list page after the position information is adjusted is rendered and displayed, so that the automatic layout of the small program icons is realized, convenience is provided for a user to adjust the arrangement sequence of the small programs in the small program distribution platform, and the user experience is improved.
Fig. 2 is a schematic flow chart of an applet automatic layout method according to another embodiment of the disclosure.
As shown in fig. 2, the applet automatic layout method may include the steps of:
step 201, when a first request for calling a first operation event function is acquired, acquiring a first position where a current operation occurs from the first request.
Step 202, determining a target applet icon according to the first position and a pre-stored position information list.
In this embodiment, for the description of step 201 to step 202, refer to the description of step 101 to step 102 in the foregoing embodiment, and are not described herein again.
In step 203, when a second request for calling a second operation event function is obtained, whether the value of the state variable of the initial array is the first preset value is judged.
When a first request for calling a first operation event function is acquired, the state variable of the initial array is set to be a first preset value.
In a specific implementation, an initial value may be set for a state variable of the initial array, where the initial value is different from the first preset value, for example, the initial value is set to 0, and when the first request is obtained, the value of the state variable is set to 1.
In this embodiment, when the second request for calling the second operation event function is obtained, the applet automatic layout apparatus determines whether the value of the state variable of the initial array is the first preset value, if so, step 204 is executed, otherwise, step 213 is skipped, and the local layout process is ended.
Step 204, adjusting the position information of the target applet icon in the initial array according to the second position included in the second request.
In this embodiment, for the description of step 204, reference may be made to the description of step 103 in the foregoing embodiment, and details are not described here.
Step 205, comparing the adjusted position information of the target applet icon with the position information of other applet icons in the position information list, wherein the other applet icons are the applet icons except the target applet icon in the position information list.
In this embodiment, after the position information of the target applet icon is adjusted, the adjusted position information of the target applet icon may be compared with the position information of other applet icons except the target applet icon in a pre-stored position information list to determine whether the adjusted position information of the target applet icon matches with the position information of one applet icon in the other applet icons.
In step 206, if the adjusted position information of the target applet icon matches with the position information of any one of the other applet icons, the target position of any one applet icon in the initial array is determined according to the identifier of any applet icon.
In this embodiment, if it is known that the adjusted position information of the target applet icon matches the position information of any applet icon in other applets, it is determined that the matched applet icon coincides with the target applet icon, and then the target position of the coinciding applet icon in the initial array is determined according to the identifier of the coinciding applet icon.
In this embodiment, when the position information of a certain applet icon in the position information list matches the adjusted position information of the target applet icon, the identifier of the applet icon that coincides with the target applet icon may be obtained according to the correspondence between the position information and the identifier of the applet icon, and then the target position may be determined according to the determined identifier. For example, if the determined identifier is 3, the position where the third element in the initial array is located is determined as the target position.
And step 207, inserting information of the preset icon into the target position to generate a pre-layout array.
And step 208, rendering according to the pre-layout array, and displaying the pre-layout small program sequence list page.
In this embodiment, after the target position is determined, information of a preset icon may be inserted into the target position to obtain a pre-layout array.
The information of the preset icon at least comprises the height and the width of the preset icon, the left offset and the upper offset relative to the small program sequence list page, and the information of the preset icon can also optionally comprise a picture resource source link, a z-index attribute value and the like of the preset icon. The height, width, left offset and upper offset of the preset icon may be preset, or the height, width, left offset and upper offset of the original applet icon at the target position may be respectively set as the height, width, left offset and upper offset of the preset icon, which is not limited in this disclosure.
It can be understood that after the preset icon is inserted into the target position, the position information of the original applet icon at the target position and the position information of all the applet icons thereafter are also changed.
And further, rendering the generated pre-layout array to display the pre-layout small program sequence list page. Through the pre-layout, the user can know the display style of the rearranged small program sequence list page in advance, so that the layout can be changed immediately when the user is dissatisfied.
Step 209, when it is monitored that the end event function is called, determining whether the value of the state variable of the pre-layout array is the second preset value.
The second preset value can be preset, the second preset value is different from the initial value and the first preset value of the state variable, and the value of the state variable can be set to be the second preset value when the pre-layout stage is entered, namely after the adjusted target small program icon is known to be overlapped with other small program icons. For example, the initial value of the state variable of the initial array is set to 0; when the first request is acquired, setting the value of the state variable to 1 (a first preset value); after the position information of the target applet icon in the initial array is adjusted according to the second position contained in the second request, if the position information of the adjusted target applet icon is obtained to be matched with the position information of some other applet icon, a pre-layout stage is started, and the value of the state variable of the initial array is set to be 2 (a second preset value). The pre-layout array is generated after the preset icon is added in the initial array in the pre-layout stage, so that the value of the state variable of the pre-layout array is 2.
In this embodiment, when it is monitored that the end event function is called, it may be determined whether a value of a state variable of the pre-layout array is a second preset value, if the value of the state variable is the second preset value, step 210 is executed, otherwise, step 212 is executed.
And step 210, when the value of the state variable of the pre-layout array is a second preset value, replacing the information of the preset icon in the pre-layout array with the information of the target applet icon, and generating the target layout array.
And step 211, rendering according to the target layout array, and displaying the redistributed small program sequence list page.
In this embodiment, when it is known that the value of the state variable of the pre-layout array is the second preset value, the information of the preset icon in the pre-layout array is replaced with the information of the target applet icon, and the target layout array is generated.
In specific implementation, after the target applet icon is determined, the element of the array corresponding to the identifier is acquired from the initial array according to the identifier of the target applet icon, and the information of the target applet icon corresponding to the element is stored in a predefined selectedID variable. When the position information of the target small program icon in the initial array is adjusted according to the second position each time, updating the position information of the target small program icon in the selected ID variable according to the second position; or when it is known that the adjusted position information of the target applet icon matches the position information of a certain applet icon, the position information of the target applet icon in the selected id variable may be updated to the current adjusted position information. And when the value of the state variable is known to be a second preset value, acquiring information of the target small program icon from the selected ID variable to replace the information of the preset icon in the pre-layout array, and obtaining the target layout array.
And then, after the target layout array is obtained, rendering processing can be carried out on the target layout array so as to display the newly laid small program list page and finish the layout. After rendering, the identifiers of the applet icons in the rearranged applet list page are also relabeled, and the position information list can be updated to be used in the next layout.
And 212, when the value of the state variable of the pre-layout array is not a second preset value, rendering the pre-cached initial array, and displaying a small program sequence list page of the initial layout.
In this embodiment, the initial array may be cached for standby when the first request is obtained. And when the state variable value of the pre-layout array is not the second preset value, rendering the pre-cached initial array to display the small program list page of the initial layout, and restoring the small program list page to the state when the first request is acquired.
In a possible implementation manner of the embodiment of the present disclosure, when it is known that the value of the state variable of the pre-layout array is not the second preset value, the value of the state variable may be further reset to the initial state. In specific implementation, when the first request is obtained, the value of the state variable of the initial array may be assigned to a predefined initList variable, and when it is known that the value of the state variable is not the second preset value, the value of the state variable may be set as the value of the initList variable.
And step 213, ending.
In this embodiment, when the automatic layout is completed, or the initial layout is restored, or when it is known that the value of the state variable of the initial array is not the first preset value, the layout process is ended.
According to the automatic layout method of the small program, when the value of the state variable of the initial array is determined to be the first preset value, the position information of the target small program icon in the initial array is adjusted according to the second position information, so that the workload brought by adjusting the position information of the target small program icon when the target small program icon is not moved can be avoided, and the processing flow is saved; when the position information of the adjusted target small program icon is matched with the position information of any small program icon in other small program icons, the target position of any small program icon in the initial array is determined according to the identification of any small program icon, then the information of the preset icon is inserted into the target position to generate a pre-layout array, and rendering is performed according to the pre-layout array to display the pre-layout small program list page, so that a user can know the display style of the re-laid small program list page in advance, and the layout is changed immediately when the user is dissatisfied; the method comprises the steps of replacing information of preset icons with information of target small program icons when the state variables are the second preset values to generate target layout arrays, rendering according to the target layout arrays to show small program sequence list pages which are rearranged, rendering the initial arrays cached in advance when the values of the state variables are not the second preset values to show the small program sequence list pages which are initially arranged, achieving automatic layout of the small program icons, recovering to the initial layout when the small program icons do not enter the pre-layout state, guaranteeing normal display of the small program sequence list pages, and improving user experience.
In a possible implementation manner of the embodiment of the present disclosure, when it is monitored that a cancel event function is called, rendering is performed according to an initial array cached in advance, so as to display a small program sequence list page of an initial layout.
In the concrete implementation, a touchtouchcancel call-back function can be set for the applet list page, and when the touch operation of a finger or the click operation of a mouse is interrupted, the touchtouchcancel call-back function is called. For example, the touchtouchcancel callback function is called when a call is made or a pop-up is popped up. And when the touchtonuchancancancelcallback function is called, rendering the pre-cached initial array to recover the applet list page of the initial layout, and resetting the value of the state variable to the initial value.
In a possible implementation manner of the embodiment of the present disclosure, a transition attribute may be set for each applet icon, and in the setting, a style (for example, weight, height, and the like) and an effect duration corresponding to the transition attribute need to be set, so that when each applet icon changes from one style to another style, the effect duration gradually changes. For example, the transition attribute of all styles of each applet icon is set to 0.5 second, and any applet icon generates a transition effect of 0.5 second when any style attribute that changes its appearance or position changes.
In order to realize the above embodiment, the present disclosure further provides an automatic layout device for applets.
Fig. 3 is a schematic structural diagram of an automatic applet layout apparatus according to an embodiment of the disclosure.
As shown in fig. 3, the applet automatic layout apparatus 40 includes: an acquisition module 410, a determination module 420, an adjustment module 430, and a rendering module 440.
The obtaining module 410 is configured to, when a first request for calling a first operation event function is obtained, obtain a first position where a current operation occurs from the first request.
And the determining module 420 is configured to determine the target applet icon according to the first location and a pre-stored location information list.
In a possible implementation manner of the embodiment of the present disclosure, the determining module 420 is configured to determine whether the first position matches with position information of any applet icon in the position information list; and if so, determining the small program icon corresponding to the target position information matched with the first position as the target small program icon.
And the adjusting module 430 is configured to, when a second request for calling a second operation event function is acquired, adjust the position information of the target applet icon in the pre-established initial array according to a second position included in the second request, and generate the pre-layout array.
And the rendering module 440 is configured to, when it is monitored that the end event function is called, render according to the pre-layout array, and display the re-laid small program sequence list page.
In a possible implementation manner of the embodiment of the present disclosure, the adjusting module 430 is further configured to determine that the value of the state variable of the initial array is the first preset value before adjusting the position information of the target applet icon in the pre-established initial array according to the second position included in the second request.
In this embodiment, the adjusting module 430 is further configured to, after adjusting the position information of the target applet icon in the pre-established initial array according to the second position included in the second request, compare the adjusted position information of the target applet icon with the position information of other applet icons in the position information list, where the other applet icons are the applet icons in the position information list except the target applet icon; if the adjusted position information of the target small program icon is matched with the position information of any small program icon in other small program icons, determining the target position of any small program icon in the initial array according to the identifier of any small program icon; inserting information of a preset icon at a target position to generate a pre-layout array; rendering is carried out according to the pre-layout array, and the pre-layout small program sequence list page is displayed.
In this embodiment, the rendering module 440 is further configured to determine whether the value of the state variable of the pre-layout array is a second preset value after it is monitored that the end event function is called; when the value of the state variable of the pre-layout array is a second preset value, replacing the information of the preset icon in the pre-layout array with the information of the target applet icon to generate a target layout array; and rendering according to the target layout array, and displaying the rearranged small program sequence list page.
The rendering module 440 is further configured to render the pre-cached initial array when the value of the state variable of the pre-layout array is not the second preset value, and display the small-program sequence list page of the initial layout.
In a possible implementation manner of the embodiment of the present disclosure, the rendering module 440 is further configured to, when it is monitored that the cancel event function is called, render according to a pre-cached initial array, and display a small program sequence list page of an initial layout.
It should be noted that the foregoing explanation of the embodiment of the automatic layout method for applets is also applicable to the automatic layout device for applets of this embodiment, and the implementation principle thereof is similar and will not be described herein again.
According to the automatic applet layout device disclosed by the embodiment of the disclosure, when a first request for calling a first operation event function is obtained, a first position where a current operation occurs is obtained from the first request, a target applet icon is determined according to the first position and a pre-stored position information list, when a second request for calling a second operation event function is obtained, position information of the target applet icon in a pre-established initial array is adjusted according to a second position contained in the second request to generate a pre-layout array, and then when an end event function is monitored to be called, a sequence list is rendered according to the pre-layout array to display a re-laid applet page. Therefore, the position information of the dragged target small program icon is adjusted according to the position information carried in the mobile event function, and the small program sequence list page after the position information is adjusted is rendered and displayed, so that the automatic layout of the small program icons is realized, convenience is provided for a user to adjust the arrangement sequence of the small programs in the small program distribution platform, and the user experience is improved.
In order to implement the above embodiment, the present disclosure further provides an electronic device, including: a processor and a memory. Wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the applet automatic layout method as described in the foregoing embodiments.
Referring now to FIG. 4, a block diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: when a first request for calling a first operation event function is acquired, acquiring a first position where a current operation occurs from the first request; determining a target applet icon according to the first position and a pre-stored position information list; when a second request for calling a second operation event function is acquired, according to a second position contained in the second request, adjusting position information of the target small program icon in a pre-established initial array to generate a pre-layout array; and when the fact that the end event function is called is monitored, rendering is carried out according to the pre-layout array, and a small program list page of the re-layout is displayed.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation to the module itself, and for example, the determination module may be further described as a "module for determining the target applet icon according to the first location and a pre-stored location information list".
In order to achieve the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the applet automatic layout method as described in the foregoing embodiments.
Fig. 5 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. As shown in fig. 5, a computer-readable storage medium 300 having non-transitory computer-readable instructions 310 stored thereon according to an embodiment of the present disclosure. The non-transitory computer readable instructions 310, when executed by a processor, perform all or a portion of the steps of the text input method of the embodiments of the present disclosure as previously described.
To achieve the above embodiments, the present disclosure also proposes a computer program product, wherein when the instructions in the computer program product are executed by a processor, the automatic layout method of the small program according to the foregoing embodiments is implemented.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.

Claims (9)

1. An applet automatic layout method, comprising:
when a first request for calling a first operation event function is acquired, acquiring a first position where a current operation occurs from the first request;
determining a target applet icon according to the first position and a pre-stored position information list;
when a second request for calling a second operation event function is acquired, according to a second position contained in the second request, adjusting position information of the target small program icon in a pre-established initial array to generate a pre-layout array;
when the fact that the end event function is called is monitored, rendering is carried out according to the pre-layout array, and a small program list page which is re-laid out is displayed;
after the adjusting the position information of the target applet icon in the pre-established initial array according to the second position included in the second request, the method further includes:
comparing the adjusted position information of the target small program icon with position information of other small program icons in the position information list, wherein the other small program icons are small program icons except the target small program icon in the position information list;
if the adjusted position information of the target small program icon is matched with the position information of any small program icon in the other small program icons, determining the target position of the small program icon in the initial array according to the identifier of the small program icon;
the generating the pre-layout array comprises:
inserting information of a preset icon at a target position to generate a pre-layout array;
rendering is carried out according to the pre-layout array, and a pre-layout small program sequence list page is displayed.
2. The method of claim 1, wherein said determining a target applet icon from the first location and a list of pre-stored location information comprises:
judging whether the first position is matched with the position information of any small program icon in the position information list or not;
and if so, determining the small program icon corresponding to the target position information matched with the first position as the target small program icon.
3. The method of claim 1, further comprising, prior to said adjusting location information of the target applet icon in the pre-established initial array according to the second location included in the second request:
and determining the value of the state variable of the initial array as a first preset value.
4. The method of claim 1, wherein after the monitoring for the end event function is invoked, further comprising:
judging whether the value of the state variable of the pre-layout array is a second preset value or not;
rendering according to the pre-layout array and displaying the rearranged applet list page, comprising:
when the value of the state variable of the pre-layout array is a second preset value, replacing the information of the preset icon in the pre-layout array with the information of the target applet icon to generate a target layout array;
and rendering according to the target layout array, and displaying the rearranged small program sequence list page.
5. The method of claim 4, wherein after the determining whether the value of the state variable of the pre-layout array is a second preset value, further comprising:
and when the value of the state variable of the pre-layout array is not a second preset value, rendering the pre-cached initial array to display a small program sequence list page of the initial layout.
6. The method of any one of claims 1-5, further comprising:
and if the fact that the event canceling function is called is monitored, rendering is carried out according to the initial array cached in advance, and a small program sequence list page of the initial layout is displayed.
7. An automatic layout device for applets, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first position of a current operation from a first request when the first request for calling a first operation event function is acquired;
the determining module is used for determining a target applet icon according to the first position and a pre-stored position information list;
the adjusting module is used for adjusting the position information of the target small program icon in the pre-established initial array according to a second position contained in a second request when the second request for calling a second operation event function is obtained, and generating a pre-layout array; wherein, after adjusting the location information of the target applet icon in the pre-established initial array, the adjusting module is further configured to: comparing the adjusted position information of the target small program icon with position information of other small program icons in the position information list, wherein the other small program icons are small program icons except the target small program icon in the position information list; if the adjusted position information of the target small program icon is matched with the position information of any small program icon in the other small program icons, determining the target position of the small program icon in the initial array according to the mark of the small program icon; the generating the pre-layout array comprises: inserting information of a preset icon into a target position to generate a pre-layout array; rendering is carried out according to the pre-layout array, and a pre-layout small program sequence list page is displayed;
and the rendering module is used for rendering according to the pre-layout array when the terminal event function is monitored to be called, and displaying the re-laid small-program sequence list page.
8. An electronic device comprising a processor and a memory;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the applet automatic layout method according to any one of claims 1-6.
9. A non-transitory computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the applet automatic layout method according to any one of claims 1-6.
CN201910151855.7A 2019-02-28 2019-02-28 Automatic layout method and device for small programs Active CN109885314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910151855.7A CN109885314B (en) 2019-02-28 2019-02-28 Automatic layout method and device for small programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910151855.7A CN109885314B (en) 2019-02-28 2019-02-28 Automatic layout method and device for small programs

Publications (2)

Publication Number Publication Date
CN109885314A CN109885314A (en) 2019-06-14
CN109885314B true CN109885314B (en) 2022-10-11

Family

ID=66929994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910151855.7A Active CN109885314B (en) 2019-02-28 2019-02-28 Automatic layout method and device for small programs

Country Status (1)

Country Link
CN (1) CN109885314B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321269B (en) * 2019-06-28 2023-06-20 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for processing small program
CN110489041B (en) * 2019-07-12 2021-04-06 北京字节跳动网络技术有限公司 Method, device, equipment and medium for automatically aligning small program dragging elements
CN110502709B (en) * 2019-08-05 2022-06-14 苏州浪潮智能科技有限公司 Method and device for displaying ring data in Echarts ring diagram
CN111083563B (en) * 2019-12-30 2021-09-07 深圳市康冠智能科技有限公司 Debugging method and device of television UI (user interface) control, television and storage medium
CN111209033B (en) * 2020-01-10 2024-01-12 百度在线网络技术(北京)有限公司 Method for downloading small program package and related equipment
CN111680241B (en) * 2020-04-16 2023-08-08 上海淇玥信息技术有限公司 Page layout method and device and electronic equipment
CN115220629B (en) * 2022-06-23 2024-04-05 惠州华阳通用电子有限公司 Interface element position adjustment method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009039758A1 (en) * 2007-09-24 2009-04-02 Tencent Technology (Shenzhen) Company Limited A method and system for displaying expression icons
CN107329656A (en) * 2017-06-28 2017-11-07 维沃移动通信有限公司 The location regulation method and mobile terminal of a kind of application icon
CN107391002A (en) * 2017-07-20 2017-11-24 上海金大师网络科技有限公司 A kind of transparent floating can pull list generation method and system
CN108153569A (en) * 2017-12-22 2018-06-12 北京酷我科技有限公司 A kind of ListView controls for pulling sequence
WO2018144339A2 (en) * 2017-05-16 2018-08-09 Apple Inc. Devices, methods, and graphical user interfaces for navigating between user interfaces and interacting with control objects

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2610725B1 (en) * 2011-12-29 2019-10-23 Orange Drag and drop operation in a graphical user interface with size alteration of the dragged object
US20140108978A1 (en) * 2012-10-15 2014-04-17 At&T Mobility Ii Llc System and Method For Arranging Application Icons Of A User Interface On An Event-Triggered Basis
CN103838457A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 Filter list display method and device
US10514821B2 (en) * 2014-12-05 2019-12-24 Samsung Electronics Co., Ltd. Method and apparatus for relocating an icon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009039758A1 (en) * 2007-09-24 2009-04-02 Tencent Technology (Shenzhen) Company Limited A method and system for displaying expression icons
WO2018144339A2 (en) * 2017-05-16 2018-08-09 Apple Inc. Devices, methods, and graphical user interfaces for navigating between user interfaces and interacting with control objects
CN107329656A (en) * 2017-06-28 2017-11-07 维沃移动通信有限公司 The location regulation method and mobile terminal of a kind of application icon
CN107391002A (en) * 2017-07-20 2017-11-24 上海金大师网络科技有限公司 A kind of transparent floating can pull list generation method and system
CN108153569A (en) * 2017-12-22 2018-06-12 北京酷我科技有限公司 A kind of ListView controls for pulling sequence

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
小程序拖动;kevenfeng;《https://github.com/kevenfeng/DragSort》;20180626;第3-5页 *
微信小程序内拖动图片实现移动、放大、旋转;胜天一子半;《https://blog.csdn.net/qq_37942845/article/details/80169907》;20180502;第2-3页 *

Also Published As

Publication number Publication date
CN109885314A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109885314B (en) Automatic layout method and device for small programs
CN110046021B (en) Page display method, device, system, equipment and storage medium
US8943164B2 (en) Apparatus and methods for retrieving/ downloading content on a communication device
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN110139118B (en) Function running method and device of application program, electronic equipment and storage medium
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
CN109656445B (en) Content processing method, device, terminal and storage medium
US11314391B2 (en) Navigation bar controlling method and terminal
CN106843794B (en) Split screen display method and system based on android
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN111142997A (en) Application display method, vehicle machine and computer storage medium
WO2024078471A1 (en) Work item information viewing method and apparatus, electronic device, and storage medium
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN109669589B (en) Document editing method and device
CN109976857B (en) Display control method and device of terminal interface, storage medium and electronic equipment
CN110069186B (en) Method and equipment for displaying operation interface of application
CN113721936A (en) Application management method, intelligent terminal, device and storage medium
CN111767062A (en) Application configuration data updating method, device, equipment and storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN110472220B (en) Paste operation processing method and device, electronic equipment and computer-readable storage medium
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN110807164B (en) Automatic image area adjusting method and device, electronic equipment and computer readable storage medium
US20140289674A1 (en) Apparatus and method for managing shortcut menu of applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant