CN109062486A - 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 PDFInfo
- Publication number
- CN109062486A CN109062486A CN201810940112.3A CN201810940112A CN109062486A CN 109062486 A CN109062486 A CN 109062486A CN 201810940112 A CN201810940112 A CN 201810940112A CN 109062486 A CN109062486 A CN 109062486A
- 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.)
- Granted
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 the adjusting method and electronic equipment of a kind of display window.The described method includes: obtaining 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.Using method or electronic equipment of the invention, the position of display window can be adjusted, the information for avoiding the first display window from showing the original display position of the first display window causes to block, and improves the information display efficiency of electronic equipment.
Description
The application be on May 19th, 2014 the applying date, application No. is 201410211317.X, denominations of invention are as follows: one
The adjusting method of kind display window and the divisional application of electronic equipment.
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 technique
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 window can make script in the information that the display position of the window is shown
At blocking.This can reduce the information display efficiency of electronic equipment.
Summary of the invention
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, display window is avoided to cause to block in the information that the display position of the display window is shown to script, from
And improve the information display efficiency of electronic equipment.
To achieve the above object, the present invention provides following schemes:
A kind of adjusting method of display window, which comprises
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 includes:
Obtain the first display area of first display window;
Judge whether first display area is less than default display area, obtains the first judging result;
When first judging result indicates that 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 first display area is greater 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 that the central point of first display window of the first position is moved to by the moving operation;
Determine the second position of position recently apart from the central point.
Optionally, the nearest second position in the determining position apart from 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.
It is optionally, described first display window is moved to the second position to show, comprising:
Obtain the first distance of the first position and the second position where first display window;
Judge whether the first distance is greater than pre-determined distance, obtains the second judging result;
When second judging result, which is, is, using first movement speed by first display window to described second
Position is mobile;
When second judging result is no, using the second movement speed by first display window to described second
Position is mobile;
Wherein, the first movement speed is greater than second movement speed.
Optionally, the division mode of the default specific region are as follows:
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.
It is optionally, described that first display window is moved to after the second position shown, further includes:
Set translucent display effect for first display window, 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 includes:
First display area acquiring unit, for obtaining before determining the second position nearest apart from the first position
Take the first display area of first display window;
First judging unit obtains first and sentences for judging whether first display area is less than default display area
Disconnected result;
Second mobile unit control unit, for indicating that first display area is less than in advance when first judging result
If when display area, after the moving operation, execute by first display window be moved to the second position into
The step of row display.
Optionally, further includes:
Stop unit is used for when first judging result indicates that first display area is greater 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
The first distance of two positions;
Second judgment sub-unit obtains the second judging result for judging whether the first distance is greater than pre-determined distance;
First movement subelement, for when second judging result, which is, is, using first movement speed by described the
One display window is mobile to the second position;
Second mobile subelement, for when second judging result is no, using the second movement speed by described the
One display window is mobile to the second position;
Wherein, the first movement speed is greater 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 includes:
Transparent effect setting unit, for carrying out showing it first display window is moved to the second position
Afterwards, translucent display effect is set by first display window, so that first display window will not be to described
The content of display area centered on the second position causes to block.
The specific embodiment provided according to the present invention, the invention discloses following technical effects:
The adjusting method and electronic equipment of display window of the 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 first display window shows the original display position of the first display window to cause to block, improves electronic equipment
Information display 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, so that the first display window adjusted be made to be shown in a manner of more rule, it can be ensured that will not be to spy
Determine the display content except display position to cause to block.
Detailed description of the invention
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 invention
Example, for those of ordinary skill in the art, without any 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 display window of the invention;
Fig. 2 is the flow chart of the adjusting method embodiment 2 of display window of the invention;
Fig. 3 is the flow chart of the adjusting method embodiment 3 of display window of the invention;
Fig. 4 is the flow chart of the adjusting method embodiment 4 of display window of the invention;
Fig. 5 is the flow chart of the adjusting method embodiment 5 of display window of the invention;
Fig. 6 is the structure chart of electronic equipment embodiment of the invention.
Specific embodiment
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 description, 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, with reference to the accompanying drawing 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 be 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 display window of the invention.As shown in Figure 1, this method can wrap
It includes:
Step 101: obtaining the moving operation for the first display window;
First display window can be the display window of any 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, which can be, passes through mouse, keyboard or the input of touch operation unit by user.For example, user
The position adjustment region that cursor is moved to the first display window (can usually be can be into the upper of 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: mobile 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.
Step 103: determining 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 invention, for the display window shown on the display unit, it can have specific aobvious
Show position.The position that is particularly shown can be set according to actual needs.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 set 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 can be set to described be particularly shown position
It sets.
After user is for the moving operation of first display window, it can determine that the moving operation terminates
When, the first position where first display window.According to the first position, can determine apart from the first position most
The close second position.
One example can be, and 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 be particularly shown position for 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 positioning coordinate 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.It is apart from described first apart from the smallest position that is particularly shown
Set the nearest second position.
Step 104: after the moving operation, first display window being 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 information display 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, thus
Show that the first display window adjusted 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 display window of the invention.As shown in Fig. 2, this method can wrap
It includes:
Step 201: obtaining the moving operation for the first display window;
Step 202: mobile first display window to the corresponding first position of the moving operation;
Step 203: determining 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: obtaining 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
The first display area can be fixed, can not by user change;It is also possible to can be adjusted by the user.
Step 205: judging whether first display area is less than default display area, obtain the first judging result;
The specific value of the default display area, can be set according to actual needs.
Step 206: when first judging result indicates that first display area is less than default display area, working as institute
After stating moving operation, first display window is moved to the second position and is shown.
When 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 first display area is greater than preset area, when the shifting
After dynamic operation, stop mobile first display window.
When first display area is greater 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 position 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 first display area is less than default display area, first display window is moved to the second position and is shown
Show, when first display area is greater than preset area, after the moving operation, stops mobile first display
Window;It can judge automatically according to the size of the first display window and whether need to adjust the first display window 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 display window of the invention.As shown in figure 3, this method can wrap
It includes:
Step 301: obtaining the moving operation for the first display window;
Step 302: mobile first display window to the corresponding first position of the moving operation;
Step 303: determining the center that first display window of 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 can be using described
The position of central point described in the coordinate representation of central point.
Step 304: determining the default specific region where the position of the central point;The default specific region with it is described
Position is particularly shown with one-to-one relationship;
The default specific region can divide in the following ways: pass through the display screen where first display window
The display screen is divided into four default specific regions to the vertical line on each side of the display screen by the midpoint of curtain.
Certainly, the default specific region can also be divided using other modes.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 being 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 and the position that is particularly shown are with one-to-one relationship;Described position is particularly shown for the default specific region is corresponding
It sets, is determined as the second position;Provide a kind of concrete mode of determining second position.
Fig. 4 is the flow chart of the adjusting method embodiment 4 of display window of the invention.As shown in figure 4, this method can wrap
It includes:
Step 401: obtaining the moving operation for the first display window;
Step 402: mobile first display window to the corresponding first position of the moving operation;
Step 403: determining 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
The 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: judging whether the first distance is greater than pre-determined distance, obtain the second judging result;
Step 406: when second judging result be when, using first movement speed by first display window to
The second position is mobile;
When the first distance is greater 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, it at this time can be using faster first movement speed by institute
It is mobile to the second position to state the first display window.
Step 407: when second judging result be it is no when, using the second movement speed by first display window to
The second position is mobile;
When the 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, it at this time can will be described using slower first movement speed
First display window is mobile to the second position.
Wherein, the first movement speed is greater than second movement speed.
In the present embodiment, by judging the first position where first display window and the second position
Whether first distance is greater than pre-determined distance, when being greater than pre-determined distance, is carried out with faster First Speed to the first display window
It is mobile, when being less than pre-determined distance, the first display window is moved with slower second speed, it can be according to first position
At a distance from the second position, different mobile effects is realized, guaranteeing 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 display window of the invention.As shown in figure 5, this method can wrap
It includes:
Step 501: obtaining the moving operation for the first display window;
Step 502: mobile first display window to the corresponding first position of the moving operation;
Step 503: determining 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, first display window can show opposite equip. when carrying out video calling using electronic equipment
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 is exactly the important information in the video pictures of callee.Above-mentioned feelings
Under condition, since the part in the video pictures of callee including important information is blocked always, lead to the low efficiency of video calling
Under, and then seriously affect the use feeling of user.
Step 504: after the moving operation, first display window being 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
Part in the video pictures of second display window comprising important information is blocked always, improves the inefficiency of video calling.
It should be noted that first display window is moved to the second in each embodiment of the invention
It sets after being shown, translucent display effect can also be set by first display window, 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 electronic equipment embodiment of the 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 any 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, which can be, passes through mouse, keyboard or the input of touch operation unit by user.For example, user
The position adjustment region that cursor is moved to the first display window (can usually be can be into the upper of 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 invention, for the display window shown on the display unit, it can have specific aobvious
Show position.The position that is particularly shown can be set according to actual needs.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 set 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 can be set to described be particularly shown position
It sets.
After user is for the moving operation of first display window, it can determine that the moving operation terminates
When, the first position where first display window.According to the first position, can determine apart from the first position most
The close second position.
One example can be, and 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 be particularly shown position for 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 positioning coordinate 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.It is apart from described first apart from the smallest position that is particularly shown
Set the nearest second position.
Second mobile unit 604, for first display window being moved to described after the moving operation
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 information display 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, thus
Show that the first display window adjusted 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 obtaining before determining the second position nearest apart from the first position
Take the first display area of first display window;
First judging unit obtains first and sentences for judging whether first display area is less than default display area
Disconnected result;
Second mobile unit control unit, for indicating that first display area is less than in advance when first judging result
If when display 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 first display area is greater than preset area, when
After the moving operation, stop mobile first display window.
In practical application, second mobile unit 604 be can specifically include:
First distance obtains subelement, for obtaining the first position where first display window and described the
The first distance of two positions;
Second judgment sub-unit obtains the second judging result for judging whether the first distance is greater than pre-determined distance;
First movement subelement, for when second judging result, which is, is, using first movement speed by described the
One display window is mobile to the second position;
Second mobile subelement, for when second judging result is no, using the second movement speed by described the
One display window is mobile to the second position;
Wherein, the first movement speed is greater 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, translucent display effect is set by first display window, 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 for including a series of elements not only includes that
A little elements, but also including 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 solution of the present invention contributes to background technique whole or
Person part can be embodied in the form of software products, which can store in storage medium, such as
ROM/RAM, magnetic disk, CD etc., including some instructions are used so that a computer equipment (can be personal computer, service
Device or the network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment
For equipment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion
It defends oneself bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the 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 (10)
1. a kind of adjusting method of display window, which is characterized in that the described 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;
Translucent display effect is set by first display window, so that first display window will not be to described
The content of display area centered on the second position causes to block.
2. the method according to claim 1, wherein the second that the determination is nearest apart from the first position
Before setting, further includes:
Obtain the first display area of first display window;
Judge whether first display area is less than default display area, obtains the first judging result;
When first judging result indicates that 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 greater than preset area, after the moving operation, stop mobile first display window.
4. the method according to claim 1, wherein the second that the determination is nearest apart from the first position
It sets, specifically includes:
Determine the position that the central point of first display window of the first position is moved to by the moving operation;
Determine the second position of position recently apart from the central point.
5. according to the method described in claim 4, it is characterized in that, the nearest institute in the determining position apart from 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. the method according to claim 1, wherein described be moved to described second for first display window
Position is shown, comprising:
Obtain the first distance of the first position and the second position where first display window;
Judge whether the first distance is greater than pre-determined distance, obtains the second judging result;
When second judging result, which is, is, 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 greater than second movement speed.
7. according to the method described in claim 5, it is characterized in that, the division mode of the default specific region are as follows:
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.
8. the method according to claim 1, wherein 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.
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;
Transparent effect setting unit, for after first display window to be moved to the second position and is shown,
Translucent display effect is set by first display window, so that first display window will not be to described second
The content of display area centered on position causes to block.
10. 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.
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 true CN109062486A (en) | 2018-12-21 |
CN109062486B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111552424A (en) * | 2020-04-24 | 2020-08-18 | 北京小米移动软件有限公司 | Small window dragging method, device, equipment and storage medium |
CN113051432A (en) * | 2021-04-25 | 2021-06-29 | 聚好看科技股份有限公司 | Display device and media asset playing method |
CN115113770A (en) * | 2021-03-17 | 2022-09-27 | 北京有竹居网络技术有限公司 | Terminal control method and device, terminal and storage medium |
Families Citing this family (2)
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 |
CN113448474B (en) * | 2021-06-30 | 2024-08-16 | 广州博冠信息科技有限公司 | Method and device for displaying interactive interface of live broadcasting room, medium and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020151283A1 (en) * | 2001-04-02 | 2002-10-17 | Pallakoff Matthew G. | Coordinating images displayed on devices with two or more displays |
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 (4)
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 |
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 |
-
2014
- 2014-05-19 CN CN201810940112.3A patent/CN109062486B/en active Active
- 2014-05-19 CN CN201410211317.XA patent/CN105094586B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020151283A1 (en) * | 2001-04-02 | 2002-10-17 | Pallakoff Matthew G. | Coordinating images displayed on devices with two or more displays |
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 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111552424A (en) * | 2020-04-24 | 2020-08-18 | 北京小米移动软件有限公司 | Small window dragging method, device, equipment and storage medium |
CN115113770A (en) * | 2021-03-17 | 2022-09-27 | 北京有竹居网络技术有限公司 | Terminal control method and device, terminal and storage medium |
CN113051432A (en) * | 2021-04-25 | 2021-06-29 | 聚好看科技股份有限公司 | Display device and media asset playing method |
Also Published As
Publication number | Publication date |
---|---|
CN105094586A (en) | 2015-11-25 |
CN109062486B (en) | 2022-03-25 |
CN105094586B (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
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 | |
CN105094586B (en) | A kind of adjusting method and electronic equipment of display window | |
CN103207750B (en) | The method of icon convergent-divergent and device | |
US10282067B2 (en) | Method and apparatus of controlling an interface based on touch operations | |
US20110202834A1 (en) | Visual motion feedback for user interface | |
US9069434B1 (en) | Adjusting sizes of attached windows | |
EP3044658B1 (en) | Scroll end effects for websites and content | |
TW201617837A (en) | A processing method of screen-displayed window and mobile terminal | |
CN103793137B (en) | A kind of display methods and electronic equipment | |
WO2015154338A1 (en) | Method and device for adjusting terminal window display based on gesture operation | |
US10437425B2 (en) | Presenting a menu at a mobile device | |
WO2015067050A1 (en) | Multi-window display method and device for browser | |
CN110856030B (en) | Method and device for adjusting bullet screen area and readable medium | |
TW201443764A (en) | Apparatus and method of controlling screens in a device | |
CN106293345A (en) | A kind of application icon display packing and terminal | |
CN106126094A (en) | A kind of brightness adjusting method and terminal | |
CN105653178A (en) | Information sharing method and apparatus | |
CN110928614A (en) | Interface display method, device, equipment and storage medium | |
JP4994604B2 (en) | System and method for aligning an object using non-linear pointer movement | |
TW201433943A (en) | Method for displaying touch cursor | |
WO2014187392A1 (en) | Application control component display method and system, and computer storage medium | |
US20170344215A1 (en) | Input method and electronic device | |
CN104199592A (en) | Display method and electronic device | |
WO2017097142A1 (en) | Interface operation processing method and apparatus, and a smart terminal |
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 |