CN105892858A - Display object arranging method and electronic equipment - Google Patents
Display object arranging method and electronic equipment Download PDFInfo
- Publication number
- CN105892858A CN105892858A CN201610197554.4A CN201610197554A CN105892858A CN 105892858 A CN105892858 A CN 105892858A CN 201610197554 A CN201610197554 A CN 201610197554A CN 105892858 A CN105892858 A CN 105892858A
- Authority
- CN
- China
- Prior art keywords
- determining
- target
- marking line
- line
- bending operation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000005452 bending Methods 0.000 claims abstract description 80
- 230000005484 gravity Effects 0.000 claims description 18
- 239000003550 marker Substances 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 230000000149 penetrating effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
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 embodiment of the invention discloses a display object arranging method and electronic equipment. The method comprises the steps that under the condition that it is detected that the electronic equipment receives bending operation, the bending operation is responded; at least one mark line corresponding to the bending operation is determined, wherein the mark lines are line segments connected with any two edges of a display screen of the electronic equipment; based on the mark lines, target display objects on the display screen of the electronic equipment are arranged. In the method, the bending operation trigger is used as the trigger operation for triggering and adjusting the display targets, the bending operation is responded, in the electronic equipment bending process, the mark lines corresponding to the bending operation are determined, the mark lines are used as the basis for arranging the target display objects, the target display objects are arranged, and therefore the purpose of arranging the display objects easily, conveniently and rapidly is achieved.
Description
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a display object arrangement method and electronic equipment.
Background
With the popularization of large-screen electronic equipment, more and more objects are displayed on a display interface of the electronic equipment, such as various small windows and various application icons. In practical applications, users have a need to arrange objects displayed on a display interface.
In the prior art, a user may arrange objects displayed on a desktop in a manual manner, for example, by moving the objects one by one to a target area, so as to arrange a plurality of objects according to their own requirements.
However, the above manual arrangement method is cumbersome to operate, and a method for simply and rapidly arranging display objects is needed.
Disclosure of Invention
In view of the above, the present invention provides a display object arrangement method and an electronic device, so as to solve the problem of complicated operation in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
a display object arrangement method applied to a deformable electronic device includes:
responding to the bending operation under the condition that the electronic equipment is detected to receive the bending operation;
determining at least one marking line corresponding to the bending operation, wherein the marking line is a line segment connected with any two sides of the display screen of the electronic equipment;
arranging the target display objects on the display screen of the electronic equipment based on the marking lines.
The method preferably, the determining at least one marking line corresponding to the bending operation includes:
determining at least one deformation position corresponding to the bending operation;
determining the crease at each deformation position as at least one marking line corresponding to the bending operation;
or;
determining at least one deformation position corresponding to the bending operation;
displaying virtual marks corresponding to the deformation positions one by one on the display screen;
and determining the virtual mark as a mark line corresponding to the bending operation.
In the above method, preferably, the arranging the target display objects on the display screen of the electronic device based on the mark line includes:
determining a moving direction of the target display object;
and moving the target display object to be aligned with or away from the marking line according to the moving direction.
In the above method, preferably, the determining the moving direction of the target display object includes:
and when the marking line is detected to be horizontal, determining that the moving direction of the target display object is the gravity direction.
In the above method, preferably, when the marking line is N line segments, and N is an integer greater than or equal to 1, the moving the target display image to align with or separate from the marking line according to the moving direction includes:
when a certain marking line is detected to be horizontal, determining the marking line as a target marking line, and determining a target area corresponding to the target marking line;
moving the target display object in the target area along the gravity direction until the target display object is aligned with the target mark line;
the target area includes:
when an adjacent marking line adjacent to and above the target marking line exists, determining an area between the adjacent marking line and the target marking line as a target area;
and when the adjacent marking line does not exist, determining that the area formed by the target marking line and the frame of the display screen of the electronic equipment and positioned above the target marking line is a target area.
In the above method, preferably, the determining the moving direction of the target display object includes:
when a touch screen of the electronic equipment receives touch operation, determining a sliding track of the touch operation;
and determining the touch sliding track as the moving direction.
In the above method, preferably, when the marking line is N line segments, and N is an integer greater than or equal to 1, the moving the target display object to align with or away from the marking line according to the moving direction includes:
determining a plurality of areas of the display screen of the electronic equipment divided by the marking lines;
determining the sliding direction of the sliding track in each area;
and moving the target display object in each area according to the moving direction corresponding to the area, and aligning or separating the target display object with the marking line in the area.
An electronic device, comprising: a display screen, a processor and a memory coupled to the processor; wherein,
the display screen is used for displaying a display object;
the processor is used for responding to the bending operation and determining at least one marking line corresponding to the bending operation under the condition that the electronic equipment is detected to receive the bending operation, wherein the marking line is a line segment connected with any two sides of the display screen of the electronic equipment, and the target display objects on the display screen of the electronic equipment are arranged based on the marking line.
The above electronic device, preferably, in terms of determining at least one marking line corresponding to the bending operation, the processor is configured to,
determining at least one deformation position corresponding to the bending operation; determining the crease at each deformation position as at least one marking line corresponding to the bending operation;
or;
determining at least one deformation position corresponding to the bending operation; displaying virtual marks corresponding to the deformation positions one by one on the display screen; and determining the virtual mark as a mark line corresponding to the bending operation.
The electronic device is preferably configured such that, in the aspect of arranging the target display objects on the display screen of the electronic device based on the mark lines, the processor is configured to,
determining a moving direction of the target display object; and moving the target display object to be aligned with or away from the marking line according to the moving direction.
The electronic device is preferably configured, in terms of the determining the moving direction of the target display object, that the processor is configured to,
and when the marking line is detected to be horizontal, determining that the moving direction of the target display object is the gravity direction.
The electronic device is preferably configured, in terms of the determining the moving direction of the target display object, that the processor is configured to,
when a touch screen of the electronic equipment receives touch operation, determining a sliding track of the touch operation; and determining the touch sliding track as the moving direction.
As can be seen from the foregoing technical solutions, compared with the prior art, the present invention discloses a display object arrangement method, in which a bending operation trigger is used as a trigger to adjust a trigger operation of a display object, a mark line corresponding to the bending operation is determined in a process of bending an electronic device in response to the bending operation, and the target display objects are arranged by using the mark line as a reference for arranging the target display objects, so as to achieve the purpose of simply and quickly arranging the display objects.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a display object arrangement method disclosed in an embodiment of the present application;
FIG. 2 is a flowchart of another display object arrangement method disclosed in the embodiments of the present application;
FIG. 3 is a flowchart of another display object arrangement method disclosed in the embodiments of the present application;
FIG. 4 is a schematic diagram of an arrangement of display objects according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 6 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 7 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 8 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 9 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 10 is a flowchart illustrating a further method for arranging display objects according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 12 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 13 is a schematic diagram of another display object arrangement disclosed in the embodiments of the present application;
FIG. 14 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 15 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
FIG. 16 is a schematic diagram of another arrangement of display objects disclosed in the embodiments of the present application;
fig. 17 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a display object arrangement method, which is applied to deformable electronic equipment, obtains a marking line corresponding to bending operation by utilizing the technical basis that the deformable electronic equipment can accept the bending operation and respond to the bending operation, arranges a target display object on a display screen of the electronic equipment by utilizing the marking line, does not need other operations, and can automatically arrange the display object by the electronic equipment, thereby realizing the aim of simply, conveniently and quickly arranging the display object.
Hereinafter, the display object arrangement method disclosed in the present application will be described in detail from the perspective of a plurality of embodiments.
Fig. 1 is a flowchart illustrating a display object arrangement method disclosed in an embodiment of the present application, including:
step S101: responding to the bending operation under the condition that the electronic equipment is detected to receive the bending operation;
the processor of the electronic equipment determines that the electronic equipment receives the bending operation when judging that the electronic equipment is bent by a user through the sensor arranged on the electronic equipment, and then responds to the bending operation to correspondingly bend the electronic equipment.
Step S102: determining at least one marking line corresponding to the bending operation, wherein the marking line is a line segment connected with any two sides of the display screen of the electronic equipment;
under the general condition, after the electronic equipment is bent, a line segment exists at a position where deformation occurs, two ends of the line segment are connected with any two sides of a display screen of the electronic equipment according to different bending operations, and if the electronic equipment is bent for multiple times and positions of the electronic equipment at each time are different, a plurality of line segments exist so as to mark the position where the bending occurs.
Step S103: and adjusting the arrangement of the target display objects on the display screen of the electronic equipment based on the mark lines.
After the mark line is determined, the target display objects are arranged, and in the arrangement process, the arrangement operation of the target display objects is realized according to the preset arrangement mode by taking the mark line as a basis.
The target display object may be all display objects on a display screen of the electronic device, including folders, application identifiers, widgets, and the like. And if the bending operation is monitored and received, correspondingly executing the process of arranging the display objects.
The target display objects may also be some display objects that are pre-selected by the user. For example, a user enters a display object editing mode by long-pressing an application identifier, each display object presents a selectable state, and the user selects a corresponding display object as a target display object according to the own requirements. And then, bending the electronic equipment, and executing the process again under the condition that the electronic equipment receives the bending operation to realize the arrangement of the target display objects.
In the above embodiment, since the bending operation itself will bring about the deformation of the device, a crease will inevitably appear at the deformed position correspondingly, even if the bending degrees at different positions are different, each position will inevitably have a point with the largest bending degree, and these points are connected, and an crease penetrating through the whole electronic device display screen will inevitably appear, regardless of whether the crease is a straight line or a line segment containing a straight line and a curved line, the crease will inevitably be connected with any two sides of the electronic device display screen, so that the crease can be used as a mark line corresponding to the bending operation, and when the target display objects are arranged, the mark line is used as a reference. The fold is a mark actually present and is not what is displayed on the display screen.
Meanwhile, a marking line can be generated for the deformation position corresponding to the bending operation, the marking line is displayed on the display screen in a dotted line or solid line mode, the marking line can be completely consistent with the actual crease mark, and the marking line not only contains a straight line but also contains a curve, but also can correct the actual crease mark to form a smooth straight line or a smooth curve.
It can be seen that when the mark line is a line segment corresponding to the crease displayed on the display screen, the crease can be corrected to a certain extent, so that the mark line becomes a smooth line segment, and the target display objects can be arranged by using the mark line more favorably.
Further, in this embodiment, a process of arranging target display objects on the display screen of the electronic device based on the mark line is shown in fig. 2, and includes:
step S201: determining a moving direction of the target display object;
step S202: and moving the target display object to be aligned with or away from the marking line according to the moving direction.
When arranging target display objects on a display screen of an electronic device based on a marking line, it is first necessary to determine the moving direction of the target display objects and to specify in which direction the target display objects are to be moved. Then, according to the moving direction, the target display object is moved to be aligned along the marking line, or away from the marking line, or arranged on both sides of the marking line. The specific arrangement is different according to different settings.
In this embodiment, there are various ways to determine the moving direction of the target display object. For example, the moving direction of the target display object may be determined as the gravity direction by using a gravity sensor, or the moving direction may be determined from a touch sliding trajectory by detecting a touch operation of a user, or the flicking direction may be determined as the moving direction by monitoring an operation of the user flicking the electronic device.
When the gravity sensor is used to take the gravity direction as the moving direction, the process of moving the target display image to align with or separate from the mark line according to the moving direction is shown in fig. 3, and includes:
step S301: when a certain marking line is detected to be horizontal, determining the marking line as a target marking line, and determining a target area corresponding to the target marking line;
in this embodiment, the mark line may be N line segments, where N is an integer greater than or equal to 1, that is, only 1 mark line may be provided, or there may be multiple parallel or non-parallel line segments. Since the following operation is described with each of the mark lines as an object, the processing manner for each mark line is the same regardless of whether it is a plurality of mark lines or 1 mark line.
The target area in this embodiment includes:
when an adjacent marking line adjacent to and above the target marking line exists, determining an area between the adjacent marking line and the target marking line as a target area;
and when the adjacent marking line does not exist, determining that the area formed by the target marking line and the frame of the display screen of the electronic equipment and positioned above the target marking line is a target area.
When there are multiple marking lines, when the electronic device is in a certain state, some marking lines are horizontal, and some marking lines may not be horizontal. Therefore, as long as a marking line in a horizontal state is detected, the marking line can be determined as a target marking line, and a target area corresponding to the marking line can be determined.
As shown in fig. 4, there are included marking lines L1 and L2 which are parallel to each other, and marking line L3 which is not parallel to L1 and L2. As shown in the figure, in this case, the target area corresponding to the mark line L1 is a1 and is composed of L1 and a frame of the display screen of the electronic device, the target area corresponding to the mark line L2 is a2 and is composed of an area between L1 and L2, and the target area of L3 is A3 and is composed of an area between L2 and L3. In this embodiment, the descriptions of "located above the target mark line" and "area located above the target mark line" are embodied in the spatial relationship between adjacent mark lines, target areas and mark lines when the electronic device is in a certain fixed state. The target area corresponding to each marking line changes according to the actual state of the electronic device, and if the electronic device is adjusted by 180 degrees, the target area corresponding to each marking line changes and is divided again according to the definition.
Step S302: moving a target display object within the target area in a direction of gravity until aligned with the target marking line or distanced within the target area.
Assuming that L1 and L2 are in a horizontal state at this time as shown in fig. 4, the target display objects within a1 and a2, which are all display objects in the present embodiment, are moved in the direction of gravity at this time so as to be aligned with L1 or L2, respectively. While the target display objects in the a3 area remain unchanged as shown in fig. 5.
If the angle of the electronic device is adjusted to the L3 level as shown in fig. 6, at this time, the target display objects in the a1 and a2 areas are not changed, and the target display objects in the A3 area are moved in the gravity direction so as to be aligned with the L3 as shown in fig. 7.
The two figures are combined, so that when a user executes a plurality of bending operations on one electronic device, whether the mark lines corresponding to each bending operation are parallel or not, the mark lines can be respectively in a horizontal state by adjusting the angle of the electronic device, and then the target display objects in the corresponding target areas are correspondingly arranged, so that the aim of simply, conveniently and quickly realizing the arrangement of the display objects is fulfilled.
Of course, the present application does not limit the target area to be determined only in the above manner, and it may also be:
when an adjacent marking line adjacent to the target marking line and below the target marking line exists, determining an area between the adjacent marking line and the target marking line as a target area;
and when the adjacent marking line does not exist, determining that the area formed by the target marking line and the frame of the display screen of the electronic equipment and positioned below the target marking line is a target area.
In this setting, when a certain mark line is horizontal, the target display object in the target area is moved in the direction of gravity away from the target mark line in the target area. As shown in fig. 8, the marker lines are L1 ', L2 ', and L3 ', L1 ', L2 ' in parallel. Then the target region corresponding to L1 ' is a1 ' composed of L1 ' and L2 ', the target region corresponding to L2 ' is a2 ' composed of L2 ' and L3 ', and the target region corresponding to L3 ' is A3 ' composed of L3 ' and the frame of the display screen. The effect of this alignment is shown in figure 9. The target display objects in the 3 regions are all far away from the mark line corresponding to the target region.
In addition to the above-mentioned manner of determining the moving direction by using gravity, the moving direction may be determined according to the touch sliding trajectory by detecting a touch operation of the user, or an operation of the user shaking the electronic device is detected, and then the shaking direction is determined as the moving direction. The method for detecting the touch operation of the user and the operation of shaking the electronic equipment by the user has similar places, the moving direction is directly obtained according to the operation of the user, and compared with a method for determining the moving direction by utilizing gravity, the method is wider in application scene and is not limited to whether the mark line is in a horizontal state or not.
Here, the detailed description will be given taking the determination of the moving direction based on the touch slide trajectory as an example. The specific process comprises the following steps: when a touch screen of the electronic equipment receives touch operation, determining a sliding track of the touch operation; and determining the touch sliding track as the moving direction.
A process of moving the target display object to align with or separate from the mark line according to the moving direction is shown in fig. 10, and includes:
step S1001: determining a plurality of areas of the display screen of the electronic equipment divided by the marking lines;
in this embodiment, the mark line is also N line segments, and N is an integer greater than or equal to 1. Since the following operation is described with each of the mark lines as an object, the processing manner for each mark line is the same regardless of whether it is a plurality of mark lines or 1 mark line.
As shown in fig. 11, 3 marking lines are included, including marking lines L1 and L2 parallel to each other and marking line L3 non-parallel to L1 and L2. The divided regions were 4, a1, a2, A3 and a 4.
Step S1002: the sliding direction of the sliding track in each area is determined.
Step S1003: and moving the target display object in each area according to the moving direction corresponding to the area, and aligning or separating the target display object with the marking line in the area.
As shown in fig. 11, the sliding direction of the finger is from left to right, and the sliding direction corresponding to each region is from left to right, and the effect after alignment is shown in fig. 12. If two fingers perform touch operation at the same time as shown in fig. 13, the regions a1 and a2 correspond to left-to-right, and the regions A3 and a4 correspond to right-to-left. The effect after alignment is shown in fig. 14. The result may be alignment with the mark line or separation from the mark line, and for the mark line L2, the target display objects in the a2 and A3 regions are aligned on both sides thereof, respectively.
Still alternatively, as shown in fig. 15, there is one mark line at each of the four corners of the display screen of the electronic device, and then one touch operation may be performed for each mark line, as shown in fig. 15. For the a1, a2, A3, and a4 regions, the direction of each region may be determined separately and then the target display objects may be arranged in the manner in the above-described embodiment. However, for a5, since each touch operation passes through the area, the area may correspond to four directions, and for this case, although the alignment of the target display object can be achieved in the above manner, there is still further improvement in the display effect.
For example, the vertical distance between each target display object in the a5 area and each mark line may be calculated, the mark line with the closest vertical distance may be used as the target mark line, and the movement direction corresponding to the target mark line may be determined as the movement direction of the target mark line, and the target mark line may be moved and aligned with the target display object. The effect is shown in fig. 16.
In the above embodiments, a plurality of mark lines are taken as examples to describe various methods for arranging target display objects, and the embodiments of the present application are not limited to only the arrangement methods in the above embodiments, and any method consistent with the core idea of the present invention is within the scope of the embodiments of the present application.
In addition, although the embodiment of the present application takes a plurality of marking lines as an example, the present application is not limited to having a plurality of marking lines. The specific implementation process of only one marking line can refer to the processing mode and the processing effect of any one of the marking lines in the above embodiments.
According to the display object arrangement method, the target display objects are automatically arranged according to the mark lines corresponding to the bending operation without other operations, the existing arrangement steps are greatly simplified, the implementation mode is diversified, the requirements of various scenes can be met, and the user experience is greatly improved.
Corresponding to the method embodiment, the embodiment of the invention also provides the electronic equipment which is deformable. A schematic structural diagram of the electronic device provided in the embodiment of the present invention is shown in fig. 17, and may include:
a display screen 1701, a processor 1702 and a memory 1703 coupled to the processor; wherein,
the display screen 1701 is used for displaying display objects; the display objects may include folders, application identifications, widgets, and the like.
The processor 1702 is configured to, in response to a bending operation when it is detected that the electronic device receives the bending operation, determine at least one marking line corresponding to the bending operation, where the marking line is a line segment connected to any two sides of the display screen of the electronic device, and arrange target display objects on the display screen of the electronic device based on the marking line.
The memory 1703 is used to store programs and data generated during operation of the processor 1702. The processor 1702 implements the above functions by executing programs stored in the memory 1703.
The electronic equipment disclosed by the embodiment of the application is deformable electronic equipment, the deformable electronic equipment can accept bending operation and respond to the technical basis of the bending operation, target display objects on a display screen of the electronic equipment are arranged by using the marking lines through obtaining the marking lines corresponding to the bending operation, other operations are not needed, the electronic equipment can automatically complete the arrangement of the display objects, and therefore the purpose of simply, conveniently and quickly arranging the display objects is achieved.
Optionally, in terms of determining at least one marking line corresponding to the bending operation, the processor 1702 is configured to determine at least one deformation position corresponding to the bending operation; determining the crease at each deformation position as at least one marking line corresponding to the bending operation;
or;
determining at least one deformation position corresponding to the bending operation; displaying virtual marks corresponding to the deformation positions one by one on the display screen; and determining the virtual mark as a mark line corresponding to the bending operation.
In the above embodiment, since the bending operation itself will bring about the deformation of the device, a crease will inevitably appear at the deformed position correspondingly, even if the bending degrees at different positions are different, each position will inevitably have a point with the largest bending degree, and these points are connected, and an crease penetrating through the whole electronic device display screen will inevitably appear, regardless of whether the crease is a straight line or a line segment containing a straight line and a curved line, the crease will inevitably be connected with any two sides of the electronic device display screen, so that the crease can be used as a mark line corresponding to the bending operation, and when the target display objects are arranged, the mark line is used as a reference. The fold is a mark actually present and is not what is displayed on the display screen.
Meanwhile, a marking line can be generated for the deformation position corresponding to the bending operation, the marking line is displayed on the display screen in a dotted line or solid line mode, the marking line can be completely consistent with the actual crease mark, and the marking line not only contains a straight line but also contains a curve, but also can correct the actual crease mark to form a smooth straight line or a smooth curve.
When the mark line is a line segment which is displayed on the display screen and corresponds to the crease, the crease can be corrected to a certain extent, so that the mark line becomes a smooth line segment, and the mark line is more favorable for arranging target display objects.
Optionally, in the aspect of arranging the target display objects on the display screen of the electronic device based on the mark line, the processor 1702 is configured to determine a moving direction of the target display objects; and moving the target display object to be aligned with or away from the marking line according to the moving direction.
When arranging target display objects on a display screen of an electronic device based on a marking line, it is first necessary to determine the moving direction of the target display objects and to specify in which direction the target display objects are to be moved. Then, according to the moving direction, the target display object is moved to be aligned along the marking line, or away from the marking line, or arranged on both sides of the marking line. The specific arrangement is different according to different settings.
Optionally, in the aspect of determining the moving direction of the target display object, the processor 1702 is configured to determine that the moving direction of the target display object is a gravity direction when the marker line is detected to be horizontal.
In this manner, when the mark line is N line segments, where N is an integer greater than or equal to 1, in terms of moving the target display image to align with or away from the mark line according to the moving direction, the processor 1702 is configured to determine a mark line as a target when detecting that a mark line is horizontal, and determine a target area corresponding to the target mark line; and moving the target display object in the target area along the gravity direction until the target display object is aligned with the target mark line.
In this embodiment, the target area includes: when an adjacent marking line adjacent to and above the target marking line exists, determining an area between the adjacent marking line and the target marking line as a target area; and when the adjacent marking line does not exist, determining that the area formed by the target marking line and the frame of the display screen of the electronic equipment and positioned above the target marking line is a target area.
Alternatively, in the aspect of determining the moving direction of the target display object, the processor 1702 is configured to, when a touch operation is received by a touch screen of the electronic device, determine a sliding track of the touch operation; and determining the touch sliding track as the moving direction.
In this way, when the mark line is N line segments, where N is an integer greater than or equal to 1, in terms of moving the target display object to align with or away from the mark line according to the moving direction, the processor 1702 is configured to: determining a plurality of areas of the display screen of the electronic equipment divided by the marking lines; determining the sliding direction of the sliding track in each area; and moving the target display object in each area according to the moving direction corresponding to the area, and aligning or separating the target display object with the marking line in the area.
Alternatively, in the aspect of determining the moving direction of the target display object, the processor 1702 is configured to monitor a flick operation of the electronic device by the user, and determine the flick direction as the moving direction according to the flick operation.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the electronic device described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A display object arrangement method applied to a deformable electronic device, the method comprising:
responding to the bending operation under the condition that the electronic equipment is detected to receive the bending operation;
determining at least one marking line corresponding to the bending operation, wherein the marking line is a line segment connected with any two sides of the display screen of the electronic equipment;
arranging the target display objects on the display screen of the electronic equipment based on the marking lines.
2. The method of claim 1, wherein the determining at least one marking line corresponding to the bending operation comprises:
determining at least one deformation position corresponding to the bending operation;
determining the crease at each deformation position as at least one marking line corresponding to the bending operation;
or;
determining at least one deformation position corresponding to the bending operation;
displaying virtual marks corresponding to the deformation positions one by one on the display screen;
and determining the virtual mark as a mark line corresponding to the bending operation.
3. The method of claim 2, wherein the arranging the target display objects on the display screen of the electronic device based on the marker line comprises:
determining a moving direction of the target display object;
and moving the target display object to be aligned with or away from the marking line according to the moving direction.
4. The method of claim 3, wherein the determining the direction of movement of the target display object comprises:
and when the marking line is detected to be horizontal, determining that the moving direction of the target display object is the gravity direction.
5. The method according to claim 4, wherein when the marking line is N line segments, N being an integer greater than or equal to 1, the moving the target display image to be aligned with or away from the marking line according to the moving direction comprises:
when a certain marking line is detected to be horizontal, determining the marking line as a target marking line, and determining a target area corresponding to the target marking line;
moving the target display object in the target area along the gravity direction until the target display object is aligned with the target mark line;
the target area includes:
when an adjacent marking line adjacent to and above the target marking line exists, determining an area between the adjacent marking line and the target marking line as a target area;
and when the adjacent marking line does not exist, determining that the area formed by the target marking line and the frame of the display screen of the electronic equipment and positioned above the target marking line is a target area.
6. The method of claim 3, wherein the determining the direction of movement of the target display object comprises:
when a touch screen of the electronic equipment receives touch operation, determining a sliding track of the touch operation;
and determining the touch sliding track as the moving direction.
7. The method according to claim 6, wherein when the marking line is N line segments, N being an integer greater than or equal to 1, the moving the target display object to be aligned with or away from the marking line according to the moving direction comprises:
determining a plurality of areas of the display screen of the electronic equipment divided by the marking lines;
determining the sliding direction of the sliding track in each area;
and moving the target display object in each area according to the moving direction corresponding to the area, and aligning or separating the target display object with the marking line in the area.
8. An electronic device, comprising: a display screen, a processor and a memory coupled to the processor; wherein,
the display screen is used for displaying a display object;
the processor is used for responding to the bending operation and determining at least one marking line corresponding to the bending operation under the condition that the electronic equipment is detected to receive the bending operation, wherein the marking line is a line segment connected with any two sides of the display screen of the electronic equipment, and the target display objects on the display screen of the electronic equipment are arranged based on the marking line.
9. The electronic device of claim 8, wherein in determining at least one marking line corresponding to the bending operation, the processor is configured to,
determining at least one deformation position corresponding to the bending operation; determining the crease at each deformation position as at least one marking line corresponding to the bending operation;
or;
determining at least one deformation position corresponding to the bending operation; displaying virtual marks corresponding to the deformation positions one by one on the display screen; and determining the virtual mark as a mark line corresponding to the bending operation.
10. The electronic device of claim 9, wherein, in said arranging the target display objects on the electronic device display screen based on the marker line, the processor is configured to,
determining a moving direction of the target display object; and moving the target display object to be aligned with or away from the marking line according to the moving direction.
11. The electronic device of claim 10, wherein in connection with said determining a direction of movement of the target display object, the processor is configured to,
and when the marking line is detected to be horizontal, determining that the moving direction of the target display object is the gravity direction.
12. The electronic device of claim 10, wherein in connection with said determining a direction of movement of the target display object, the processor is configured to,
when a touch screen of the electronic equipment receives touch operation, determining a sliding track of the touch operation; and determining the touch sliding track as the moving direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610197554.4A CN105892858B (en) | 2016-03-31 | 2016-03-31 | A kind of display object aligning method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610197554.4A CN105892858B (en) | 2016-03-31 | 2016-03-31 | A kind of display object aligning method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105892858A true CN105892858A (en) | 2016-08-24 |
CN105892858B CN105892858B (en) | 2019-10-29 |
Family
ID=57011820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610197554.4A Active CN105892858B (en) | 2016-03-31 | 2016-03-31 | A kind of display object aligning method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105892858B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632895A (en) * | 2017-08-31 | 2018-01-26 | 维沃移动通信有限公司 | A kind of information sharing method and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103105897A (en) * | 2011-11-14 | 2013-05-15 | 索尼公司 | Information processing device |
CN103297605A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Display method and electronic equipment |
US20130265257A1 (en) * | 2012-04-08 | 2013-10-10 | Samsung Electronics Co., Ltd. | Flexible display apparatus and operating method thereof |
US20140055375A1 (en) * | 2012-08-23 | 2014-02-27 | Samsung Electronics Co., Ltd. | Flexible apparatus and control method thereof |
-
2016
- 2016-03-31 CN CN201610197554.4A patent/CN105892858B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103105897A (en) * | 2011-11-14 | 2013-05-15 | 索尼公司 | Information processing device |
CN103297605A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Display method and electronic equipment |
US20130265257A1 (en) * | 2012-04-08 | 2013-10-10 | Samsung Electronics Co., Ltd. | Flexible display apparatus and operating method thereof |
US20140055375A1 (en) * | 2012-08-23 | 2014-02-27 | Samsung Electronics Co., Ltd. | Flexible apparatus and control method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632895A (en) * | 2017-08-31 | 2018-01-26 | 维沃移动通信有限公司 | A kind of information sharing method and mobile terminal |
CN107632895B (en) * | 2017-08-31 | 2020-04-17 | 维沃移动通信有限公司 | Information sharing method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105892858B (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2837992B1 (en) | User interface interaction method and apparatus applied in touchscreen device, and touchscreen device | |
US20180232135A1 (en) | Method for window displaying on a mobile terminal and mobile terminal | |
JP4275151B2 (en) | Red-eye correction method and apparatus using user-adjustable threshold | |
JP2017102603A (en) | Image processor, image processing method, and image processing program | |
EP2677414A2 (en) | Information display apparatus and method of user device | |
CN103383603B (en) | The method and electronic equipment of information processing | |
US11693544B2 (en) | Mobile terminal display picture control method, apparatus, and device and storage medium | |
CN110251936B (en) | Method and device for controlling virtual camera in game and storage medium | |
JP6171643B2 (en) | Gesture input device | |
US9880721B2 (en) | Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method | |
JP5160680B1 (en) | Image processing apparatus, image processing apparatus control method, and program | |
US20130321350A1 (en) | Virtual ruler for stylus input | |
CN106657472A (en) | handheld terminal and control method thereof | |
CN106873886A (en) | A kind of control method of stereoscopic display, device and electronic equipment | |
JP6428020B2 (en) | GUI device | |
JP5956831B2 (en) | Display control system, display control method, display control apparatus, and display control program | |
WO2007148730A1 (en) | Linear shape processing device, linear shape processing method, information recording medium, and program | |
CN105892858B (en) | A kind of display object aligning method and electronic equipment | |
US10831338B2 (en) | Hiding regions of a shared document displayed on a screen | |
CN107085489A (en) | A kind of control method and electronic equipment | |
EP3104267A1 (en) | Information-processing program, display control device, display control system, and display method | |
CN111773671A (en) | Method and device for controlling movement of virtual object and terminal equipment | |
CN103414823A (en) | Method and device for achieving up-and-down page-turning type operating system of cell phone | |
CN106940615A (en) | A kind of form processing method and device, user equipment | |
US20140189582A1 (en) | Display control device, display control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |