CN113589981A - Display method and device, terminal and readable storage medium - Google Patents

Display method and device, terminal and readable storage medium Download PDF

Info

Publication number
CN113589981A
CN113589981A CN202110859412.0A CN202110859412A CN113589981A CN 113589981 A CN113589981 A CN 113589981A CN 202110859412 A CN202110859412 A CN 202110859412A CN 113589981 A CN113589981 A CN 113589981A
Authority
CN
China
Prior art keywords
application icon
display
weight
distance
feature point
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.)
Pending
Application number
CN202110859412.0A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110859412.0A priority Critical patent/CN113589981A/en
Publication of CN113589981A publication Critical patent/CN113589981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a display method. The display method comprises the steps of adjusting the size and the position of the application icon in a display area according to input operation to determine the target size and the target position of each application icon; calculating the weight of each characteristic point according to the distance from the sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in the initial state, and the distance and the weight are in negative correlation; and displaying the currently displayed application icon according to the target size, the target position and the weight. In the display method, the display device, the terminal and the nonvolatile computer readable storage medium according to the embodiments of the present application, each currently displayed application icon conforms to an arrangement rule set by a user, the user can customize the arrangement rule of the application icons, and the design difficulty is low.

Description

Display method and device, terminal and readable storage medium
Technical Field
The present application relates to the field of image technologies, and in particular, to a display method, a display apparatus, a terminal, and a non-volatile computer-readable storage medium.
Background
Along with the popularization of terminals such as smart phones, tablet computers and smart watches and the development of internet technology, more and more applications are installed on the terminals, and accordingly, application icons displayed on terminal interfaces are increased. Therefore, the terminal is internally provided with various different arrangement rules to realize the display of the application icons for the selection of the user, the user cannot customize the arrangement rules of the application icons, the positions of the icons are exchanged at most, or the sizes of all the icons are adjusted at the same time, and for the user, the difficulty in independently designing a new arrangement rule is higher.
Disclosure of Invention
The embodiment of the application provides a display method, a display device, a terminal and a non-volatile computer readable storage medium.
The display method of the embodiment of the application comprises the steps of adjusting the size and the position of the application icon in a display area according to input operation to determine the target size and the target position of each application icon; calculating the weight of each characteristic point according to the distance from a sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; and displaying the currently displayed application icon according to the target size, the target position and the weight.
The display device of the embodiment of the application comprises an adjusting module, a calculating module and a display module. The adjusting module is used for adjusting the size and the position of the application icon in the display area according to input operation so as to determine the target size and the target position of each application icon; the calculation module is used for calculating the weight of each feature point according to the distance from a sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; the display module is used for displaying the currently displayed application icon according to the target size, the target position and the weight.
The terminal comprises a display and a processor, wherein the processor is used for adjusting the size and the position of an application icon in a display area according to input operation so as to determine the target size and the target position of each application icon; calculating the weight of each characteristic point according to the distance from a sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; the display is used for controlling the display to display the currently displayed application icon according to the target size, the target position and the weight.
A non-transitory computer-readable storage medium embodying a computer program that, when executed by one or more processors, causes the processors to perform a display method. The display method comprises the steps of adjusting the size and the position of application icons in a display area according to input operation to determine the target size and the target position of each application icon; calculating the weight of each characteristic point according to the distance from a sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; and displaying the currently displayed application icon according to the target size, the target position and the weight.
In the display method, the display device, the terminal and the non-volatile computer-readable storage medium according to the embodiment of the application, a user adjusts the size of an application icon and the position of the application icon in a display area through input operation, so that the arrangement rule of the application icon to be displayed finally is designed quickly and conveniently, then a processor obtains the target size and the target position of each adjusted application icon, when the application icon is displayed subsequently, a sampling point of the currently displayed application icon is obtained first, then the weight of each feature point is obtained through calculation according to the distance from the sampling point to each feature point which is determined in advance and represents the initial position of the application icon, the feature point which is closer to the sampling point has larger influence on the sampling point, so that the weight is set to be larger, and the size and the position of the currently displayed application icon are obtained through calculation according to the target size, the target position and the weight of the feature point, each currently displayed application icon is enabled to accord with the arrangement rule set by the user, the user can realize the arrangement rule of the user-defined application icons, and the design difficulty is low.
Additional aspects and advantages of the present application 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 present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a display method according to some embodiments of the present application;
FIG. 2 is a block diagram of a display device according to some embodiments of the present application;
FIG. 3 is a schematic plan view of a terminal according to some embodiments of the present application;
FIGS. 4-6 are schematic views of a display method according to some embodiments of the present application;
FIG. 7 is a schematic flow chart diagram of a display method according to some embodiments of the present application;
FIGS. 8 and 9 are schematic views of a display method according to some embodiments of the present application;
FIG. 10 is a schematic flow chart diagram of a display method according to some embodiments of the present application; and
FIG. 11 is a schematic diagram of a connection between a processor and a computer-readable storage medium according to some embodiments of the present application.
Detailed Description
Embodiments of the present application will be further described below with reference to the accompanying drawings. The same or similar reference numbers in the drawings identify the same or similar elements or elements having the same or similar functionality throughout. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the present application.
Referring to fig. 1, a display method according to an embodiment of the present application includes the following steps:
011: adjusting the size and the position of the application icon in the display area according to the input operation to determine the target size and the target position of each application icon;
012: calculating the weight of each characteristic point according to the distance from the sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in the initial state, and the distance and the weight are in negative correlation; and
013: and displaying the currently displayed application icon according to the target size, the target position and the weight.
Referring to fig. 2, a display device 10 according to an embodiment of the present disclosure includes an adjustment module 11, a calculation module 12, and a display module 13. The adjusting module 11, the calculating module 12 and the displaying module 13 are used for executing step 011, step 012 and step 013 respectively. That is, the adjusting module 11 is configured to adjust the size and the position of the application icon in the display area according to the input operation to determine a target size and a target position of each application icon; the calculation module 12 is configured to calculate a weight of each feature point according to a distance from a sampling point to each feature point in the display area, where the sampling point is located at a center of a currently displayed application icon, the feature point is located at the center of each application icon when the display area displays the application icon in an initial state, and the distance and the weight are negatively correlated; the display module 13 is configured to display the currently displayed application icon according to the target size, the target position, and the weight.
Referring to fig. 3, in some embodiments, the terminal 100 further includes a display 20 and a processor 30. The processor 30 is used for adjusting the size and the position of the application icon in the display area according to the input operation so as to determine the target size and the target position of each application icon; calculating the weight of each characteristic point according to the distance from the sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in the initial state, and the distance and the weight are in negative correlation; the display 20 is used to control the display 20 to display the currently displayed application icon according to the target size, target position and weight. That is, step 011 and step 012 can be implemented by processor 30, and step 013 can be implemented by display 20 and processor 30.
Specifically, the terminal 100 includes a housing 40, a processor 30, and a display 20. The terminal 100 may be a smart watch, a cell phone, a tablet computer, a display device, a notebook computer, a teller machine, a gate, a head display device, a game console, etc. As shown in fig. 3, the embodiment of the present application is described by taking the terminal 100 as an example of a smart watch, and it is understood that the specific form of the terminal 100 is not limited to the smart watch. The housing 40 may be used to mount functional modules of the terminal 100, such as a display device (i.e., the display 20), an imaging device, a power supply device, a communication device, etc., so that the housing 40 provides protection for the functional modules against dust, falling, water, etc.
Referring to fig. 4, the display 20 includes a display area 21, and in an initial state, a plurality of application icons M are displayed in the display area 21, each application icon M has the same size and is a predetermined size, the application icons M may be circular or rectangular, when the application icons M are circular, the predetermined size may be circular with a radius of 50 pixels, 60 pixels, and the like, and when the application icons M are rectangular, the predetermined size may be 100 pixels, 150 pixels, and the like.
The plurality of application icons M in the display area 21 are arranged in a matrix, and for example, 36 circular application icons M are displayed in the display area 21, and the 36 application icons M are arranged in a matrix of 6 × 6.
The input operation includes a touch operation that the user can perform in the display area 21 to move the position of the one or more application icons M or change the size of the one or more application icons M. Alternatively, the input operation may further include a voice input operation, and the terminal 100 further includes a microphone 40, and the microphone 40 receives a voice input of the user, and then the processor 30 processes the voice input to effect a movement of the position of the one or more application icons M and a change in the size of the one or more application icons M.
Through input operation, the user can adjust the position and size of each application icon M in the display area 21, so that the application icons M in the display area 21 are arranged according to the arrangement rule set by the user.
Referring to fig. 5, in order to receive the 36 adjusted application icons M displayed in the display area 21 after the user input operation, the processor 30 obtains the target position and the target size of each application icon M arranged by the user in a customized manner.
As the user slides the display area 21, the position of the application icon M in the display area 21 may move, and when the application icon M moves to a different position of the display area 21, the size and the position of the application icon M need to be adjusted according to the target position and the target size, so as to meet the user-defined arrangement rule. The processor 30 may obtain a sampling point of the application icon M as the current position of the application icon M, for example, the sampling point may be located at the center of the application icon M. Then, the distance between the sampling point and the feature point of the application icon M in the initial state in fig. 4 (for example, the feature point may be located at the center of each application icon in fig. 4) is calculated, and the closer the distance is, the greater the influence of the feature point on the sampling point is, and therefore, the greater the weight is, for example, the reciprocal of the distance between the feature point and the sampling point is taken as the weight of the feature point, so that the weight of each feature point is calculated.
It is understood that the distance between the sampling point and the feature point may be calculated as 0, and in order to avoid that the reciprocal of the distance cannot be calculated, thereby affecting the calculation of the subsequent weight, the distance smaller than the predetermined value may be directly assigned as the predetermined value, for example, the distance is 0.0000001, and the predetermined value is 0.000001, and then the distance is assigned as 0.000001.
Finally, the processor 30 controls the display 20 to display the currently displayed application icon M according to the weight of each feature point, the target size and the target position of each application icon M. For example, the processor 30 calculates the display size and the display position of the currently displayed application icon M according to the weight of each feature point, the target size and the target position of the application icon, and as the application icon M moves at different positions of the display area 21, the sampling point changes, and the weight of each feature point corresponding to the sampling point also changes, so that the size and the position of the application icon M at different positions of the display area 21 both change in real time and meet the arrangement rule set by the user.
Referring to fig. 5 and 6, when the user slides the display area 21 to the right, the application icon M1 moves to the right, and since the size of the application icon M2 on the right side of the application icon M1 is larger, the application icon M1 gradually increases until the application icon M1 moves to the position of the application icon M2 before sliding, the size and the position become substantially the same as the application icon M2 before sliding (if the difference in size is smaller than a predetermined value, the predetermined value may be 1 pixel, 2 pixels, etc.); and the application icon M2 moves to the right, and since the application icon M3 on the right side of the application icon M2 is smaller in size, the application icon M2 is also gradually reduced until the application icon M2 moves to the position of the application icon M3 before sliding, and the size and the position become substantially the same as those of the application icon M3 before sliding. Therefore, no matter how the user slides the display area 21, the size and the position of the application icon can be changed in real time according to the change of the sampling point of the application icon, so as to meet the user-defined arrangement rule.
In the display method, the display device 10 and the terminal 100 according to the embodiment of the present application, a user adjusts the size of the application icon and the position in the display area 21 through an input operation, so as to quickly and conveniently design the arrangement rule of the application icon to be displayed finally, then the processor 30 obtains the target size and the target position of each adjusted application icon, when displaying the application icon subsequently, first obtains the sampling point of the currently displayed application icon, then obtains the weight of each feature point by calculating according to the distance from the sampling point to each feature point which is determined in advance and represents the initial position of the application icon, the feature point which is closer to the sampling point has a larger influence on the sampling point, so that the weight is set to be larger, thereby obtaining the size and the position of the currently displayed application icon by calculating according to the target size, the target position and the weight of the feature point, each currently displayed application icon is enabled to accord with the arrangement rule set by the user, the user can realize the arrangement rule of the user-defined application icons, and the design difficulty is low.
Referring to fig. 7, in some embodiments, step 012 includes the following steps:
0121: establishing a reference coordinate system by taking the center of the display area 21 as an origin;
0122: calculating the distance from the sampling point to each characteristic point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the characteristic point in the reference coordinate system;
0123: and calculating the weight of each feature point corresponding to the sampling point according to the distance.
Referring again to fig. 2, in some embodiments, the calculation module 12 is further configured to perform step 0121, step 0122, and step 0123. Namely, the calculation module 12 is further configured to establish a reference coordinate system with the center of the display area 21 as an origin; calculating the distance from the sampling point to each characteristic point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the characteristic point in the reference coordinate system; and calculating the weight of each feature point corresponding to the sampling point according to the distance.
Referring again to fig. 3, in some embodiments, the processor 30 is further configured to establish a reference coordinate system with the center of the display area 21 as an origin; calculating the distance from the sampling point to each characteristic point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the characteristic point in the reference coordinate system; and calculating the weight of each feature point corresponding to the sampling point according to the distance. That is, step 0121, step 0122, and step 0123 may be implemented by the processor 30.
Specifically, referring to fig. 8, when calculating the weight of each feature point, first, the distance between the sampling point and the feature point is calculated, and in an initial state, the display area 21 displays a plurality of application icons M, and the processor 30 may establish a reference coordinate system XOY with the center of the display area 21 as an origin, so as to determine the second coordinate of the feature point in the reference coordinate system, where 36 application icons M, each of which has a center as a feature point, form 36 feature points from the feature point P0 to the feature point P35.
Referring to fig. 9, as the position of the application icon M in the display area 21 changes with the sliding operation of the user, the processor 30 may obtain a first coordinate of the center (i.e., the sampling point N) of each currently displayed application icon M in the reference coordinate system.
The processor 30 then calculates the distances between the sample point N and the feature point P0, between the sample point N and the feature points P1, … …, and between the sample point N and the feature point P35, for example, the first coordinate is (X1, Y1), and the second coordinate is (Xn, Yn), and the distance dn between the sample point N and the feature point Pn (N is a natural number) can be calculated by a distance formula between two points, dn ═ math.sqrt (| (X1-Xn) (X1-Xn) + (Y1-Yn) | (Y1-Yn) |).
The processor 30 may calculate the weight of each feature point Pn according to the distance between the feature point Pn and the sampling point N, for example, the weight is the reciprocal of the distance, that is, the larger the distance is, the smaller the weight is; for another example, to realize normalization of the weights and facilitate subsequent calculation, the reciprocal of the distance may be used as a distance proportion, and then the weight of each feature point is determined according to the distance proportion corresponding to each feature point and the sum of the distance proportions of all the feature points, for example, the ratio of the distance proportion corresponding to each feature point and the sum of the distance proportions of all the feature points is used as the weight of each feature point. Taking the distance between a feature point Pn and a sampling point N as dn as an example, where N is a natural number, and the weight of each feature point Pn is (1/dn)/(1/d0+1/d1+ … … +1/dn), it can be seen from the above formula that the larger the distance is, the smaller the weight is.
Alternatively, the distance between the sampling point N and the feature point Pn may not be calculated, but only the square of the distance between the sampling point N and the feature point Pn may be calculated as the distance value, | (X1-Xn) (X1-Xn) + (Y1-Yn) × (Y1-Yn) |; or, further performing mathematical transformation on the distance between the calculated sampling point N and the feature point Pn to obtain a distance value positively correlated to the distance, and calculating the weight of each feature point based on the distance value, for example, taking the reciprocal of the distance value as the weight of each feature point.
Thus, the weight of each feature point Pn can be calculated for the sampling point N of the currently displayed application icon M.
Referring to fig. 10, in some embodiments, the feature points, the target locations and the target sizes correspond to one another, and step 013 further includes the following steps:
0131: calculating the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point;
0132: calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and
0133: and displaying the currently displayed application icon according to the display position and the display size.
Referring again to fig. 2, in some embodiments, the display module 13 is further configured to perform step 0131, step 0132 and step 0133. Namely, the display module 13 is further configured to calculate a display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point; calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and displaying the currently displayed application icon according to the display position and the display size.
Referring again to fig. 3, in some embodiments, the processor 30 is further configured to calculate a display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point; calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and controls the display 20 to display the currently displayed application icon according to the display position and the display size. That is, step 0131, step 0132 and step 0133 may be implemented by processor 30.
Specifically, referring to fig. 4 and 5 again, each feature point is the center of the application icon M in the initial state, after the user adjusts the position and size of each application icon M through input operation, the position and size of the application icon M corresponding to the feature point are changed into a target position and a target size, and the feature point, the target size, and the target position are in one-to-one correspondence and all correspond to the same application icon M.
When adjusting the size and position of the currently displayed application icon corresponding to the sampling point according to the weight of each feature point corresponding to the sampling point, the processor 30 first calculates the display position of the currently displayed application icon M according to the weight of each feature point corresponding to the sampling point and the target position corresponding to each feature point, for example, the weight of the feature point Pn is Wn, the coordinates of the target position are (Xn, Yn), and n is a natural number, and then the abscissa of the display position can be calculated according to the weight of each feature point corresponding to the sampling point and the abscissa of the target position corresponding to each feature point, that is, the abscissa of the display position is X0W 0+ X1W 1+ … … + Xn Wn; the ordinate of the display position can be calculated according to the weight of each feature point corresponding to the sampling point and the ordinate of the target position corresponding to each feature point, that is, the ordinate of the display position is Y0 × W0+ Y1 × W1+ … … + Yn × Wn.
The processor 30 may then calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to each feature point, for example, if the weight of the feature point Pn is Wn, and the target size Rn is a natural number, then the display size is R0W 0+ R1W 1+ … … + Rn Wn.
In this way, the closer the feature point is to the sampling point, the greater the weight of the feature point is, the most significant the influence of the display size and the display position on the target size and the target position corresponding to the feature point closest to the sampling point is, so that the display size and the display position of the currently displayed application icon conform to the user-defined arrangement rule.
Referring again to fig. 6, in other embodiments, to improve the efficiency of the calculation of the display position and display size, the weight of each characteristic point corresponding to all sampling points of the display area 21 can be calculated in advance, the sampling points and the weight of each characteristic point corresponding to the sampling points are stored in a database as sampling point data in an associated manner, then after the position of the sampling point of the currently displayed application icon M is obtained, the sampling point data with the minimum distance with the sampling point of the currently displayed application icon M is found from the database to calculate the display size and the display position, therefore, the weight of each characteristic point corresponding to the sampling point is not required to be calculated in real time, the matched sampling point data is directly inquired from the database, the calculation efficiency of the display size and the display position can be improved, so that the change of the application icon M is smooth when the display area 21 slides.
Referring to fig. 11, a non-volatile computer readable storage medium 300 storing a computer program 302 according to an embodiment of the present disclosure, when the computer program 302 is executed by one or more processors 30, the processor 30 may execute the display method according to any of the above embodiments.
For example, referring to fig. 1, the computer program 302, when executed by the one or more processors 30, causes the processors 30 to perform the steps of:
011: adjusting the size and the position of the application icon in the display area according to the input operation to determine the target size and the target position of each application icon;
012: calculating the weight of each characteristic point according to the distance from the sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in the initial state, and the distance and the weight are in negative correlation; and
013: and displaying the currently displayed application icon according to the target size, the target position and the weight.
For another example, referring to fig. 7, when the computer program 302 is executed by the one or more processors 30, the processors 30 may further perform the following steps:
0121: establishing a reference coordinate system by taking the center of the display area 21 as an origin;
0122: calculating the distance from the sampling point to each characteristic point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the characteristic point in the reference coordinate system;
0123: and calculating the weight of each feature point corresponding to the sampling point according to the distance.
For another example, referring to fig. 10, when the computer program 302 is executed by the one or more processors 30, the processors 30 may further perform the following steps:
0131: calculating the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point;
0132: calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and
0133: and displaying the currently displayed application icon according to the display position and the display size.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like 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 application. In this specification, schematic representations of the above terms do not necessarily 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.
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 program modules for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes additional implementations 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 present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (14)

1. A display method, comprising:
adjusting the size and the position of the application icon in the display area according to the input operation to determine the target size and the target position of each application icon;
calculating the weight of each characteristic point according to the distance from a sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; and
and displaying the currently displayed application icon according to the target size, the target position and the weight.
2. The display method according to claim 1, wherein in the initial state, each of the application icons in the display area is arranged in a matrix at a predetermined size.
3. The method according to claim 1, wherein the calculating the weight of each feature point according to the distance from the sampling point to each feature point in the display area comprises:
establishing a reference coordinate system by taking the center of the display area as an origin;
calculating the distance from the sampling point to each feature point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system;
and calculating the weight of each feature point corresponding to the sampling point according to the distance.
4. The display method according to claim 3, wherein the calculating the weight of each feature point corresponding to the sampling point according to the distance includes:
and calculating the weight of each feature point according to the distance proportion corresponding to each feature point and the sum of the distance proportions corresponding to all the feature points, wherein the distance proportion is determined according to the distance.
5. The display method according to claim 1, wherein the feature point, the target position, and the target size correspond to one another, and the displaying the currently displayed application icon according to the target size, the target position, and the weight includes:
calculating the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point;
calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and
and displaying the currently displayed application icon according to the display position and the display size.
6. The display method according to claim 1, further comprising:
determining the distance as a predetermined value when the distance is less than the predetermined value.
7. A display device, comprising:
the adjusting module is used for adjusting the size and the position of the application icon in the display area according to input operation so as to determine the target size and the target position of each application icon;
the calculation module is used for calculating the weight of each feature point according to the distance from a sampling point to each feature point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the feature point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight;
and the display module is used for displaying the currently displayed application icon according to the target size, the target position and the weight.
8. A terminal comprising a display and a processor for adjusting the size and position of application icons within a display area in accordance with an input operation to determine a target size and target position for each of the application icons; calculating the weight of each characteristic point according to the distance from a sampling point to each characteristic point in the display area, wherein the sampling point is positioned in the center of the currently displayed application icon, the characteristic point is positioned in the center of each application icon when the display area displays the application icon in an initial state, and the distance is inversely related to the weight; the display is used for controlling the display to display the currently displayed application icon according to the target size, the target position and the weight.
9. The terminal according to claim 8, wherein in the initial state, each of the application icons in the display area is arranged in a matrix with a predetermined size.
10. The terminal of claim 8, wherein the processor is further configured to establish a reference coordinate system with a center of the display area as an origin; calculating the distance from the sampling point to each feature point according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system; and calculating the weight of each feature point corresponding to the sampling point according to the distance.
11. The terminal of claim 10, wherein the processor is further configured to calculate the weight for each of the feature points according to a distance weight corresponding to each of the feature points, the distance weight being determined according to the distance, and a sum of the distance weights corresponding to all of the feature points.
12. The terminal according to claim 8, wherein the processor is further configured to calculate a display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point; calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and controlling the display to display the currently displayed application icon according to the display position and the display size.
13. The terminal of claim 8, wherein the processor is further configured to determine the distance as a predetermined value when the distance is less than the predetermined value.
14. A non-transitory computer-readable storage medium containing a computer program which, when executed by one or more processors, causes the processors to perform the display method of any one of claims 1-6.
CN202110859412.0A 2021-07-28 2021-07-28 Display method and device, terminal and readable storage medium Pending CN113589981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110859412.0A CN113589981A (en) 2021-07-28 2021-07-28 Display method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110859412.0A CN113589981A (en) 2021-07-28 2021-07-28 Display method and device, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN113589981A true CN113589981A (en) 2021-11-02

Family

ID=78251249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110859412.0A Pending CN113589981A (en) 2021-07-28 2021-07-28 Display method and device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN113589981A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114445555A (en) * 2021-12-24 2022-05-06 广东时谛智能科技有限公司 Shoe tree modeling adjustment method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN106293326A (en) * 2016-07-29 2017-01-04 杭州联络互动信息科技股份有限公司 A kind of method and device controlling to show with the icon of the equipment of touch screen
CN106325656A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3D user interface interaction method applied to touch terminal and touch terminal
CN106814948A (en) * 2015-11-27 2017-06-09 西安中兴新软件有限责任公司 A kind of method and apparatus of moving icon
CN111857456A (en) * 2020-06-18 2020-10-30 泰凌微电子(上海)有限公司 Icon display method and electronic equipment
JP2021067999A (en) * 2019-10-18 2021-04-30 株式会社東海理化電機製作所 Control device, program, and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130305187A1 (en) * 2012-05-09 2013-11-14 Microsoft Corporation User-resizable icons
CN106325656A (en) * 2015-06-19 2017-01-11 深圳创锐思科技有限公司 3D user interface interaction method applied to touch terminal and touch terminal
CN106814948A (en) * 2015-11-27 2017-06-09 西安中兴新软件有限责任公司 A kind of method and apparatus of moving icon
CN106293326A (en) * 2016-07-29 2017-01-04 杭州联络互动信息科技股份有限公司 A kind of method and device controlling to show with the icon of the equipment of touch screen
JP2021067999A (en) * 2019-10-18 2021-04-30 株式会社東海理化電機製作所 Control device, program, and system
CN111857456A (en) * 2020-06-18 2020-10-30 泰凌微电子(上海)有限公司 Icon display method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114445555A (en) * 2021-12-24 2022-05-06 广东时谛智能科技有限公司 Shoe tree modeling adjustment method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11943530B2 (en) Electronic device and method for adjusting camera magnification
CN109800877B (en) Parameter adjustment method, device and equipment of neural network
CN109712224B (en) Virtual scene rendering method and device and intelligent device
EP2953331B1 (en) Navigating calendar application in a portable device
US9128527B2 (en) Mobile terminal and touch recognizing method therein
US20200409545A1 (en) Display adaptation method and apparatus for application, and storage medium
US20130321617A1 (en) Adaptive font size mechanism
CN106293160B (en) Method and device for switching mouse pointers among multiple displays
EP1947558A2 (en) Electronic device with touch screen and method of displaying information using the same
EP3783471A1 (en) Display control method and terminal
KR20120017869A (en) Terminal device and method for providing step object information
US20200159367A1 (en) Interactive object control method and apparatus, terminal, and computer-readable storage medium
KR20110050248A (en) Mobile device and method for dividing screen thereof
CN109948581B (en) Image-text rendering method, device, equipment and readable storage medium
EP3561667A1 (en) Method for displaying 2d application in vr device, and terminal
CN112230908B (en) Method and device for aligning components, electronic equipment and storage medium
CN112631947B (en) Test control method and device for application program, electronic equipment and storage medium
WO2021068713A1 (en) Page display method and wearable device
CN113589981A (en) Display method and device, terminal and readable storage medium
CN112612566A (en) Information display method and device and readable storage medium
CN109062471A (en) Mobile display methods, device, equipment and the medium of page elements
CN108388336B (en) Power consumption control method and device and computer readable storage medium
CN112966592A (en) Hand key point detection method, device, equipment and medium
CN115880719A (en) Gesture depth information generation method, device, equipment and computer readable medium
CN111752831A (en) Robustness detection method and device, computer equipment and storage medium

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