CN104111779A - Method and terminal for rotating virtual window - Google Patents

Method and terminal for rotating virtual window Download PDF

Info

Publication number
CN104111779A
CN104111779A CN201410305777.9A CN201410305777A CN104111779A CN 104111779 A CN104111779 A CN 104111779A CN 201410305777 A CN201410305777 A CN 201410305777A CN 104111779 A CN104111779 A CN 104111779A
Authority
CN
China
Prior art keywords
rotated
virtual windows
terminal
angle value
equal proportion
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.)
Pending
Application number
CN201410305777.9A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410305777.9A priority Critical patent/CN104111779A/en
Publication of CN104111779A publication Critical patent/CN104111779A/en
Priority to PCT/CN2015/073296 priority patent/WO2015196825A1/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a method for rotating a virtual window. The method is applied to a terminal. The method comprises the steps of obtaining a value of a rotating angle of the virtual window to be rotated in the terminal; rotating the virtual window to be rotated by means of equal proportion conversion on the basis of the obtained value of the rotating angle so that the rotated virtual window can be obtained. The embodiment of the invention further discloses a device for rotating the virtual window.

Description

A kind of method and terminal of rotating virtual windows
Technical field
The present invention relates to terminal and show field, relate in particular to a kind of method and terminal of rotating virtual view.
Background technology
Along with scientific and technical development, more and more polymorphic intelligent terminal appears in people's life, such as, smart mobile phone, panel computer, multimedia player, smart projector.It is low that these terminals all have screen resolution, the characteristic that screen size is little.
At present, the normal display direction of the screen of these intelligent terminals is that perpendicular screen display is shown, but because the singularity of product form with and special application scenarios, sometimes require again screen horizontal screen display to show.Common practices is that operating system is forced to be compiled into flat pannel display pattern, but will exist like this otherwise screen display interface too small, or the poor compatibility problem that causes operating system to start, can increase cost of products and change high-resolution screen.
So, also do not exist in the prior art a kind of comparatively rational horizontal screen and perpendicular screen mutually to switch the technical scheme showing.
Summary of the invention
In view of this, the embodiment of the present invention expects to provide a kind of method and terminal of rotating virtual windows, switches with the equal proportion realizing between horizontal screen and perpendicular screen, user-friendly, avoids operating system to start.
For achieving the above object, technical scheme of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of method of rotating virtual windows, is applied to terminal, and described method comprises: the rotation angle value that obtains virtual windows to be rotated in described terminal; Based on the described rotation angle value obtaining, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain postrotational virtual windows.
Alternatively, in the described terminal of described acquisition after the rotation angle value of virtual windows to be rotated, and in the described described rotation angle value based on obtaining, before being rotated by virtual windows to be rotated described in equal proportion transfer pair, described method also comprises: at least one preset equal proportion conversion template, determine the first equal proportion conversion template corresponding with described rotation angle value; Wherein, described equal proportion conversion template is corresponding one by one with presetting angle value.
Alternatively, in the described described rotation angle value based on obtaining, before being rotated by virtual windows to be rotated described in equal proportion transfer pair, described method also comprises: according to described rotation angle value and the general equal proportion conversion template setting in advance, generate the first equal proportion conversion template corresponding with described rotation angle value.
Alternatively, the described described rotation angle value based on obtaining, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain postrotational virtual windows, be specially: adopt virtual windows to be rotated described in described the first equal proportion conversion template rotation, obtain described postrotational virtual windows.
Alternatively, described method also comprises: according to the current attitude of described terminal, obtain screen orientation value; The described described rotation angle value based on obtaining, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain postrotational virtual windows, be specially: based on described screen orientation value and described rotation angle value, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain described postrotational virtual windows.
Second aspect, the embodiment of the present invention provides a kind of terminal, and described terminal comprises: obtain unit and rotary unit; Wherein, described acquisition unit, for obtaining the rotation angle value of described terminal virtual windows to be rotated; Described rotary unit, for the described rotation angle value based on obtaining, is rotated by virtual windows to be rotated described in equal proportion transfer pair, obtains postrotational virtual windows.
Alternatively, described terminal also comprises: determining unit, for after described acquisition unit obtains described rotation angle value, and before described rotary unit is rotated virtual windows described to be rotated, at least one preset equal proportion conversion template, determine the first equal proportion conversion template corresponding with described rotation angle value; Wherein, described equal proportion conversion template is corresponding one by one with presetting angle value.
Alternatively, described terminal also comprises: determining unit, for before described rotary unit is rotated virtual windows described to be rotated, according to described rotation angle value and the general equal proportion conversion template setting in advance, generate the first equal proportion conversion template corresponding with described rotation angle value.
Alternatively, described rotary unit, specifically for adopting virtual windows to be rotated described in described the first equal proportion conversion template rotation, obtains described postrotational virtual windows.
Alternatively, described terminal also comprises: correcting unit, before virtual windows described to be rotated being rotated at described rotary unit, according to the current attitude of described terminal, obtains screen orientation value; Described rotary unit, is also used to: based on described screen orientation value and described rotation angle value, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain described postrotational virtual windows.
In the method and terminal of the rotation virtual windows that the embodiment of the present invention provides, terminal is according to the anglec of rotation of virtual windows to be rotated, by equal proportion convert treat rotation virtual windows be rotated, obtain postrotational virtual windows, be consistent through the virtual windows after rotating like this with the size of virtual windows to be rotated, so, just can realize the equal proportion switching between horizontal screen and perpendicular screen, effectively solve the too small problem of display interface existing in prior art, user-friendly; Further, carry out equal proportion conversion because terminal only needs to treat rotation virtual windows, and need not consider the factor on any hardware, so, effectively solve the problem of the poor compatibility existing in prior art, avoid operating system to start.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for the rotation virtual windows in the embodiment of the present invention;
Fig. 2 A to Fig. 2 D is the schematic diagram of the form of the each angle in the embodiment of the present invention;
Fig. 3 is the structural representation of the terminal in the embodiment of the present invention.
Embodiment
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 clearly and completely described.
The embodiment of the present invention provides the method for a kind of rotation virtual windows (ViewPort), is applied to terminal, and this terminal can be smart mobile phone, panel computer, multimedia equipment etc.In these terminals, operating system can be installed, as Android operating system.
Fig. 1 is the schematic flow sheet of the method for the rotation virtual windows in the embodiment of the present invention, and shown in figure 1, the method comprises:
S101: the rotation angle value that obtains virtual windows to be rotated in terminal;
Here, said rotation angle value just refers to the angle value that virtual windows need to rotate;
In specific implementation process, due to the difference on opportunity of the method application, virtual windows to be rotated can and following several situations of existence not:
The first situation, the method is applied in terminal initialization process, and now, virtual windows to be rotated can be the preset benchmark form of operating system.
Specifically, the virtual windows that the operating system of general terminal all can a preset angle, as benchmark form, is generally 0 ° of form as shown in Figure 2 A, and taking the upper left corner of form as true origin, four summits of form are respectively A, B, C, D.But, the demand and the individual requirement that day by day increase in order to meet user, terminal manufacturer also can increase a parameter, and namely rotation angle value changes the benchmark form of terminal.Such as, rotation angle value is set to 270 °, so, in terminal carrying out initialization procedure, obtains this angle value, just thinks that benchmark form need to rotate 270 °, and postrotational benchmark form is exactly initial form.
Certainly, said reference form can be 90 ° of forms (now the horizontal screen display of terminal is shown) as shown in Figure 2 B, and this form is 0 ° of form that form turns clockwise after 90 °; Also can be 180 ° of forms (now the perpendicular screen display of terminal is shown) as shown in Figure 2 C, this form be that this form is 0 ° of form that form turns clockwise after 180 °; Can also be 270 ° (now the horizontal screen display of terminal is shown) as shown in Figure 2 D, this form be that this form is 0 ° of form that form turns clockwise after 270 °, and the present invention is not specifically limited.
The second situation, the method is applied in the normal use procedure of terminal, now, can be the initial form after terminal initialization wait rotating virtual windows.
Specifically, complete after initialization procedure in terminal, virtual windows is also initialized as initial form according to the setting of the setting of operating system or terminal manufacturer, and so, virtual windows is just initial form.When after the orientation angle of the current terminal that terminal acquisition pick-up unit reports, this angle value is defined as to the rotation angle value of virtual windows to be rotated, change the initial form of terminal; Here, pick-up unit can be the equipment such as gravity sensor, gyroscope, acceleration transducer, for example, the deflection of gravity sensor reporting terminal is 180 °, this deflection is defined as rotation angle value by terminal, so, just need to be by initial form Rotate 180 °, postrotational initial form is exactly the last time form next time rotating.
In actual applications, terminal also can be in the time that user opens an application, reads the default form angle of this application, and this angle value is confirmed as to rotation angle value; Terminal can also, after user selects display mode, be confirmed as rotation angle value by form angle value corresponding user-selected display mode.Certainly, can also have the mode of other acquisition rotation angle value, the present invention is not specifically limited.
The third situation, the method is applied in the normal use procedure of terminal, and now, virtual windows to be rotated can be the last postrotational last time form of terminal.
Specifically, terminal, can multiple rotary terminal in the process being used by user, and so, for this rotation, virtual windows to be rotated is last time form.Terminal can obtain rotation angle value by above-mentioned several modes.For example, the deflection of gravity sensor reporting terminal is 180 °, and this deflection is defined as rotation angle value by terminal, so, just needs last time form Rotate 180 ° again.
In another embodiment, for above-mentioned the first situation, before S101, the method for the embodiment of the present invention also comprises: obtain opening initialization signal.Be exactly that, when user opens terminal, while powering on start as control terminal, terminal obtains opening initialization signal, enters opening initialization flow process, carries out S101 specifically.
For above-mentioned the second situation and the third situation, before S101, the method for the embodiment of the present invention also comprises: obtain rotary contact and signal.Be exactly that, when orientation angle, acquisition application open command or the acquisition display mode that terminal acquisition pick-up unit reports adjusted instruction, the signalling of generation rotary contact, carries out S101 specifically.
S102: based on obtain rotation angle value, by equal proportion convert treat rotate virtual windows be rotated, obtain postrotational virtual windows.
In specific implementation process, S102 can be: adopt the first equal proportion conversion template to rotate virtual windows to be rotated, obtain postrotational virtual windows.
Specifically, before terminal is dispatched from the factory, terminal manufacturer can be in terminal pre-stored with at least one presetting angle value equal proportion conversion one to one template, that is to say, store at least one equal proportion conversion template; So, after S101, and before S102, the method for the embodiment of the present invention can also comprise: from all equal proportion conversion templates, determine the first equal proportion conversion template corresponding with rotation angle value;
Then, then carry out S102, adopt the first equal proportion template to rotate virtual windows to be rotated, obtain postrotational virtual windows.
For example, above-mentioned equal proportion conversion template can be equal proportion transformation matrix A, and presetting angle value can be 0 °, 90 °, 180 ° and 270 °, and so, corresponding matrix A can be as shown in formula (1) to (4).
Wherein, α is presetting angle value, d widththe pixel count having on horizontal line for terminal screen, d heightthe pixel count having on vertical line for terminal screen.
So, after terminal obtains the rotation angle value of virtual windows to be rotated by S101, can in above-mentioned four equal proportions conversion template, determine that the 4th template is the first equal proportion conversion template.
Next, treat rotation virtual windows according to following formula (5) and carry out equal proportion variation, treat rotation virtual windows and be rotated, obtain postrotational virtual windows.
[x′ y′ 1]=[x y 1]×A| α=270° (5)
Wherein, x ' is the horizontal coordinate of pixel in the rear virtual windows of rotation, and y ' is the vertical coordinate of pixel in virtual windows after rotating; X is the horizontal coordinate of pixel in virtual windows to be rotated, and y is the vertical coordinate of pixel in virtual windows to be rotated.
Certainly, before terminal is dispatched from the factory, terminal manufacturer can also set in advance a general equal proportion conversion template in terminal, so, after S101, and between S102, the method for the embodiment of the present invention can also comprise: according to rotation angle value and the general equal proportion conversion template setting in advance, generate the first equal proportion conversion template corresponding with rotation angle value; Then, then carry out S102, adopt the first equal proportion template to rotate virtual windows to be rotated, obtain postrotational virtual windows.
For example, above-mentioned general equal proportion conversion template can be equal proportion transformation matrix B, as shown in formula (6).
B = cos β sin β 0 - sin β cos β 0 t x t y 1 - - - ( 6 )
Wherein, β is rotation angle value, t xfor the side-play amount in horizontal direction, t yfor the side-play amount in vertical direction.In the time that rotation angle value is different, t xand t yvalue also different.In the time of β=0 °, t x=0, t y=0; In the time of β=90 °, t x=d height, t y=0; In the time of β=180 °, t x=d width, t y=d height; In the time of β=270 °, t x=0, t y=d width.
So, by β=270 °, t x=0 and t y=d widthbring formula (6) into and just can generate formula (4).
Finally, treat rotation virtual windows according to formula (5) and be rotated, obtain postrotational virtual windows.
In above-mentioned rotary course, all giving tacit consent to virtual windows to be rotated is 0 ° of form.And in actual applications, virtual windows to be rotated can be also the form of other angle.
For instance, virtual windows to be rotated is initial form, in initialization procedure, rotates to be 270 °
Form, now, the rotation angle value of virtual windows to be rotated is 90 °, and namely 270 ° of forms need half-twist again, and so, equal proportion conversion template can be equal proportion transformation matrix H, as shown in following formula (7).
H=A| α=270°A| α=90° (7)
Next, with the equal proportion transformation matrix A in H replacement formula (5), obtain postrotational virtual windows, now, postrotational virtual windows is 0 ° of form.
In another embodiment, the operating system of terminal may carry clear view screen function, so, and when user opens after this function, based on said process when virtual windows is rotated, postrotational virtual windows just there will be and the unmatched situation of the current attitude of terminal, so, now proofreaies and correct with regard to the reciprocity transformation of scale process of needs, now, before S102, the method for the embodiment of the present invention also comprises: according to the current attitude of terminal, obtain screen orientation value; That is to say, terminal can detect the residing attitude of current terminal by above-mentioned detection device, obtains screen orientation value.
In this case, S102 can be: based on screen orientation value and rotation angle value, by equal proportion convert treat rotation virtual windows be rotated, obtain postrotational virtual windows.
For instance, the virtual windows to be rotated of supposing terminal is 0 ° of form, and preset rotation angle value is 270 °.First, terminal is opened gravity sensor, detection obtains the current attitude of terminal, obtain gravity sensor and report volume coordinate raw data, operating system can become screen orientation value these data reductions, such as, 90 °, then, by following formula (8), screen orientation value is proofreaied and correct.Here, can count to all angles value, be designated as 1 as being designated as 0,90 ° by 0 °, be designated as 2 by 180 °, be designated as 3 by 270 °.
H proofread and correct=(h+4-3) %4 (8)
Wherein, h proofread and correctfor the numeration after proofreading and correct, h is the numeration of screen orientation value; So, corresponding to screen orientation value h=90 °, can obtain h proofread and correct=2.
Next step, terminal is determined respectively and h proofread and correctequal proportion conversion template, i.e. two matrixes as formula (1) and formula (4) as shown in corresponding with rotation angle value.
Finally, terminal, according to following formula (9), is treated rotation virtual windows and is rotated, and obtains postrotational virtual windows.
[x′ y′ 1]=[x y 1]×H (9)
Further, if what arrange in terminal is touch display screen, because the physical coordinates of touch-screen is the same with virtual windows rotation to the coordinate conversion of screen pixels, therefore, can obtain by Si Jiaoji center on touch touch display screen the physical coordinates of these five points; Then, according to Cramer's rule solution matrix transformation equation, draw one group of calibration factor, so, the physical coordinates that touch display screen reports afterwards is all calibrated according to this calibration factor, obtains accurately corresponding screen pixels coordinate, certainly, also can use the current very ripe truing tool of increasing income to calibrate, the present invention is not specifically limited.In actual applications, because the operating characteristic of touch-screen, for capacitance plate, only need be carried out primary calibration, and for touch screens, will repeatedly calibrate in the time dispatching from the factory.
After virtual windows rotation, postrotational virtual windows data are write framebuffer by operating system, its demonstration on hardware screen of final drive programmed control.
This shows, terminal is according to the anglec of rotation of virtual windows to be rotated, by equal proportion convert treat rotation virtual windows be rotated, obtain postrotational virtual windows, consistent through the virtual windows after rotating like this with the size of virtual windows to be rotated, thereby the equal proportion having realized between horizontal screen and perpendicular screen is switched, user-friendly; Further, convert because terminal only needs to treat rotation virtual windows, and need not consider the factor on any hardware, avoided operating system to start.
Based on same inventive concept, the embodiment of the present invention also provides a kind of terminal, and Fig. 3 is the structural representation of the terminal in the embodiment of the present invention, and as shown in Figure 3, this terminal comprises: obtain unit 31 and rotary unit 32; Wherein,
Obtain unit 31, for obtaining the rotation angle value of terminal virtual windows to be rotated;
Rotary unit 32, for based on obtain rotation angle value, by equal proportion convert treat rotate virtual windows be rotated, obtain postrotational virtual windows.
Further, this terminal also comprises: determining unit 33, for after acquisition unit 31 obtains rotation angle value, and before rotary unit 32 is treated rotation virtual windows is rotated, in at least one preset equal proportion conversion template, determine the first equal proportion conversion template corresponding with rotation angle value, wherein, equal proportion conversion template is corresponding one by one with presetting angle value.
Further, determining unit 33, also for before treating rotation at rotary unit 32 virtual windows being rotated, according to rotation angle value and the general equal proportion conversion template that sets in advance, generates first equal proportion corresponding with rotation angle value and converts template.
Further, rotary unit 32, specifically for adopting the first equal proportion conversion template to rotate virtual windows to be rotated, obtains postrotational virtual windows.
Further, this terminal also comprises: correcting unit 34, for before treating rotation at rotary unit 32 virtual windows being rotated, according to the current attitude of terminal, obtains screen orientation value; Rotary unit 32, specifically for based on rotation angle value, is converted and is treated rotation virtual windows and be rotated by equal proportion, obtains virtual windows to be corrected; Proofread and correct virtual windows to be corrected by screen orientation value, obtain postrotational virtual windows.
Above-mentioned acquisition unit 31, rotary unit 32, determining unit 33 and correcting unit 34 all can be arranged on as in the processor such as CPU, ARM, can also be arranged on single-chip microcomputer or system level chip (SoC, System on Chip) in, the present invention is not specifically limited.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt hardware implementation example, implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (10)

1. a method of rotating virtual windows, is applied to terminal, it is characterized in that, described method comprises:
Obtain the rotation angle value of virtual windows to be rotated in described terminal;
Based on the described rotation angle value obtaining, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain postrotational virtual windows.
2. method according to claim 1, it is characterized in that, in the described terminal of described acquisition after the rotation angle value of virtual windows to be rotated, and in the described described rotation angle value based on obtaining, before being rotated by virtual windows to be rotated described in equal proportion transfer pair, described method also comprises:
In at least one preset equal proportion conversion template, determine the first equal proportion conversion template corresponding with described rotation angle value; Wherein, described equal proportion conversion template is corresponding one by one with presetting angle value.
3. method according to claim 1, is characterized in that, in the described described rotation angle value based on obtaining, before being rotated by virtual windows to be rotated described in equal proportion transfer pair, described method also comprises:
According to described rotation angle value and the general equal proportion conversion template setting in advance, generate the first equal proportion conversion template corresponding with described rotation angle value.
4. according to the method in claim 2 or 3, it is characterized in that, the described described rotation angle value based on obtaining, is rotated by virtual windows to be rotated described in equal proportion transfer pair, obtains postrotational virtual windows, is specially:
Adopt virtual windows to be rotated described in described the first equal proportion conversion template rotation, obtain described postrotational virtual windows.
5. method according to claim 1, is characterized in that, described method also comprises:
According to the current attitude of described terminal, obtain screen orientation value;
The described described rotation angle value based on obtaining, is rotated by virtual windows to be rotated described in equal proportion transfer pair, obtains postrotational virtual windows, is specially:
Based on described screen orientation value and described rotation angle value, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain described postrotational virtual windows.
6. a terminal, is characterized in that, described terminal comprises: obtain unit and rotary unit; Wherein,
Described acquisition unit, for obtaining the rotation angle value of described terminal virtual windows to be rotated;
Described rotary unit, for the described rotation angle value based on obtaining, is rotated by virtual windows to be rotated described in equal proportion transfer pair, obtains postrotational virtual windows.
7. terminal according to claim 6, it is characterized in that, described terminal also comprises: determining unit, for after described acquisition unit obtains described rotation angle value, and before described rotary unit is rotated virtual windows described to be rotated, at least one preset equal proportion conversion template, determine the first equal proportion conversion template corresponding with described rotation angle value; Wherein, described equal proportion conversion template is corresponding one by one with presetting angle value.
8. terminal according to claim 6, it is characterized in that, described terminal also comprises: determining unit, for before described rotary unit is rotated virtual windows described to be rotated, according to described rotation angle value and the general equal proportion conversion template setting in advance, generate the first equal proportion conversion template corresponding with described rotation angle value.
9. according to the terminal described in claim 7 or 8, it is characterized in that described rotary unit, specifically for adopting virtual windows to be rotated described in described the first equal proportion conversion template rotation, obtains described postrotational virtual windows.
10. terminal according to claim 6, is characterized in that, described terminal also comprises: correcting unit, before virtual windows described to be rotated being rotated at described rotary unit, according to the current attitude of described terminal, obtains screen orientation value;
Described rotary unit, is also used to: based on described screen orientation value and described rotation angle value, be rotated by virtual windows to be rotated described in equal proportion transfer pair, obtain described postrotational virtual windows.
CN201410305777.9A 2014-06-27 2014-06-27 Method and terminal for rotating virtual window Pending CN104111779A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410305777.9A CN104111779A (en) 2014-06-27 2014-06-27 Method and terminal for rotating virtual window
PCT/CN2015/073296 WO2015196825A1 (en) 2014-06-27 2015-02-26 Virtual window rotating method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410305777.9A CN104111779A (en) 2014-06-27 2014-06-27 Method and terminal for rotating virtual window

Publications (1)

Publication Number Publication Date
CN104111779A true CN104111779A (en) 2014-10-22

Family

ID=51708592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410305777.9A Pending CN104111779A (en) 2014-06-27 2014-06-27 Method and terminal for rotating virtual window

Country Status (2)

Country Link
CN (1) CN104111779A (en)
WO (1) WO2015196825A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196825A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Virtual window rotating method, terminal and storage medium
CN108574806A (en) * 2017-03-09 2018-09-25 腾讯科技(深圳)有限公司 Video broadcasting method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050858B (en) * 2021-03-31 2022-10-25 联想(北京)有限公司 Information processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644987A (en) * 2008-08-08 2010-02-10 深圳富泰宏精密工业有限公司 Mobile terminal and menu selection method thereof
CN101877736A (en) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 Automatic adjusting system and method for user interface of mobile terminal
CN103246476A (en) * 2013-04-27 2013-08-14 华为技术有限公司 Method, device and terminal device for rotating screen contents
CN103294358A (en) * 2013-05-17 2013-09-11 北京小米科技有限责任公司 Method, device and equipment for controlling screen to rotate

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098373A (en) * 2009-12-10 2011-06-15 Tcl集团股份有限公司 Mobile terminal, screen display method and device thereof
CN104111779A (en) * 2014-06-27 2014-10-22 中兴通讯股份有限公司 Method and terminal for rotating virtual window

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644987A (en) * 2008-08-08 2010-02-10 深圳富泰宏精密工业有限公司 Mobile terminal and menu selection method thereof
CN101877736A (en) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 Automatic adjusting system and method for user interface of mobile terminal
CN103246476A (en) * 2013-04-27 2013-08-14 华为技术有限公司 Method, device and terminal device for rotating screen contents
CN103294358A (en) * 2013-05-17 2013-09-11 北京小米科技有限责任公司 Method, device and equipment for controlling screen to rotate

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196825A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Virtual window rotating method, terminal and storage medium
CN108574806A (en) * 2017-03-09 2018-09-25 腾讯科技(深圳)有限公司 Video broadcasting method and device

Also Published As

Publication number Publication date
WO2015196825A1 (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN106486044B (en) Display device, operation method thereof and mobile device comprising display device
US6353434B1 (en) Input coordinate transformation apparatus for converting coordinates input from a coordinate input device into coordinates in a display coordinate system for displaying images on a display
CN104111779A (en) Method and terminal for rotating virtual window
CN105094619A (en) Image overturn control method and mobile terminal
CN102736816A (en) Resistive touch screen calibration method and mobile terminal
CN102760027A (en) Display processing method and device as well as electronic equipment
CN106569696B (en) Method and system for rendering output panoramic image and portable terminal
CN107680544B (en) Color temperature calibration method and mobile terminal
CN104503725B (en) A kind of information processing method and electronic equipment
US20140218409A1 (en) Terminal device and drawing display program for terminal device
CN104571792A (en) Information processing method and electronic equipment
CN103543923A (en) Control clicking event processing method and system
CN105448246B (en) A kind of terminal and its method, apparatus for adjusting electronic ink screen
CN111025039A (en) Method, device, equipment and medium for testing accuracy of touch display screen
CN105159528A (en) Picture content display method and mobile terminal
JP2004054413A (en) Input position adjusting device and input position adjusting program
CN104639962A (en) Method and system for realizing television touch control
CN103000161B (en) A kind of method for displaying image, device and a kind of intelligent hand-held terminal
CN105786235A (en) Data processing method and electronic device
US11526580B2 (en) Data correction method and apparatus, electronic device and computer-readable storage medium
US8902186B2 (en) Touch display apparatus and touch position mapping method thereof
CN103134941B (en) The smoothing processing method of display instrument panel indicators turn
CN114201627A (en) Display method, device and equipment for electronic ink screen and storage medium
CN109634455B (en) Calibration method and calibration system based on touch screen
CN106161929A (en) A kind of self-shooting bar control method, device and self-shooting bar

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141022

RJ01 Rejection of invention patent application after publication