CN106527656A - Display method, device and terminal equipment - Google Patents

Display method, device and terminal equipment Download PDF

Info

Publication number
CN106527656A
CN106527656A CN201610911944.3A CN201610911944A CN106527656A CN 106527656 A CN106527656 A CN 106527656A CN 201610911944 A CN201610911944 A CN 201610911944A CN 106527656 A CN106527656 A CN 106527656A
Authority
CN
China
Prior art keywords
window
application widget
logic
matrix
display device
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
Application number
CN201610911944.3A
Other languages
Chinese (zh)
Other versions
CN106527656B (en
Inventor
陈诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610911944.3A priority Critical patent/CN106527656B/en
Publication of CN106527656A publication Critical patent/CN106527656A/en
Application granted granted Critical
Publication of CN106527656B publication Critical patent/CN106527656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Abstract

The invention discloses a display method, a device and terminal equipment. The method comprises the steps that a logic window is established after a switching instruction of a single-hand operation mode is received, and a corresponding screen display area is designated for the logic winder; a mapping relation between each application window and the logic window is determined; according to a preset image synthesis strategic as well as the mapping relations between each application window and the logic window, an image of each application window can be synthesized and mapped to the logic window; and an image in the logic window can be displayed in a screen display area. Through application of the method, device and terminal equipment disclosed by the invention, the application window and the display area can be shrunk on the premise that the preset image synthesis strategy adopted by the equipment is not influenced, so a user can make the single-hand operation easily, and the user's experience can be improved.

Description

Display methods, device and terminal device
Technical field
The present invention relates to terminal device display technology field, sets more particularly, to a kind of display methods, device and terminal It is standby.
Background technology
With terminal devices such as the development and the progress of science and technology of society, smart mobile phone, panel computer and electronic readers Jing is widely available.
What existing terminal device was typically displayed in full screen;Window of system desktop or application etc. is displayed in full screen for example. But as the screen size of terminal device is increasing, for example, 6 inches or more are reached, cause list of the user to terminal device Hand operation is more and more difficult.
A kind of existing display methods, is calculated by GPU (Graphics Processing Unit, GPU) Go out in application widget all contents to be shown and for the correlating transforms matrix reduced required for application widget, then should With content to be shown in window, reduced according to the transformation matrix for calculating and be plotted in frame buffer zone, for showing.
Existing another kind of display methods, is to calculate the correlating transforms matrix required for reducing application widget by GPU;Root According to the transformation matrix for calculating, application widget is narrowed down to into a buffering area, then the content to be shown of application widget is drawn To after the buffering area for showing.
However, in existing two kinds of display methods, being required for calling GPU execution to calculate correlation for downscaled images by force Transformation matrix, directly destroys the preset image synthesis strategy of this terminal device;And more GPU resource is taken, affect GPU For the performance that other application or service are provided;As the power consumption of GPU is larger, the overall power of terminal device is increased, easily dropped The cruising time of low terminal device.
The content of the invention
In view of the above problems, the present invention proposes a kind of display methods, device and terminal device, not affect this equipment Using preset image synthesis strategy in the case of, reduce application widget and viewing area, be easy to user's one-handed performance.
In a first aspect, a kind of display methods in the embodiment of the present invention, is provided, including:
After receiving the switching command of one-hand operating format, window logic is created, is that window logic specifies corresponding screen Viewing area;
Determine the mapping relations between each application widget and window logic;
According to preset image synthesis strategy and the mapping relations between each application widget and window logic, will be each The image synthesis of application widget is mapped to window logic;
The image in window logic is shown in on-screen display (osd) area.
With reference in a first aspect, the present invention receives cutting for one-hand operating format in the first implementation of first aspect After changing instruction, window logic is created, including:
Receive into after the instruction at one-hand operating format interface, show one-hand operating format interface;
After the switching command that one-hand operating format interface is received for one-hand operating format, outward appearance throwing arm is called SurfaceFlinger creates window logic.
With reference in a first aspect, the present invention in second implementation of first aspect after window logic is created, also Including:
Receive for window logic scaling and/or move after, window logic is zoomed in and out and/or mobile, And corresponding on-screen display (osd) area is reassigned for the window logic after scaling and/or being mobile.
With reference in a first aspect, the present invention determines each application widget and logic in the third implementation of first aspect Mapping relations between window, including:
According to default window transform between the resolution ratio of each application widget and the application widget and logic display device Matrix, determines that the application widget maps to the resolution ratio of logic display device;
According to the application widget map to logic display device resolution ratio and logic display device and main display device it Between default display device transformation matrix, determine that the application widget maps to the resolution ratio of main display device;
The resolution ratio of main display device and the resolution ratio of window logic is mapped to according to the application widget, determines that this should The transformation matrix after main display device between window logic is mapped to window, conversion is reduced as the window of the application widget Matrix.
With reference to the third implementation of first aspect, in the 4th kind of implementation of first aspect, according to this equipment Using image synthesis strategy and the mapping relations between each window and window logic, the image of each application widget is closed Into being mapped to window logic, including:
According to image synthesis strategy, and the window transform matrix of each application widget, display device transformation matrix and should The window of application widget reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to logic window The pixel-matrix of mouth.
With reference to the 4th kind of implementation of first aspect, in the 5th kind of implementation of first aspect, closed according to image Into strategy, and the window of the window transform matrix, display device transformation matrix and the application widget of each application widget reduces The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by transformation matrix, including:
When preset image synthesis strategy be GPU GPU synthesis it is tactful when, call the GPU of this equipment, by GPU reduces according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget and converts The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by matrix.
With reference to the 4th kind of implementation of first aspect, in the 6th kind of implementation of first aspect, closed according to image Into strategy, and the window of the window transform matrix, display device transformation matrix and the application widget of each application widget reduces The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by transformation matrix, including:
When preset image synthesis strategy be mobile display process MDP synthesis it is tactful when, call the MDP units of this equipment And the parameter that the window of each application widget reduces transformation matrix is transferred to into MDP units, by MDP units according to each application widget Window transform matrix, display device transformation matrix and the application widget window reduce transformation matrix, will be each application widget each The pixel-matrix synthesis of self-contained image is mapped to the pixel-matrix of window logic.
With reference to the 4th kind of implementation of first aspect, in the 7th kind of implementation of first aspect, closed according to image Into strategy, and the window of the window transform matrix, display device transformation matrix and the application widget of each application widget reduces The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by transformation matrix, including:
For each application widget, by pixel-matrix of the application widget comprising image, successively according to the application widget After the window diminution transformation matrix of window transform matrix, display device transformation matrix and the application widget enters line translation, it is mapped to In the pixel-matrix of window logic;
According to each application widget position to be shown, size and lamination order, the pixel for being mapped to window logic is determined The viewing area of the pixel-matrix of each application widget in dot matrix;
The viewing area of each application widget is synthesized so that picture of the viewing area after synthesis without departing from window logic The scope of vegetarian refreshments battle array.
With reference to any one implementation in first to the 7th kind of implementation of first aspect or first aspect, first In 8th kind of implementation of aspect, the specifically following any one of image synthesis strategy:
The image synthesis strategy of chip provider formulation, the image synthesis strategy of service side's formulation, the image of user's customization Synthesis strategy.
With reference to any one implementation in first to the 7th kind of implementation of first aspect or first aspect, first In 9th kind of implementation of aspect, on-screen display (osd) area includes one of following regions:
Viewing area comprising the screen lower left corner;
Viewing area comprising the screen lower right corner;
Viewing area comprising the screen upper left corner;
Viewing area comprising the screen upper right corner;
Viewing area comprising screen left side stage casing;
Viewing area comprising screen right edge stage casing;
The viewing area that user specifies.
With reference to any one implementation in first to the 7th kind of implementation of first aspect or first aspect, first In tenth kind of implementation of aspect, to the viewing area outside the corresponding on-screen display (osd) area of window logic, stop showing.
Second aspect, embodiments provides a kind of display device, and the display device has realizes above-mentioned first party The function of display methods behavior in face.The function can be realized by hardware, it is also possible to perform corresponding software by hardware Realize.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a possible design, the structure of display device includes:
Window logic creation module, for receiving after the switching command of one-hand operating format, creates window logic, for patrolling Collect window and specify corresponding on-screen display (osd) area;
Window mapping relations determining module, for determining the mapping relations between each application widget and window logic;
Image synthesizes mapping block, for according to preset image synthesis strategy and each application widget and logic window The image synthesis of each application widget is mapped to window logic by the mapping relations between mouthful;
Display module, for showing to the image in window logic in on-screen display (osd) area.
With reference to second aspect, in the first implementation of second aspect, window logic creation module is specifically for connecing Receive into after the instruction at one-hand operating format interface, show one-hand operating format interface;Connect by one-hand operating format interface After being received for the switching command of one-hand operating format, outward appearance throwing arm SurfaceFlinger is called to create window logic.
With reference to second aspect, in second implementation of second aspect, window logic creation module is additionally operable in wound After building window logic, receive for window logic scaling and/or move after, window logic is zoomed in and out and/ Or mobile, and corresponding on-screen display (osd) area is reassigned for the window logic after scaling and/or being mobile.
With reference to second aspect, in the third implementation of second aspect, window mapping relations determining module is used for root According to each application widget resolution ratio and the application widget and logic display device between default window transform matrix, it is determined that Go out the resolution ratio that the application widget maps to logic display device;The resolution of logic display device is mapped to according to the application widget Default display device transformation matrix between rate and logic display device and main display device, determines that the application widget maps To the resolution ratio of main display device;The resolution ratio of main display device and the resolution of window logic is mapped to according to the application widget Rate, determines that the application widget maps to the transformation matrix after main display device between window logic, as the application widget Window reduce transformation matrix.
With reference to the third implementation of second aspect, in the 4th kind of implementation of second aspect, image synthesis is reflected Module is penetrated for according to image synthesis strategy, and the window transform matrix of each application widget, display device transformation matrix and The window of the application widget reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to logic The pixel-matrix of window.
With reference to the 4th kind of implementation of second aspect, in the 5th kind of implementation of second aspect, image synthesis is reflected Penetrate module for when preset image synthesis strategy be GPU GPU synthesis it is tactful when, call the GPU of this equipment, Reduced according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget by GPU and become Matrix is changed, the pixel-matrix synthesis of each application widget each self-contained image is mapped to into the pixel-matrix of window logic.
With reference to the 4th kind of implementation of second aspect, in the 6th kind of implementation of second aspect, image synthesis is reflected Penetrate module for when preset image synthesis strategy be mobile display process MDP synthesis it is tactful when, call the MDP of this equipment mono- The parameter that the window of each application widget reduces transformation matrix is simultaneously transferred to MDP units by unit, by MDP units according to each application window The window of the window transform matrix, display device transformation matrix and the application widget of mouth reduces transformation matrix, by each application widget The pixel-matrix synthesis of each self-contained image is mapped to the pixel-matrix of window logic.
With reference to the 4th kind of implementation of second aspect, in the 7th kind of implementation of second aspect, image synthesis is reflected Module is penetrated for for each application widget, by pixel-matrix of the application widget comprising image, successively according to the application widget The window of window transform matrix, display device transformation matrix and the application widget reduce after transformation matrix enters line translation, mapping To in the pixel-matrix of window logic;According to each application widget position to be shown, size and lamination order, determine and be mapped to The viewing area of the pixel-matrix of each application widget in the pixel-matrix of window logic;The viewing area of each application widget is entered Row synthesis so that scope of the viewing area after synthesis without departing from the pixel-matrix of window logic.
With reference to any one implementation in first to the 7th kind of implementation of second aspect or second aspect, second In 8th kind of implementation of aspect, the specifically following any one of image synthesis strategy:
The image synthesis strategy of chip provider formulation, the image synthesis strategy of service side's formulation, the image of user's customization Synthesis strategy.
With reference to any one implementation in first to the 7th kind of implementation of second aspect or second aspect, second In 9th kind of implementation of aspect, display module is additionally operable to the viewing area outside the corresponding on-screen display (osd) area of window logic Domain, stops showing.
The third aspect, embodiments provides a kind of terminal device, and the terminal device has realizes above-mentioned first party The function of display methods behavior in face.The function can be realized by hardware, it is also possible to perform corresponding software by hardware Realize.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a possible design, the structure of terminal device includes:Touch-sensitive display, one or more processors, Memory and one or more application programs, during wherein one or more application programs are stored in memory and be configured to by One or more processors are performed, and one or more application programs are configured to:
After receiving the switching command of one-hand operating format, window logic is created, is that window logic specifies corresponding screen Viewing area;
Determine the mapping relations between each application widget and window logic;
According to preset image synthesis strategy and the mapping relations between each application widget and window logic, will be each The image synthesis of application widget is mapped to window logic;
The image in window logic is shown in on-screen display (osd) area.
Fourth aspect, embodiments provides a kind of computer-readable storage medium, for saving as above-mentioned display device Computer software instructions used, which includes the program for performing above-mentioned aspect designed by display device.
Relative to the scheme that prior art, the present invention are provided, terminal device is in the preset figure for not affecting this equipment to adopt As, in the case of synthesis strategy, after receiving the switching command of one-hand operating format, the indication range of former screen being narrowed down to screen Curtain viewing area;According to the preset image synthesis strategy that this equipment is adopted, by the image synthesis mapping of each window, and in screen Shown in viewing area.So as to, in the case of the preset image synthesis strategy for not affecting this equipment to adopt, contract Little application widget and viewing area, are easy to user to carry out one-handed performance, so as to lift the experience of user.
And, in the embodiment of the present invention, it is not necessary to which it is to reduce to calculate determination phase by application widget that force call GPU is performed The step of closing transformation matrix, without the need for the resource for additionally taking GPU, does not affect the performance of GPU, also saves force call GPU band The extra power consumption come, does not affect the cruising time of terminal device.
Further, in the embodiment of the present invention, various on-screen display (osd) areas are configured with and are selected for user, while supporting user certainly On-screen display (osd) area is defined, position and/or the size of user's adjustment on-screen display (osd) area is supported;Such that it is able to meet different use The operating habit at family or personal like, further lift the experience of user.
Additionally, in the embodiment of the present invention, determine on screen in addition to the corresponding on-screen display (osd) area of window logic Behind viewing area, the user operation and/or the stopping display viewing area for falling within the viewing area can also be ignored.Can both keep away Exempt from the maloperation that user falls within the viewing area, the electric energy shown spent by the viewing area can be saved again, further economized on electricity, Extend the cruising time of terminal device.
The aspects of the invention or other in terms of can more straightforward in the following description.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 a show the schematic flow sheet of the display methods of the embodiment of the present invention;
Fig. 1 b show the flow process block schematic illustration of an example of the display methods of the embodiment of the present invention;
Fig. 2 a, Fig. 2 b respectively illustrate the schematic diagram of two examples of the on-screen display (osd) area of the embodiment of the present invention;
Fig. 3 shows the block schematic illustration of the internal structure of the display device of the embodiment of the present invention;
Fig. 4 shows the block diagram of the internal structure of the terminal device of the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be according to the suitable of its appearance herein Performing or executed in parallel, sequence number such as 101,102 of operation etc. is only used for distinguishing each different operation, sequence number sequence Any execution sequence is not represented itself.In addition, these flow processs can include more or less of operation, and these operations can To perform in order or executed in parallel.It should be noted that the description such as " first ", " second " herein, is for distinguishing not Message together, equipment, module etc., do not represent sequencing, and it is different types also not limit " first " and " second ".
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " had both included wireless communication The equipment of number receiver, which only possesses the equipment of the wireless signal receiver of non-emissive ability, includes again receiving and launches hardware Equipment, which has the equipment of the reception that on bidirectional communication link, can carry out two-way communication and transmitting hardware.This equipment Can include:Honeycomb or other communication equipments, there is single line display or multi-line display or no multi-line to show for which The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), which can With combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), which can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, its have and/or conventional laptop and/or palmtop computer including radio frequency receiver or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position in space is run." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or the equipment such as the mobile phone with music/video playing function, or intelligent television, Set Top Box.
In the embodiment of the present invention, after terminal device receives the switching command of one-hand operating format, window logic is created, is Window logic specifies corresponding on-screen display (osd) area;Determine the mapping relations between each application widget and window logic;According to Preset image synthesis strategy and the mapping relations between each application widget and window logic, by the figure of each application widget As synthesis is mapped to window logic;The image in window logic is shown in on-screen display (osd) area.It can be seen that, using this The technical scheme of bright embodiment, in the case of the preset image synthesis strategy for not affecting this equipment to adopt, by former screen Indication range narrows down to the corresponding on-screen display (osd) area of window logic, is easy to user to carry out singlehanded behaviour by on-screen display (osd) area Make, so as to lift the experience of user.
The technical scheme of the embodiment of the present invention is introduced below in conjunction with the accompanying drawings specifically.
Embodiments provide a kind of display methods of terminal device, schematic flow sheet such as Fig. 1 a institutes of the method Show, comprise the steps:
S101:After receiving the switching command of one-hand operating format, window logic is created, it is corresponding to be that window logic is specified On-screen display (osd) area.
It is preferred that the input manager InputManager in terminal device is received into one-hand operating format interface After instruction, one-hand operating format interface is shown;Switching for one-hand operating format is received by one-hand operating format interface After instruction, outward appearance throwing arm SurfaceFlinger is called to create window logic.
When terminal device creates window logic, it is that window logic specifies corresponding on-screen display (osd) area.Wherein, screen display Screen of the region less than terminal device.For example, corresponding on-screen display (osd) area is specified for logic window according to the position of window logic.
It is preferred that on-screen display (osd) area includes one of following regions:Viewing area comprising the screen lower left corner;Comprising screen The viewing area in the lower right corner;Viewing area comprising the screen upper left corner;Viewing area comprising the screen upper right corner;It is left comprising screen The viewing area in side stage casing;Viewing area comprising screen right edge stage casing;The viewing area that user specifies.
For example, the viewing area comprising the screen lower left corner as shown in Figure 2 a, the lower left corner of the viewing area, left side and Lower side is respectively superposed in the lower left corner of screen, left side and lower side;And the upper left corner of the viewing area, the upper right corner and bottom right , the upper left corner respectively with screen, between the upper right corner and the lower right corner, there is the distance of setting in angle.
For another example, the viewing area comprising screen left side stage casing as shown in Figure 2 b, the left side of the viewing area overlap In the interlude of the left side of screen;And each summit of the viewing area, do not overlap with each summit of screen, the viewing area Each summit, there is the distance of setting with the corresponding vertex of screen.
It is preferred that when the switching command of one-hand operating format is specially the switching command of left operational mode, When SurfaceFlinger creates window logic, it is that window logic specifies one of following on-screen display (osd) areas:Comprising screen lower-left The viewing area at angle;Viewing area comprising the screen upper left corner;Viewing area comprising screen left side stage casing.
It is preferred that when the switching command of one-hand operating format is specially the switching command of right operational mode, When SurfaceFlinger creates window logic, it is that window logic specifies one of following on-screen display (osd) areas:Comprising screen bottom right The viewing area at angle;Viewing area comprising the screen upper right corner;Viewing area comprising screen right edge stage casing.
It is preferred that in the embodiment of the present invention, support that user carries out position, and/or area size to on-screen display (osd) area Adjustment.
Specifically, by one-hand operating format interface receive for window logic scaling and/or move after, adjust Window logic is zoomed in and out with SurfaceFlinger and/or mobile, and for the window logic after scaling and/or being mobile again Specify corresponding on-screen display (osd) area.
It will be understood by those skilled in the art that conventional method is entered to various windows by window manager WindowManager Row scaling and movement, but the scaling of window and translational speed are all slower;And in the embodiment of the present invention, bypass WindowManager, is directly zoomed in and out to window logic by SurfaceFlinger and/or mobile, greatly improves logic The scaling of window and/or translational speed, improve the speed of display process on the whole, maintain the on-screen display (osd) area in screen The fluency shown in scaling and/or moving process, improves the experience of user.
It is preferred that terminal device determines the viewing area outside the corresponding on-screen display (osd) area of window logic.
Further, after terminal device determines the viewing area outside the corresponding on-screen display (osd) area of window logic, can be with Ignore the user operation for falling within the viewing area.
S102:Determine the mapping relations between each application widget and window logic.
For the application widget of each operation application, the window in terminal device between the application widget and logic display device Mouth transformation matrix is default.It is preferred that the resolution ratio and logic display device acquiescence of acquiescence can be unified according to application widget Resolution ratio, predefine out and set the window transform matrix between application widget and logic display device, as application window The window transform matrix of mouth.
Display device transformation matrix in terminal device between logic display device and main display device is default.Preferably Ground, the resolution ratio of logic display device is consistent with the resolution ratio of main display device, is equal to the maximum of the actual support of screen Physical resolution, such as 1080P;According to the resolution ratio and the resolution ratio of main display device of consistent logic display device, preset Determine and set display device transformation matrix.
Terminal device is according to default between the resolution ratio of each application widget and the application widget and logic display device Window transform matrix, determines that the application widget maps to the resolution ratio of logic display device.
According to the application widget map to logic display device resolution ratio and logic display device and main display device it Between default display device transformation matrix, determine that the application widget maps to the resolution ratio of main display device.
The resolution ratio of main display device and the resolution ratio of window logic is mapped to according to the application widget, determines that this should The transformation matrix after main display device between window logic is mapped to window, conversion is reduced as the window of the application widget Matrix.
Wherein, window transform matrix, display device transformation matrix of the pixel-matrix of application widget through the application widget And the pixel-matrix obtained after the conversion of the window diminution transformation matrix of the application widget, without departing from the pixel of window logic The scope of battle array.
It is preferred that when the resolution ratio of logic display device is consistent with the resolution ratio of main display device, terminal device can be with Determine that application widget maps to the transformation matrix after logic display device between window logic, as the window of the application widget Mouth reduces transformation matrix.
For example, flow process block schematic illustrations of Fig. 1 b for an example of the display methods of the embodiment of the present invention.In Fig. 1 b eventually End equipment introduces a miniTRN matrix for each application widget, and wherein N is numbering such as 0,1,2 etc..SurfaceFlinger Module is by the content mix of each application widget and to submit to the module of screen display in android system.By application widget Pixel-matrix, the formula for changing pixel-matrix to logical device is as follows:
In above-mentioned formula 1 and 2, (layerX, layerY) represents position of the application widget in its figure layer (layer), figure The resolution ratio of layer is consistent with the resolution ratio of logic display device or main display device (or greatest physical resolution ratio of screen); (layerW, layerH) represents that application widget is wide and high in its figure layer;LayerTR represents that application widget is shown with logic and sets Window transform matrix between standby;DisplayDeviceTR represents that the display between logic display device and main display device sets Standby transformation matrix;(screenX, screenY) represents that application widget is aobvious in window logic (corresponding on-screen display (osd) area) Show position, (screenW, screenH) represents display width and height of the application widget in window logic.
If M=displayDeviceTR × layerTR, N=miniTR × M, is eventually arranged N matrix to GPU (Graphics Processing Unit, GPU) or MDP (Mobile Display Process, it is mobile aobvious Show process) unit.SurfaceFlinger (outward appearance throwing arm) modules when the synthesis of multiple application widgets is subsequently carried out, to aobvious The calculating use for showing parameter must be Metzler matrix.
It is preferred that the conversion of each application widget can individually be controlled by the miniTR of each application widget of setting.When When the resolution ratio of one application widget switches according to the instruction of user, according to the resolution ratio after switching, updating should for terminal device After with the corresponding miniTR of window, still go for the technical scheme of the embodiment of the present invention.
S103:According to preset image synthesis strategy and the mapping relations between each application widget and window logic, The image synthesis of each application widget is mapped to into window logic.
Preset image synthesis strategy and the window transform of each application widget that terminal device is adopted according to this equipment The window of matrix, display device transformation matrix and the application widget reduces transformation matrix, by each application widget each self-contained image Pixel-matrix synthesis be mapped to the pixel-matrix of window logic.
It is preferred that the specifically following any one of image synthesis strategy:The image synthesis strategy of chip provider formulation, clothes The image synthesis strategy of business side's formulation, the image synthesis strategy of user's customization.
For example, company A is that its process chip researched and developed has formulated image synthesis strategy A;In the same manner, B companies can formulate figure As synthesis strategy B.Under normal circumstances, there is difference in image synthesis strategy A and B;For example under a certain application scenarios, according to Image synthesis strategy A needs to call GPU (Graphics Processing Unit, GPU) to carry out image synthesis, And need to call MDP (Mobile Display Process, mobile display process) unit to carry out figure according to image synthesis strategy B As synthesis.
It is preferred that the third party's service side outside chip provider can also provide the image synthesis strategy of its formulation.Example Such as, the image synthesis strategy that operating system provider or operating system customizing side formulate.
When preset image synthesis strategy be GPU GPU synthesis it is tactful when, call the GPU of this equipment, by GPU reduces according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget and converts The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by matrix.
When preset image synthesis strategy be mobile display process MDP synthesis it is tactful when, call the MDP units of this equipment And the parameter that the window of each application widget reduces transformation matrix is transferred to into MDP units, by MDP units according to each application widget Window transform matrix, display device transformation matrix and the application widget window reduce transformation matrix, will be each application widget each The pixel-matrix synthesis of self-contained image is mapped to the pixel-matrix of window logic.
It is preferred that terminal device is for current application scene, when it is determined that the image synthesis strategy that adopts of the system of this equipment (such as preset image synthesis strategy in certain application) be specially GPU synthesis it is tactful when, call the GPU of this equipment, by GPU Conversion square is reduced according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by battle array.
It is preferred that terminal device is for current application scene, when it is determined that the image synthesis strategy that adopts of the system of this equipment Specially MDP synthesis it is tactful when, call the MDP units of this equipment the ginseng by the window of each application widget diminution transformation matrix Number is transferred to MDP units, by MDP units according to the window transform matrix of each application widget, display device transformation matrix and should The window of application widget reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to logic window The pixel-matrix of mouth.
It is preferred that each application widget of terminal device for operation application, by pixel of the application widget comprising image Dot matrix, reduces according to the window of the window transform matrix, display device transformation matrix and the application widget of the application widget successively After transformation matrix enters line translation, it is mapped in the pixel-matrix of window logic;According to each application widget position to be shown, size And lamination order, determine the viewing area of the pixel-matrix of each application widget being mapped in the pixel-matrix of window logic; The viewing area of each application widget is synthesized so that the viewing area after synthesis is without departing from the pixel-matrix of window logic Scope.
Further, terminal device synthesizes to the viewing area of each window so that the viewing area after synthesis coincides with The scope of the pixel-matrix of window logic.
S104:The image in window logic is shown in on-screen display (osd) area.
Terminal device is shown to the image in window logic in the corresponding on-screen display (osd) area of window logic.
It is preferred that terminal device determines the display outside the corresponding on-screen display (osd) area of window logic in above-mentioned steps Behind region, in this step, to the viewing area outside the corresponding on-screen display (osd) area of window logic, stop showing.
Based on the display methods of above-mentioned terminal device, the embodiment of the present invention additionally provides a kind of display device, the device The block schematic illustration of internal structure as shown in figure 3, including:Window logic creation module 301, window mapping relations determining module 302nd, image synthesis mapping block 303 and display module 304.
Wherein, after window logic creation module 301 is used for receiving the switching command of one-hand operating format, create logic window Mouthful, it is that window logic specifies corresponding on-screen display (osd) area.
Window mapping relations determining module 302 is used for determining the mapping relations between each application widget and window logic.
Image synthesizes mapping block 303 for determining mould according to preset image synthesis strategy and window mapping relations Mapping relations between each application widget that block 302 is determined and window logic, by the image synthesis mapping of each application widget To window logic.
Display module 304 is mapped to logic window for synthesizing to image synthesis mapping block 303 in on-screen display (osd) area Image in mouthful is shown.
It is preferred that window logic creation module 301 is specifically for receiving into after the instruction at one-hand operating format interface, Show one-hand operating format interface;After the switching command that one-hand operating format interface is received for one-hand operating format, Outward appearance throwing arm SurfaceFlinger is called to create window logic.
It is preferred that window logic creation module 301 is additionally operable to after window logic is created, receive for window logic Scaling and/or move after, window logic is zoomed in and out and/or mobile, and for the logic window after scaling and/or being mobile Mouth reassigns corresponding on-screen display (osd) area.
It is preferred that window mapping relations determining module 302 is for the resolution ratio according to each application widget and the application window Default window transform matrix between mouth and logic display device, determines that the application widget maps to dividing for logic display device Resolution;Mapped between the resolution ratio of logic display device and logic display device and main display device according to the application widget Default display device transformation matrix, determines that the application widget maps to the resolution ratio of main display device;According to the application window Mouth maps to the resolution ratio of main display device and the resolution ratio of window logic, determines that the application widget maps to main display and sets The standby rear transformation matrix and window logic between, reduces transformation matrix as the window of the application widget.
It is preferred that image synthesizes mapping block 303 for according to image synthesis strategy, and the window of each application widget The window of transformation matrix, display device transformation matrix and the application widget reduces transformation matrix, will be each application widget each self-contained The pixel-matrix synthesis of image is mapped to the pixel-matrix of window logic.
It is preferred that image synthesis mapping block 303 is used for closing for GPU GPU when preset image synthesis strategy Into it is tactful when, call the GPU of this equipment, square converted according to the window transform matrix of each application widget, display device by GPU The window of battle array and the application widget reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to The pixel-matrix of window logic.
It is preferred that image synthesis mapping block 303 is used for when preset image synthesis strategy being that mobile display process MDP is closed Into it is tactful when, call the MDP units of this equipment and the parameter that the window of each application widget reduces transformation matrix be transferred to into MDP Unit, by MDP units according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget Mouth reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel of window logic Battle array.
It is preferred that image synthesizes mapping block 303 for for each application widget, the application widget being included image Pixel-matrix, the successively window according to the window transform matrix, display device transformation matrix and the application widget of the application widget After diminution transformation matrix enters line translation, it is mapped in the pixel-matrix of window logic;According to each application widget position to be shown, Size and lamination order, determine the visible area of the pixel-matrix of each application widget being mapped in the pixel-matrix of window logic Domain;The viewing area of each application widget is synthesized so that pixel of the viewing area after synthesis without departing from window logic The scope of battle array.
It is preferred that the specifically following any one of image synthesis strategy:The image synthesis strategy of chip provider formulation, clothes The image synthesis strategy of business side's formulation, the image synthesis strategy of user's customization.
It is preferred that display module 304 is additionally operable to, to the viewing area outside the corresponding on-screen display (osd) area of window logic, stop Only show.
In the embodiment of the present invention, situation of the terminal device in the preset image synthesis strategy for not affecting this equipment to adopt Under, after receiving the switching command of one-hand operating format, the indication range of former screen is narrowed down to into on-screen display (osd) area;According to this The preset image synthesis strategy that equipment is adopted, by the image synthesis mapping of each window, and is shown in on-screen display (osd) area Show.So as to, in the case of the preset image synthesis strategy for not affecting this equipment to adopt, application widget and display can be reduced Region, is easy to user to carry out one-handed performance, so as to lift the experience of user.
And, in the embodiment of the present invention, it is not necessary to which it is to reduce to calculate determination phase by application widget that force call GPU is performed The step of closing transformation matrix, without the need for the resource for additionally taking GPU, does not affect the performance of GPU, also saves force call GPU band The extra power consumption come, does not affect the cruising time of terminal device.
Further, in the embodiment of the present invention, various on-screen display (osd) areas are configured with and are selected for user, while supporting user certainly On-screen display (osd) area is defined, position and/or the size of user's adjustment on-screen display (osd) area is supported;Such that it is able to meet different use The operating habit at family or personal like, further lift the experience of user.
Additionally, in the embodiment of the present invention, determine on screen in addition to the corresponding on-screen display (osd) area of window logic Behind viewing area, the user operation and/or the stopping display viewing area for falling within the viewing area can also be ignored.Can both keep away Exempt from the maloperation that user falls within the viewing area, the electric energy shown spent by the viewing area can be saved again, further economized on electricity, Extend the cruising time of terminal device.
The embodiment of the present invention additionally provides terminal device, as shown in figure 4, for convenience of description, illustrate only and the present invention The related part of embodiment, particular technique details are not disclosed, and refer to present invention method part.The terminal can be Including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal device such as vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 4 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 4, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 410, memory 420, input block 430, display unit 440, Sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless fidelity, WiFi) module 470, processor 480, and 490 grade part of power supply.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 4 does not constitute the restriction to mobile phone, Can include than illustrating more or less of part, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 4:
RF circuits 410 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 480;In addition, up data is activation will be designed to base station.Generally, RF circuits 410 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 410 can also be communicated with network and other equipment by radio communication. Above-mentioned radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 420 can be used to store software program and module, and processor 480 is stored in memory 420 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 420 mainly can include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 420 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 430 can be used for the numeral of receives input or character information, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 430 may include that contact panel 431 and other inputs set Standby 432.Contact panel 431, also referred to as touch-screen, can collect user thereon or neighbouring touch operation (such as user's use The operation of any suitable object such as finger, stylus or annex on contact panel 431 or near the contact panel 431), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 431 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 480, and the order sent of receiving processor 480 can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 431.Except contact panel 431, input Unit 430 can also include other input equipments 432.Specifically, other input equipments 432 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 440 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 440 may include display floater 441, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 441.Further, contact panel 431 can cover display floater 441, when contact panel 431 detect it is thereon or attached After near touch operation, processor 480 is sent to determine the type of touch event, with preprocessor 480 according to touch event Type corresponding visual output is provided on display floater 441.Although in the diagram, contact panel 431 and display floater 441 Be as two independent parts realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control Panel 431 is integrated with display floater 441 and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 450, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 441, proximity transducer can cut out display floater 441 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 460, loudspeaker 461, microphone 462 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 461, is converted to sound by loudspeaker 461 by road 460 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, is turned after being received by voicefrequency circuit 460 Be changed to voice data, then after voice data output processor 480 is processed, Jing RF circuits 410 to be sent to such as another mobile phone, Or export to memory 420 voice data further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by Wi-Fi module 470 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 4 shows Wi-Fi module 470, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 480 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or the module that are stored in memory 420, and call and be stored in memory 420 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 480 can be wrapped Include one or more processing units;Preferably, processor 480 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are processed mainly with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 480.
Mobile phone also includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 480, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 480 included by the terminal also has following functions:
One or more programs are run for receiving after the switching command of one-hand operating format, window logic is created, is Window logic specifies corresponding on-screen display (osd) area;
Determine the mapping relations between each application widget and window logic;
According to preset image synthesis strategy and the mapping relations between each application widget and window logic, will be each The image synthesis of application widget is mapped to window logic;
The image in window logic is shown in on-screen display (osd) area.
It is preferred that one or more programs are run for receiving after the switching command of one-hand operating format, create logic Window, including:Receive into after the instruction at one-hand operating format interface, show one-hand operating format interface;By singlehanded behaviour After operation mode interface receives the switching command for one-hand operating format, outward appearance throwing arm SurfaceFlinger is called to create Window logic.
It is preferred that running one or more programs for, after window logic is created, also including:Receive for logic After the scaling of window and/or move, window logic is zoomed in and out and/or mobile, and for patrolling after scaling and/or being mobile Collect window and reassign corresponding on-screen display (osd) area.
It is preferred that the mapping for running one or more programs for determining between each application widget and window logic is closed System, including:
According to default window transform between the resolution ratio of each application widget and the application widget and logic display device Matrix, determines that the application widget maps to the resolution ratio of logic display device;Logic is mapped to according to the application widget to show Default display device transformation matrix between the resolution ratio of equipment and logic display device and main display device, determines that this should The resolution ratio of main display device is mapped to window;The resolution ratio and logic of main display device are mapped to according to the application widget The resolution ratio of window, determines that the application widget maps to the transformation matrix after main display device between window logic, as The window of the application widget reduces transformation matrix.
It is preferred that running one or more programs for the image synthesis strategy that adopts according to this equipment and each window The image synthesis of each application widget is mapped to window logic by the mapping relations between mouth and window logic, including:
According to image synthesis strategy, and the window transform matrix of each application widget, display device transformation matrix and should The window of application widget reduces transformation matrix, and the pixel-matrix synthesis of each application widget each self-contained image is mapped to logic window The pixel-matrix of mouth.
It is preferred that run one or more programs for according to image synthesis strategy, and the window of each application widget The window of transformation matrix, display device transformation matrix and the application widget reduces transformation matrix, will be each application widget each self-contained The pixel-matrix synthesis of image is mapped to the pixel-matrix of window logic, including:
When preset image synthesis strategy be GPU GPU synthesis it is tactful when, call the GPU of this equipment, by GPU reduces according to the window of the window transform matrix, display device transformation matrix and the application widget of each application widget and converts The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of window logic by matrix;
It is preferred that run one or more programs for according to image synthesis strategy, and the window of each application widget The window of transformation matrix, display device transformation matrix and the application widget reduces transformation matrix, will be each application widget each self-contained The pixel-matrix synthesis of image is mapped to the pixel-matrix of window logic, including:
When preset image synthesis strategy be mobile display process MDP synthesis it is tactful when, call the MDP units of this equipment And the parameter that the window of each application widget reduces transformation matrix is transferred to into MDP units, by MDP units according to each application widget Window transform matrix, display device transformation matrix and the application widget window reduce transformation matrix, will be each application widget each The pixel-matrix synthesis of self-contained image is mapped to the pixel-matrix of window logic.
It is preferred that run one or more programs for according to image synthesis strategy, and the window of each application widget The window of transformation matrix, display device transformation matrix and the application widget reduces transformation matrix, will be each application widget each self-contained The pixel-matrix synthesis of image is mapped to the pixel-matrix of window logic, including:
For each application widget, by pixel-matrix of the application widget comprising image, successively according to the application widget After the window diminution transformation matrix of window transform matrix, display device transformation matrix and the application widget enters line translation, it is mapped to In the pixel-matrix of window logic;
According to each application widget position to be shown, size and lamination order, the pixel for being mapped to window logic is determined The viewing area of the pixel-matrix of each application widget in dot matrix;
The viewing area of each application widget is synthesized so that picture of the viewing area after synthesis without departing from window logic The scope of vegetarian refreshments battle array.
It is preferred that running one or more programs for the viewing area outside the corresponding on-screen display (osd) area of window logic Domain, stops showing.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Instruct related hardware to complete with by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of step in realizing above-described embodiment method can be The hardware of correlation is instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, on It can be read-only storage, disk or CD etc. to state the storage medium mentioned.
Above a kind of terminal device provided by the present invention is described in detail, for the general technology people of this area Member, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, in sum, This specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of display methods, it is characterised in that include:
After receiving the switching command of one-hand operating format, window logic is created, is that the window logic specifies corresponding screen Viewing area;
Determine the mapping relations between each application widget and the window logic;
According to preset image synthesis strategy and the mapping relations between each application widget and the window logic, will be each The image synthesis of application widget is mapped to the window logic;
The image in the window logic is shown in the on-screen display (osd) area.
2. method according to claim 1, it is characterised in that after the switching command for receiving one-hand operating format, Window logic is created, including:
Receive into after the instruction at one-hand operating format interface, show the one-hand operating format interface;
After the one-hand operating format interface receives the switching command for one-hand operating format, outward appearance throwing arm is called SurfaceFlinger creates window logic.
3. method according to claim 1, it is characterised in that after the establishment window logic, also include:
Receive for the window logic scaling and/or move after, the window logic is zoomed in and out and/or is moved It is dynamic, and corresponding on-screen display (osd) area is reassigned for the window logic after scaling and/or being mobile.
4. method according to claim 1, it is characterised in that each application widget of the determination and the window logic it Between mapping relations, including:
According to default window transform square between the resolution ratio of each application widget and the application widget and logic display device Battle array, determines that the application widget maps to the resolution ratio of the logic display device;
The resolution ratio of the logic display device is mapped to according to the application widget and the logic display device is set with main display Default display device transformation matrix between standby, determines that the application widget maps to the resolution ratio of the main display device;
The resolution ratio of the main display device and the resolution ratio of the window logic is mapped to according to the application widget, is determined The application widget map to after the main display device with the transformation matrix between the window logic, as the application widget Window reduces transformation matrix.
5. method according to claim 4, it is characterised in that the image synthesis strategy adopted according to this equipment, with And the mapping relations between each window and the window logic, the image synthesis of each application widget is mapped to into the logic window Mouthful, including:
According to described image synthesis strategy, and window transform matrix, the display device transformation matrix of each application widget Transformation matrix is reduced with the window of the application widget, the pixel-matrix synthesis of each application widget each self-contained image is mapped to into institute State the pixel-matrix of window logic.
6. method according to claim 5, it is characterised in that described according to described image synthesis strategy, and each should Transformation matrix is reduced with the window of the window transform matrix, the display device transformation matrix and the application widget of window, will be each The pixel-matrix synthesis of each self-contained image of application widget is mapped to the pixel-matrix of the window logic, including:
When preset image synthesis strategy be GPU GPU synthesis it is tactful when, call the GPU of this equipment, by described GPU is reduced according to the window of the window transform matrix, the display device transformation matrix and the application widget of each application widget The pixel-matrix synthesis of each application widget each self-contained image is mapped to the pixel-matrix of the window logic by transformation matrix.
7. method according to claim 5, it is characterised in that described according to described image synthesis strategy, and each should Transformation matrix is reduced with the window of the window transform matrix, the display device transformation matrix and the application widget of window, will be each The pixel-matrix synthesis of each self-contained image of application widget is mapped to the pixel-matrix of the window logic, including:
When preset image synthesis strategy be mobile display process MDP synthesis it is tactful when, call this equipment MDP units and general The window of each application widget reduces the parameter of transformation matrix and is transferred to the MDP units, is applied according to each by the MDP units The window of the window transform matrix, the display device transformation matrix and the application widget of window reduces transformation matrix, respectively will answer The pixel-matrix of the window logic is mapped to the pixel-matrix synthesis of each self-contained image of window.
8. method according to claim 5, it is characterised in that described according to described image synthesis strategy, and each should Transformation matrix is reduced with the window of the window transform matrix, the display device transformation matrix and the application widget of window, will be each The pixel-matrix synthesis of each self-contained image of application widget is mapped to the pixel-matrix of the window logic, including:
For each application widget, the application widget is included into the pixel-matrix of image, successively the window according to the application widget After the window diminution transformation matrix of transformation matrix, the display device transformation matrix and the application widget enters line translation, it is mapped to In the pixel-matrix of the window logic;
According to each application widget position to be shown, size and lamination order, the pixel for being mapped to the window logic is determined The viewing area of the pixel-matrix of each application widget in dot matrix;
The viewing area of each application widget is synthesized so that picture of the viewing area after synthesis without departing from the window logic The scope of vegetarian refreshments battle array.
9. a kind of display device, it is characterised in that include:
Window logic creation module, for receiving after the switching command of one-hand operating format, creates window logic, is described patrolling Collect window and specify corresponding on-screen display (osd) area;
Window mapping relations determining module, for determining the mapping relations between each application widget and the window logic;
Image synthesizes mapping block, for according to preset image synthesis strategy and each application widget and the logic window The image synthesis of each application widget is mapped to the window logic by the mapping relations between mouthful;
Display module, for showing to the image in the window logic in the on-screen display (osd) area.
10. a kind of terminal device, including:
Touch-sensitive display;
One or more processors;
Memory;
One or more application programs, during wherein one or more of application programs are stored in the memory and are configured It is that, by one or more of computing devices, one or more of programs are configured to:
After receiving the switching command of one-hand operating format, window logic is created, is that the window logic specifies corresponding screen Viewing area;
For the mapping relations determined between each application widget and the window logic;
According to preset image synthesis strategy and the mapping relations between each application widget and the window logic, will be each The image synthesis of application widget is mapped to the window logic;
The image in the window logic is shown in the on-screen display (osd) area.
CN201610911944.3A 2016-10-19 2016-10-19 Display methods, device and terminal device Active CN106527656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610911944.3A CN106527656B (en) 2016-10-19 2016-10-19 Display methods, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610911944.3A CN106527656B (en) 2016-10-19 2016-10-19 Display methods, device and terminal device

Publications (2)

Publication Number Publication Date
CN106527656A true CN106527656A (en) 2017-03-22
CN106527656B CN106527656B (en) 2019-07-12

Family

ID=58332502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911944.3A Active CN106527656B (en) 2016-10-19 2016-10-19 Display methods, device and terminal device

Country Status (1)

Country Link
CN (1) CN106527656B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301045A (en) * 2017-06-12 2017-10-27 青岛海信电器股份有限公司 Window display method and device
CN110673784A (en) * 2019-09-24 2020-01-10 华勤通讯技术有限公司 Single-hand operation method and device of large-screen intelligent equipment and intelligent equipment
CN111866593A (en) * 2020-07-14 2020-10-30 海信视像科技股份有限公司 Display device and startup interface display method
WO2021008424A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Method and device for image synthesis, electronic apparatus and storage medium
CN113012263A (en) * 2021-03-16 2021-06-22 维沃移动通信有限公司 Configuration method of layer composition mode and electronic equipment
CN114157889A (en) * 2020-08-18 2022-03-08 海信视像科技股份有限公司 Display device and touch-control assistance interaction method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155637A (en) * 1998-11-24 2000-06-06 Nec Corp Multiwindow display method and system
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155637A (en) * 1998-11-24 2000-06-06 Nec Corp Multiwindow display method and system
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301045A (en) * 2017-06-12 2017-10-27 青岛海信电器股份有限公司 Window display method and device
CN107301045B (en) * 2017-06-12 2020-10-16 海信视像科技股份有限公司 Window display method and device
WO2021008424A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Method and device for image synthesis, electronic apparatus and storage medium
CN110673784A (en) * 2019-09-24 2020-01-10 华勤通讯技术有限公司 Single-hand operation method and device of large-screen intelligent equipment and intelligent equipment
CN111866593A (en) * 2020-07-14 2020-10-30 海信视像科技股份有限公司 Display device and startup interface display method
CN111866593B (en) * 2020-07-14 2023-03-21 海信视像科技股份有限公司 Display device and startup interface display method
CN114157889A (en) * 2020-08-18 2022-03-08 海信视像科技股份有限公司 Display device and touch-control assistance interaction method
CN114157889B (en) * 2020-08-18 2024-04-16 海信视像科技股份有限公司 Display equipment and touch control assisting interaction method
CN113012263A (en) * 2021-03-16 2021-06-22 维沃移动通信有限公司 Configuration method of layer composition mode and electronic equipment

Also Published As

Publication number Publication date
CN106527656B (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN108182043B (en) Information display method and mobile terminal
CN106527656A (en) Display method, device and terminal equipment
US11838438B2 (en) Message viewing method and terminal
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN110489025B (en) Interface display method and terminal equipment
WO2021017776A1 (en) Information processing method and terminal
US20210349591A1 (en) Object processing method and terminal device
CN106502608B (en) Display methods, device and terminal device
US11733828B2 (en) Icon moving method and terminal device
AU2018414730B2 (en) Application window display method and terminal
CN105975190B (en) Graphical interface processing method, device and system
CN107748640B (en) Screen-off display method and mobile terminal
CN110502163A (en) The control method and terminal device of terminal device
CN107368518A (en) The management method and terminal of a kind of notification message, computer-readable recording medium
CN111142769A (en) Split screen display method and electronic equipment
WO2021027466A1 (en) Positioning method and terminal device
CN109857289A (en) Display control method and terminal device
CN107908330A (en) The management method and mobile terminal of application icon
CN107809531A (en) A kind of schedule creation method, mobile terminal
US20220326843A1 (en) Display method and electronic device
WO2020168882A1 (en) Interface display method and terminal device
CN111142734B (en) Application icon processing method and electronic equipment
CN110888568B (en) Notification bar display method and terminal equipment
CN110244884B (en) Desktop icon management method and terminal equipment
CN111026674A (en) Data storage method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170719

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant