CN105094586B - A kind of adjusting method and electronic equipment of display window - Google Patents

A kind of adjusting method and electronic equipment of display window Download PDF

Info

Publication number
CN105094586B
CN105094586B CN201410211317.XA CN201410211317A CN105094586B CN 105094586 B CN105094586 B CN 105094586B CN 201410211317 A CN201410211317 A CN 201410211317A CN 105094586 B CN105094586 B CN 105094586B
Authority
CN
China
Prior art keywords
display window
display
moved
moving operation
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
CN201410211317.XA
Other languages
Chinese (zh)
Other versions
CN105094586A (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
Priority to CN201410211317.XA priority patent/CN105094586B/en
Publication of CN105094586A publication Critical patent/CN105094586A/en
Application granted granted Critical
Publication of CN105094586B publication Critical patent/CN105094586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The present invention discloses a kind of adjusting method and electronic equipment of display window.The method includes:Obtain the moving operation for the first display window;First display window is moved to the corresponding first position of the moving operation;Determine the second position nearest apart from the first position;The second position is pre-set multiple one be particularly shown in position;After the moving operation, first display window is moved to the second position and is shown.The position of display window can be adjusted in method using the present invention or electronic equipment, avoid the information that the original display position of first the first display window of display window pair is shown from causing to block, improve the presentation of information efficiency of electronic equipment.

Description

A kind of adjusting method and electronic equipment of display window
Technical field
The present invention relates to computer application fields, more particularly to the adjusting method and electronic equipment of a kind of display window.
Background technology
With the continuous development of electronic technology, the application program that user runs on an electronic device is also more and more.
Different application programs often corresponds to different windows.When electronic equipment runs a application program, can shield The corresponding window of the application program is shown on curtain.The information that the window can show script in the display location of the window is made At blocking.This can reduce the presentation of information efficiency of electronic equipment.
Invention content
The object of the present invention is to provide a kind of adjusting method of display window and electronic equipments, can be to the position of display window It sets and is adjusted, the information that display window shows script in the display location of the display window is avoided to cause to block, from And improve the presentation of information efficiency of electronic equipment.
To achieve the above object, the present invention provides following schemes:
A kind of adjusting method of display window, the method includes:
Obtain the moving operation for the first display window;
First display window is moved to the corresponding first position of the moving operation;
Determine the second position nearest apart from the first position;The second position is pre-set multiple specific aobvious Show one in position;
After the moving operation, first display window is moved to the second position and is shown.
Optionally, before the determination second position nearest apart from the first position, further include:
Obtain the first display area of first display window;
Judge whether the first display area is less than default display area, obtains the first judging result;
When first judging result indicates that the first display area is less than default display area, as the mobile behaviour After work, executes and first display window is moved to the step of second position is shown.
Optionally, when first judging result indicates that the first display area is more than preset area, when the shifting After dynamic operation, stop mobile first display window.
Optionally, the determination second position nearest apart from the first position, specifically includes:
Determine the position of the central point for first display window that the first position is moved to by the moving operation;
Determine the second position nearest apart from the position of the central point.
Optionally, the determining second position nearest apart from the position of the central point, specifically includes:
Determine the default specific region where the position of the central point;The default specific region is particularly shown with described Position has one-to-one relationship;
By the default specific region it is corresponding it is described be particularly shown position, be determined as the second position.
Optionally, described first display window is moved to the second position to show, including:
Obtain the first distance of the first position and the second position where first display window;
Judge whether first distance is more than pre-determined distance, obtains the second judging result;
When second judging result is to be, using first movement speed by first display window to described second It moves position;
When second judging result is no, using the second movement speed by first display window to described second It moves position;
Wherein, the first movement speed is more than second movement speed.
Optionally, the dividing mode of the default specific region is:
It, will by the midpoint of the display screen where first display window to the vertical line on each side of the display screen The display screen is divided into four default specific regions.
Optionally, the second display window is also shown on the display screen where first display window, described second Display window is located at the third place on the display screen,
It is described first display window is moved to the second position to show, it specifically includes:
First display window is moved to the second position different from the third place to show, so that First display window does not block mutually with second display window.
Optionally, described that first display window is moved to after the second position shown, further include:
Set first display window to translucent display effect, so as to first display window will not to The content of display area centered on the second position causes to block.
A kind of electronic equipment, the electronic equipment include:
Moving operation acquiring unit, for obtaining the moving operation for the first display window;
First movement unit, for moving first display window to the corresponding first position of the moving operation;
Second position determination unit, for determining the second position nearest apart from the first position;The second position For pre-set multiple one be particularly shown in position;
First display window is moved to described for after the moving operation by the second mobile unit Two positions are shown.
Optionally, further include:
First display area acquiring unit, for before determining the second position nearest apart from the first position, obtaining The first of first display window is taken to show area;
First judging unit obtains first and sentences for judging whether the first display area is less than default display area Disconnected result;
Second mobile unit control unit, for indicating the first display area less than pre- when first judging result If show area, after the moving operation, execute by first display window be moved to the second position into The step of row display.
Optionally, further include:
Stop unit is used for when first judging result indicates that the first display area is more than preset area, when After the moving operation, stop mobile first display window.
Optionally, second mobile unit, specifically includes:
First distance obtains subelement, for obtaining the first position where first display window and described the First distance of two positions;
Second judgment sub-unit obtains the second judging result for judging whether first distance is more than pre-determined distance;
First movement subelement, for when second judging result is to be, using first movement speed by described the One display window is moved to the second position;
Second movement subelement, for when second judging result is no, using the second movement speed by described the One display window is moved to the second position;
Wherein, the first movement speed is more than second movement speed.
Optionally, the second display window is also shown on the display screen where first display window, described second Display window is located at the third place on the display screen,
Second mobile unit, specifically includes:
Third moves subelement, for first display window to be moved to different from the third place described the Two positions are shown, so that first display window does not block mutually with second display window.
Optionally, further include:
Transparent effect setting unit, for carrying out showing it first display window is moved to the second position Afterwards, first display window is set to translucent display effect, so that first display window will not be to described The content of display area centered on the second position causes to block.
According to specific embodiment provided by the invention, the invention discloses following technique effects:
The adjusting method and electronic equipment of the display window of the present invention, by determine apart from the first position it is nearest the Two positions;The second position is pre-set multiple one be particularly shown in position;After the moving operation, First display window is moved to the second position to show;The position of display window can be adjusted, be kept away Exempt from the information that the original display position of first the first display window of display window pair is shown to cause to block, improves electronic equipment Presentation of information efficiency;At the same time it can also the first position for being moved to the first display window according to moving operation, automatically by One display window is adjusted to the second position and is shown, the first display window after adjusting can be made to be moved to and be particularly shown position It is shown, to make the first display window after adjustment be shown in a manner of more rule, it can be ensured that will not be to spy Determine the display content except display location to cause to block.
Description of the drawings
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of the adjusting method embodiment 1 of the display window of the present invention;
Fig. 2 is the flow chart of the adjusting method embodiment 2 of the display window of the present invention;
Fig. 3 is the flow chart of the adjusting method embodiment 3 of the display window of the present invention;
Fig. 4 is the flow chart of the adjusting method embodiment 4 of the display window of the present invention;
Fig. 5 is the flow chart of the adjusting method embodiment 5 of the display window of the present invention;
Fig. 6 is the structure chart of the electronic equipment embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
Firstly the need of explanation, the adjusting method of display window of the invention can be applied to display screen Electronic equipment.The electronic equipment can be mobile phone, tablet computer, desktop computer etc..
Fig. 1 is the flow chart of the adjusting method embodiment 1 of the display window of the present invention.As shown in Figure 1, this method can wrap It includes:
Step 101:Obtain the moving operation for the first display window;
First display window can be the display window of arbitrary a application program.For example, it may be Video chat The display window of software, or can be the display window of video reproduction program, it can also be the display window of Web browsing application Mouthful.
The moving operation can be inputted by mouse, keyboard or touch operation unit by user.For example, user Can (usually can be the upper of the first display window by the position adjustment region that cursor is moved to the first display window by mouse Sidebar), then click mousebutton, in the state of keeping mousebutton to be pressed, mobile mouse, so as to realize for The dragging of first display window.When the electronic equipment is the electronic equipment with touch screen, user can also pass through operation Body (such as finger) realizes the dragging for the first display window.
Step 102:First display window is moved to the corresponding first position of the moving operation;
In general, when user executes the moving operation, first display window can follow the movement of operating body and It is mobile.The click location of the position or the operating body of the corresponding cursor of the operating body on the touchscreen, can be used as institute State first position.
Step 103:Determine the second position nearest apart from the first position;The second position is pre-set more A one be particularly shown in position;
In each embodiment of the present invention, for the display window shown on the display unit, can have specific aobvious Show position.The position that is particularly shown can be set according to actual demand.In general, in order to reduce the display to script to the greatest extent The display content of display area where window is blocked, and the position that is particularly shown can be arranged in the corner of display unit. For example, the upper left side of the display screen of electronic equipment, upper right side, lower left, lower right could be provided as described being particularly shown position It sets.
After user is for the moving operation of first display window, it may be determined that the moving operation terminates When, the first position where first display window.According to the first position, it may be determined that most apart from the first position The close second position.
One example can be that by the center of display screen, vertical line is drawn on four sides respectively vertically and horizontally, by the display screen Be divided into four regions, each region respectively with upper left side, upper right side, lower left, lower right to be particularly shown position corresponding. When the first position is located at the top left region in four regions, so that it may to be particularly shown position by upper left, be determined as The second position nearest apart from the first position.
It is of course also possible to use other method determines the second position nearest apart from the first position.For example, can be with The corresponding displaing coordinate in the first position and each elements of a fix for being particularly shown the corresponding anchor point in position are obtained, point It Ji Suan not the distance between first position and each anchor point.The minimum position that is particularly shown of distance is apart from described first Set the nearest second position.
Step 104:After the moving operation, first display window is moved to the second position and is carried out Display.
After the moving operation, in most cases, the first position where first display window, with The second position is different.It is shown at this point it is possible to which first display window is moved to the second position.When So, it if the first position is identical as the second position, can also no longer be moved.
In conclusion in the present embodiment, by determining the second position nearest apart from the first position;The second It is set to pre-set multiple one be particularly shown in position;After the moving operation, by first display window Mouth is moved to the second position and is shown;The position of display window can be adjusted, avoid the first display window pair The information that the original display position of first display window is shown causes to block, and improves the presentation of information efficiency of electronic equipment; At the same time it can also the first position for being moved to the first display window according to moving operation, the first display window is adjusted automatically It is shown to the second position, the first display window after adjusting can be made to be moved to and be particularly shown position and shown, to The first display window after adjustment is set to be shown in a manner of more rule, it can be ensured that will not be to being particularly shown except position Display content cause to block.
Fig. 2 is the flow chart of the adjusting method embodiment 2 of the display window of the present invention.As shown in Fig. 2, this method can wrap It includes:
Step 201:Obtain the moving operation for the first display window;
Step 202:First display window is moved to the corresponding first position of the moving operation;
Step 203:Determine the second position nearest apart from the first position;The second position is pre-set more A one be particularly shown in position;
Step 204:Obtain the first display area of first display window;
The display area of first display window, can be indicated as unit of pixel.First display window First display area can be fixed, can not by user change;Can also be that can be adjusted by the user.
Step 205:Judge whether the first display area is less than default display area, obtains the first judging result;
The concrete numerical value of the default display area, can be set according to actual demand.
Step 206:When first judging result indicates that the first display area is less than default display area, work as institute After stating moving operation, first display window is moved to the second position and is shown.
When the first display area is less than default display area, it is believed that the size of first display window compared with It is small.It is shown at this point, first display window is moved to and is particularly shown position, it can be largely to specific aobvious Show that the image information except position is shown.
Step 207:When first judging result indicates that the first display area is more than preset area, when the shifting After dynamic operation, stop mobile first display window.
When the first display area is more than default display area, it is believed that the size of first display window compared with Greatly.At this point, due to from anywhere in no matter the first display window being moved on display unit, it all will be to large range of image Information causes to block, so, no longer the first display window can be moved to be particularly shown position at this time, as long as working as the movement After operation, stop mobile first display window.That is, at this point it is possible to by the moving operation by institute The first position that the first display window is moved to is stated, the final display location as first display window.
In the present embodiment, by judging whether the first display area of the first display window is less than default display area, when When the first display area is less than default display area, first display window is moved to the second position and is shown Show, when the first display area is more than preset area, after the moving operation, stops mobile first display Window;Whether can need to adjust the first display window according to the size of the first display window, automatic decision to being particularly shown position It sets, so as to avoid unnecessary adjusting, and then improves the use feeling of user.
Fig. 3 is the flow chart of the adjusting method embodiment 3 of the display window of the present invention.As shown in figure 3, this method can wrap It includes:
Step 301:Obtain the moving operation for the first display window;
Step 302:First display window is moved to the corresponding first position of the moving operation;
Step 303:Determine the center for first display window that the first position is moved to by the moving operation The position of point;
The central point of first display window can be the geometric center of first display window.It may be used described The position of central point described in the coordinate representation of central point.
Step 304:Determine the default specific region where the position of the central point;The default specific region with it is described Being particularly shown position has one-to-one relationship;
Following manner division may be used in the default specific region:Pass through the display screen where first display window The display screen is divided into four default specific regions by the midpoint of curtain to the vertical line on each side of the display screen.
Certainly, the default specific region can also use other modes to divide.For example, can be shown by described first A straight line parallel with the lower edges of the display screen is done, thus by institute in the midpoint of display screen where window The display area for stating display screen is divided into two parts up and down, obtains two default specific regions.
Each default specific region can be corresponding with position is particularly shown described in one.In general, described be particularly shown position Setting can be located in the default specific region.
Step 305:By the default specific region it is corresponding it is described be particularly shown position, be determined as the second position.
Assuming that the corresponding upper left side for being particularly shown position and being located at display screen in a certain default specific region, then can determine The upper left position that is particularly shown is the second position.
Step 306:After the moving operation, first display window is moved to the second position and is carried out Display.
In the present embodiment, pass through the default specific region where the position of the determination central point;The default given zone Domain has one-to-one relationship with the position that is particularly shown;Described position is particularly shown by the default specific region is corresponding It sets, is determined as the second position;Provide a kind of concrete mode of the determining second position.
Fig. 4 is the flow chart of the adjusting method embodiment 4 of the display window of the present invention.As shown in figure 4, this method can wrap It includes:
Step 401:Obtain the moving operation for the first display window;
Step 402:First display window is moved to the corresponding first position of the moving operation;
Step 403:Determine the second position nearest apart from the first position;The second position is pre-set more A one be particularly shown in position;
Step 404:After the moving operation, obtain the first position where first display window with First distance of the second position;
It can be calculated at a distance between the two by the coordinate of the first position and the second position.
Step 405:Judge whether first distance is more than pre-determined distance, obtains the second judging result;
Step 406:When second judging result be when, using first movement speed by first display window to The second position movement;
When first distance is more than pre-determined distance, show the first position apart from the second position farther out.For First display window is moved to the second position as early as possible, faster first movement speed may be used at this time by institute The first display window is stated to move to the second position.
Step 407:When second judging result be it is no when, using the second movement speed by first display window to The second position movement;
When first distance is less than pre-determined distance, show that the first position is closer apart from the second position.For User is allowed to be observed that the movement of first display window, slower first movement speed may be used at this time will be described First display window is moved to the second position.
Wherein, the first movement speed is more than second movement speed.
In the present embodiment, by judging the first position where first display window and the second position Whether the first distance is more than pre-determined distance, when more than pre-determined distance, is carried out with the first display window of faster First Speed pair It is mobile, when less than pre-determined distance, moved with slower the first display window of second speed pair, it can be according to first position At a distance from the second position, different mobile effects is realized, ensureing that user is observed that the movement of the first display window At the same time it can also improve the mobile efficiency of the first display window.
Fig. 5 is the flow chart of the adjusting method embodiment 5 of the display window of the present invention.As shown in figure 5, this method can wrap It includes:
Step 501:Obtain the moving operation for the first display window;
Step 502:First display window is moved to the corresponding first position of the moving operation;
Step 503:Determine the second position nearest apart from the first position;The second position is pre-set more A one be particularly shown in position;
In the present embodiment, the second display window is also shown on the display screen where first display window, it is described Second display window is located at the third place on the display screen.
Specifically, when carrying out video calling using electronic equipment, first display window can show opposite equip. User images, second display window can show the user images of local device.
In the prior art, for user when carrying out video calling using electronic equipment, the video pictures of callee can be by caller The video pictures of side are blocked.And the part being blocked sometimes be exactly callee video pictures in important information.Above-mentioned feelings Under condition, since the part in the video pictures of callee including important information is blocked always, cause the efficiency of video calling low Under, and then seriously affect the use feeling of user.
Step 504:After the moving operation, first display window is moved to the third place not The same second position is shown, so that first display window does not block mutually with second display window.
In the present embodiment, by the way that first display window to be moved to the second different from the third place It sets and is shown, so that first display window does not block mutually with second display window;It can be to avoid the second display window Display content in mouthful is blocked, and improves the use feeling of user.When carrying out video calling using electronic equipment, can prevent The part comprising important information is blocked always in the video pictures of second display window, improves the inefficiency of video calling.
It should be noted that in each embodiment of the present invention, first display window is moved to the second It sets after being shown, first display window can also be set to translucent display effect, so as to described first aobvious Show that window will not cause to block to the content of the display area centered on the second position.
The invention also discloses a kind of electronic equipment.The electronic equipment can be mobile phone, tablet computer, desktop computer etc. Deng.
Fig. 6 is the structure chart of the electronic equipment embodiment of the present invention.As shown in fig. 6, the electronic equipment may include:
Moving operation acquiring unit 601, for obtaining the moving operation for the first display window;
First display window can be the display window of arbitrary a application program.For example, it may be Video chat The display window of software, or can be the display window of video reproduction program, it can also be the display window of Web browsing application Mouthful.
The moving operation can be inputted by mouse, keyboard or touch operation unit by user.For example, user Can (usually can be the upper of the first display window by the position adjustment region that cursor is moved to the first display window by mouse Sidebar), then click mousebutton, in the state of keeping mousebutton to be pressed, mobile mouse, so as to realize for The dragging of first display window.When the electronic equipment is the electronic equipment with touch screen, user can also pass through operation Body (such as finger) realizes the dragging for the first display window.
First movement unit 602, for moving first display window to the corresponding first position of the moving operation;
In general, when user executes the moving operation, first display window can follow the movement of operating body and It is mobile.The click location of the position or the operating body of the corresponding cursor of the operating body on the touchscreen, can be used as institute State first position.
Second position determination unit 603, for determining the second position nearest apart from the first position;The second It is set to pre-set multiple one be particularly shown in position;
In each embodiment of the present invention, for the display window shown on the display unit, can have specific aobvious Show position.The position that is particularly shown can be set according to actual demand.In general, in order to reduce the display to script to the greatest extent The display content of display area where window is blocked, and the position that is particularly shown can be arranged in the corner of display unit. For example, the upper left side of the display screen of electronic equipment, upper right side, lower left, lower right could be provided as described being particularly shown position It sets.
After user is for the moving operation of first display window, it may be determined that the moving operation terminates When, the first position where first display window.According to the first position, it may be determined that most apart from the first position The close second position.
One example can be that by the center of display screen, vertical line is drawn on four sides respectively vertically and horizontally, by the display screen Be divided into four regions, each region respectively with upper left side, upper right side, lower left, lower right to be particularly shown position corresponding. When the first position is located at the top left region in four regions, so that it may to be particularly shown position by upper left, be determined as The second position nearest apart from the first position.
It is of course also possible to use other method determines the second position nearest apart from the first position.For example, can be with The corresponding displaing coordinate in the first position and each elements of a fix for being particularly shown the corresponding anchor point in position are obtained, point It Ji Suan not the distance between first position and each anchor point.The minimum position that is particularly shown of distance is apart from described first Set the nearest second position.
Second mobile unit 604, for after the moving operation, first display window being moved to described The second position is shown.
After the moving operation, in most cases, the first position where first display window, with The second position is different.It is shown at this point it is possible to which first display window is moved to the second position.When So, it if the first position is identical as the second position, can also no longer be moved.
In conclusion in the present embodiment, by determining the second position nearest apart from the first position;The second It is set to pre-set multiple one be particularly shown in position;After the moving operation, by first display window Mouth is moved to the second position and is shown;The position of display window can be adjusted, avoid the first display window pair The information that the original display position of first display window is shown causes to block, and improves the presentation of information efficiency of electronic equipment; At the same time it can also the first position for being moved to the first display window according to moving operation, the first display window is adjusted automatically It is shown to the second position, the first display window after adjusting can be made to be moved to and be particularly shown position and shown, to The first display window after adjustment is set to be shown in a manner of more rule, it can be ensured that will not be to being particularly shown except position Display content cause to block.
In practical application, can also include:
First display area acquiring unit, for before determining the second position nearest apart from the first position, obtaining The first of first display window is taken to show area;
First judging unit obtains first and sentences for judging whether the first display area is less than default display area Disconnected result;
Second mobile unit control unit, for indicating the first display area less than pre- when first judging result If show area, after the moving operation, execute by first display window be moved to the second position into The step of row display.
In practical application, can also include:
Stop unit is used for when first judging result indicates that the first display area is more than preset area, when After the moving operation, stop mobile first display window.
In practical application, second mobile unit 604 can specifically include:
First distance obtains subelement, for obtaining the first position where first display window and described the First distance of two positions;
Second judgment sub-unit obtains the second judging result for judging whether first distance is more than pre-determined distance;
First movement subelement, for when second judging result is to be, using first movement speed by described the One display window is moved to the second position;
Second movement subelement, for when second judging result is no, using the second movement speed by described the One display window is moved to the second position;
Wherein, the first movement speed is more than second movement speed.
In practical application, the second display window is also shown on the display screen where first display window, it is described Second display window is located at the third place on the display screen,
Second mobile unit 604, can specifically include:
Third moves subelement, for first display window to be moved to different from the third place described the Two positions are shown, so that first display window does not block mutually with second display window.
In practical application, can also include:
Transparent effect setting unit, for carrying out showing it first display window is moved to the second position Afterwards, first display window is set to translucent display effect, so that first display window will not be to described The content of display area centered on the second position causes to block.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Based on this understanding, technical scheme of the present invention contributes to background technology whole or Person part can be expressed in the form of software products, which can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions are used so that a computer equipment (can be personal computer, service Device either network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For electronics disclosed in embodiment For equipment, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method portion It defends oneself bright.
Principle and implementation of the present invention are described for specific case used herein, and above example is said The bright method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (13)

1. a kind of adjusting method of display window, which is characterized in that the method includes:
Obtain the moving operation for the first display window;
First display window is moved to the corresponding first position of the moving operation;
Determine the second position nearest apart from the first position;The second position is pre-set multiple to be particularly shown position One in setting;
After the moving operation, first display window is moved to the second position and is shown;
It is wherein described first display window is moved to the second position to show, including:
Obtain the first distance of the first position and the second position where first display window;
Judge whether first distance is more than pre-determined distance, obtains the second judging result;
When second judging result is to be, using first movement speed by first display window to the second position It is mobile;
When second judging result is no, using the second movement speed by first display window to the second position It is mobile;
Wherein, the first movement speed is more than second movement speed.
2. according to the method described in claim 1, it is characterized in that, the determination second nearest apart from the first position Before setting, further include:
Obtain the first display area of first display window;
Judge whether the first display area is less than default display area, obtains the first judging result;
When first judging result indicates that the first display area is less than default display area, when the moving operation knot Shu Hou is executed first display window being moved to the step of second position is shown.
3. according to the method described in claim 2, it is characterized in that, when first judging result indicates first display surface When product is more than preset area, after the moving operation, stop mobile first display window.
4. according to the method described in claim 1, it is characterized in that, the determination second nearest apart from the first position It sets, specifically includes:
Determine the position of the central point for first display window that the first position is moved to by the moving operation;
Determine the second position nearest apart from the position of the central point.
5. according to the method described in claim 4, it is characterized in that, the determination institute nearest apart from the position of the central point The second position is stated, is specifically included:
Determine the default specific region where the position of the central point;The default specific region is particularly shown position with described With one-to-one relationship;
By the default specific region it is corresponding it is described be particularly shown position, be determined as the second position.
6. according to the method described in claim 5, it is characterized in that, the dividing mode of the default specific region is:
It, will be described by the midpoint of the display screen where first display window to the vertical line on each side of the display screen Display screen is divided into four default specific regions.
7. according to the method described in claim 1, it is characterized in that, also aobvious on display screen where first display window It is shown with the second display window, second display window is located at the third place on the display screen,
It is described first display window is moved to the second position to show, it specifically includes:
First display window is moved to the second position different from the third place to show, so that described First display window does not block mutually with second display window.
8. according to claim 1-7 any one of them methods, which is characterized in that described to be moved to first display window After the second position is shown, further include:
First display window is set to translucent display effect, so that first display window will not be to described The content of display area centered on the second position causes to block.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Moving operation acquiring unit, for obtaining the moving operation for the first display window;
First movement unit, for moving first display window to the corresponding first position of the moving operation;
Second position determination unit, for determining the second position nearest apart from the first position;The second position is pre- Multiple one be particularly shown in position being first arranged;
Second mobile unit, for after the moving operation, first display window to be moved to the second It sets and is shown;
Wherein described second mobile unit, specifically includes:
First distance obtains subelement, for obtaining the first position where first display window and the second The first distance set;
Second judgment sub-unit obtains the second judging result for judging whether first distance is more than pre-determined distance;
First movement subelement, for when second judging result is to be, being shown described first using first movement speed Show that window is moved to the second position;
Second movement subelement, for when second judging result is no, being shown described first using the second movement speed Show that window is moved to the second position;
Wherein, the first movement speed is more than second movement speed.
10. electronic equipment according to claim 9, which is characterized in that further include:
First display area acquiring unit, for before determining the second position nearest apart from the first position, obtaining institute State the first display area of the first display window;
First judging unit obtains the first judgement knot for judging whether the first display area is less than default display area Fruit;
Second mobile unit control unit, for indicating that the first display area is aobvious less than default when first judging result When showing area, after the moving operation, first display window is moved to the second position and shown by execution The step of showing.
11. electronic equipment according to claim 10, which is characterized in that further include:
Stop unit is used for when first judging result indicates that the first display area is more than preset area, when described After moving operation, stop mobile first display window.
12. electronic equipment according to claim 9, which is characterized in that the display screen where first display window On also show the second display window, second display window is located at the third place on the display screen,
Second mobile unit, specifically includes:
Third moves subelement, for first display window to be moved to the second different from the third place It sets and is shown, so that first display window does not block mutually with second display window.
13. according to claim 9-12 any one of them electronic equipments, which is characterized in that further include:
Transparent effect setting unit, for after first display window to be moved to the second position and is shown, First display window is set to translucent display effect, so that first display window will not be to described second The content of display area centered on position causes to block.
CN201410211317.XA 2014-05-19 2014-05-19 A kind of adjusting method and electronic equipment of display window Active CN105094586B (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN105094586A CN105094586A (en) 2015-11-25
CN105094586B true CN105094586B (en) 2018-08-10

Family

ID=54575167

Family Applications (2)

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
CN201810940112.3A Active CN109062486B (en) 2014-05-19 2014-05-19 Display window adjusting method and electronic equipment

Family Applications After (1)

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

Country Status (1)

Country Link
CN (2) CN105094586B (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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1655664A3 (en) * 2004-10-06 2007-11-07 International Business Machines Corporation System and method for managing a floating window
CN101334725A (en) * 2007-06-29 2008-12-31 联想(北京)有限公司 Method and device for enhancing windows display performance
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN103116454A (en) * 2013-02-22 2013-05-22 上海斐讯数据通信技术有限公司 Method for adjusting view layout of touch screen of mobile terminal

Family Cites Families (8)

* 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
KR100818918B1 (en) * 2006-02-14 2008-04-04 삼성전자주식회사 Apparatus and method for managing window layout
KR20100052203A (en) * 2008-11-10 2010-05-19 삼성전자주식회사 Broadcasting display device and control method thereof
CN102063256B (en) * 2010-12-29 2012-12-05 北京新媒传信科技有限公司 Method and device for moving/stretching window
CN103677547B (en) * 2012-09-04 2018-05-25 腾讯科技(深圳)有限公司 interface display method and device
CN103246433A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Screen user-defined window-dividing display control method
CN103294346B (en) * 2013-06-20 2018-03-06 锤子科技(北京)有限公司 The window moving method and its device of a kind of mobile device
CN107179875B (en) * 2017-06-26 2019-12-03 深圳传音通讯有限公司 The method and apparatus of window adjustment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1655664A3 (en) * 2004-10-06 2007-11-07 International Business Machines Corporation System and method for managing a floating window
CN101334725A (en) * 2007-06-29 2008-12-31 联想(北京)有限公司 Method and device for enhancing windows display performance
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN103116454A (en) * 2013-02-22 2013-05-22 上海斐讯数据通信技术有限公司 Method for adjusting view layout of touch screen of mobile terminal

Also Published As

Publication number Publication date
CN105094586A (en) 2015-11-25
CN109062486B (en) 2022-03-25
CN109062486A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN105094586B (en) A kind of adjusting method and electronic equipment of display window
CN104793874B (en) A kind of interface display method and electronic equipment
KR101260834B1 (en) Method and device for controlling touch screen using timeline bar, recording medium for program for the same, and user terminal having the same
US9069434B1 (en) Adjusting sizes of attached windows
CN106156066B (en) Page switching method, device and client
CN103339593B (en) The system and method for multiple frames to be presented on the touchscreen
KR101785748B1 (en) Multi-layer user interface with flexible parallel and orthogonal movement
CN103793137B (en) A kind of display methods and electronic equipment
US8812975B2 (en) Managing windows through policies
CN103207750B (en) The method of icon convergent-divergent and device
WO2015154338A1 (en) Method and device for adjusting terminal window display based on gesture operation
TW201617837A (en) A processing method of screen-displayed window and mobile terminal
US20130080951A1 (en) Device and method for moving icons across different desktop screens and related computer readable storage media comprising computer executable instructions
WO2015067050A1 (en) Multi-window display method and device for browser
EP3044658B1 (en) Scroll end effects for websites and content
CN103246433A (en) Screen user-defined window-dividing display control method
US10437425B2 (en) Presenting a menu at a mobile device
CN105511728B (en) A kind of desktop icon management method and device of terminal device
CN110856030B (en) Method and device for adjusting bullet screen area and readable medium
CN110928614B (en) Interface display method, device, equipment and storage medium
JP2005317003A (en) System and method for aligning object using non-linear pointer movement
CN106126094A (en) A kind of brightness adjusting method and terminal
GB2477528A (en) A method of continuous scrolling on a touch screen
CN106293345A (en) A kind of application icon display packing and terminal
CN111684402A (en) Haptic effects on touch input surfaces

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