CN108664300A - A kind of application interface display methods under picture-in-picture mode and device - Google Patents
A kind of application interface display methods under picture-in-picture mode and device Download PDFInfo
- Publication number
- CN108664300A CN108664300A CN201810290762.8A CN201810290762A CN108664300A CN 108664300 A CN108664300 A CN 108664300A CN 201810290762 A CN201810290762 A CN 201810290762A CN 108664300 A CN108664300 A CN 108664300A
- Authority
- CN
- China
- Prior art keywords
- application
- interface
- display direction
- picture
- application interface
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses the application interface display methods and device under a kind of picture-in-picture mode, belong to technical field of mobile terminals.This method includes:When it is the second application for needing to show using picture-in-picture mode as foreground application to detect application to be launched, obtain the display direction of the application interface for the first application being currently displaying, interface display direction specified in the application packet of second application is replaced with to the display direction of the application interface of the first application, specified interface display direction in application packet based on replaced second application, the application interface by the second application include on the application interface upper layer of the first application.Namely, in embodiments of the present invention, since the interface display direction of the second application to be replaced to the display direction of the application interface for the first application, therefore, although the second application is foreground application, but the display direction of the application interface of the first application will not change with the interface display direction of the second application, more be bonded user demand.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to the application interface display methods under a kind of picture-in-picture mode
And device.
Background technology
Currently, the application of picture-in-picture mode on mobile terminals is more and more.Wherein, picture-in-picture mode refers in display the
While the application interface of one application, the second application is shown in the small area region on the upper layer of the application interface applies boundary
Face.Wherein, when showing the application interface of the second application in the application interface in the first application with picture-in-picture mode, usual first
Using for foreground application, the second application is background application, in this case, with picture-in-picture mode show second apply answer
It will be unable to be edited or operated with interface, in order to solve this problem, mobile terminal can start second in application, pressure will
Second application starts as foreground application, and is background application by the first application unsteady state operation.
In the related technology, according to the display of Android system rule, the display direction of the application interface of all background applications is equal
It need to be consistent with the display direction of the application interface of foreground application.However, although the first application conversion is for background application,
It is that the application interface of the first application is often only user focus of attention interface the most, that is to say, that boundary is applied in the first application
The display direction in face is only the most desired display direction of user.Based on this, in order to improve user experience, conduct is being applied by second
After foreground application starts, it is urgent to provide a kind of application interface display methods, the first application to ensure as background application
The display direction of application interface will not change with the variation of the display direction of the application interface of foreground application.
Invention content
Cumbersome when in order to solve the problems, such as to switch in the prior art application, an embodiment of the present invention provides in a kind of picture
Application interface display methods under picture pattern and device.The technical solution is as follows:
In a first aspect, the application interface display methods under providing a kind of picture-in-picture mode, the method includes:
When detecting that application to be launched is to need to show using picture-in-picture mode as foreground application second in application, obtaining
Take the display direction for the first application interface applied being currently displaying;
Specified interface display direction replaces with the application of first application during the application that described second applies is wrapped
The display direction at interface;
Specified interface display direction, described second is applied in application packet based on replaced second application
Application interface be shown in it is described first application application interface upper layer.
Optionally, it is described when detect application to be launched be needs shown using picture-in-picture mode as foreground application the
Two in application, before the display direction of the application interface for the first application that acquisition is currently displaying, and further includes:
Judge in the application interface packet of the application to be launched whether to include the first label, first label is used
It is shown using picture-in-picture mode as foreground application in the instruction application to be launched;
If the application interface packet of the application to be launched includes first label, it is determined that described to be launched
Application be need shown using picture-in-picture mode as foreground application second apply.
Optionally, described that interface display direction specified in application packet that described second applies is replaced with described first
Before the display direction of the application interface of application, further include:
Obtain interface display direction specified in the application packet of second application;
Judge whether the interface display direction is identical as the display direction of the application interface of first application;
If the interface display direction is different from the display direction of application interface of the first application, executing will be described
Specified interface display direction replaces with the display direction of the application interface of first application in the application packet of second application
The step of.
Optionally, interface display direction specified in the application packet based on replaced second application, will
The application interface of second application is shown in the upper layer of the application interface of first application, including:
When interface display direction specified by obtaining in the application packet according to replaced second application is shown
Second application application interface width and height;
The width and height of the application interface of second application are adjusted, and based on the second application after adjustment
Application interface width and height, by the application interface that described second applies include it is described first application application interface
Upper layer.
Optionally, the width of the application interface to second application and height are adjusted, and based on adjustment
The width and height of the application interface of the second application afterwards, include being answered described first by the application interface that described second applies
The upper layer of application interface, including:
The width for the application interface that described second is applied, will as the height of the application interface of the second application after adjustment
Width of the height of the application interface of second application as the application interface of the second application after adjustment;
The application interface that the width and height of application interface based on the second application after adjustment are applied described second
It is shown in the upper layer of the application interface of first application.
Second aspect, provides the application interface display device under a kind of picture-in-picture mode, and described device includes:
First acquisition module, for needing to show using picture-in-picture mode as foreground application when detecting application to be launched
Second shown is in application, obtain the display direction of the application interface for the first application being currently displaying;
Replacement module, for interface display direction specified in application packet that described second applies to be replaced with described the
The display direction of the application interface of one application;
Display module, specified interface display direction in being wrapped for the application based on replaced second application,
Include on the upper layer of the application interface of first application by the application interface that described second applies.
Optionally, described device further includes:
Whether the first judgment module includes the first mark in the application interface packet for judging the application to be launched
Note, first label are used to indicate the application to be launched and are shown using picture-in-picture mode as foreground application;
Determining module, if the application interface packet for the application to be launched includes first label,
Determine that the application to be launched is the second application for needing to show using picture-in-picture mode as foreground application.
Optionally, described device further includes:
Second acquisition module, the interface display direction specified in wrapping of the application for obtaining second application;
Second judgment module, the display side for judging the interface display direction and the application interface of first application
To whether identical;
Trigger module, if not for the display direction of the interface display direction and the application interface of first application
Together, then it triggers the replacement module and interface display direction specified in application packet that described second applies is replaced with described the
The display direction of the application interface of one application.
Optionally, the display module includes:
Acquisition submodule, for obtaining interface display specified in the application packet according to replaced second application
The width and height of the application interface of the second application when direction is shown;
Submodule is adjusted, the width and height for the application interface to second application are adjusted, and are based on adjusting
The width and height of the application interface of the second application after whole, include being answered described first by the application interface that described second applies
The upper layer of application interface.
Optionally, the adjustment submodule is specifically used for:
The width for the application interface that described second is applied, will as the height of the application interface of the second application after adjustment
Width of the height of the application interface of second application as the application interface of the second application after adjustment;
The width and height of application interface based on the second application after adjustment show the application interface that described second applies
Show on the upper layer of the application interface of first application.
The third aspect, provides a kind of mobile terminal, and the mobile terminal includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as the step of any one method described in above-mentioned first aspect.
Fourth aspect provides a kind of computer readable storage medium, finger is stored on the computer readable storage medium
The step of enabling, any one method described in above-mentioned first aspect realized when described instruction is executed by processor.
5th aspect provides a kind of computer program product including instruction, when run on a computer so that meter
Calculation machine executes the application interface display methods described in above-mentioned first aspect.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:When detect application to be launched be needs
Second shown using picture-in-picture mode as foreground application is in application, obtain the application interface for the first application being currently displaying
Display direction, interface display direction specified in the application packet of the second application is replaced with to the application interface of the first application
Display direction, the interface display direction specified in wrapping of the application based on replaced second application, by the application of the second application
Interface display is on the application interface upper layer of the first application.It follows that in embodiments of the present invention, starting with picture-in-picture mode
As foreground application show second in application, can be by the application of the second specified application in the second application packet applied
The display direction at interface replaces with the display direction of the application interface for the first application being currently displaying, although in this way, second
It is aobvious but the display direction of the application interface of the first application will not be with the application interface of the second application using being foreground application
Show that direction changes, that is, during showing the application interface of the second application with picture-in-picture mode, ensure that second
While using that can be edited by and operate as foreground application so that the application circle of the first application as user focus
The display direction in face can remain unchanged, and more be bonded user demand.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the flow chart of the application interface display methods under a kind of picture-in-picture mode provided in an embodiment of the present invention;
Fig. 2A is the flow chart of the application interface display methods under a kind of picture-in-picture mode provided in an embodiment of the present invention;
Fig. 2 B are that use method in the related technology by the second application include application in the first application with picture-in-picture mode
Schematic diagram in interface;
Fig. 2 C be it is provided in an embodiment of the present invention it is a kind of do not adjust picture-in-picture layout before by second application application interface
The schematic diagram shown according to replaced interface display direction;
Fig. 2 D are after a kind of adjustment picture-in-picture provided in an embodiment of the present invention is laid out, to be answered second according to picture-in-picture layout
The schematic diagram that application interface is adjusted and shows;
Fig. 3 A are the block diagrams of the application interface display device under a kind of picture-in-picture mode provided in an embodiment of the present invention;
Fig. 3 B are the block diagrams of the application interface display device under a kind of picture-in-picture mode provided in an embodiment of the present invention;
Fig. 3 C are a kind of block diagrams of display module provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Before carrying out detailed explanation to the embodiment of the present invention, first to the present embodiments relate to application scenarios
It is introduced.
Currently, application of the picture-in-picture mode on various mobile terminals is more and more.Wherein, picture-in-picture mode is actually
A kind of content presentation pattern, more commonly used has video picture-in-pictures pattern, refers to leading on the full range broadcast picture of some video
Too small surface area shows another video pictures.And with the continuous research to picture-in-picture mode, picture-in-picture mode is not
It is limited only to the presentation of video content again, but the application interface that can be applied to the other application installed in mobile terminal is in
On now.For example, it is assumed that active user browses a Webpage by the browser installed on mobile terminal, at this point, moving
The social networking application installed in dynamic terminal has received good friend's message, and user may be not intended to exit the current net browsed
The page page, in this case, you can with picture-in-picture mode to include in the Webpage currently browsed by the social networking application.
It should be noted that in above-mentioned institute's illustrated example, if the application interface of social networking application is shown with picture-in-picture mode
When showing in the Webpage of browser, which is actually foreground application, and social networking application is actually background application,
In this case, the application interface of social networking application will be unable to be edited or operated, that is to say, that even if by the social networking application
Application interface is shown in picture-in-picture mode in Webpage, and user can not disappear on the application interface of the social networking application
The operations such as breath reply, this far can not meet the needs of users.In order to solve this problem, mobile terminal can start the society
It hands in application, forcing using browser as foreground application, and browser is forced to be used as background application.If but by social networking application
Unsteady state operation is foreground application, and the display direction of the Webpage of browser also will be with the aobvious of the application interface of social networking application
Show direction and change, however, in fact, the Webpage of browser is only the focus page of user, that is to say, that is inciting somebody to action
When the application interface of social networking application is shown in picture-in-picture mode in Webpage, user is often not intended to the webpage of browser
Any variation occurs for the page.Based on this, an embodiment of the present invention provides the application interface display methods under a kind of picture-in-picture mode,
Can ensure user can to social networking application into edlin and operation while so that Webpage as user focus
Display direction remains unchanged, and is more bonded user demand.
Only it is to be illustrated by taking browser and social networking application as an example, in reality it is worth noting that, in above application scene
In the application of border, above-mentioned browser and social networking application can be any other applications installed in mobile terminal, and the present invention is implemented
Example is not specifically limited this.
Next the application interface display methods under picture-in-picture mode provided in an embodiment of the present invention is introduced.
Fig. 1 is the flow chart of the application interface display methods under a kind of picture-in-picture mode provided in an embodiment of the present invention, should
Method can be used in mobile terminal, as shown in Figure 1, this approach includes the following steps:
Step 101:When detect application to be launched be need shown using picture-in-picture mode as foreground application second
In application, obtaining the display direction of the application interface for the first application being currently displaying.
Wherein, the first application and the second application can be the arbitrary applications installed in mobile terminal, also, the first application
Application interface is currently displayed on mobile terminal.In addition, the display direction of application interface may include transverse screen display and vertical screen
Display.
Step 102:Interface display direction specified in the application packet of second application is replaced with to the application of the first application
The display direction at interface.
Wherein, interface display direction specified in the application packet of the second application refers to the application interface institute of second application
The display direction of support.That is, the interface display direction can be transverse screen, vertical screen or be used to indicate what horizontal/vertical screen was supported
Display direction information.
Step 103:Specified interface display direction in application packet based on replaced second application, by the second application
Application interface be shown in the first application application interface upper layer.
In embodiments of the present invention, aobvious using picture-in-picture mode as foreground application to need when detecting application to be launched
Second shown is in application, obtain the display direction of the application interface for the first application being currently displaying, by answering for the second application
The display direction of the application interface of the first application is replaced with interface display direction specified in packet, is based on replaced second
Specified interface display direction in the application packet of application, the application interface by the second application include applying boundary in the first application
Face upper layer.It follows that in embodiments of the present invention, starting the second application shown using picture-in-picture mode as foreground application
When, the display direction of the application interface of the second specified application in the second application packet applied can be replaced with currently just
In the display direction of the application interface of the first application of display, although in this way, the second application is foreground application, first applies
The display direction of application interface will not change with the display direction of application interface of the second application, that is, to draw
During middle picture pattern shows the application interface of the second application, it ensure that the second application can be by user as foreground application
While editing and operate so that the display direction of the application interface of the first application as user focus can remain unchanged,
More it is bonded user demand.
Fig. 2A is the flow chart of the application interface display methods under a kind of picture-in-picture mode provided in an embodiment of the present invention, should
Method can be used in mobile terminal, and as shown in Figure 2 A, this approach includes the following steps:
Step 201:Judge in the application interface packet of application to be launched whether to include the first label.
In embodiments of the present invention, when mobile terminal is currently displaying the application interface of the first application, if user thinks
To show some in application, user can be directed to the application execution selection operation, to trigger with picture-in-picture mould with picture-in-picture mode
Formula starts the instruction of the application.When mobile terminal receives the instruction, can be opened by StartActivity (intent)
Move the application.Wherein, intent is the application interface packet of the information for the application interface for encapsulating the application.The relevant technologies
In, the content in the application interface packet is that inquiry is obtained or carried by third-party application from the system of mobile terminal
For in embodiments of the present invention, can additionally be added in the application interface packet in being used to indicate application needs to draw
The label that picture pattern is started as foreground application.It that is to say, mobile terminal starts this with picture-in-picture mode and answers receiving
When instruction, the Starting mode of the application can be marked in the inlet of startup.In this way, mobile terminal should
During being started as foreground application, it can be obtained by the label information of application interface packet intent
Whether getFlags interfaces obtain whole label informations in intent, and judge in the whole label informations obtained to include first
Label.Wherein, which is additional in intent in the inlet for starting the application increased to be used to indicate this and answer
Use the label information for needing to be shown using picture-in-picture mode as foreground application.
Step 202:If the application interface packet of application to be launched includes the first label, it is determined that be launched answers
It uses to need the shown using picture-in-picture mode as foreground application second application.
When mobile terminal determines that the label information obtained includes the first label, then illustrate that the application to be launched is exactly
Need the shown using picture-in-picture mode as foreground application second application.
Optionally, in embodiments of the present invention, if not including the first label in the label information got, illustrate this
Application to be launched is not the application shown with picture-in-picture mode, at this point, mobile terminal can be according in the related technology
Start and apply and show that the application to be launched to this of the method for application interface is handled, the embodiment of the present invention is no longer superfluous herein
It states.
Step 203:Obtain the display direction of the application interface for the first application being currently displaying.
When mobile terminal detects that application to be launched is need to show using picture-in-picture mode as foreground application second
In application, mobile terminal can obtain the display direction of the application interface for the first application being currently displaying, so as to root
According to the display direction of first application interface applied come the display direction for the application interface for adjusting the second application.Wherein, first
The application of application interface is currently displaying using referring to, and the second application shown with picture-in-picture mode refer to just this
It is shown with the pattern of picture-in-picture in the application interface of one application.
Specifically, in embodiments of the present invention, before not actuated second application, which is foreground application,
Start second in application, second is applied to for foreground application.At this point, first application in application stack queue will be second
Using, and it is the first application to come second application after the second application, is based on this, mobile terminal can be from application stack team
The application message of second application namely the first application is obtained in row, and the first application is obtained from the application message of acquisition
The display direction of application interface.
Wherein, the display direction of the application interface of the first application refers to the application interface that the first application is currently displaying
Display direction, the display direction may be transverse screen display, it is also possible to be vertical screen display.
Step 204:Interface display direction specified in the application packet of second application is replaced with to the application of the first application
The display direction at interface.
In embodiments of the present invention, in one possible implementation, when the application interface for getting the first application is aobvious
After showing direction, mobile terminal can obtain interface display direction specified in the application packet of the second application first, with after an action of the bowels
It is continuous to decide whether to the second application by comparing the display direction of the interface display direction and the application interface of the first application
The width and height of application interface are adjusted.Later, specified in the application packet that mobile terminal can be applied directly will second
Interface display direction replace with the first application application interface display direction.
It should be noted that interface display direction specified in the application packet of the second application refers to answering for second application
With the supported display direction of the second application specified in packet.Wherein, one is applied, the application
It include the parameter for describing the display direction that the application is supported in AndroidManifest.xml files
ScreenOrientation illustrates that second application only supports that transverse screen is aobvious if ScreenOrientation=Landscape
Show, if ScreenOrientation=Portrait, illustrates that vertical screen display is only supported in second application, if
ScreenOrientation undefined values then illustrate that second application both supports transverse screen display or supports vertical screen display.It is based on
This, after display direction of the acquisition for mobile terminal to the application interface of the first application, mobile terminal can be from the second application
Specified interface display direction is read in AndroidManifest.xml files, later, mobile terminal can be by the second application
The fixed interface display direction of AndroidManifest.xml documents replaces with the display side of the application interface of the first application
To.
For example, it is assumed that the parameter in AndroidManifest.xml files for describing display direction is
ScreenOrientation=Portrait, and the display direction of the application interface of the first application obtained is transverse screen
(Landscape), then mobile terminal can be directly by the ScreenOrientation in AndroidManifest.xml files
Value replace with Landscape, that is, Portrait is replaced with Landscape.
Optionally, in alternatively possible realization method, specified interface display side in the application packet of the second application
Display direction to the application interface for being possible to apply with first is identical, and in this case, mobile terminal may not necessarily
It goes to replace specified interface display direction again.Based on this, replaces second in the display direction of the application interface with the first application and answer
In application packet before specified interface display direction, mobile terminal can obtain institute in the application packet of the second application first
Specified interface display direction, and judge the interface display direction with first application application interface display direction whether phase
Together, if interface display direction is different from the display direction of application interface of the first application, mobile terminal can be executed second
The step of display direction for the application interface that specified interface display direction replaces with the first application in the application packet of application, if
The interface display direction is identical as the display direction of application interface of the first application, then mobile terminal can not be to second application
Application packet in specified interface display direction be replaced.
It should be noted that based on foregoing description it is found that mobile terminal can be from the second application
The parameter ScreenOrientation for being used to indicate interface display direction is read in AndroidManifest.xml files.Its
In, the value of ScreenOrientation may be Portrait, Landscape or undefined value.That is, the interface is aobvious
Show that direction can be transverse screen display, vertical screen display or horizontal/vertical screen and can show.First application can be applied boundary by mobile terminal
The display direction in face is compared with the interface display direction.If the display direction of the application interface of the first application is aobvious for transverse screen
Show, and the interface display direction of the second application can show for vertical screen display or horizontal/vertical screen, then can determine answering for the first application
It is different with the interface display direction with the display direction at interface.If the display direction of the application interface of the first application is aobvious for vertical screen
Show, and the interface display direction of the second application can show for transverse screen display or horizontal/vertical screen, then can determine answering for the first application
It is different from the interface display direction with the display direction at interface.
Both determined after being compared by the display direction and interface display direction of the application interface to the first application
When different, mobile terminal can be by the ScreenOrientation's in the AndroidManifest.xml files of the second application
Value replaces with the value of the display direction for the application interface for being used to indicate the first application.If the two is identical, mobile terminal can
Not modify to the value of the ScreenOrientation in the AndroidManifest.xml files of the second application.
It should be noted that in embodiments of the present invention, in the AndroidManifest.xml files of the second application
The value of ScreenOrientation modify replacement be actually in the roller blind control routine of the system of mobile terminal into
Capable modification that is to say and carried out before starting application interface the roller blind control routine is sent to the second application, in this way,
Due to being directly modified to code, it is effectively equivalent to before the second application starts application interface, forces to the
The display direction of the application interface of two applications is converted.
Step 205:Specified interface display direction in application packet based on replaced second application, by the second application
Application interface be shown in the first application application interface upper layer.
Specified interface display direction replaces with the application interface of the first application in the application packet by the second application
After display direction, the interface display direction that mobile terminal can be specified by the application packet of replaced second application,
Application interface by the second application includes on the upper layer of the application interface of the first application.
Wherein, based on the description in step 204 it is found that mobile terminal can be answered by two different strategies second
Specified interface display direction is replaced in application packet, for different alternatives, this step there may also be
Two different realization methods.
First way:If mobile terminal is applied in the display direction for getting the application interface of the first application and second
After interface display direction specified in packet, the display direction directly with the application interface of the first application is aobvious to the interface
Show that direction is replaced, then after replacement, the application that replaced second apply can be wrapped specified boundary by mobile terminal
Face display direction is compared with interface display direction specified in the second application packet when not replacing, if the two is identical,
The application interface of specified interface display direction and the first application is aobvious in the application packet of the second application when illustrating not replace
Show that direction is just consistent, that is, the application interface of the second application inherently supports the display side of the application interface of the first application
To at this point, mobile terminal can directly come according to interface display direction specified in the application packet of replaced second application
Show the application interface of second application.
Certainly, specified in the application packet of the second application when illustrating not replace if by comparing the latter two differences
The display direction of the application interface of interface display direction and the first application is inconsistent, that is, the second application is not propped up inherently
Hold the display direction of the application interface of the first application.In this case, due at this time will second application application packet in
The display direction of the application interface for the first application is replaced in specified interface display direction, and therefore, second applies and carrying out
Application interface will be shown when showing according to replaced interface display direction, and the application interface of the second application itself is simultaneously
Replaced interface display direction is not supported, therefore, if the application interface directly by the second application is shown, will lead to second
The display of the application interface of application is abnormal.In order to solve this problem, mobile terminal can be to the application interface of second application
Width and height be adjusted, then show this according still further to the width and height of the application interface of the second application after adjustment
The application interface of second application, so that the display of the application interface of second application can more rationally.
Specifically, when the application interface to the second application is adjusted, mobile terminal can be obtained according to replaced
The width of the application interface of the second application when specified interface display direction is shown in the application packet of second application and
Highly;The width and height of the application interface of second application are adjusted, and based on the application of the second application after adjustment
The width and height at interface, the application interface by the second application include on the upper layer of the application interface of the first application.
It should be noted that the width and height of the application interface of the second application determine the application interface in the first application
Upper layer show this second application application interface when shared region size.Also, the application interface of second application is made
The value of width and height when being shown for picture-in-picture can be preset two values, but which is width to the two values
Which is height, then can be determined according to interface display direction specified in the application packet of replaced second application.Example
Such as, if (application interface of the i.e. first application is shown for interface display direction specified in the application packet of replaced second application
Show direction) it is transverse screen, then, the width of the application interface of second application will be greater than height, at this point, larger in the two values
Value is then width, and smaller value is then height.If specified interface display side in the application packet of replaced second application
It is vertical screen to (display direction of the application interface of the i.e. first application), then, the width of the application interface of second application will be small
In height, at this point, value smaller in the two values is then width, and larger value is then height.Based on this, mobile terminal can be with
Obtain the second application when interface display direction specified in the application packet according to replaced second application is shown
The width and height of application interface.
After getting the width of application interface of the second application and height, due to the application of replaced second application
Specified interface display direction is not the interface display direction that second application is supported itself in packet, therefore, mobile whole
End can to this second application application interface be adjusted, and based on after adjustment second application application interface width and
Highly, include on the upper layer of the application interface of the first application by the application interface of the second application.
Wherein, mobile terminal can be using the width of the application interface of the second application as the application of the second application after adjustment
The height at interface, using the height of the application interface of the second application as the width of the application interface of the second application after adjustment;Base
The application interface of second application is included in the first application by the width and height of the application interface of the second application after adjustment
The upper layer of application interface.
It should be noted that since interface display direction specified in the application packet of replaced second application is not
The interface display direction that second application is supported itself, it is therefore, specified in the application packet according to replaced second application
Second application of interface display direction when being shown application interface width and height with according to this second using itself
The width and height of the application interface of the second application when the interface display direction supported is shown just are different.Example
Such as, it is assumed that specified interface display direction is transverse screen in the application packet of replaced second application, and this second applies itself
The interface display direction supported be vertical screen, then, according to transverse screen display this second in application, second application application interface in
Width is more than height, and in fact, when being shown using supported vertical screen according to second, the application interface of the second application
Width should be less than height, and therefore, the second application can be applied boundary by mobile terminal when adjusting the application interface of the second application
The width and height in face are exchanged.Later, the width for the application interface that mobile terminal can be applied according to second after adjustment
The application interface of the second drawn application is included first to draw the application interface of the second application by the ratio with height
The upper layer of the application interface of application.
It is worth noting that, above-mentioned is only that a kind of be optionally laid out to picture-in-picture that the embodiment of the present invention proposes is adjusted
Method, in practical applications, mobile terminal can also according to first application application interface width and height between ratio
Example, calculates the width and height of the application interface of the second application, and the embodiment of the present invention is no longer repeated herein.
The second way:If mobile terminal is applied in the display direction for getting the application interface of the first application and second
It is display direction and the boundary of the application interface by judging the first application after interface display direction specified in packet
Face display direction determines whether to be replaced the interface display direction, then, due to replacing it is answering in the first application
It is just carried out in the case of different with the interface display direction with the display direction at interface, hence, it can be determined that replaced boundary
Face display direction is necessarily different with the interface display direction before replacing, that is, the second application itself is not supported after replacing
Interface display direction.On this basis, just without judging replaced interface display direction again in this kind of realization method
It is whether identical with the interface display direction before replacement, but can directly be answered second according to replaced interface display direction
The width and height of application interface are adjusted, to according to the width and height of the application interface of the second application after adjustment
The application interface of second application is included on the upper layer of the application interface of the first application by degree.
Wherein, mobile terminal pair second apply application interface width and height be adjusted, and according to adjustment after
The width and height of the application interface of second application, the application interface by the second application include the application interface in the first application
The specific implementation on upper layer can refer to the related introduction in first way, and details are not described herein for the embodiment of the present invention.
In embodiments of the present invention, when application to be launched is need to show using picture-in-picture mode as foreground application the
Two in application, obtain the display direction of the application interface for the first application being currently displaying, in the application packet that second is applied
Specified interface display direction replaces with the display direction of the application interface of the first application, based on replaced second application
Using interface display direction specified in packet, the application interface by the second application includes on the application interface of the first application
Layer.It follows that in embodiments of the present invention, starting the second application for needing to show using picture-in-picture mode as foreground application
When, the display direction of the application interface of the second specified application in the second application packet applied can be replaced with currently just
Display first application application interface display direction, although in this way, start after second application be foreground application,
The display direction of the application interface of first application will not change with the display direction of the application interface of the second application,
That is, during showing the application interface of the second application with picture-in-picture mode, it ensure that the second application as foreground application
While capable of being edited by and operate so that the display direction of the application interface of the first application as user focus can be with
It remains unchanged, is more bonded user demand.
The following embodiment of the present invention will carry out above-described embodiment by following example simple in conjunction with attached drawing 2B-2D
It is schematically illustrate.
Assuming that the display direction of the application interface of the first application is transverse screen, specified interface in the application packet of the second application
Display direction is vertical screen, that is, vertical screen display is only supported in the second application.According to display rule in the related technology by this second
The application interface of application is shown in picture-in-picture mode in the application interface of the first application, since second application is answered for foreground
With, therefore, the display direction of the application interface of the first application can change with the interface display direction of the second application, that is,
As shown in Figure 2 B, the application interface of the first application can be converted to vertical screen display, and the application interface of the second application also will be with perpendicular
Screen is shown in the upper layer of the application interface of the first application.
However, being shown according to method provided in an embodiment of the present invention, when signified in the application packet by the second application
After the display direction for the application interface that fixed interface display direction replaces with the first application, the application interface of the first application will be protected
Hold that transverse screen display is constant, also, in the case where not adjusting the width of application interface of the second application and height, second application
To include on the upper layer of the application interface of the first application according to the appearance of transverse screen as shown in FIG. 2 C.
Further, by the interface display direction before not replacing it is found that second application only support vertical screen display, do not support
Transverse screen display, if in this way, when being shown shown in Fig. 2 C, the application interface of the second application is not adapted to, and is unsuitable for user
Operation and it is possible that abnormal, therefore, mobile terminal can carry out the width of the application interface of the second application and height pair
It adjusts, the application interface of the second application is then drawn according to the wide high proportion after exchanging, to show the application interface of the second application
Show on the upper layer of the application interface of the first application, as shown in Figure 2 D.At this point, although the second application is foreground application, first applies
For background application, but the display direction of the application interface of the first application is not with specified in the application packet of the second application
Interface display direction changes, also, the layout of the application interface by adjusting the second application, the application interface of the second application
It can be preferably adapted to the display direction of the application interface of the first application, greatly improve user experience, be bonded user
Demand.
Next the application interface display device under picture-in-picture mode provided in an embodiment of the present invention is introduced.
Fig. 3 A are a kind of block diagrams of application interface display device 300 provided in an embodiment of the present invention, referring to Fig. 3 A, the device
300 include:
First acquisition module 301, for needing to answer using picture-in-picture mode as foreground when detecting application to be launched
With the second of display in application, obtaining the display direction of the application interface for the first application being currently displaying;
Replacement module 302 replaces with first for interface display direction specified in the application packet by the second application and answers
The display direction of application interface;
Display module 303 will for interface display direction specified in the application packet based on replaced second application
The application interface of second application is shown in the upper layer of the application interface of the first application.
Optionally, which further includes:
Whether the first judgment module includes the first label in the application interface packet for judging application to be launched,
First label is used to indicate application to be launched and is shown using picture-in-picture mode as foreground application;
Determining module, if the application interface packet for application to be launched includes the first label, it is determined that wait opening
Dynamic application is the second application for needing to show using picture-in-picture mode as foreground application.
Optionally, referring to Fig. 3 B, which further includes:
Second acquisition module 304, the interface display direction specified in wrapping of the application for obtaining the second application;
Second judgment module 305, for judging that the display direction of application interface in interface display direction and the first application is
It is no identical;
If trigger module 306 touches different from the display direction of application interface of the first application for interface display direction
Interface display direction specified in the application packet of second application is replaced with the application interface of the first application by hair replacement module
Display direction.
Optionally, referring to Fig. 3 C, display module 303 includes:
Acquisition submodule 3031, for obtaining interface display specified in the application packet according to replaced second application
The width and height of the application interface of the second application when direction is shown;
Submodule 3032 is adjusted, the width and height for the application interface to the second application are adjusted, and are based on adjusting
The width and height of the application interface of the second application after whole, the application interface by the second application include the application in the first application
The upper layer at interface.
Optionally, adjustment submodule 3032 is specifically used for:
Using the width of the application interface of the second application as the height of the application interface of the second application after adjustment, by second
Width of the height of the application interface of application as the application interface of the second application after adjustment;
Based on after adjustment second application application interface width and height by second application application interface include
The upper layer of the application interface of first application.
In embodiments of the present invention, aobvious using picture-in-picture mode as foreground application to need when detecting application to be launched
Second shown is in application, obtain the display direction of the application interface for the first application being currently displaying, by answering for the second application
The display direction of the application interface of the first application is replaced with interface display direction specified in packet, is based on replaced second
Specified interface display direction in the application packet of application, the application interface by the second application include applying boundary in the first application
Face upper layer.It follows that in embodiments of the present invention, starting the second application shown using picture-in-picture mode as foreground application
When, the display direction of the application interface of the second specified application in the second application packet applied can be replaced with currently just
Display first application application interface display direction, although in this way, start after second application be foreground application,
The display direction of the application interface of first application will not change with the display direction of the application interface of the second application,
That is, during showing the application interface of the second application with picture-in-picture mode, it ensure that the second application as foreground application
While capable of being edited by and operate so that the display direction of the application interface of the first application as user focus can be with
It remains unchanged, is more bonded user demand.
It should be noted that:Application interface display device under the picture-in-picture mode that above-described embodiment provides is being applied
When interface display, only the example of the division of the above functional modules, in practical application, can as needed and will be upper
It states function distribution to be completed by different function modules, i.e., the internal structure of equipment is divided into different function modules, to complete
All or part of function described above.In addition, the application interface display dress under the picture-in-picture mode that above-described embodiment provides
It sets and belongs to same design with the application interface display methods embodiment under picture-in-picture mode, specific implementation process refers to method reality
Example is applied, which is not described herein again.
Fig. 4 shows the structure diagram for the mobile terminal 400 that an illustrative embodiment of the invention provides.Wherein, the shifting
Moving terminal 400 can be:Industrial computer, industrial personal computer, laptop, desktop computer, smart mobile phone or tablet computer etc..It is mobile
Terminal 400 is also possible to be referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, mobile terminal 400 includes:Processor 401 and memory 402.
Processor 401 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 401
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 401 can also include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.
In some embodiments, processor 401 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 401 can also wrap
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning
Calculating operation.
Memory 402 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 402 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 402 can
Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 401
Please in embodiment of the method provide picture-in-picture mode under application interface display methods.
In some embodiments, mobile terminal 400 is also optional includes:Peripheral device interface 403 and at least one periphery
Equipment.It can be connected by bus or signal wire between processor 401, memory 402 and peripheral device interface 403.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 403.Specifically, peripheral equipment includes:It penetrates
At least one in frequency circuit 404, touch display screen 405, camera 406, voicefrequency circuit 407, positioning component 408 and power supply 409
Kind.
Peripheral device interface 403 can be used for I/O (Input/Output, input/output) is relevant at least one outer
Peripheral equipment is connected to processor 401 and memory 402.In some embodiments, processor 401, memory 402 and peripheral equipment
Interface 403 is integrated on same chip or circuit board;In some other embodiments, processor 401, memory 402 and outer
Any one or two in peripheral equipment interface 403 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 404 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 404 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 404 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 404 wraps
It includes:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 404 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G,
4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, it penetrates
Frequency circuit 404 can also include the related circuits of NFC (Near Field Communication, wireless near field communication), this
Application is not limited this.
Display screen 405 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their arbitrary combination.When display screen 405 is touch display screen, display screen 405 also there is acquisition to show
The ability of the surface of screen 405 or the touch signal of surface.The touch signal can be used as control signal to be input to processor
401 are handled.At this point, display screen 405 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 405 can be one, and the front panel of mobile terminal 400 is arranged;In other realities
It applies in example, display screen 405 can be at least two, be separately positioned on the different surfaces of mobile terminal 400 or in foldover design;
In still other embodiments, display screen 405 can be flexible display screen, be arranged on the curved surface of mobile terminal 400 or fold
On face.Even, display screen 405 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 405 can be adopted
With LCD (Liquid Crystal Display, liquid crystal display), (Organic Light-Emitting Diode, have OLED
Machine light emitting diode) etc. materials prepare.
CCD camera assembly 406 is for acquiring image or video.Optionally, CCD camera assembly 406 include front camera and
Rear camera.In general, the front panel in terminal is arranged in front camera, rear camera is arranged at the back side of terminal.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 406 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, be can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 407 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 401, to be handled, or is input to radio circuit 404 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of mobile terminal 400.
Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 401 or radio frequency will to be come from
The electric signal of circuit 404 is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be that piezoelectric ceramics is raised one's voice
Device.When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action
Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 407 can be with
Including earphone jack.
Positioning component 408 is used to position the current geographic position of mobile terminal 400, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 408 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or European Union Galileo system positioning component.
Power supply 409 is used to be powered for the various components in mobile terminal 400.Power supply 409 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 409 includes rechargeable battery, which can have micro USB
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, mobile terminal 400 further include there are one or multiple sensors 410.The one or more passes
Sensor 410 includes but not limited to:Acceleration transducer 411, gyro sensor 412, pressure sensor 413, fingerprint sensor
414, optical sensor 415 and proximity sensor 416.
Acceleration transducer 411 can detect the acceleration in three reference axis of the coordinate system established with mobile terminal 400
Spend size.For example, acceleration transducer 411 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 401 acceleration of gravity signals that can be acquired according to acceleration transducer 411, control touch display screen 405 with transverse views or
Longitudinal view carries out the display of user interface.Acceleration transducer 411 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 412 can detect body direction and the rotational angle of mobile terminal 400, gyro sensor
412 can cooperate with acquisition user to act the 3D of mobile terminal 400 with acceleration transducer 411.Processor 401 is according to gyroscope
The data that sensor 412 acquires, may be implemented following function:Action induction (for example changed according to the tilt operation of user
Image stabilization, game control when UI), shooting and inertial navigation.
The lower layer of side frame and/or touch display screen 405 in mobile terminal 400 can be arranged in pressure sensor 413.When
The gripping signal that user can be detected in the side frame of mobile terminal 400 to mobile terminal 400 is arranged in pressure sensor 413,
Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 413 acquires by processor 401.Work as pressure sensing
Device 413 is arranged in the lower layer of touch display screen 405, is grasped to the pressure of touch display screen 405 according to user by processor 401
Make, realization controls the operability control on the interfaces UI.Operability control include button control, scroll bar control,
At least one of icon control, menu control.
Fingerprint sensor 414 is used to acquire the fingerprint of user, collected according to fingerprint sensor 414 by processor 401
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 414 according to the identity of collected fingerprint recognition user.It is identifying
When the identity for going out user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 401
Include solution lock screen, check encryption information, download software, payment and change setting etc..Movement can be set in fingerprint sensor 414
Front, the back side or the side of terminal 400.When being provided with physical button or manufacturer Logo on mobile terminal 400, fingerprint sensor
414 can integrate with physical button or manufacturer Logo.
Optical sensor 415 is for acquiring ambient light intensity.In one embodiment, processor 401 can be according to optics
The ambient light intensity that sensor 415 acquires controls the display brightness of touch display screen 405.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 405 is turned up;When ambient light intensity is relatively low, the display for turning down touch display screen 405 is bright
Degree.In another embodiment, the ambient light intensity that processor 401 can also be acquired according to optical sensor 415, dynamic adjust
The acquisition parameters of CCD camera assembly 406.
Proximity sensor 416, also referred to as range sensor are generally arranged at the front panel of mobile terminal 400.Proximity sensor
416 the distance between the front for acquiring user and mobile terminal 400.In one embodiment, when proximity sensor 416 is examined
When measuring the distance between the front of user and mobile terminal 400 and tapering into, touch display screen 405 is controlled by processor 401
It is switched to breath screen state from bright screen state;When proximity sensor 416 detect between user and the front of mobile terminal 400 away from
When from becoming larger, touch display screen 405 being controlled by processor 401 and is switched to bright screen state from breath screen state.
It that is to say, the embodiment of the present invention provides not only a kind of application interface display device, which can be applied to
State in mobile terminal 400, including processor and the memory for storing processor-executable instruction, wherein processor by with
The application interface display methods being set under the picture-in-picture mode for executing and being provided in previous embodiment, moreover, the embodiment of the present invention is also
A kind of computer readable storage medium is provided, computer program is stored in the storage medium, which is handled
The application interface display methods under the picture-in-picture mode in previous embodiment may be implemented in device when executing.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (10)
1. the application interface display methods under a kind of picture-in-picture mode, which is characterized in that the method includes:
When detect application to be launched be need shown using picture-in-picture mode as foreground application second in application, acquisition work as
The display direction of the application interface of preceding the first application shown;
Specified interface display direction replaces with the application interface of first application during the application that described second applies is wrapped
Display direction;
Specified interface display direction in application packet based on replaced second application, by described second apply answer
With interface display on the upper layer of the application interface of first application.
2. according to the method described in claim 1, it is characterized in that, described in detecting application to be launched to need to draw
Picture pattern as foreground application show second in application, obtain be currently displaying first application application interface display
Before direction, further include:
Judge in the application interface packet of the application to be launched whether to include the first label, first label is for referring to
Show that the application to be launched is shown using picture-in-picture mode as foreground application;
If the application interface packet of the application to be launched includes first label, it is determined that described to be launched answers
It uses to need the shown using picture-in-picture mode as foreground application second application.
3. according to the method described in claim 1, it is characterized in that, specified in the application packet that described second is applied
Before interface display direction replaces with the display direction of the application interface of first application, further include:
Obtain interface display direction specified in the application packet of second application;
Judge whether the interface display direction is identical as the display direction of the application interface of first application;
If the interface display direction is different from the display direction of application interface of the first application, execute described second
Specified interface display direction replaces with the step of the display direction of the application interface of first application in the application packet of application
Suddenly.
4. according to any methods of claim 1-3, which is characterized in that described based on replaced second application
Include the application in first application by the application interface that described second applies using interface display direction specified in packet
The upper layer at interface, including:
Obtain the when interface display direction specified in the application packet according to replaced second application is shown
The width and height of the application interface of two applications;
The width and height of the application interface of second application are adjusted, and based on the application of the second application after adjustment
The application interface that described second applies is included on the upper layer of the application interface of first application by the width and height at interface.
5. according to the method described in claim 4, it is characterized in that, it is described to it is described second application application interface width and
Height be adjusted, and based on after adjustment second application application interface width and height, by described second apply answer
With interface display on the upper layer of the application interface of first application, including:
The width for the application interface that described second is applied, will be described as the height of the application interface of the second application after adjustment
Width of the height of the application interface of second application as the application interface of the second application after adjustment;
The width and height of application interface based on the second application after the adjustment show the application interface that described second applies
Show on the upper layer of the application interface of first application.
6. the application interface display device under a kind of picture-in-picture mode, which is characterized in that described device includes:
First acquisition module detects that application to be launched is to need to show using picture-in-picture mode as foreground application for working as
Second in application, obtain the display direction of the application interface for the first application being currently displaying;
Replacement module replaces with described first for interface display direction specified in wrapping the application that described second applies and answers
The display direction of application interface;
Display module, for interface display direction specified in the application packet based on replaced second application, by institute
The application interface for stating the second application is shown in the upper layer for the application interface that described first applies.
7. device according to claim 6, which is characterized in that described device further includes:
Whether the first judgment module includes the first label in the application interface packet for judging the application to be launched,
First label is used to indicate the application to be launched and is shown using picture-in-picture mode as foreground application;
Determining module, if the application interface packet for the application to be launched includes first label, it is determined that
The application to be launched is the second application for needing to show using picture-in-picture mode as foreground application.
8. device according to claim 6, which is characterized in that described device further includes:
Second acquisition module, the interface display direction specified in wrapping of the application for obtaining second application;
Second judgment module, for judging that the display direction of application interface in the interface display direction and first application is
It is no identical;
Trigger module, if different from the display direction of application interface of the first application for the interface display direction,
Interface display direction specified by triggering during the replacement module wraps the application that described second applies replaces with described first and answers
The display direction of application interface.
9. according to any devices of claim 6-8, which is characterized in that the display module includes:
Acquisition submodule, for obtaining interface display direction specified in the application packet according to replaced second application
The width and height of the application interface of the second application when being shown;
Adjustment submodule, width and height for the application interface to second application are adjusted, and are based on after adjusting
Second application application interface width and height, by the application interface that described second applies include it is described first application
The upper layer of application interface.
10. device according to claim 9, which is characterized in that the adjustment submodule is specifically used for:
The width for the application interface that described second is applied, will be described as the height of the application interface of the second application after adjustment
Width of the height of the application interface of second application as the application interface of the second application after adjustment;
Based on after adjustment second application application interface width and height by the application interface that described second applies include
The upper layer of the application interface of first application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810290762.8A CN108664300B (en) | 2018-04-03 | 2018-04-03 | Application interface display method and device in picture-in-picture mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810290762.8A CN108664300B (en) | 2018-04-03 | 2018-04-03 | Application interface display method and device in picture-in-picture mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108664300A true CN108664300A (en) | 2018-10-16 |
CN108664300B CN108664300B (en) | 2021-06-25 |
Family
ID=63782991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810290762.8A Active CN108664300B (en) | 2018-04-03 | 2018-04-03 | Application interface display method and device in picture-in-picture mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664300B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290269A (en) * | 2019-06-26 | 2019-09-27 | 努比亚技术有限公司 | Display control method, mobile terminal and computer readable storage medium |
CN110659010A (en) * | 2019-09-20 | 2020-01-07 | 青岛海信移动通信技术股份有限公司 | Picture-in-picture display method and display equipment |
CN111258699A (en) * | 2020-01-21 | 2020-06-09 | 青岛海信移动通信技术股份有限公司 | Page display method and communication terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578435A (en) * | 2003-07-18 | 2005-02-09 | Lg电子株式会社 | Video display appliance having function of varying screen ratio and control method thereof |
US20120301112A1 (en) * | 2011-05-26 | 2012-11-29 | Ron Wallace | Synchronous data tracks in a media editing system |
CN105094762A (en) * | 2014-04-30 | 2015-11-25 | 联发科技(新加坡)私人有限公司 | Communication device and multi-window display method |
CN105955647A (en) * | 2016-04-29 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device used for interface regulation |
CN106325717A (en) * | 2015-06-30 | 2017-01-11 | 天津三星电子有限公司 | Operation control method and operation control system of mobile terminal |
CN106909376A (en) * | 2017-02-17 | 2017-06-30 | 北京小米移动软件有限公司 | Informing methods of exhibiting and device |
CN107613117A (en) * | 2017-09-08 | 2018-01-19 | 维沃移动通信有限公司 | A kind of interface display method and mobile terminal based on multitask |
-
2018
- 2018-04-03 CN CN201810290762.8A patent/CN108664300B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578435A (en) * | 2003-07-18 | 2005-02-09 | Lg电子株式会社 | Video display appliance having function of varying screen ratio and control method thereof |
US20120301112A1 (en) * | 2011-05-26 | 2012-11-29 | Ron Wallace | Synchronous data tracks in a media editing system |
CN105094762A (en) * | 2014-04-30 | 2015-11-25 | 联发科技(新加坡)私人有限公司 | Communication device and multi-window display method |
CN106325717A (en) * | 2015-06-30 | 2017-01-11 | 天津三星电子有限公司 | Operation control method and operation control system of mobile terminal |
CN105955647A (en) * | 2016-04-29 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device used for interface regulation |
CN106909376A (en) * | 2017-02-17 | 2017-06-30 | 北京小米移动软件有限公司 | Informing methods of exhibiting and device |
CN107613117A (en) * | 2017-09-08 | 2018-01-19 | 维沃移动通信有限公司 | A kind of interface display method and mobile terminal based on multitask |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290269A (en) * | 2019-06-26 | 2019-09-27 | 努比亚技术有限公司 | Display control method, mobile terminal and computer readable storage medium |
CN110659010A (en) * | 2019-09-20 | 2020-01-07 | 青岛海信移动通信技术股份有限公司 | Picture-in-picture display method and display equipment |
CN111258699A (en) * | 2020-01-21 | 2020-06-09 | 青岛海信移动通信技术股份有限公司 | Page display method and communication terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108664300B (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102635373B1 (en) | Image processing methods and devices, terminals and computer-readable storage media | |
KR102336368B1 (en) | Method and apparatus for playing audio data | |
CN108595239A (en) | image processing method, device, terminal and computer readable storage medium | |
CN110308956A (en) | A kind of application interface display methods, device and mobile terminal | |
CN110502308A (en) | Style sheet switching method, device, computer equipment and storage medium | |
CN108449641A (en) | Play method, apparatus, computer equipment and the storage medium of Media Stream | |
CN108391171A (en) | Control method and device, the terminal of video playing | |
WO2022134632A1 (en) | Work processing method and apparatus | |
CN110121094A (en) | Video is in step with display methods, device, equipment and the storage medium of template | |
CN108563377A (en) | The method and apparatus that switching shows the page | |
CN109948581B (en) | Image-text rendering method, device, equipment and readable storage medium | |
CN110046018A (en) | Show method, apparatus, electronic equipment and the medium of message | |
CN108829488A (en) | Generate Web can interaction page method, apparatus and storage medium | |
CN111142838A (en) | Audio playing method and device, computer equipment and storage medium | |
CN110515688A (en) | Page display method, device, terminal and storage medium | |
CN110225390A (en) | Method, apparatus, terminal and the computer readable storage medium of video preview | |
CN110362366A (en) | A kind of application interface display methods and device | |
CN110288689A (en) | The method and apparatus that electronic map is rendered | |
CN108664300A (en) | A kind of application interface display methods under picture-in-picture mode and device | |
CN108717365A (en) | The method and apparatus for executing function in the application | |
CN108172176B (en) | Page refreshing method and device for ink screen | |
CN108734662A (en) | The method and apparatus for showing icon | |
CN112230910B (en) | Page generation method, device and equipment of embedded program and storage medium | |
CN110297684A (en) | Theme display methods, device and storage medium based on virtual portrait | |
CN110992268B (en) | Background setting method, device, terminal and storage medium |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |