CN109062486B - Display window adjusting method and electronic equipment - Google Patents

Display window adjusting method and electronic equipment Download PDF

Info

Publication number
CN109062486B
CN109062486B CN201810940112.3A CN201810940112A CN109062486B CN 109062486 B CN109062486 B CN 109062486B CN 201810940112 A CN201810940112 A CN 201810940112A CN 109062486 B CN109062486 B CN 109062486B
Authority
CN
China
Prior art keywords
display window
display
moving
area
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810940112.3A
Other languages
Chinese (zh)
Other versions
CN109062486A (en
Inventor
羊铁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810940112.3A priority Critical patent/CN109062486B/en
Publication of CN109062486A publication Critical patent/CN109062486A/en
Application granted granted Critical
Publication of CN109062486B publication Critical patent/CN109062486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a display window adjusting method and electronic equipment. The method comprises the following steps: acquiring a moving operation of a first display window; moving the first display window to a first position corresponding to the moving operation; determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions; and when the moving operation is finished, moving the first display window to the second position for displaying. By adopting the method or the electronic equipment, the position of the display window can be adjusted, the information displayed by the first display window at the original display position of the first display window is prevented from being shielded, and the information display efficiency of the electronic equipment is improved.

Description

Display window adjusting method and electronic equipment
The application has an application date of 2014, 05 and 19, and has an application number of: 201410211317.X, the invention name is: a method for adjusting a display window and a divisional application of an electronic device are provided.
Technical Field
The present invention relates to the field of computer applications, and in particular, to a method for adjusting a display window and an electronic device.
Background
With the continuous development of electronic technology, more and more applications are running on electronic devices by users.
Different applications tend to correspond to different windows. When the electronic equipment runs an application program, a window corresponding to the application program is displayed on a screen. The window may block information that is originally displayed at the display position of the window. This may reduce the information display efficiency of the electronic device.
Disclosure of Invention
The invention aims to provide a display window adjusting method and electronic equipment, which can adjust the position of a display window and avoid the display window from shielding information originally displayed at the display position of the display window, so that the information display efficiency of the electronic equipment is improved.
In order to achieve the purpose, the invention provides the following scheme:
a method of adjusting a display window, the method comprising:
acquiring a moving operation of a first display window;
moving the first display window to a first position corresponding to the moving operation;
determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
and when the moving operation is finished, moving the first display window to the second position for displaying.
Optionally, before determining the second position closest to the first position, the method further includes:
acquiring a first display area of the first display window;
judging whether the first display area is smaller than a preset display area or not to obtain a first judgment result;
and when the first judgment result shows that the first display area is smaller than a preset display area, after the moving operation is finished, executing a step of moving the first display window to the second position for displaying.
Optionally, when the first determination result indicates that the first display area is larger than a preset area, after the moving operation is finished, the first display window is stopped to be moved.
Optionally, the determining a second position closest to the first position specifically includes:
determining a position of a center point of the first display window moved to the first position by the moving operation;
determining the second location closest to the location of the center point.
Optionally, the determining the second position closest to the position of the central point specifically includes:
determining a preset specific area where the position of the central point is located; the preset specific area and the specific display position have a one-to-one corresponding relation;
and determining the specific display position corresponding to the preset specific area as the second position.
Optionally, the moving the first display window to the second position for displaying includes:
acquiring a first distance between the first position and the second position of the first display window;
judging whether the first distance is greater than a preset distance or not to obtain a second judgment result;
when the second judgment result is yes, moving the first display window to the second position at a first moving speed;
when the second judgment result is negative, moving the first display window to the second position at a second moving speed;
wherein the first moving speed is greater than the second moving speed.
Optionally, the preset specific area is divided in the following manner:
and dividing the display screen into four preset specific areas through the vertical lines from the middle point of the display screen where the first display window is located to each side of the display screen.
Optionally, a second display window is further displayed on the display screen where the first display window is located, the second display window is located at a third position on the display screen,
the moving the first display window to the second position for displaying specifically includes:
and moving the first display window to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other.
Optionally, after the moving the first display window to the second position for displaying, the method further includes:
and setting the first display window to have a semitransparent display effect, so that the first display window cannot shield the content of the display area which takes the second position as the center.
An electronic device, the electronic device comprising:
a moving operation acquisition unit configured to acquire a moving operation for the first display window;
the first moving unit is used for moving the first display window to a first position corresponding to the moving operation;
a second position determination unit for determining a second position closest to the first position; the second position is one of a plurality of preset specific display positions;
and the second moving unit is used for moving the first display window to the second position for displaying after the moving operation is finished.
Optionally, the method further includes:
a first display area acquisition unit configured to acquire a first display area of the first display window before determining a second position closest to the first position;
the first judging unit is used for judging whether the first display area is smaller than a preset display area or not to obtain a first judging result;
and the second mobile unit control unit is used for executing the step of moving the first display window to the second position for displaying after the moving operation is finished when the first judgment result shows that the first display area is smaller than the preset display area.
Optionally, the method further includes:
and the stopping unit is used for stopping moving the first display window after the moving operation is finished when the first judgment result shows that the first display area is larger than a preset area.
Optionally, the second mobile unit specifically includes:
a first distance obtaining subunit, configured to obtain a first distance between the first position and the second position of the first display window;
the second judgment subunit is used for judging whether the first distance is greater than a preset distance or not to obtain a second judgment result;
a first moving subunit, configured to, when the second determination result is yes, move the first display window to the second position at a first moving speed;
the second moving subunit is configured to, when the second determination result is negative, move the first display window to the second position at a second moving speed;
wherein the first moving speed is greater than the second moving speed.
Optionally, a second display window is further displayed on the display screen where the first display window is located, the second display window is located at a third position on the display screen,
the second mobile unit specifically includes:
and the third moving subunit is used for moving the first display window to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other.
Optionally, the method further includes:
and the transparent effect setting unit is used for setting the first display window into a semitransparent display effect after the first display window is moved to the second position for displaying, so that the first display window cannot shield the content of the display area taking the second position as the center.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
according to the adjusting method of the display window and the electronic device, the second position closest to the first position is determined; the second position is one of a plurality of preset specific display positions; when the moving operation is finished, moving the first display window to the second position for displaying; the position of the display window can be adjusted, so that the information displayed by the first display window at the original display position of the first display window is prevented from being shielded, and the information display efficiency of the electronic equipment is improved; meanwhile, the first display window can be automatically adjusted to the second position to be displayed according to the first position to which the first display window is moved by the moving operation, and the adjusted first display window can be moved to the specific display position to be displayed, so that the adjusted first display window is displayed in a more regular mode, and the display content outside the specific display position can be ensured not to be shielded.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flowchart of an embodiment 1 of a method for adjusting a display window according to the present invention;
FIG. 2 is a flowchart of an embodiment 2 of a method for adjusting a display window according to the present invention;
FIG. 3 is a flowchart of an embodiment 3 of a method for adjusting a display window according to the present invention;
FIG. 4 is a flowchart of an embodiment 4 of a method for adjusting a display window according to the present invention;
FIG. 5 is a flowchart of an embodiment 5 of a method for adjusting a display window according to the present invention;
fig. 6 is a block diagram of an embodiment of an electronic device of the present invention.
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.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
It should be noted that the method for adjusting a display window of the present invention can be applied to an electronic device having a display screen. The electronic device may be a mobile phone, a tablet computer, a desktop computer, etc.
Fig. 1 is a flowchart of an embodiment 1 of a method for adjusting a display window according to the present invention. As shown in fig. 1, the method may include:
step 101: acquiring a moving operation of a first display window;
the first display window may be a display window of any application program. For example, the display window may be a display window of a video chat software, or may be a display window of a video playing program, or may be a display window of a web browsing program.
The movement operation may be input by a user through a mouse, a keyboard, or a touch operation unit. For example, the user may move the cursor to a position adjustment area of the first display window (which may be an upper side bar of the first display window) through the mouse, then click a mouse button, and move the mouse while keeping the mouse button pressed, so that the first display window may be dragged. When the electronic device is an electronic device with a touch screen, a user can drag the first display window through an operation body (such as a finger).
Step 102: moving the first display window to a first position corresponding to the moving operation;
in general, when the user performs the moving operation, the first display window may move following the movement of the operation body. The position of the cursor corresponding to the operation body, or the click position of the operation body on the touch screen may be the first position.
Step 103: determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
in various embodiments of the present invention, a display window displayed on the display unit may have a specific display position. The specific display position can be set according to actual requirements. In general, in order to minimize the occlusion of the display content in the display area where the display window is originally located, the specific display position may be disposed at a corner of the display unit. For example, the upper left, upper right, lower left, and lower right of the display screen of the electronic device may be set as the specific display position.
After the user finishes the moving operation on the first display window, it may be determined that the first display window is located at the first position when the moving operation is finished. From the first location, a second location closest to the first location may be determined.
An example may be that, a vertical line is drawn from the center of the display screen to four sides, i.e., the upper side, the lower side, the left side and the right side, respectively, so as to divide the display screen into four regions, and each region corresponds to a specific display position of the upper left side, the upper right side, the lower left side and the lower right side, respectively. When the first position is located in the upper left area of the four areas, the specific display position at the upper left may be determined as the second position closest to the first position.
Of course, other methods may be used to determine the second location that is closest to the first location. For example, the display coordinates corresponding to the first position and the positioning coordinates of the positioning points corresponding to the specific display positions may be obtained, and the distances between the first position and the positioning points may be calculated respectively. The specific display position with the smallest distance is the second position closest to the first position.
Step 104: and when the moving operation is finished, moving the first display window to the second position for displaying.
After the moving operation is finished, in most cases, the first position of the first display window is different from the second position. At this time, the first display window may be moved to the second position to be displayed. Of course, if the first position is the same as the second position, no further movement is possible.
In summary, in the embodiment, the second position closest to the first position is determined; the second position is one of a plurality of preset specific display positions; when the moving operation is finished, moving the first display window to the second position for displaying; the position of the display window can be adjusted, so that the information displayed by the first display window at the original display position of the first display window is prevented from being shielded, and the information display efficiency of the electronic equipment is improved; meanwhile, the first display window can be automatically adjusted to the second position to be displayed according to the first position to which the first display window is moved by the moving operation, and the adjusted first display window can be moved to the specific display position to be displayed, so that the adjusted first display window is displayed in a more regular mode, and the display content outside the specific display position can be ensured not to be shielded.
Fig. 2 is a flowchart of an embodiment 2 of a method for adjusting a display window according to the present invention. As shown in fig. 2, the method may include:
step 201: acquiring a moving operation of a first display window;
step 202: moving the first display window to a first position corresponding to the moving operation;
step 203: determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
step 204: acquiring a first display area of the first display window;
the display area of the first display window may be expressed in units of pixels. The first display area of the first display window may be fixed and may not be changeable by a user; or may be adjustable by the user.
Step 205: judging whether the first display area is smaller than a preset display area or not to obtain a first judgment result;
the specific numerical value of the preset display area can be set according to actual requirements.
Step 206: and when the first judgment result shows that the first display area is smaller than a preset display area, after the moving operation is finished, moving the first display window to the second position for displaying.
When the first display area is smaller than a preset display area, the size of the first display window may be considered to be smaller. In this case, the first display window is moved to a specific display position to be displayed, and image information other than the specific display position can be displayed to a large extent.
Step 207: and when the first judgment result shows that the first display area is larger than a preset area, stopping moving the first display window after the moving operation is finished.
When the first display area is larger than a preset display area, the size of the first display window may be considered to be larger. At this time, no matter the first display window is moved to any place on the display unit, the image information with a larger range is shielded, so that the first display window can not be moved to the specific display position any more, and the first display window can be stopped moving after the moving operation is finished. That is, at this time, the first position to which the first display window is moved by the moving operation may be set as the final display position of the first display window.
In this embodiment, by determining whether a first display area of a first display window is smaller than a preset display area, when the first display area is smaller than the preset display area, the first display window is moved to the second position to be displayed, and when the first display area is larger than the preset area, the first display window is stopped from being moved after the moving operation is finished; whether the first display window needs to be adjusted to a specific display position or not can be automatically judged according to the size of the first display window, so that unnecessary adjustment can be avoided, and the use feeling of a user is improved.
Fig. 3 is a flowchart of an embodiment 3 of a method for adjusting a display window according to the present invention. As shown in fig. 3, the method may include:
step 301: acquiring a moving operation of a first display window;
step 302: moving the first display window to a first position corresponding to the moving operation;
step 303: determining a position of a center point of the first display window moved to the first position by the moving operation;
the center point of the first display window may be a geometric center of the first display window. The coordinates of the center point may be used to represent the position of the center point.
Step 304: determining a preset specific area where the position of the central point is located; the preset specific area and the specific display position have a one-to-one corresponding relation;
the preset specific area may be divided in the following manner: and dividing the display screen into four preset specific areas through the vertical lines from the middle point of the display screen where the first display window is located to each side of the display screen.
Of course, the preset specific area may be divided in other manners. For example, a straight line parallel to both the upper and lower edges of the display screen may be made through a midpoint of the display screen where the first display window is located, so as to divide the display area of the display screen into an upper portion and a lower portion, thereby obtaining two preset specific areas.
Each preset specific area may correspond to one of the specific display positions. Generally, the specific display position may be located within the preset specific area.
Step 305: and determining the specific display position corresponding to the preset specific area as the second position.
Assuming that the specific display position corresponding to a certain preset specific area is located at the upper left of the display screen, the specific display position at the upper left may be determined as the second position.
Step 306: and when the moving operation is finished, moving the first display window to the second position for displaying.
In this embodiment, the position of the central point is determined to be in a preset specific area; the preset specific area and the specific display position have a one-to-one corresponding relation; determining the specific display position corresponding to the preset specific area as the second position; a specific way of determining the second position is provided.
Fig. 4 is a flowchart of an embodiment 4 of a method for adjusting a display window according to the present invention. As shown in fig. 4, the method may include:
step 401: acquiring a moving operation of a first display window;
step 402: moving the first display window to a first position corresponding to the moving operation;
step 403: determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
step 404: after the moving operation is finished, acquiring a first distance between the first position and the second position of the first display window;
the distance between the first and second locations may be calculated from their coordinates.
Step 405: judging whether the first distance is greater than a preset distance or not to obtain a second judgment result;
step 406: when the second judgment result is yes, moving the first display window to the second position at a first moving speed;
when the first distance is larger than the preset distance, the first position is far away from the second position. In order to move the first display window to the second position as quickly as possible, the first display window may be moved to the second position at a first, faster moving speed.
Step 407: when the second judgment result is negative, moving the first display window to the second position at a second moving speed;
when the first distance is smaller than a preset distance, the first position is closer to the second position. In order to allow the user to observe the movement of the first display window, the first display window may be moved to the second position at a slower first movement speed.
Wherein the first moving speed is greater than the second moving speed.
In this embodiment, by determining whether the first distance between the first position and the second position where the first display window is located is greater than the preset distance, when the first distance is greater than the preset distance, the first display window is moved at a faster first speed, and when the first distance is less than the preset distance, the first display window is moved at a slower second speed, so that different moving effects can be realized according to the distance between the first position and the second position, and the moving efficiency of the first display window can be improved while ensuring that a user can observe the movement of the first display window.
Fig. 5 is a flowchart of an embodiment 5 of a method for adjusting a display window according to the present invention. As shown in fig. 5, the method may include:
step 501: acquiring a moving operation of a first display window;
step 502: moving the first display window to a first position corresponding to the moving operation;
step 503: determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
in this embodiment, a second display window is further displayed on the display screen where the first display window is located, and the second display window is located at a third position on the display screen.
Specifically, when the electronic device is used for a video call, the first display window may display a user image of the peer device, and the second display window may display a user image of the local device.
In the prior art, when a user uses an electronic device to perform a video call, a video picture of a called party is shielded by a video picture of a calling party. And sometimes the occluded part is just important information in the video picture of the called party. Under the above circumstances, the video call efficiency is low due to the fact that the part of the video picture of the called party, which contains important information, is always shielded, and the use experience of the user is seriously influenced.
Step 504: and after the moving operation is finished, moving the first display window to the second position different from the third position for displaying so that the first display window and the second display window are not shielded.
In this embodiment, the first display window is moved to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other; the display content in the second display window can be prevented from being blocked, and the use experience of a user is improved. When the electronic equipment is used for carrying out video call, the part containing important information in the video picture of the second display window can be prevented from being shielded all the time, and the low efficiency of the video call is improved.
It should be noted that, in each embodiment of the present invention, after the first display window is moved to the second position for displaying, the first display window may also be set to have a semi-transparent display effect, so that the first display window does not block the content of the display area centered on the second position.
The invention also discloses an electronic device. The electronic device may be a mobile phone, a tablet computer, a desktop computer, etc.
Fig. 6 is a block diagram of an embodiment of an electronic device of the present invention. As shown in fig. 6, the electronic device may include:
a moving operation acquisition unit 601 for acquiring a moving operation for the first display window;
the first display window may be a display window of any application program. For example, the display window may be a display window of a video chat software, or may be a display window of a video playing program, or may be a display window of a web browsing program.
The movement operation may be input by a user through a mouse, a keyboard, or a touch operation unit. For example, the user may move the cursor to a position adjustment area of the first display window (which may be an upper side bar of the first display window) through the mouse, then click a mouse button, and move the mouse while keeping the mouse button pressed, so that the first display window may be dragged. When the electronic device is an electronic device with a touch screen, a user can drag the first display window through an operation body (such as a finger).
A first moving unit 602, configured to move the first display window to a first position corresponding to the moving operation;
in general, when the user performs the moving operation, the first display window may move following the movement of the operation body. The position of the cursor corresponding to the operation body, or the click position of the operation body on the touch screen may be the first position.
A second position determination unit 603 for determining a second position closest to the first position; the second position is one of a plurality of preset specific display positions;
in various embodiments of the present invention, a display window displayed on the display unit may have a specific display position. The specific display position can be set according to actual requirements. In general, in order to minimize the occlusion of the display content in the display area where the display window is originally located, the specific display position may be disposed at a corner of the display unit. For example, the upper left, upper right, lower left, and lower right of the display screen of the electronic device may be set as the specific display position.
After the user finishes the moving operation on the first display window, it may be determined that the first display window is located at the first position when the moving operation is finished. From the first location, a second location closest to the first location may be determined.
An example may be that, a vertical line is drawn from the center of the display screen to four sides, i.e., the upper side, the lower side, the left side and the right side, respectively, so as to divide the display screen into four regions, and each region corresponds to a specific display position of the upper left side, the upper right side, the lower left side and the lower right side, respectively. When the first position is located in the upper left area of the four areas, the specific display position at the upper left may be determined as the second position closest to the first position.
Of course, other methods may be used to determine the second location that is closest to the first location. For example, the display coordinates corresponding to the first position and the positioning coordinates of the positioning points corresponding to the specific display positions may be obtained, and the distances between the first position and the positioning points may be calculated respectively. The specific display position with the smallest distance is the second position closest to the first position.
A second moving unit 604, configured to move the first display window to the second position for displaying after the moving operation is finished.
After the moving operation is finished, in most cases, the first position of the first display window is different from the second position. At this time, the first display window may be moved to the second position to be displayed. Of course, if the first position is the same as the second position, no further movement is possible.
In summary, in the embodiment, the second position closest to the first position is determined; the second position is one of a plurality of preset specific display positions; when the moving operation is finished, moving the first display window to the second position for displaying; the position of the display window can be adjusted, so that the information displayed by the first display window at the original display position of the first display window is prevented from being shielded, and the information display efficiency of the electronic equipment is improved; meanwhile, the first display window can be automatically adjusted to the second position to be displayed according to the first position to which the first display window is moved by the moving operation, and the adjusted first display window can be moved to the specific display position to be displayed, so that the adjusted first display window is displayed in a more regular mode, and the display content outside the specific display position can be ensured not to be shielded.
In practical application, the method can further comprise the following steps:
a first display area acquisition unit configured to acquire a first display area of the first display window before determining a second position closest to the first position;
the first judging unit is used for judging whether the first display area is smaller than a preset display area or not to obtain a first judging result;
and the second mobile unit control unit is used for executing the step of moving the first display window to the second position for displaying after the moving operation is finished when the first judgment result shows that the first display area is smaller than the preset display area.
In practical application, the method can further comprise the following steps:
and the stopping unit is used for stopping moving the first display window after the moving operation is finished when the first judgment result shows that the first display area is larger than a preset area.
In practical applications, the second mobile unit 604 may specifically include:
a first distance obtaining subunit, configured to obtain a first distance between the first position and the second position of the first display window;
the second judgment subunit is used for judging whether the first distance is greater than a preset distance or not to obtain a second judgment result;
a first moving subunit, configured to, when the second determination result is yes, move the first display window to the second position at a first moving speed;
the second moving subunit is configured to, when the second determination result is negative, move the first display window to the second position at a second moving speed;
wherein the first moving speed is greater than the second moving speed.
In practical application, a second display window is also displayed on the display screen where the first display window is located, the second display window is located at a third position on the display screen,
the second mobile unit 604 may specifically include:
and the third moving subunit is used for moving the first display window to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other.
In practical application, the method can further comprise the following steps:
and the transparent effect setting unit is used for setting the first display window into a semitransparent display effect after the first display window is moved to the second position for displaying, so that the first display window cannot shield the content of the display area taking the second position as the center.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and certainly may be implemented by hardware, but in many cases, the former is a better embodiment. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the description is relatively simple because the electronic equipment corresponds to the method disclosed by the embodiment, and the relevant part can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (9)

1. A method for adjusting a display window, the method comprising:
acquiring a moving operation of a first display window;
moving the first display window to a first position corresponding to the moving operation;
determining a second location closest to the first location; the second position is one of a plurality of preset specific display positions;
when the moving operation is finished, moving the first display window to the second position for displaying;
and setting the first display window to have a semitransparent display effect, so that the first display window cannot shield the content of the display area which takes the second position as the center.
2. The method of claim 1, wherein prior to determining the second location closest to the first location, further comprising:
acquiring a first display area of the first display window;
judging whether the first display area is smaller than a preset display area or not to obtain a first judgment result;
and when the first judgment result shows that the first display area is smaller than a preset display area, after the moving operation is finished, executing a step of moving the first display window to the second position for displaying.
3. The method according to claim 2, wherein when the first determination result indicates that the first display area is larger than a preset area, the first display window stops moving after the moving operation is finished.
4. The method according to claim 1, wherein said determining a second location closest to said first location comprises:
determining a position of a center point of the first display window moved to the first position by the moving operation;
determining the second location closest to the location of the center point.
5. The method according to claim 4, wherein the determining the second position closest to the position of the center point comprises:
determining a preset specific area where the position of the central point is located; the preset specific area and the specific display position have a one-to-one corresponding relation;
and determining the specific display position corresponding to the preset specific area as the second position.
6. The method according to claim 5, wherein the preset specific area is divided in a manner that:
and dividing the display screen into four preset specific areas through the vertical lines from the middle point of the display screen where the first display window is located to each side of the display screen.
7. The method of claim 1, wherein the first display window is located on a display screen on which a second display window is also displayed, the second display window being located at a third position on the display screen,
the moving the first display window to the second position for displaying specifically includes:
and moving the first display window to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other.
8. An electronic device, characterized in that the electronic device comprises:
a moving operation acquisition unit configured to acquire a moving operation for the first display window;
the first moving unit is used for moving the first display window to a first position corresponding to the moving operation;
a second position determination unit for determining a second position closest to the first position; the second position is one of a plurality of preset specific display positions;
the second moving unit is used for moving the first display window to the second position for displaying after the moving operation is finished;
and the transparent effect setting unit is used for setting the first display window into a semitransparent display effect after the first display window is moved to the second position for displaying, so that the first display window cannot shield the content of the display area taking the second position as the center.
9. The electronic device of claim 8, wherein a second display window is further displayed on the display screen where the first display window is located, the second display window being located at a third position on the display screen,
the second mobile unit specifically includes:
and the third moving subunit is used for moving the first display window to the second position different from the third position for displaying, so that the first display window and the second display window are not shielded from each other.
CN201810940112.3A 2014-05-19 2014-05-19 Display window adjusting method and electronic equipment Active CN109062486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810940112.3A CN109062486B (en) 2014-05-19 2014-05-19 Display window adjusting method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810940112.3A CN109062486B (en) 2014-05-19 2014-05-19 Display window adjusting method and electronic equipment
CN201410211317.XA CN105094586B (en) 2014-05-19 2014-05-19 A kind of adjusting method and electronic equipment of display window

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410211317.XA Division CN105094586B (en) 2014-05-19 2014-05-19 A kind of adjusting method and electronic equipment of display window

Publications (2)

Publication Number Publication Date
CN109062486A CN109062486A (en) 2018-12-21
CN109062486B true CN109062486B (en) 2022-03-25

Family

ID=54575167

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810940112.3A Active CN109062486B (en) 2014-05-19 2014-05-19 Display window adjusting method and electronic equipment
CN201410211317.XA Active CN105094586B (en) 2014-05-19 2014-05-19 A kind of adjusting method and electronic equipment of display window

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201410211317.XA Active CN105094586B (en) 2014-05-19 2014-05-19 A kind of adjusting method and electronic equipment of display window

Country Status (1)

Country Link
CN (2) CN109062486B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156292A (en) * 2016-06-28 2016-11-23 乐视控股(北京)有限公司 A kind of method for information display, equipment and server
CN111552424A (en) * 2020-04-24 2020-08-18 北京小米移动软件有限公司 Small window dragging method, device, equipment and storage medium
CN113051432B (en) * 2021-04-25 2022-07-19 聚好看科技股份有限公司 Display device and media asset playing method
CN115113770A (en) * 2021-03-17 2022-09-27 北京有竹居网络技术有限公司 Terminal control method and device, terminal and storage medium
CN113448474A (en) * 2021-06-30 2021-09-28 广州博冠信息科技有限公司 Interactive interface display method, device, medium and electronic equipment of live broadcast room

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021765A (en) * 2006-02-14 2007-08-22 三星电子株式会社 Apparatus and method for managing layout of a window
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN102063256A (en) * 2010-12-29 2011-05-18 北京新媒传信科技有限公司 Method and device for moving/stretching window
CN103246433A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Screen user-defined window-dividing display control method
CN103294346A (en) * 2013-06-20 2013-09-11 锤子科技(北京)有限公司 Window moving method for mobile equipment and device thereof
CN103677547A (en) * 2012-09-04 2014-03-26 腾讯科技(深圳)有限公司 Interface display method and device
CN107179875A (en) * 2017-06-26 2017-09-19 深圳传音通讯有限公司 The method and apparatus of window adjustment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7016704B2 (en) * 2001-04-02 2006-03-21 Move Mobile Systems, Inc. Coordinating images displayed on devices with two or more displays
EP1655664A3 (en) * 2004-10-06 2007-11-07 International Business Machines Corporation System and method for managing a floating window
CN101334725B (en) * 2007-06-29 2011-05-25 联想(北京)有限公司 Method and device for enhancing windows display performance
KR20100052203A (en) * 2008-11-10 2010-05-19 삼성전자주식회사 Broadcasting display device and control method thereof
CN103116454B (en) * 2013-02-22 2018-07-31 上海斐讯数据通信技术有限公司 A kind of mobile terminal touch screen view layout method of adjustment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021765A (en) * 2006-02-14 2007-08-22 三星电子株式会社 Apparatus and method for managing layout of a window
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN102063256A (en) * 2010-12-29 2011-05-18 北京新媒传信科技有限公司 Method and device for moving/stretching window
CN103677547A (en) * 2012-09-04 2014-03-26 腾讯科技(深圳)有限公司 Interface display method and device
CN103246433A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Screen user-defined window-dividing display control method
CN103294346A (en) * 2013-06-20 2013-09-11 锤子科技(北京)有限公司 Window moving method for mobile equipment and device thereof
CN107179875A (en) * 2017-06-26 2017-09-19 深圳传音通讯有限公司 The method and apparatus of window adjustment

Also Published As

Publication number Publication date
CN105094586B (en) 2018-08-10
CN109062486A (en) 2018-12-21
CN105094586A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN109062486B (en) Display window adjusting method and electronic equipment
CN104007894B (en) Portable device and its more application operating methods
US9164658B2 (en) Flexible selection tool for mobile devices
US9542070B2 (en) Method and apparatus for providing an interactive user interface
CN104793874B (en) A kind of interface display method and electronic equipment
US10318605B2 (en) Method and device for relocating input box to target position in mobile terminal browser, storage medium
KR20120066122A (en) Method and device for controlling touch screen using timeline bar, recording medium for program for the same, and user terminal having the same
CN102662566A (en) Magnifying display method and terminal for screen content
CN106886511B (en) Network table processing method and device
CN110928614B (en) Interface display method, device, equipment and storage medium
CN105929954B (en) It is a kind of control cursor method and device, display equipment
TWI493390B (en) Method for displaying touch cursor
CN109298790A (en) Character deleting method and device
CN106843701A (en) A kind of picture rotation methods of exhibiting and device
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
CN108932089B (en) Target object adjusting method and device, electronic equipment and storage medium
CN107168969B (en) Page element control method and device and electronic equipment
US10632379B2 (en) Method and apparatus for performing interaction in chessboard interface
US9875020B2 (en) Method for capturing user input from a touch screen and device having a touch screen
US9870147B2 (en) Touch control method in mobile terminal having large screen
US10614152B2 (en) Exposing formatting properties of content for accessibility
CN114879872A (en) Display method, display device, electronic equipment and storage medium
CN114138141A (en) Display method and device and electronic equipment
CN104951223B (en) A kind of touch screen realizes the method, apparatus and host of magnifying glass
US20170168696A1 (en) Method and electronic device for adjusting video window based on multi-point control

Legal Events

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