CN108008876A - A kind of display methods of suspension windows, device, equipment and storage medium - Google Patents
A kind of display methods of suspension windows, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108008876A CN108008876A CN201711230683.XA CN201711230683A CN108008876A CN 108008876 A CN108008876 A CN 108008876A CN 201711230683 A CN201711230683 A CN 201711230683A CN 108008876 A CN108008876 A CN 108008876A
- Authority
- CN
- China
- Prior art keywords
- display area
- window
- size
- scaling
- display
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a kind of display methods of suspension windows, device, equipment and storage medium, the described method includes:When detecting the scaling instruction of window, the size for controlling window is setting value size, wherein, the window includes display area and non-display area, and the size of the window is the size of the non-display area;The display bezel that each scaling instructs corresponding each scaling, selection and the scaling corresponding display bezel of instruction are obtained, the display area of the window is zoomed to the position of the display bezel;The size of the non-display area is adjusted to size corresponding with the display area, and shows the display area of the window.To solve the problems, such as interim card during suspension windows scaling.
Description
Technical field
The present invention relates to Display Technique, more particularly to a kind of display methods of suspension windows, device, equipment and storage to be situated between
Matter.
Background technology
In android system, add any size usually using WindowManager.addView methods and be suspended in
Window on other application window or display interface, is known as suspension windows by such window.When the scaling of dragging suspension windows
Button amplify in real time and reduce, and is using WindowManager.updateViewLayout method real-time update suspended windows
In the case of mouth size, Caton phenomenon occurs in suspension windows scaling.
The content of the invention
The embodiment of the present invention provides a kind of display methods of suspension windows, device, equipment and storage medium, to solve to suspend
Interim card problem when window scales.
In a first aspect, an embodiment of the present invention provides a kind of display methods of suspension windows, the described method includes:
When detecting the scaling instruction of window, the size for controlling the window is setting value size, wherein, the window bag
Display area and non-display area are included, the size of the window is the size of the non-display area;
Obtain the display bezel that each scaling instructs corresponding each scaling, selection and the scaling corresponding display of instruction
The display area of the window, is zoomed to the position of the display bezel by frame;
The size of the non-display area is adjusted to size corresponding with the display area, and shows the window
Display area.
Second aspect, the embodiment of the present invention additionally provide a kind of display device of suspension windows, and described device includes:
Control module, when the scaling for detecting window instructs, the size for controlling window is setting value size, wherein,
The window includes display area and non-display area, and the size of the window is the size of the non-display area;
Zoom module, the display bezel of corresponding each scaling, selection and the scaling are instructed for obtaining each scaling
Corresponding display bezel is instructed, the display area of the window is zoomed to the position of the display bezel;
Display module, for the size of the non-display area to be adjusted to size corresponding with the display area, and
Show the display area of the window.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in
On memory and the computer program that can run on a processor, the processor are realized when performing described program as the present invention is real
Apply the display methods of any suspension windows in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, realizes the display methods of the suspension windows as described in any in the embodiment of the present invention when which is executed by processor.
In the embodiment of the present invention, when the scaling for detecting window instructs, the size for controlling window is setting value size, its
In, the window includes display area and non-display area, and the size of the window is the size of the non-display area, then
The display bezel that each scaling instructs corresponding each scaling, selection and the scaling corresponding display bezel of instruction are obtained, will
The display area of the window zooms to the position of the display bezel, and the size of the non-display area is adjusted to and institute
The corresponding size in display area is stated, and shows the display area of the window.To solve the problems, such as interim card during suspension windows scaling.
Brief description of the drawings
Fig. 1 a are a kind of flow charts of the display methods of suspension windows in the embodiment of the present invention one;
Fig. 1 b are a kind of schematic diagrames for display area and non-display area being applicable in the embodiment of the present invention one;
Fig. 1 c are the dynamic changes of display area during a kind of window scaling being applicable in the embodiment of the present invention one
Schematic diagram;
Fig. 1 d are the scaled results of display area during a kind of window scaling being applicable in the embodiment of the present invention one
Schematic diagram;
Fig. 1 e are the signals of the correspondence of a kind of scaling and display bezel that are applicable in the embodiment of the present invention one
Figure;
Fig. 1 f are a kind of schematic diagrames for the window scaled results being applicable in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the display methods of suspension windows in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the display methods of suspension windows in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of the display device of suspension windows in the embodiment of the present invention four;
Fig. 5 is a kind of structure diagram of computer equipment in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 a are a kind of flow chart of the display methods for suspension windows that the embodiment of the present invention one provides, and the present embodiment can fit
For the situation for zooming in and out and showing to suspension windows, this method can be the suspension windows that embodiment provides by the present invention
Display device performs, which can be realized by the way of software and/or hardware.With reference to figure 1a, this method can specifically wrap
Include following steps:
S110, detect window scaling instruction when, the size for controlling the window is setting value size, wherein, it is described
Window includes display area and non-display area, and the size of the window is the size of the non-display area.
Produced specifically, the scaling instruction of window can be the zoom button of user's window or zoom control bar, can
Choosing, it can show that scaling is selected for user at the both ends of zoom control bar.Window includes display area and non-display area
The display area in domain, wherein window is user's visible part, that is, display content shows user, example by display area
Property, display content can be word, picture etc..In a specific example, Fig. 1 b show a kind of display area and non-
Display area, when application scenarios is just detect scaling instruction, and display area is also by before scaling, non-display area it is big
Small is setting value size, wherein 140 be the suspension background of window, the background can be other application window or display homepage
Deng, 150 be window display area, 160 be window non-display area, 170 be zoom button.Detecting the scaling of window
During instruction, the size for controlling window is setting value size, that is, the non-display area for controlling window is setting value size, 160 are
For setting value size.
Optionally, the non-display area of the window is pellucidity.
Wherein, the non-display area of window is pellucidity, that is, the non-display area of window can not see this for user
State.In order to be easier to understand this programme, the boundary line of display area 160 and the side of non-display area 170 are shown in Fig. 1 b
Boundary line, and in practical applications, 160 boundary line can have and can also not have, and 170 boundary line is not present in practice.It is aobvious
Show shown in region 160 it is the visible display content of user, non-display area 170 is invisible to user.
Optionally, the maximum that the setting value size can scale for the display area of the window.
Wherein, when display area is amplified to maximum, that is, whole non-display areas are changed into display area, viewing area
Domain and non-display area overlap, also, the area size of display area and non-display area is the size of setting value.
S120, obtain the display bezel that each scaling instructs corresponding each scaling, and selection is corresponding with the scaling instruction
Display bezel, the display area of the window is zoomed to the position of the display bezel.
Wherein, the display of window is realized by View controls, by realizing the scaling of View controls to display
The scaling in region.In a specific example, Fig. 1 c show a kind of dynamic change of display area during window scaling.
With reference to figure 1c, 150 is scale the size of preceding display area, and 180 be the size of the display area during scaling, and 160 be non-aobvious
Show the size in region.Fig. 1 d show the schematic diagram of the scaled results of display area during a kind of window scaling.With reference to figure 1d,
180 be the display area after being exaggerated, and 160 be non-display area.
Exemplary, in embodiments of the present invention, by taking Android realization mechanisms as an example, real-time update View controls (
That is, the size of the display area of more new window) speed to be faster than utilize WindowManager real-time updates suspension windows (bag
Include display area and non-display area) speed of size.
Specifically, each scaling has corresponding display bezel, in a specific example, Fig. 1 e show one
The correspondence of kind scaling and display bezel, such user is during dragging zoom control bar zooms in and out, user
It can be zoomed in and out according to each display bezel with reference to the demand of oneself.For example, 251 represent display area being amplified to former viewing area
The 140% of domain 150,252 represent for display area to be amplified to the 180% of former display area 150.During scaling, 251 Hes
252 dashed box line is to user as it can be seen that user can more easily zoom in and out with reference to the demand of oneself.
Selection is with scaling the corresponding display bezel of instruction, and in a specific example, with reference to figure 1e, user is needed window
The display area of mouth zooms to 140%, and user can see 140% corresponding display bezel 251, and user can be by zoom button
Or zoom control bar is dragged to when display area is overlapped with display bezel 251 and stopped.Then the display area of window zooms to 140%
The position of display bezel.
The size of the non-display area, is adjusted to size corresponding with the display area by S130, and described in display
The display area of window.
Specifically, the size of non-display area is adjusted to size corresponding with the display area, it is specific at one
In example, Fig. 1 f show a kind of window scaled results, and with reference to figure 1f, 190 be to be adjusted to show by the size of non-display area
Display area after the corresponding size in region, display area and non-display area coincidence, no longer show herein here.
In the specific example, Fig. 1 b, Fig. 1 c, Fig. 1 d, Fig. 1 f in turn, show since detect scaling instruction to
Scale the dynamic process terminated.First, when the scaling for detecting window instructs, the size for controlling non-display area is to set
Definite value, such as Fig. 1 b;Display area is zoomed in and out according to scaling instruction, such as Fig. 1 c and 1d;The size of non-display area is adjusted
For size corresponding with the display area, and the display area of display window, such as Fig. 1 f.
In the embodiment of the present invention, when the scaling for detecting window instructs, the size for controlling window is setting value size, its
In, the window includes display area and non-display area, and the size of the window is the size of the non-display area, then
The display bezel of corresponding each scaling, selection display side corresponding with the scaling instruction are instructed by obtaining each scaling
The display area of the window, is zoomed to the position of the display bezel by frame, and the size of the non-display area is adjusted
For size corresponding with the display area, and show the display area of the window.To solve card during suspension windows scaling
Problem.
Embodiment two
Fig. 2 is a kind of flow chart of the display methods of suspension windows provided by Embodiment 2 of the present invention, and the present embodiment is upper
On the basis of stating embodiment, " display bezel for obtaining the corresponding each scaling of each scaling instruction " is optimized.With reference to
Fig. 2, this method specifically may include steps of:
S210, detect window scaling instruction when, the size for controlling the window is setting value size, wherein, it is described
Window includes display area and non-display area, and the size of the window is the size of the non-display area.
S220, judge that the scaling instructs whether corresponding event is increase window, if so, then performing S230.
S240, judge that the scaling instructs whether corresponding event is to reduce window, if so, then performing S250.
S230, by increasing by a default increasing proportion in the current scaling of the window, according to first obtained
Displaying ratio determines the corresponding display bezel of scaling.
Specifically, default increasing proportion can be 10%, in a specific example, when the scaling instruction corresponds to
Event be increase window, and the current scaling of the window is 50%, then increases on the basis of current zoom ratio
10%, the first obtained displaying ratio is 60%, is corresponded to according to the first displaying ratio 60% when determining that scaling is 60%
Display bezel.
S250, by reducing the increasing proportion in the current scaling of the window, according to the second obtained display
Ratio determines the corresponding display bezel of scaling.
In a specific example, when the scaling instructs corresponding event to reduce window, default incremental ratio
Example can be 5%, it is assumed that the current scaling of the window is 70%, then reduces 5% on the basis of current zoom ratio,
The second obtained displaying ratio is 65%, and the corresponding display side of scaling 65% is determined according to the second displaying ratio 65%
Frame.
S260, selection and the scaling corresponding display bezel of instruction, the display area of the window are zoomed to described
The position of display bezel.
The size of the non-display area, is adjusted to size corresponding with the display area by S270, and described in display
The display area of window.
In the embodiment of the present invention, by judging current scaling instruction type, when the scaling instruction is corresponding
When event is increases window, by increasing by a default increasing proportion in the current scaling of the window, according to what is obtained
First displaying ratio determines the corresponding display bezel of scaling;When the scaling instructs corresponding event as diminution window
When, by reducing the increasing proportion in the current scaling of the window, determined according to the second obtained displaying ratio
The corresponding display bezel of scaling.Realize by after scaling and instructing and determine displaying ratio, and determined pair according to displaying ratio
The display bezel answered, provides the foundation for the display of suspension windows.
Embodiment three
Fig. 3 is a kind of flow chart of the display methods for suspension windows that the embodiment of the present invention three provides, and the present embodiment is upper
State and realize on the basis of embodiment.With reference to figure 3, this method specifically may include steps of:
S310, detect window scaling instruction when, the size for controlling the window is setting value size, wherein, it is described
Window includes display area and non-display area, and the size of the window is the size of the non-display area.
S320, obtain the display bezel that each scaling instructs corresponding each scaling, and selection is corresponding with the scaling instruction
Display bezel, the display area of the window is zoomed to the position of the display bezel.
S330, the size for obtaining the display area.
In a specific example, obtain that the mode of display area size is as follows, by detecting display area edge
The coordinate value of pixel, the size of display area is determined by the coordinate value of the pixel.
S340, that the size of the non-display area is adjusted to consistent with the size of display area size is big
After small, it is in that display area that is stacked, and showing the window is completely covered to be placed in above or below the display area.
Specifically, being adjusted to the size of the non-display area, it is adjusted to and the display area
The size of size always.The non-display area is placed in above or below the display area in the layer being completely covered
Stacked, and show the display area of the window.Optionally, for user, what is be completely covered stacked brings to user
Good visual effect.
In the embodiment of the present invention, after zooming to the position of the display bezel in the display area that window is determined, obtain
The size of display area, the size consistent with the size of the display area is adjusted to by the size of the non-display area
After size, it is in that viewing area that is stacked, and showing the window is completely covered to be placed in above or below the display area
Domain.The display to the display area after processing is realized, more preferable visual effect is brought to user.
Example IV
Fig. 4 be the present invention be example IV provide a kind of suspension windows display device structure diagram, the device
It is adapted for carrying out a kind of display methods for suspension windows that the embodiment of the present invention is supplied to.As shown in figure 4, the device specifically can be with
Including:
Control module 410, when the scaling for detecting window instructs, controls the size of the window big for setting value
It is small, wherein, the window includes display area and non-display area, and the size of the window is the big of the non-display area
It is small;
Zoom module 420, the display bezel of corresponding each scaling, selection and the contracting are instructed for obtaining each scaling
The corresponding display bezel of instruction is put, the display area of the window is zoomed to the position of the display bezel;
Display module 430, for the size of the non-display area to be adjusted to size corresponding with the display area,
And show the display area of the window.
Further, Zoom module 420 is specifically used for:
When the scaling instructs corresponding event to increase window, by the current scaling increase of the window
One default increasing proportion, the corresponding display bezel of scaling is determined according to the first obtained displaying ratio;
When the scaling instructs corresponding event to reduce window, by reducing in the current scaling of the window
The increasing proportion, the corresponding display bezel of scaling is determined according to the second obtained displaying ratio.
Further, further include:
Acquisition module, for being adjusted to corresponding with the display area big in the size by the non-display area
It is small, and before showing the display area of the window, obtain the size of the display area;
Correspondingly, display module 430 is specifically used for:
After the size of the non-display area to be adjusted to the size consistent with the size of the display area,
Be placed in above or below the display area is in that display area that is stacked, and showing the window is completely covered.
Further, the non-display area of the window is pellucidity.
Further, the maximum that the setting value size can scale for the display area of the window.
The display device of suspension windows provided in an embodiment of the present invention can perform the suspension that any embodiment of the present invention provides
The display methods of window, possesses the corresponding function module of execution method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structure diagram for computer equipment that the embodiment of the present invention five provides.Fig. 5 is shown suitable for being used for
Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 5 is shown is only one
Example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to:One or more processor or processing unit 16, system storage 28, connects different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not
Movably, non-volatile magnetic media (Fig. 5 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 5, can with
The disc driver being used for moving non-volatile magnetic disk (such as " floppy disk ") read-write is provided, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
Module and routine data, may include the realization of network environment in each or certain combination in these examples.Program mould
Block 42 usually performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making
Obtain any equipment that the computer equipment 12 can communicate with one or more of the other computing device (such as network interface card, modulatedemodulate
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown in the figure, network adapter 20 is led to by bus 18 and other modules of computer equipment 12
Letter.It should be understood that although not shown in Fig. 5, computer equipment 12 can be combined and use other hardware and/or software module, bag
Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive
Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various functions application and
Data processing, such as realize the display methods for the suspension windows that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:When detecting the scaling instruction of window, the window is controlled
The size of mouth is setting value size, wherein, the window includes display area and non-display area, and the size of the window is institute
State the size of non-display area;The display bezel that each scaling instructs corresponding each scaling is obtained, selection refers to the scaling
Corresponding display bezel is made, the display area of the window is zoomed to the position of the display bezel;By the non-display area
The size in domain is adjusted to size corresponding with the display area, and shows the display area of the window.
Embodiment six
The embodiment of the present invention six provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
The display methods of the suspension windows provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:When detecting the scaling instruction of window, the big of the window is controlled
Small is setting value size, wherein, the window includes display area and non-display area, and the size of the window is described non-aobvious
Show the size in region;The display bezel that each scaling instructs corresponding each scaling is obtained, selection is corresponding with the scaling instruction
Display bezel, the display area of the window is zoomed to the position of the display bezel;By the big of the non-display area
It is small to be adjusted to size corresponding with the display area, and show the display area of the window.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated
Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate
The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just
Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, which can send, propagate or
Transmission be used for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion
Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. display methods of suspension windows, it is characterised in that including:When detecting the scaling instruction of window, the size for controlling the window is setting value size, wherein, the window includes aobvious Show region and non-display area, the size of the window is the size of the non-display area;Obtain the display bezel that each scaling instructs corresponding each scaling, selection display side corresponding with the scaling instruction The display area of the window, is zoomed to the position of the display bezel by frame;The size of the non-display area is adjusted to size corresponding with the display area, and shows the display of the window Region.
- 2. according to the method described in claim 1, it is characterized in that, each scaling of the acquisition instructs corresponding each scaling Display bezel, including:When the scaling instructs corresponding event to increase window, by pre- in the current scaling increase by one of the window If increasing proportion, the corresponding display bezel of scaling is determined according to the first obtained displaying ratio;When the scaling instructs corresponding event to reduce window, described in reducing in the current scaling of the window Increasing proportion, the corresponding display bezel of scaling is determined according to the second obtained displaying ratio.
- 3. according to the method described in claim 1, it is characterized in that, the size by the non-display area is adjusted to and institute The corresponding size in display area is stated, and before showing the display area of the window, is further included:Obtain the size of the display area;Correspondingly, the size by the non-display area is adjusted to size corresponding with the display area, and show institute The display area of window is stated, including:After the size of the non-display area to be adjusted to the size consistent with the size of the display area, it is placed in It is in that display area that is stacked, and showing the window is completely covered above or below the display area.
- 4. according to claim 1-3 any one of them methods, it is characterised in that the non-display area of the window is transparence State.
- 5. according to claim 1-3 any one of them methods, it is characterised in that the setting value size is the aobvious of the window Show the maximum that region can scale.
- A kind of 6. display device of suspension windows, it is characterised in that including:Control module, when the scaling for detecting window instructs, the size for controlling the window is setting value size, wherein, The window includes display area and non-display area, and the size of the window is the size of the non-display area;Zoom module, the display bezel of corresponding each scaling is instructed for obtaining each scaling, and selection is instructed with the scaling The display area of the window, is zoomed to the position of the display bezel by corresponding display bezel;Display module, for the size of the non-display area to be adjusted to size corresponding with the display area, and shows The display area of the window.
- 7. device according to claim 6, it is characterised in that the Zoom module is specifically used for:When the scaling instructs corresponding event to increase window, by pre- in the current scaling increase by one of the window If increasing proportion, the corresponding display bezel of scaling is determined according to the first obtained displaying ratio;When the scaling instructs corresponding event to reduce window, described in reducing in the current scaling of the window Increasing proportion, the corresponding display bezel of scaling is determined according to the second obtained displaying ratio.
- 8. device according to claim 6, it is characterised in that further include:Acquisition module, for being adjusted to size corresponding with the display area in the size by the non-display area, And before showing the display area of the window, obtain the size of the display area;Correspondingly, the display module is specifically used for:After the size of the non-display area to be adjusted to the size consistent with the size of the display area, it is placed in It is in that display area that is stacked, and showing the window is completely covered above or below the display area.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes the side as described in any in claim 1-5 when performing described program Method.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711230683.XA CN108008876B (en) | 2017-11-29 | 2017-11-29 | Display method, device and equipment of floating window and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711230683.XA CN108008876B (en) | 2017-11-29 | 2017-11-29 | Display method, device and equipment of floating window and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108008876A true CN108008876A (en) | 2018-05-08 |
CN108008876B CN108008876B (en) | 2020-12-22 |
Family
ID=62054809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711230683.XA Active CN108008876B (en) | 2017-11-29 | 2017-11-29 | Display method, device and equipment of floating window and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108008876B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491753A (en) * | 2018-11-29 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Suspension windows display methods, device and storage medium |
CN110636157A (en) * | 2019-08-27 | 2019-12-31 | 北京航空航天大学 | Handheld holder tracking method based on suspension window embedded face recognition technology |
CN112181571A (en) * | 2020-09-28 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Floating window display method, device, terminal and storage medium |
CN113760140A (en) * | 2021-08-31 | 2021-12-07 | Oook(北京)教育科技有限责任公司 | Content display method, device, medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102214101A (en) * | 2011-06-30 | 2011-10-12 | 中兴通讯股份有限公司 | Method and device for displaying Widget window in zooming way |
CN103024156A (en) * | 2012-11-29 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method, system and mobile terminal for realizing one-handed mobile terminal operation |
US20160255268A1 (en) * | 2014-09-05 | 2016-09-01 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
CN106547449A (en) * | 2016-11-02 | 2017-03-29 | 湖南福米信息科技有限责任公司 | A kind of window treatments method and device |
CN106598404A (en) * | 2015-10-16 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Window display method and mobile terminal |
-
2017
- 2017-11-29 CN CN201711230683.XA patent/CN108008876B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102214101A (en) * | 2011-06-30 | 2011-10-12 | 中兴通讯股份有限公司 | Method and device for displaying Widget window in zooming way |
CN103024156A (en) * | 2012-11-29 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method, system and mobile terminal for realizing one-handed mobile terminal operation |
US20160255268A1 (en) * | 2014-09-05 | 2016-09-01 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
CN106598404A (en) * | 2015-10-16 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Window display method and mobile terminal |
CN106547449A (en) * | 2016-11-02 | 2017-03-29 | 湖南福米信息科技有限责任公司 | A kind of window treatments method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491753A (en) * | 2018-11-29 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Suspension windows display methods, device and storage medium |
CN110636157A (en) * | 2019-08-27 | 2019-12-31 | 北京航空航天大学 | Handheld holder tracking method based on suspension window embedded face recognition technology |
CN112181571A (en) * | 2020-09-28 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Floating window display method, device, terminal and storage medium |
CN113760140A (en) * | 2021-08-31 | 2021-12-07 | Oook(北京)教育科技有限责任公司 | Content display method, device, medium and electronic equipment |
CN113760140B (en) * | 2021-08-31 | 2023-12-08 | Oook(北京)教育科技有限责任公司 | Content display method, device, medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108008876B (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10606476B2 (en) | Techniques for interacting with handheld devices | |
CN108008876A (en) | A kind of display methods of suspension windows, device, equipment and storage medium | |
CN109876439B (en) | Game picture display method and device, storage medium and electronic equipment | |
JP2022031339A (en) | Display method and device | |
US10969949B2 (en) | Information display device, information display method and information display program | |
CN107977141B (en) | Interaction control method and device, electronic equipment and storage medium | |
CN107734373A (en) | Barrage sending method and device, storage medium, electronic equipment | |
KR20140030299A (en) | Techniques for zooming in and out with dynamic content | |
US11294533B2 (en) | Method and terminal for displaying 2D application in VR device | |
CN112907760B (en) | Three-dimensional object labeling method and device, tool, electronic equipment and storage medium | |
CN105700766B (en) | User interface display system and method | |
CN108776544B (en) | Interaction method and device in augmented reality, storage medium and electronic equipment | |
RU2433462C2 (en) | Alternative graphics pipeline | |
CN107580246A (en) | A kind of operating method of button, device, equipment and storage medium | |
CN107343141A (en) | Focusing method, device and computer equipment | |
KR20220110493A (en) | Method and apparatus for displaying objects in video, electronic devices and computer readable storage media | |
CN108037877A (en) | Processing method, device, equipment and the storage medium of function curve | |
CN113244612A (en) | Locking mark display method and device, storage medium and electronic equipment | |
CN113515202A (en) | Cursor moving method and device and electronic equipment | |
CN107870703A (en) | Method, system and the terminal device of full-screen picture displaying | |
CN111726666A (en) | Video display control method and device | |
CN104063116A (en) | Method and electronic equipment for information processing | |
CN108920230A (en) | Response method, device, equipment and the storage medium of mouse suspension procedure | |
CN114723855A (en) | Image generation method and apparatus, device and medium | |
US20160132179A1 (en) | Three Dimensional Object Manipulation Through A Flexible Display Device |
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 |