Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The present inventor is had found during using some applications (for example, game application), is answered using these
With when, can not display application user interface while also play video, that is, user cannot using these application
While can also watch video, user needs in addition to open Video Applications, however, Video Applications and other application can not be simultaneously
It shows, is also required in PC terminal big by the display at the interface of setting Video Applications and other application on mobile terminal screen
It is small, Video Applications and other application could be shown simultaneously, if user wants to operate Video Applications or other application, needed
Cursor is navigated into corresponding application, easily cause in this way it is inconvenient for use, to solve the above-mentioned problems, inventor by wound
The labour for the property made is proposed using parasitic kit, by parasitic kit and main application binding in advance, to provide in main application
The solution of the function of video is played in user interface.
Wherein, main application is an independent application, which can independently realize corresponding function, is not need to rely on and appoints
What other application, for example, game application, user, can be in user provided by game application after starting game application
Game is played on interface.
And the parasitism kit need to rely on it is main application corresponding function just may be implemented, need main application that this is called to post
The api interface of raw kit is just able to achieve the corresponding function of parasitic kit, for example, by for game application plays video,
Video can be played simultaneously when user plays game, is applied based on game application here, and playing video is parasitic kit
The function of being realized.
During playing video or playing game, user may need to carry out other operations, for example, with other users
The game that real-time communication is being played, or the video that comment plays, current video play mode can not achieve corresponding function
Energy.
Fig. 1 shows the video play mode setting side according to an embodiment of the invention realized using parasitic kit
The flow chart of method.As shown in Figure 1, method includes the following steps:
Step S100 creates the first suspended window and second and hangs according to the setting behavior of the video play mode of user's triggering
Floating window, and the layout parameter of the first suspended window and the second suspended window is set, and, video playing is embedded in the first suspended window
Device.
Specifically, when user needs that video play mode is arranged, the button of setting video play mode can be triggered,
After detecting the button that user triggers setting video play mode, according to the behavior of user, Floatwindow is created.
The creation of Floatwindow is related to WindowManager interface, realizes that class has WindowManagerImpl,
CompatModeWrapper, LocalWindowManager.Specifically, the code of parasitic kit starts a Service,
Then the first suspended window and the second suspended window are created in Service.When creating the first suspended window and the second suspended window, need
The layout of the first suspended window and the second suspended window is defined, pair of the first suspended window and the second suspended window setting layout parameter is created
As;The location parameter and dimensional parameters (comprising width and height) of first suspended window and the second suspended window are set.First suspends
The location parameter and dimensional parameters of window and the second suspended window determine that the first suspended window and the second suspended window are shown with pre-set dimension
In the predeterminated position of terminal screen.
Wherein, suspended window is there are the floating frame on terminal screen, and suspended window is not affiliated with the interface Activity,
It is not influenced by the covering at the interface Activity, but identical as the life cycle of Activity.In the embodiment of the present invention, first suspends
Window and the second suspended window are created by parasitic kit.After detecting the triggering behavior of user, according to the behavior of user, creation
Floatwindow.Wherein, the size of the first suspended window and the second suspended window of creation is less than the ruler of the user interface of main application
It is very little.
The embodiment of the present invention is embedded in video player after creating the first suspended window, in the first suspended window, the video
Player is displayed for video flowing.
Step S101, according to the layout parameter of the first suspended window and the second suspended window to the first suspended window and the second suspended window
It is laid out and shows.
After the layout parameter of the first suspended window and the second suspended window is arranged according to step S100, according to set layout
Parameter is laid out the first suspended window and the second suspended window, and shows the first suspended window and the second suspended window after layout, example
Such as, the dimensional parameters that the first suspended window is arranged are width:80, height:100 (as unit of pixel), and the second suspended window is arranged
Dimensional parameters be width:80, height:20, be presented to user in this way be exactly a 100*80 the first suspended window with
The second suspended window of 20*80.
Step S102, broadcast video server provides in the first suspended window while the user interface of main application is presented
Video flowing, and presentation user's interactive interface in the second suspended window.
Specifically, it after suspended window is embedded in video player, is obtained from server corresponding using step S100
Video flowing, the video flowing that server is provided are transferred to video player, and the video flowing is played in the first suspended window, thus
Video flowing, and presentation user's interactive interface in the second suspended window are played while the user interface of main application is presented, and are being in
It interacts user with other users by the second suspended window, or carries out
Other operations.
The method provided according to that above embodiment of the present invention, by creation the first suspended window and the second suspended window, setting the
The layout parameter of one suspended window and the second suspended window, and according to set layout parameter to the first suspended window and the second suspended window
It is laid out and shows, realize the setting of video play mode, and can be while the user interface of main application is presented
Video is played, and provides a user interactive service, other application or Video Applications can only be used alone by solving user, without
It can show the interface of Video Applications simultaneously when operating other application and carry out the defect of other interactive operations, overcome existing
Have in technology when needing to operate other application or Video Applications, requires to be switched to corresponding application, cause unhandy
Problem substantially increases the simplicity of user's operation, saves user time.
Fig. 2 shows the video play mode settings in accordance with another embodiment of the present invention realized using parasitic kit
The flow chart of method.As shown in Fig. 2, method includes the following steps:
Step S200, according to the setting behavior of the video play mode of user's triggering, creating has the first of control panel
Suspended window and the second suspended window, and the layout parameter of the first suspended window and the second suspended window is set.
Specifically, when user needs that video play mode is arranged, the button of setting video play mode can be triggered,
After detecting the button that user triggers setting video play mode, according to the behavior of user, Floatwindow is created.
The creation of Floatwindow is related to WindowManager interface, realizes that class has WindowManagerImpl,
CompatModeWrapper, LocalWindowManager.Specifically, the code of parasitic kit starts a Service,
Then first suspended window and second suspended window of the creation with control panel in Service.Creating the first suspended window and the
It when two suspended windows, needs to define the layout of the first suspended window and the second suspended window, creates the first suspended window and the second suspended window is set
Set the object of layout parameter;Be arranged the first suspended window and the second suspended window location parameter and dimensional parameters (comprising width and
height).The location parameter and dimensional parameters of first suspended window and the second suspended window determine that the first suspended window and second suspends
Window is shown in the predeterminated position of terminal screen with pre-set dimension.Wherein, the first suspended window can be video playing suspended window, second
Suspended window can be chat suspended window, that is, video flowing provided by can playing in the first suspended window, the second suspended window is interior to be presented
User's chat content etc..
Wherein, suspended window is there are the floating frame on terminal screen, and suspended window is not affiliated with the interface Activity,
It is not influenced by the covering at the interface Activity, but identical as the life cycle of Activity.In the embodiment of the present invention, first suspends
Window and the second suspended window are created by parasitic kit.After detecting the triggering behavior of user, according to the behavior of user, creation
Floatwindow.Wherein, the size of the first suspended window and the second suspended window of creation is less than the ruler of the user interface of main application
It is very little.
In the embodiment of the present invention, user can determine the need for the second suspended window of display according to demand, if second
Presentation user's interactive interface in suspended window, in the case where not needing presentation user's interactive interface in the second suspended window, user
The second suspended window can be closed by way of triggering the control panel on the first suspended window.
Step S201 is embedded in window view in the first suspended window, creates the drawing surface of window view.
Wherein, video player is realized by window view.In order to show the first suspended window, user is started
The user interface of Video service be embedded in window view in the first suspended window after creating the first suspended window, window view
Figure is for drawing video clip.Here window view can be any view that can show user interface provided by Video service
Figure, the invention is not limited in this regard.The present embodiment is illustrated so that window view is surfaceview view as an example.
In android system, surfaceview has independent drawing surface, it is not shared same with its host window
One drawing surface.Since the user interface with independent drawing surface, surfaceview can be in an independent line
It is drawn in journey, and main thread resource will not be occupied again.On the one hand complicated and efficient UI may be implemented in surfaceview
It draws, on the other hand not will lead to user's input again cannot timely respond to.Therefore, surfaceview is used to regard as window
Figure is embedded into the first suspended window, and complicated and efficient drafting may be implemented.
Step S202, according to the layout parameter of the first suspended window and the second suspended window to the first suspended window and the second suspended window
It is laid out and shows.
After the layout parameter of the first suspended window and the second suspended window is arranged according to step S200, according to set layout
Parameter is laid out the first suspended window and the second suspended window, and shows the first suspended window and the second suspended window after layout, example
Such as, the dimensional parameters that the first suspended window is arranged are width:80, height:100 (as unit of pixel), and the second suspended window is arranged
Dimensional parameters be width:80, height:20, be presented to user in this way be exactly a 100*80 the first suspended window with
The second suspended window of 20*80.
Main application is being presented in the corresponding video clip of drawing surface rendering video flowing in step S203, control window view
User interface while broadcast video server provides in the first suspended window video flowing, and be in the second suspended window
Existing user interface.
After the video flowing corresponding with channel identication for providing server is transferred to window view, parasitic kit control
Window view processed shows video in the video clip drawn in its corresponding video clip of drawing surface rendering video flowing
Stream realizes and plays video flowing in the first suspended window while the user interface of main application is presented, and suspends second
Presentation user's interactive interface in window, allow while the user interface of main application is presented user by the second suspended window with
Other users interact, or carry out other operations.
Step S204, whether monitoring user triggers on the first suspended window is closed the second suspended window, if so, thening follow the steps
S205;If it is not, being then not processed, continuation plays video flowing, and the presentation user in the second suspended window in the first suspended window
Interactive interface.
Monitor whether user triggers the second suspended window of closing on the control panel of the first suspended window, primarily to determining
The second suspended window whether is closed, after monitoring that user triggers closing picture-in-picture floating window on the control panel, then can control pass
The second suspended window is closed, stops providing corresponding interactive service, if not monitoring the triggering behavior of user, it is outstanding to continue reservation second
Floating window, presentation user's interactive interface in the second suspended window allow user according to demand by the second suspended window and other
User interacts, or carries out other operations.
Step S205 closes the second suspended window.
Monitor user on the first suspended window triggering close the second suspended window in the case where, close the second suspended window.
In a possible implementation of the present embodiment, this method further include: the movement first triggered according to user
The behavior of suspended window and the second suspended window modifies the window's position parameter of the first suspended window and the second suspended window, after modification
The window's position parameter the first suspended window and the second suspended window are laid out and are showed.
A part of display area of the suspended window occupied terminal screen created through the above steps, for showing that user is opened
The user interface of dynamic Video service.When user triggers mobile suspended window and/or changes suspended window size, for the ease of user
Main application is operated, the window's position parameter and/or window size parameter of suspended window can be modified, for example, modifying suspended window simultaneously
The window's position parameter and window size parameter make suspended window with the corresponding size of modified window size parameter after the modification
It is shown in the corresponding position of location parameter of terminal screen.Such as the window height (height) or window width of modification suspended window
(width), reduce suspended window, be such as reduced into original one third, thus based on using reserving bigger display space.
The method provided according to that above embodiment of the present invention, by creation the first suspended window and the second suspended window, setting the
The layout parameter of one suspended window and the second suspended window, and according to set layout parameter to the first suspended window and the second suspended window
It is laid out and shows, realize the setting of video play mode, and can be while the user interface of main application is presented
Video is played, and provides a user interactive service, other application or Video Applications can only be used alone by solving user, without
It can show the interface of Video Applications simultaneously when operating other application and carry out the defect of other interactive operations, overcome existing
Have in technology when needing to operate other application or Video Applications, requires to be switched to corresponding application, cause unhandy
Problem substantially increases the simplicity of user's operation, saves user time.
Fig. 3 shows the video play mode setting dress according to an embodiment of the invention realized using parasitic kit
The structural block diagram set.As shown in figure 3, the device includes: creation module 300, insertion module 310, layout display module 320 and is in
Existing module 330.
Creation module 300, suitable for the setting behavior of the video play mode triggered according to user, create the first suspended window and
Second suspended window, and the layout parameter of the first suspended window and the second suspended window is set.
Specifically, when user needs that video play mode is arranged, the button of setting video play mode can be triggered,
After detecting the button that user triggers setting video play mode, according to the behavior of user, Floatwindow is created.
The creation of Floatwindow is related to WindowManager interface, realizes that class has WindowManagerImpl,
CompatModeWrapper, LocalWindowManager.Specifically, the code of parasitic kit starts a Service,
Then first suspended window and second suspended window of the creation with control panel in Service.Creating the first suspended window and the
It when two suspended windows, needs to define the layout of the first suspended window and the second suspended window, creates the first suspended window and the second suspended window is set
Set the object of layout parameter;Be arranged the first suspended window and the second suspended window location parameter and dimensional parameters (comprising width and
height).The location parameter and dimensional parameters of first suspended window and the second suspended window determine that the first suspended window and second suspends
Window is shown in the predeterminated position of terminal screen with pre-set dimension.Wherein, the first suspended window can be video playing suspended window, second
Suspended window can be chat suspended window, that is, video flowing provided by can playing in the first suspended window, the second suspended window is interior to be presented
User's chat content etc..
Wherein, suspended window is there are the floating frame on terminal screen, and suspended window is not affiliated with the interface Activity,
It is not influenced by the covering at the interface Activity, but identical as the life cycle of Activity.In the embodiment of the present invention, first suspends
Window and the second suspended window are created by parasitic kit.After detecting the triggering behavior of user, according to the behavior of user, creation
Floatwindow.Wherein, the size of the first suspended window and the second suspended window of creation is less than the ruler of the user interface of main application
It is very little.
In the embodiment of the present invention, user can determine the need for the second suspended window of display according to demand, if second
Presentation user's interactive interface in suspended window, in the case where not needing presentation user's interactive interface in the second suspended window, user
The second suspended window can be closed by way of triggering the control panel on the first suspended window.
It is embedded in module 310, suitable for being embedded in video player in the first suspended window.
Wherein, video player is realized by window view, which is surfaceview view.
It is laid out display module 320, suitable for the layout parameter according to the first suspended window and the second suspended window to the first suspended window
It is laid out and shows with the second suspended window.
It is outstanding to first according to set layout parameter after the layout parameter of the first suspended window and the second suspended window is set
Floating window and the second suspended window are laid out, and show the first suspended window and the second suspended window after layout, for example, setting first is outstanding
The dimensional parameters of floating window are width:80, height:100 (as unit of pixel), and the dimensional parameters of the second suspended window of setting are
Width:80, height:20, be presented to user in this way is exactly that the first suspended window of a 100*80 and the second of 20*80 are hanged
Floating window.
Module 330 is presented, suitable for playing video clothes in the first suspended window while the user interface of main application is presented
The video flowing that business device provides, and presentation user's interactive interface in the second suspended window.
Further, the device further include: modified module 340, suitable for the first suspended window of movement for being triggered according to user and
The window's position parameter of the first suspended window and the second suspended window is modified in the behavior of second suspended window.
A part of display area of the suspended window occupied terminal screen created, the video clothes started for showing user
The user interface of business.When user triggers mobile suspended window and/or changes suspended window size, for the ease of user's operation, master is answered
With the window's position parameter and/or window size parameter of suspended window can be modified, for example, modifying the window's position of suspended window simultaneously
Parameter and window size parameter make suspended window be shown in end with the corresponding size of modified window size parameter after the modification
Hold the corresponding position of location parameter of screen.Such as the window height (height) or window width (width) of modification suspended window,
Reduce suspended window, be such as reduced into original one third, thus based on using reserving bigger display space.
Layout display module 320 is further adapted for: according to modified the window's position parameter to the first suspended window and second
Suspended window is laid out and shows.
Further, insertion module 310 is further adapted for: being embedded in window view, creation window view in the first suspended window
The drawing surface of figure.
Wherein, video player is realized by window view.In order to make the suspended window show what user was started
The user interface of Video service is embedded in window view in suspended window after creating suspended window, and the window view is for drawing
Video clip.Here window view can be any view that can show user interface provided by Video service, the present invention
With no restriction to this.The present embodiment is illustrated so that window view is surfaceview view as an example.
In android system, surfaceview has independent drawing surface, it is not shared same with its host window
One drawing surface.Since the user interface with independent drawing surface, surfaceview can be in an independent line
It is drawn in journey, and main thread resource will not be occupied again.On the one hand complicated and efficient UI may be implemented in surfaceview
It draws, on the other hand not will lead to user's input again cannot timely respond to.Therefore, surfaceview is used to regard as window
Figure is embedded into suspended window, and complicated and efficient drafting may be implemented.
Further, module 330 is presented to be further adapted for: control window view is corresponding in drawing surface rendering video flowing
Video clip.
After the video flowing corresponding with channel identication for providing server is transferred to window view, parasitic kit control
Window view processed shows video in the video clip drawn in its corresponding video clip of drawing surface rendering video flowing
Stream realizes and plays video flowing in suspended window while the user interface of main application is presented, and in the second suspended window
Presentation user's interactive interface allows user to pass through the second suspended window and other while the user interface of main application is presented
User interacts, or carries out other operations.
Further, creation module 300 is further adapted for: according to user triggering video play mode setting behavior,
Create first suspended window with control panel.
Further, device further include: whether monitoring modular 350 triggers on the first suspended window suitable for monitoring user
Close the second suspended window;
Closedown module 360, suitable for detect user on the first suspended window triggering close the second suspended window in the case where,
Close the second suspended window.
Monitor whether user triggers the second suspended window of closing on the control panel of the first suspended window, primarily to determining
The second suspended window whether is closed, after monitoring that user triggers closing picture-in-picture floating window on the control panel, then can control pass
The second suspended window is closed, stops providing corresponding interactive service, if not monitoring the triggering behavior of user, it is outstanding to continue reservation second
Floating window, presentation user's interactive interface in the second suspended window allow user according to demand by the second suspended window and other
User interacts, or carries out other operations.
The device provided according to that above embodiment of the present invention, by creation the first suspended window and the second suspended window, setting the
The layout parameter of one suspended window and the second suspended window, and according to set layout parameter to the first suspended window and the second suspended window
It is laid out and shows, realize the setting of video play mode, and can be while the user interface of main application is presented
Video is played, and provides a user interactive service, other application or Video Applications can only be used alone by solving user, without
It can show the interface of Video Applications simultaneously when operating other application and carry out the defect of other interactive operations, overcome existing
Have in technology when needing to operate other application or Video Applications, requires to be switched to corresponding application, cause unhandy
Problem substantially increases the simplicity of user's operation, saves user time.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the view according to an embodiment of the present invention realized using parasitic kit
The some or all functions of some or all components in equipment are arranged in frequency play mode.The present invention is also implemented as using
In executing some or all device or device programs of method as described herein (for example, computer program and meter
Calculation machine program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one
The form of a or multiple signals.Such signal can be downloaded from an internet website to obtain, or mention on the carrier signal
For, or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses: A1, a kind of video play mode setting method realized using parasitic kit, wherein institute
Parasitic kit and main application binding in advance are stated, plays video and setting view in the user interface of the main application to provide
The function of frequency play mode, which comprises
According to the setting behavior of the video play mode of user's triggering, the first suspended window and the second suspended window are created, and set
The layout parameter of first suspended window and the second suspended window is set, and, video player is embedded in the first suspended window;
The first suspended window and the second suspended window are carried out according to the layout parameter of first suspended window and the second suspended window
It is laid out and shows;
Broadcast video server provides in first suspended window while user interface of the main application is presented
Video flowing, and presentation user's interactive interface in second suspended window.
A2, method according to a1, wherein the method also includes:
According to the behavior of movement the first suspended window and the second suspended window of user's triggering, first suspended window and the are modified
The window's position parameter of two suspended windows, according to modified the window's position parameter to first suspended window and the second suspended window into
Row is laid out and shows.
A3, method according to a1 or a2, wherein the video player is realized by window view;
It is described to be embedded in video player in the first suspended window and further comprise: to be embedded in window view in the first suspended window
Figure, creates the drawing surface of window view.
A4, method according to a3, wherein the video flowing that the broadcast video server in the first suspended window provides
Further comprise: controlling the corresponding video clip of window view video flowing described in drawing surface rendering.
A5, the method according to A3 or A4, wherein the window view is surfaceview view.
A6, according to the described in any item methods of A1-A5, wherein the video play mode according to user's triggering is set
Behavior is set, the first suspended window of creation further comprises:
According to the setting behavior of the video play mode of user's triggering, first suspended window with control panel is created.
A7, the method according to A6, wherein the method also includes:
Monitor whether user triggers closing second suspended window on the first suspended window;
If so, closing second suspended window.
A8, according to the described in any item methods of A1-A7, wherein the first suspended window be video playing suspended window, second suspend
Window is chat suspended window.
The invention also discloses: device is arranged in B9, a kind of video play mode realized using parasitic kit, wherein
The parasitism kit and main application binding in advance, play video and setting to provide in the user interface of the main application
The function of video play mode, described device include:
Creation module creates the first suspended window and the suitable for the setting behavior of the video play mode triggered according to user
Two suspended windows, and the layout parameter of first suspended window and the second suspended window is set;
It is embedded in module, suitable for being embedded in video player in the first suspended window;
It is laid out display module, suitable for the layout parameter according to first suspended window and the second suspended window to the first suspended window
It is laid out and shows with the second suspended window;
Module is presented, suitable for playing view in first suspended window while user interface of the main application is presented
The video flowing that frequency server provides, and presentation user's interactive interface in second suspended window.
B10, the device according to B9, wherein described device further include: modified module, suitable for what is triggered according to user
The window's position ginseng of first suspended window and the second suspended window is modified in the behavior of mobile first suspended window and the second suspended window
Number;
The layout display module is further adapted for: according to modified the window's position parameter to first suspended window and
Second suspended window is laid out and shows.
B11, the device according to B9 or B10, wherein the video player is realized by window view;
The insertion module is further adapted for: being embedded in window view in the first suspended window, is created the drawing of window view
Surface.
B12, the device according to B11, wherein the presentation module is further adapted for: being controlled the window view and is existed
The corresponding video clip of video flowing described in drawing surface rendering.
B13, the device according to B11 or B12, wherein the window view is surfaceview view.
B14, according to the described in any item devices of B9-B13, wherein the creation module is further adapted for: being touched according to user
The setting behavior of the video play mode of hair creates first suspended window with control panel.
B15, device according to b14, wherein described device further include: monitoring modular, be suitable for monitoring user whether
Second suspended window is closed in triggering on first suspended window;
Closedown module, suitable for closing the feelings of second suspended window detecting user and trigger on first suspended window
Under condition, second suspended window is closed.
B16, according to the described in any item devices of B9-B15, wherein the first suspended window is video playing suspended window, and second is outstanding
Floating window is chat suspended window.