+

CN109885314A - Small routine autoplacement method and device - Google Patents

Small routine autoplacement method and device Download PDF

Info

Publication number
CN109885314A
CN109885314A CN201910151855.7A CN201910151855A CN109885314A CN 109885314 A CN109885314 A CN 109885314A CN 201910151855 A CN201910151855 A CN 201910151855A CN 109885314 A CN109885314 A CN 109885314A
Authority
CN
China
Prior art keywords
small routine
icon
target
location information
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.)
Granted
Application number
CN201910151855.7A
Other languages
Chinese (zh)
Other versions
CN109885314B (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

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure proposes a kind of small routine autoplacement method and device, wherein method includes: that the first position that current operation occurs is obtained from first request when getting the first request for calling the first action event function;According to the first position and pre-stored location information list, target small routine icon is determined;When getting the second request for calling the second action event function, according to the second position for including in second request, the location information of target small routine icon described in the initial array pre-established is adjusted, pre-layout array is generated;It when monitoring that End Event function is called, is rendered according to the pre-layout array, shows the small routine original list being laid out again.By this method, the autoplacement of small routine icon can be realized, solve the technical issues of can not carrying out autoplacement to small routine in the prior art.

Description

Small routine autoplacement method and device
Technical field
This disclosure relates to which internet is for technical field more particularly to a kind of small routine autoplacement method and device.
Background technique
With the development of internet technology, more and more Internet enterprises begin to focus on the exploitation of small routine.Small routine It is a kind of without downloading the i.e. workable application of installation, it is favored by the majority of users.And along with the growth of small routine scale, Small routine distribution platform also gradually increases, and each small routine is shown in the form of icon in small routine distribution platform.
However, the function that current small routine distribution platform is supported is limited, the function that shows, classifies, comments on and score only is supported Can, do not support the autoplacement arranging functional of small routine, user can not be laid out small routine.Therefore, how to realize small The autoplacement of small routine, becomes urgent problem to be solved in program distribution platform.
Summary of the invention
The disclosure provides a kind of small routine autoplacement method and device, and solution in the prior art can not carry out small routine The technical issues of autoplacement.
For this purpose, disclosure first aspect proposes a kind of small routine autoplacement method, with realize small routine icon from Dynamic layout, promotes user experience.
Disclosure second aspect proposes a kind of small routine autoplacement device.
The disclosure third aspect proposes a kind of electronic equipment.
Disclosure fourth aspect proposes a kind of non-transient computer readable storage medium.
The 5th aspect of the disclosure proposes a kind of computer program product.
Disclosure first aspect embodiment proposes a kind of small routine autoplacement method, comprising:
When getting the first request for calling the first action event function, current operation is obtained from first request The first position of generation;
According to the first position and pre-stored location information list, target small routine icon is determined;
When getting the second request for calling the second action event function, according to include in second request second Position adjusts the location information of target small routine icon described in the initial array pre-established, generates pre-layout array;
It when monitoring that End Event function is called, is rendered according to the pre-layout array, displaying is laid out again Small routine original list.
The small routine autoplacement method of the embodiment of the present disclosure, by calling the of the first action event function getting When one request, the first position that current operation occurs is obtained from the first request, according to first position and pre-stored position Information list determines target small routine icon, when getting the second request for calling the second action event function, according to second The second position for including in request adjusts the location information of target small routine icon in the initial array pre-established, generates pre- Layout array when monitoring that End Event function is called, is rendered in turn according to pre-layout array, shows cloth again The small routine original list of office.It is small by adjusting dragged target according to the location information carried in moving event function as a result, The location information of program icon, and display location information small routine original list adjusted is rendered, realize small routine icon Autoplacement, for user adjust small routine distribution platform in putting in order for small routine provide convenience, improve user's body It tests.
Disclosure second aspect embodiment proposes a kind of small routine autoplacement device, comprising:
Module is obtained, for being requested from described first when getting the first request for calling the first action event function The middle first position for obtaining current operation and occurring;
Determining module, for determining target small routine according to the first position and pre-stored location information list Icon;
Module is adjusted, for being asked according to described second when getting the second request for calling the second action event function The second position for including in asking adjusts the location information of target small routine icon described in the initial array pre-established, generates Pre-layout array;
Rendering module, for being rendered according to the pre-layout array when monitoring that End Event function is called, Show the small routine original list being laid out again.
The small routine autoplacement device of the embodiment of the present disclosure, by calling the of the first action event function getting When one request, the first position that current operation occurs is obtained from the first request, according to first position and pre-stored position Information list determines target small routine icon, when getting the second request for calling the second action event function, according to second The second position for including in request adjusts the location information of target small routine icon in the initial array pre-established, generates pre- Layout array when monitoring that End Event function is called, is rendered in turn according to pre-layout array, shows cloth again The small routine original list of office.It is small by adjusting dragged target according to the location information carried in moving event function as a result, The location information of program icon, and display location information small routine original list adjusted is rendered, realize small routine icon Autoplacement, for user adjust small routine distribution platform in putting in order for small routine provide convenience, improve user's body It tests.
Disclosure third aspect embodiment proposes a kind of electronic equipment, comprising: processor and memory;Wherein, described Processor is corresponding with the executable program code to run by reading the executable program code stored in the memory Program, for realizing the small routine autoplacement method as described in first aspect embodiment.
Disclosure fourth aspect embodiment proposes a kind of non-transient computer readable storage medium, is stored thereon with calculating Machine program realizes the small routine autoplacement method as described in first aspect embodiment when the program is executed by processor.
The 5th aspect embodiment of the disclosure proposes a kind of computer program product, when in the computer program product When instruction is executed by processor, the small routine autoplacement method as described in first aspect embodiment is executed.
The additional aspect of the disclosure and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the disclosure.
Detailed description of the invention
The disclosure is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the small routine autoplacement method that one embodiment of the disclosure proposes;
Fig. 2 is the flow diagram for the small routine autoplacement method that another embodiment of the disclosure proposes;
Fig. 3 is the structural schematic diagram for the small routine autoplacement device that one embodiment of the disclosure proposes;
Fig. 4 is the structural schematic diagram of the electronic equipment for realizing the embodiment of the present disclosure;And
Fig. 5 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.
Specific embodiment
Embodiment of the disclosure is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the disclosure, and should not be understood as the limitation to the disclosure.
Below with reference to the accompanying drawings the small routine autoplacement method and device of the embodiment of the present disclosure are described.
Fig. 1 is the flow diagram for the small routine autoplacement method that one embodiment of the disclosure proposes, this method can be by The small routine autoplacement device that the embodiment of the present disclosure proposes executes, which can be installed on desktop In the electronic equipments such as brain, laptop, smart phone, tablet computer.
As shown in Figure 1, the small routine autoplacement method the following steps are included:
Step 101, it when getting the first request for calling the first action event function, is obtained from the first request current Operate the first position occurred.
Wherein, the first action event function clicks or presses on some small routine figure in small routine original list in user It is called when mark, that is, when the user clicks or when pressing some small routine icon, generates the first request to call the first operation Event functions, current operation refer to that user is currently clicking or press on operation to what small routine icon executed.First action event letter Number such as can be finger down event functions touchstart, mouse down event function onmousedown.
For small routine list shown in same small routine distribution platform, different user is suitable to the arrangement of each small routine Sequence requires difference, for example, some users wish that the small routine by class of doing shopping comes position forward in small routine list, and has User wishes to come the small routine of video playback class into position forward in small routine list.
For the small routine original list being laid out, the position of each small routine icon included in the page is had determined that. When user wants to be laid out the small routine icon in the page again, to obtain the small routine original list for meeting self-demand When, user, which can select, needs mobile small routine icon.For example, mouse can be placed on by user needs mobile small routine On icon, and mouse is pressed to select the small routine icon;Alternatively, user can use finger to the small routine figure for needing movement Mark executes pushing operation to select the small routine icon.
By taking user is using the selected small routine icon for needing movement of finger as an example.When user utilizes finger to small routine list When some small routine icon in the page executes pushing operation, the first request for calling the first action event function can be generated, In, it include the location information of the current institute's touch location of user's finger in the first request.When small routine autoplacement device is got When calling the first of the first action event function to request, the first position that current operation event occurs is obtained from the first request, Obtain the location information of the current institute's touch location of user's finger.
When specific implementation, the call back function of touchstart can be set for small routine original list, when the finger of user When pinning some small routine icon, touchstart function is called, and includes user's finger position to incoming one in the function TouchEvent object, the available position currently pressed to user's finger from the TouchEvent object, i.e., first Position.
Step 102, according to first position and pre-stored location information list, target small routine icon is determined.
Wherein, location information list can be stored in advance in small routine autoplacement device, be wrapped in location information list It includes when getting the first request, the mark of each small routine icon and corresponding location information, small in small routine list interface The mark of program icon can be determined according to storage location of the information of small routine icon in initial array, for example, some is small The information of program icon is stored in initial array as first element of initial array, then the small routine icon is identified as 1.Initial array pre-establishes, and an element of initial array corresponds in small routine original list a small routine icon Information, the information of small routine icon include but is not limited to the picture resource of the location information of small routine icon, the high information of width, icon Carry out linking sources etc..That is, for the small routine icon for including in the length representative of initial array small routine original list Number can render corresponding small routine icon using the data of each element in initial array, generate small routine list page In rendering corresponding mark can also be arranged for each small routine icon according to position of each element in initial array in face Know.
For example, following code is initialized the initial array that a length is 2:
Wherein, left indicates left offset of the icon relative to small routine original list, and top indicates icon relative to little Cheng The anchor point (i.e. the origin of itself) of the upper offset of the sequence table page, icon is its upper left corner.According to the left value of icon, top Value, width value and height value, can determine position of the icon in small routine original list, with above-mentioned code definition For first icon, coordinate of four vertex of the icon in small routine original list be (100,100), (300, 100), (100,300) and (300,300).
For given array, is rendered, can be shown in small routine original list corresponding using following code Small routine icon:
In the present embodiment, behind the first position for obtaining pushing operation generation, the first position that can will acquire and in advance The each location information recorded in the location information list of storage is matched, and will be matched in location information list with first position Small routine icon belonging to successful location information, is determined as target small routine icon.
As a kind of possible implementation, first position and each position in location information list can be compared Compared with, to judge whether first position matches with the location information of small routine icon any in location information list, if first Set with some location information successful match in location information list, then will be corresponding with the matched target position information in first position Small routine icon, be determined as target small routine icon.For example, when some position in first position and location information list is believed It, can according to the mark of each small routine icon recorded in location information list and corresponding location information when ceasing successful match To determine the corresponding small routine figure of target position information (in location information list with the location information of first position successful match) Target mark, is determined as target small routine icon for the corresponding small routine icon of the mark.
, it is understood that judging whether first position matches with the location information of any small routine icon, it can be determined that In the regional scope that the location information whether first position falls in small routine icon determines.For example, the position of some small routine icon The determining regional scope of confidence breath is the rectangular area that (100,100), (300,100), (100,300) and (300,300) surround, First position is (100,100), it is determined that first position is matched with the location information of the small routine icon.
Step 103, when getting the second request for calling the second action event function, include according in the second request The second position adjusts the location information of target small routine icon in the initial array pre-established, generates pre-layout array.
Wherein, the second action event function is called in user's drag target small routine icon, the second action event letter Number can be move function, such as mouse moving event function onmousemove, finger moving event function touchmove.
In the present embodiment, after user's selected target small routine icon, mouse or finger can be dragged so that target little Cheng Sequence icon is mobile.When user's movement target small routine icon, small routine autoplacement device can get calling the second operation thing Second request of part function, wherein include mouse or the second position that user's finger is currently moved in the second request.Small routine Autoplacement device obtains the second position from the second request, and adjusts target small routine figure in initial array according to the second position Target location information obtains pre-layout array.
When specific implementation, the call back function of touchmove can be set for small routine original list, when user's movement is pinned When the finger of target small routine icon, touchmove function is called, and being passed to one into the function includes after user is mobile Finger position TouchEvent object, available finger position, the i.e. second position from the TouchEvent object.With The continuous movement of user's finger, the finger position in TouchEvent object change correspondingly.Small routine autoplacement device is held It is continuous to obtain the second position, and according to the location information of the second position adjustment target small routine icon newly obtained.
As a kind of possible implementation, the position of target small routine icon in initial array is adjusted according to the second position Information can be realized by changing the left value and top value of target small routine icon in initial array.Specifically, by initial number The left value of target small routine icon is adjusted to the left side of mouse or finger relative to small routine original list in the second position in group The top value of target small routine icon in initial array is adjusted in the second position mouse or finger relative to little Cheng by offset The upper offset of the sequence table page, so that target small routine icon follows the movement of mouse or finger and moves.
In a kind of possible implementation of the embodiment of the present disclosure, when getting the second request, target can also be adjusted The z-index attribute value of small routine icon, for example, the initial value of the z-index attribute value of each small routine icon is 2000, The z-index attribute value of target small routine icon can then be set to the 2010 equal values greater than 2000, so that target small routine It is shown on other small routine icons.It, can be by target little Cheng when the z-index attribute value of each small routine icon is inconsistent The z-index attribute value of sequence icon is set greater than the maximum value in the z-index attribute value of each small routine icon.
Step 104, it when monitoring that End Event function is called, is rendered, is shown again according to pre-layout array The small routine original list of layout.
In the present embodiment, when monitoring that End Event function is called, small routine autoplacement device can be according to pre- Layout array is rendered, to show the small routine original list being laid out again.For example, can use aforementioned rendering code to pre- Layout array is rendered, and realizes the layout again of small routine original list.
When specific implementation, touchend call back function can be set for small routine original list, be dragged when user terminates mouse When dynamic operation or end finger touch drag operation, small routine autoplacement device, which can be got, calls touchend readjustment letter Several requests, and touchend call back function is called, determine that touchend call back function is called at this time, and then to pre-layout number Group carries out rendering processing, realizes the rearrangement of small program icon in small routine original list.
In a kind of possible implementation of the embodiment of the present disclosure, small routine original list is carried out after being laid out again, also It can be according to the mark and location information of each small routine icon in the small routine original list after being laid out again, or according to pre- The information of each small routine icon recorded in layout array is updated pre-stored location information list, rear It is continuous when being laid out small routine original list again again, accurately determine target small routine icon.
The small routine autoplacement method of the present embodiment, by being asked get the first action event function of calling first When asking, the first position that current operation occurs is obtained from the first request, according to first position and pre-stored location information List determines target small routine icon, when getting the second request for calling the second action event function, according to the second request In include the second position, adjust the location information of target small routine icon in the initial array pre-established, generate pre-layout Array in turn, when monitoring that End Event function is called, is rendered according to pre-layout array, and displaying is laid out small again The program listing page.As a result, by adjusting dragged target small routine figure according to the location information carried in moving event function Target location information, and display location information small routine original list adjusted is rendered, realize the automatic of small routine icon Layout adjusts putting in order for small routine in small routine distribution platform for user and provides convenience, and the user experience is improved.
Fig. 2 is the flow diagram for the small routine autoplacement method that another embodiment of the disclosure proposes.
As shown in Fig. 2, the small routine autoplacement method, may comprise steps of:
Step 201, it when getting the first request for calling the first action event function, is obtained from the first request current Operate the first position occurred.
Step 202, according to first position and pre-stored location information list, target small routine icon is determined.
In the present embodiment, description to step 201- step 202, referring in previous embodiment to step 101- step 102 Description, details are not described herein again.
Step 203, when getting the second request for calling the second action event function, judge that the state of initial array becomes Whether the value of amount is the first preset value.
Wherein, when getting the first request for calling the first action event function, the state variable of initial array is set It is set to the first preset value.
When specific implementation, initial value can be set for the state variable of initial number group, wherein it is pre- that initial value is different from first If value, for example, initial value is set as 0, when getting the first request, is set as 1 for the value of state variable.
In the present embodiment, when getting the second request for calling the second action event function, small routine autoplacement dress Whether the value for setting the state variable for judging initial array is the first preset value, if so, thening follow the steps 204, otherwise, jumps to step Rapid 213, terminate local layout process.
Step 204, according to the second position for including in the second request, the position of target small routine icon in initial array is adjusted Confidence breath.
In the present embodiment, description to step 204 may refer to the description in previous embodiment to step 103, herein not It repeats again.
Step 205, by other small routines in the location information of target small routine icon adjusted and location information list The location information of icon is compared, wherein other small routine icons be in location information list in addition to target small routine icon Small routine icon.
It, can be small by target adjusted after being adjusted to the location information of target small routine icon in the present embodiment Other small routine figures in the location information of program icon, with pre-stored location information list in addition to target small routine icon Target location information is compared, with judge target small routine icon adjusted location information whether with other small routine figures The location information matching of some small routine icon in mark.
Step 206, if the location information of target small routine icon adjusted and any little Cheng in other small routine icons The location information of sequence icon matches, then according to the mark of any small routine icon, determines any small routine icon in initial array In target position.
In the present embodiment, if know the location information of target small routine icon adjusted with it is any small in other small routines The location information of program icon matches, it is determined that matched any small routine icon is overlapped with target small routine icon, in turn According to by the mark of coincidence small routine icon, the target position by coincidence small routine icon in initial array is determined.
Due to recorded in location information list be each small routine icon in small routine list interface mark and correspondence Location information, thus, in the present embodiment, when in location information list the location information of some small routine icon with it is adjusted It, can be according to the corresponding pass between location information and the mark of small routine icon when the location information matching of target small routine icon System obtains the mark for the small routine icon being overlapped with target small routine icon, and then according to determining mark, determines target position It sets.For example, what is determined is identified as 3, it is determined that the position where third element in initial array is target position.
Step 207, in the information of target position insertion preset icon, pre-layout array is generated.
Step 208, it is rendered according to pre-layout array, shows the small routine original list of pre-layout.
In the present embodiment, it is determined that after target position, can be obtained in the information of target location insertion preset icon Pre-layout array.
Wherein, the information of preset icon includes at least but the height and width of preset icon, and arranges relative to small routine The left offset and upper offset of the table page, it is also an option that property include preset icon picture resource come linking sources, z- Index attribute value etc..Height, width, left offset and the upper offset of preset icon can be preset, can also be by target The height of original small routine icon, width, left offset and upper offset at position, be respectively set to preset icon height, Width, left offset and upper offset, the disclosure to this with no restriction.
, it is understood that after target location is inserted into preset icon, the position of the original small routine icon of target location The location information of confidence breath and its all small routine icons later also changes correspondingly.
In turn, rendering processing is carried out to the pre-layout array of generation, to show the small routine original list of pre-layout.Pass through Pre-layout, the displaying pattern of small routine original list after user can be facilitated to understand layout again in advance, so as to discontented in user Meaning is instant change layout.
Step 209, when monitoring that End Event function is called, judge the state variable of pre-layout array value whether be Second preset value.
Wherein, the second preset value can be preset, the initial value and the first preset value of the second preset value and state variable It is different, target small routine icon adjusted and other small routine icon weights can be known when entering the pre-layout stage After conjunction, the second preset value is set by the value of state variable.For example, the initial value of the state variable of initial array is set as 0;When When getting the first request, the value of state variable is set as 1 (the first preset value);According to the second for including in the second request It sets and adjusts in initial array after the location information of target small routine icon, if obtaining the position of target small routine icon adjusted Confidence breath matches with the location information of some other small routine icon, then into the pre-layout stage, and by the shape of initial array The value of state variable is set as 2 (the second preset values).Since pre-layout array was added in initial array in the pre-layout stage It is generated after preset icon, therefore, the value of the state variable of pre-layout array is 2.
In the present embodiment, when monitoring that End Event function is called, it can be determined that the state variable of pre-layout array Value whether be the second preset value, if the value of state variable be the second preset value, then follow the steps 210, otherwise, execute step 212。
Step 210, when the value of the state variable of pre-layout array is the second preset value, figure will be preset in pre-layout array Target information replaces with the information of target small routine icon, generates target layout array.
Step 211, it is rendered according to target layout array, shows the small routine original list being laid out again.
In the present embodiment, when knowing the value of state variable of pre-layout array is the second preset value, then by pre-layout number The information of preset icon in group replaces with the information of target small routine icon, generates target layout array.
It, can be after determining target small routine icon, according to the mark of target small routine icon, from first when specific implementation The information of the corresponding target small routine icon of the element is stored in by the element that array corresponding with mark is obtained in beginning array In selectedID variable predetermined.In the position for adjusting target small routine icon in initial array according to the second position every time When confidence ceases, while according to the location information of target small routine icon in second position update selectedID variable;Alternatively, can To incite somebody to action when knowing that the location information of target small routine icon adjusted is matched with the location information of some small routine icon The updating location information of target small routine icon is current location information adjusted in selectedID variable.In turn, when obtaining When the value for knowing state variable is the second preset value, the information of target small routine icon is obtained from selectedID variable to replace The information of preset icon in pre-layout array, obtains target layout array.
In turn, after obtaining target layout array, rendering processing can be carried out to target layout array, is laid out again with showing Small routine original list, complete layout.After being rendered, each small routine icon in the small routine original list that is laid out again Mark also re-flagged, can also more new location information list, with next time layout when use.
Step 212, when non-second preset value of the value of the state variable of pre-layout array, to the initial array cached in advance It is rendered, shows the small routine original list of initial layout.
In the present embodiment, initial array can be cached with spare when getting the first request.When knowing pre- cloth When the value of the state variable of inning group is not the second preset value, rendering processing is carried out to the initial array cached in advance, to show Small routine original list, is reverted to state when getting the first request by the small routine original list of initial layout.
In a kind of possible implementation of the embodiment of the present disclosure, when the value for the state variable for knowing pre-layout array is not When the second preset value, the value of state variable can also be reset to original state.When specific implementation, it can be asked getting first When asking, the value of the state variable of initial array is assigned to initList variable predetermined, in the value for knowing state variable When not being the second preset value, it sets the value of state variable to the value of initList variable.
Step 213, terminate.
In the present embodiment, when completing autoplacement, initial layout is perhaps reverted to or in the state for knowing initial array When the value of variable is not the first preset value, terminate this layout process.
The small routine autoplacement method of the present embodiment, the value by the state variable in the initial array of determination are first pre- If just adjusting the location information of target small routine icon in initial array according to second location information when value, can be avoided not The location information bring workload that target small routine icon is adjusted when mobile target small routine icon, saves process flow; Pass through any small routine icon in the location information and other small routine icons for knowing target small routine icon adjusted When location information matches, according to the mark of any small routine icon, target of any small routine icon in initial array is determined Position, and then pre-layout array is generated in the information of target position insertion preset icon, it is rendered according to pre-layout array, with The small routine original list for showing pre-layout, the displaying of small routine original list after user can be facilitated to understand layout again in advance Pattern is instant change layout to be unsatisfied in user;By utilizing target little Cheng when state variable is the second preset value The information of the information replacement preset icon of sequence icon generates target layout array, is rendered according to target layout array, with exhibition Show the small routine original list being laid out again, when the value of state variable is not or not second preset value, to the initial number cached in advance Group is rendered, and to show the small routine original list of initial layout, can not only realize the autoplacement of small routine icon, also Initial layout can be reverted to when not entering pre-layout state, ensure that the normal display of small routine original list, improve User experience.
In a kind of possible implementation of the embodiment of the present disclosure, when monitor to cancel event functions it is called when, then root It is rendered according to the initial array cached in advance, to show the small routine original list of initial layout.
When specific implementation, one touchtouchcancel call back function can be set for small routine original list, work as hand When the touch operation of finger or the clicking operation of mouse are interrupted, the touchtouchcancel call back function is called.For example, working as When incoming call or pop-up pop-up, the touchtouchcancel call back function is called.When touchtouchcancel call back function quilt When calling, rendering processing is carried out to the initial array cached in advance, to restore the small routine original list of initial layout, and by shape The value of state variable resets to initial value.
In a kind of possible implementation of the embodiment of the present disclosure, transition can be set for each small routine icon (transition) attribute, setting when, need to be arranged the targeted pattern of transition attribute (such as weight, height etc.) and Effect duration, with each small routine icon from a kind of modal shift be another pattern when, gradually changed with effect duration.Than Such as, the transition attribute of all patterns of each small routine icon is disposed as 0.5 second, then any small routine icon is in office When what changes the Style Attributes variation of its appearance or position, 0.5 second transition effect is generated.
In order to realize above-described embodiment, the disclosure also proposes a kind of small routine autoplacement device.
Fig. 3 is the structural schematic diagram for the small routine autoplacement device that one embodiment of the disclosure proposes.
As shown in figure 3, the small routine autoplacement device 40 includes: to obtain module 410, determining module 420, adjustment module 430 and rendering module 440.
Wherein, module 410 is obtained, when for requesting get the first action event function of calling first, from first The first position that current operation occurs is obtained in request.
Determining module 420, for determining target small routine figure according to first position and pre-stored location information list Mark.
In a kind of possible implementation of the embodiment of the present disclosure, determining module 420 for judge first position whether with The location information matching of any small routine icon in location information list;If so, will be with the matched target position in first position The corresponding small routine icon of information, is determined as target small routine icon.
Module 430 is adjusted, for being requested according to second when getting the second request for calling the second action event function In include the second position, adjust the location information of target small routine icon in the initial array pre-established, generate pre-layout Array.
Rendering module 440, for being rendered according to pre-layout array when monitoring that End Event function is called, Show the small routine original list being laid out again.
In a kind of possible implementation of the embodiment of the present disclosure, adjustment module 430 is also used to according in the second request The second position for including adjusts in the initial array pre-established before the location information of target small routine icon, determines initial The value of the state variable of array is the first preset value.
In the present embodiment, adjustment module 430 is also used to according to the second position for including in the second request, and adjustment is built in advance In vertical initial array after the location information of target small routine icon, by the location information of target small routine icon adjusted It is compared with the location information of other small routine icons in location information list, wherein other small routine icons are institute's rhemes Set the small routine icon in information list in addition to target small routine icon;If the location information of target small routine icon adjusted It is matched with the location information of small routine icon any in other small routine icons, then according to the mark of any small routine icon, really Fixed target position of any small routine icon in initial array;In the information of target position insertion preset icon, pre- cloth is generated Inning group;It is rendered according to pre-layout array, shows the small routine original list of pre-layout.
In the present embodiment, rendering module 440 is also used to after monitoring that End Event function is called, judges pre-layout Whether the value of the state variable of array is the second preset value;When the value of the state variable of pre-layout array is the second preset value, By the information of preset icon described in pre-layout array, the information of target small routine icon is replaced with, generates target layout array; It is rendered according to target layout array, shows the small routine original list being laid out again.
Rendering module 440 is also used to when non-second preset value of the value of the state variable of pre-layout array, to preparatory caching Initial array rendered, show the small routine original list of initial layout.
In a kind of possible implementation of the embodiment of the present disclosure, rendering module 440 is also used to monitoring cancellation event It when function is called, is rendered according to the initial array cached in advance, shows the small routine original list of initial layout.
It should be noted that the aforementioned explanation to small routine autoplacement method embodiment is also applied for the embodiment Small routine autoplacement device, realization principle is similar, and details are not described herein again.
The small routine autoplacement device of the embodiment of the present disclosure, by calling the of the first action event function getting When one request, the first position that current operation occurs is obtained from the first request, according to first position and pre-stored position Information list determines target small routine icon, when getting the second request for calling the second action event function, according to second The second position for including in request adjusts the location information of target small routine icon in the initial array pre-established, generates pre- Layout array when monitoring that End Event function is called, is rendered in turn according to pre-layout array, shows cloth again The small routine original list of office.It is small by adjusting dragged target according to the location information carried in moving event function as a result, The location information of program icon, and display location information small routine original list adjusted is rendered, realize small routine icon Autoplacement, for user adjust small routine distribution platform in putting in order for small routine provide convenience, improve user's body It tests.
In order to realize above-described embodiment, the disclosure also proposes a kind of electronic equipment, comprising: processor and memory.Wherein, Processor runs program corresponding with executable program code by reading the executable program code stored in memory, with For realizing small routine autoplacement method as in the foregoing embodiment.
Below with reference to Fig. 4, it illustrates the structural representations for the electronic equipment 800 for being suitable for being used to realize the embodiment of the present disclosure Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 4 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 4, electronic equipment 800 may include processing unit (such as central processing unit, graphics processor etc.) 801, random access can be loaded into according to the program being stored in read-only memory (ROM) 802 or from storage device 808 Program in memory (RAM) 803 and execute various movements appropriate and processing.In RAM 803, it is also stored with electronic equipment Various programs and data needed for 800 operations.Processing unit 801, ROM 802 and RAM 803 pass through the phase each other of bus 804 Even.Input/output (I/O) interface 805 is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device 809, which can permit electronic equipment 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4 shows tool There is the electronic equipment 800 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808 It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: when getting the first request for calling the first action event function, from described the The first position that current operation occurs is obtained in one request;According to the first position and pre-stored location information list, Determine target small routine icon;When getting the second request for calling the second action event function, according to second request In include the second position, adjust the location information of target small routine icon described in the initial array pre-established, generate pre- Layout array;It when monitoring that End Event function is called, is rendered according to the pre-layout array, displaying is laid out again Small routine original list.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of module does not constitute the restriction to the module itself under certain conditions, for example, really Cover half block is also described as " according to the first position and pre-stored location information list, determining target small routine The module of icon ".
In order to realize above-described embodiment, the disclosure also proposes a kind of non-transient computer readable storage medium, stores thereon There is computer program, which realizes small routine autoplacement method as in the foregoing embodiment when being executed by processor.
Fig. 5 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.As shown in figure 5, root According to the computer readable storage medium 300 of the embodiment of the present disclosure, it is stored thereon with non-transient computer readable instruction 310.When this When non-transient computer readable instruction 310 is run by processor, the character input method of each embodiment of the disclosure above-mentioned is executed All or part of the steps.
In order to realize above-described embodiment, the disclosure also proposes a kind of computer program product, when the computer program product In instruction when being executed by processor, realize small routine autoplacement method as in the foregoing embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the disclosure.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the disclosure, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the disclosure includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the disclosure Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the disclosure can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the disclosure It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiment of the disclosure is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the disclosure System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of this disclosure Type.

Claims (10)

1. a kind of small routine autoplacement method characterized by comprising
When getting the first request for calling the first action event function, current operation is obtained from first request First position;
According to the first position and pre-stored location information list, target small routine icon is determined;
When getting the second request for calling the second action event function, according to the second for including in second request It sets, adjusts the location information of target small routine icon described in the initial array pre-established, generate pre-layout array;
It when monitoring that End Event function is called, is rendered according to the pre-layout array, displaying is laid out small again The program listing page.
2. the method as described in claim 1, which is characterized in that described to be believed according to the first position and pre-stored position List is ceased, determines target small routine icon, comprising:
Judge whether the first position matches with the location information of any small routine icon in the location information list;
If so, will small routine icon corresponding with the matched target position information in the first position, be determined as target little Cheng Sequence icon.
3. the method as described in claim 1, which is characterized in that described according to the second for including in second request It sets, before adjusting the location information of target small routine icon described in the initial array pre-established, further includes:
The value for determining the state variable of the initial array is the first preset value.
4. the method as described in claim 1, which is characterized in that described according to the second for including in second request It sets, after adjusting the location information of target small routine icon described in the initial array pre-established, further includes:
By other small routine icons in the location information of the target small routine icon adjusted and the location information list Location information be compared, wherein other described small routine icons are in the location information list except the target little Cheng Small routine icon outside sequence icon;
If any little Cheng in the location information of the target small routine icon adjusted and other described small routine icons The location information of sequence icon matches, then according to the mark of any small routine icon, determines that any small routine icon exists Target position in the initial array;
The generation pre-layout array, comprising:
In the information of target position insertion preset icon, pre-layout array is generated;
It is rendered according to the pre-layout array, shows the small routine original list of pre-layout.
5. method as claimed in claim 4, which is characterized in that it is described monitor that End Event function is called after, also Include:
Whether the value for judging the state variable of the pre-layout array is the second preset value;
It is described to be rendered according to the pre-layout array, show the small routine original list being laid out again, comprising:
When the value of the state variable of the pre-layout array is the second preset value, figure will be preset described in the pre-layout array Target information replaces with the information of the target small routine icon, generates target layout array;
It is rendered according to the target layout array, shows the small routine original list being laid out again.
6. method as claimed in claim 5, which is characterized in that in the value of the state variable of the judgement pre-layout array After whether being the second preset value, further includes:
When non-second preset value of the value of the state variable of the pre-layout array, the initial array cached in advance is carried out Rendering, to show the small routine original list of initial layout.
7. as the method according to claim 1 to 6, which is characterized in that further include:
If monitoring, cancelling event functions is called, and is rendered according to the initial array cached in advance, is shown initial The small routine original list of layout.
8. a kind of small routine autoplacement device characterized by comprising
Module is obtained, for being obtained from first request when getting the first request for calling the first action event function The first position for taking current operation to occur;
Determining module, for determining target small routine icon according to the first position and pre-stored location information list;
Module is adjusted, when for requesting get the second action event function of calling second, according in second request The second position for including adjusts the location information of target small routine icon described in the initial array pre-established, generates pre- cloth Inning group;
Rendering module is shown for being rendered according to the pre-layout array when monitoring that End Event function is called Again the small routine original list being laid out.
9. a kind of electronic equipment, which is characterized in that including processor and memory;
Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for realizing small routine autoplacement method such as of any of claims 1-7.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the program quilt Such as small routine autoplacement method of any of claims 1-7 is realized when processor executes.
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 true CN109885314A (en) 2019-06-14
CN109885314B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321269A (en) * 2019-06-28 2019-10-11 百度在线网络技术(北京)有限公司 Processing method, device, equipment and the storage medium of small routine
CN110489041A (en) * 2019-07-12 2019-11-22 北京字节跳动网络技术有限公司 Method, apparatus, equipment and the medium of small routine dragging element automatic aligning
CN110502709A (en) * 2019-08-05 2019-11-26 苏州浪潮智能科技有限公司 A method and device for displaying ring data in the inner ring of Echarts ring chart
CN111083563A (en) * 2019-12-30 2020-04-28 深圳市康冠智能科技有限公司 Debugging method and device of television UI (user interface) control, television and storage medium
CN111209033A (en) * 2020-01-10 2020-05-29 百度在线网络技术(北京)有限公司 Method for downloading small program package and related equipment
CN111680241A (en) * 2020-04-16 2020-09-18 上海淇玥信息技术有限公司 Page layout method and device and electronic equipment
CN115220629A (en) * 2022-06-23 2022-10-21 惠州华阳通用电子有限公司 Interface element position adjusting method

Citations (9)

* 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
US20130275901A1 (en) * 2011-12-29 2013-10-17 France Telecom 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
US20150253970A1 (en) * 2012-11-26 2015-09-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus and storage medium for adjusting filter list
US20160162157A1 (en) * 2014-12-05 2016-06-09 Samsung Electronics Co., Ltd. Method and apparatus for relocating an icon
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

Patent Citations (9)

* 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
US20130275901A1 (en) * 2011-12-29 2013-10-17 France Telecom 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
US20150253970A1 (en) * 2012-11-26 2015-09-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus and storage medium for adjusting filter list
US20160162157A1 (en) * 2014-12-05 2016-06-09 Samsung Electronics Co., Ltd. Method and apparatus for relocating an icon
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 (3)

* Cited by examiner, † Cited by third party
Title
BARNETTYI: "Vue拖拽组件开发实例", 《HTTPS://BLOG.CSDN.NET/SINAT_17775997/ARTICLE/DETAILS/80263530》 *
KEVENFENG: "小程序拖动", 《HTTPS://GITHUB.COM/KEVENFENG/DRAGSORT》 *
胜天一子半: "微信小程序内拖动图片实现移动、放大、旋转", 《HTTPS://BLOG.CSDN.NET/QQ_37942845/ARTICLE/DETAILS/80169907》 *

Cited By (12)

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

Also Published As

Publication number Publication date
CN109885314B (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN109885314A (en) Small routine autoplacement method and device
US9292177B2 (en) Progress bar with feature availability indicator
CN109635261A (en) Online document content edition method, device, storage medium and electronic equipment
CN109408685A (en) Mind map methods of exhibiting and device
CN109495790A (en) Paster adding method, device, electronic equipment and readable medium based on editing machine
CN109495791A (en) A kind of adding method, device, electronic equipment and the readable medium of video paster
CN112230914B (en) Method, device, terminal and storage medium for producing small program
CN109120997A (en) Method for processing video frequency, device, terminal and medium
CN109947317A (en) Application program page display method and device
CN109151595A (en) Method for processing video frequency, device, terminal and medium
CN108965389A (en) Method for showing information
CN109669617A (en) Method and apparatus for switching the page
JP2023502610A (en) Target object display method, apparatus, electronics, and computer readable medium
CN109446025A (en) A kind of back method of operation behavior, device, electronic equipment and readable medium
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN109271075A (en) Page elements autoplacement method and device
CN109446199A (en) Cell data processing method and device
CN109446503A (en) Document content deriving method and device
CN109522082A (en) Interface jump method, device, electronic equipment and the medium of application software
CN109525855A (en) Method and apparatus for handling information
CN107480001A (en) System recovery method and device
CN109753622A (en) static resource management method, device, storage medium and electronic equipment
CN109640158A (en) A kind of control method of video playing, device, equipment and medium
CN109669596A (en) Method and apparatus for showing chat message
CN109614193A (en) A method, device, device and storage medium for displaying a list interface

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载