CN106095369A - The display screen adaptation method of a kind of mobile terminal, system - Google Patents
The display screen adaptation method of a kind of mobile terminal, system Download PDFInfo
- Publication number
- CN106095369A CN106095369A CN201610413031.9A CN201610413031A CN106095369A CN 106095369 A CN106095369 A CN 106095369A CN 201610413031 A CN201610413031 A CN 201610413031A CN 106095369 A CN106095369 A CN 106095369A
- Authority
- CN
- China
- Prior art keywords
- display screen
- coordinate
- image
- dimensional matrix
- coordinate axle
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1415—Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses the display screen adaptation method of a kind of mobile terminal, system, the display screen adaptation method of described mobile terminal, including: store the fitting relation between installation direction and the display direction of image of the display screen of described mobile terminal the most in the terminal;Store display image conversion regime corresponding with various described fitting relations, that be shown on described display screen by described image adaptation the most in the terminal;When mobile terminal-opening, obtain the described fitting relation of current mobile terminal, and according to described fitting relation, load corresponding described display image conversion regime.The display screen adaptation method of described mobile terminal, enables mobile terminal to directly select the image conversion regime adaptive with this installation direction according to the installation direction of display screen, and the software engineer without specialty selects image conversion regime, thus improve development efficiency.
Description
Technical field
The present invention relates to mobile terminal application, particularly relate to the display screen adaptation method of a kind of mobile terminal, system
And mobile terminal.
Background technology
Display screen is one of standard configuration device of mobile terminal, and central processing unit is connected with display screen, and by centre
Video data is sent to display screen and shows by reason device;Central processing unit must be by video data according to the installation side of display screen
Being sent to display screen after processing, image could be shown by display screen to be correctly oriented.
Such as, as shown in Figure 1 and Figure 2, Fig. 1 is the coordinate schematic diagram of an image 10, wherein shows a specific font form
" thing Denso " four words, the coordinate schematic diagram of display screen 20 showing image that Fig. 2 is, wherein show and Fig. 1 phase
With " thing Denso " four words of font format, as seen from Figure 1, Figure 2, when the coordinate of image 10 is consistent with the coordinate of display screen 20
Correctly image accurately can be shown.As shown in Figure 3, Figure 4, Fig. 3 is the coordinate schematic diagram of another image 11, wherein shows
Another specific font form " thing Denso " four words, Fig. 4 be another show the coordinate schematic diagram of display screen 21 of image, its
In show " thing Denso " four words with Fig. 3 same font form, from Fig. 3, Fig. 4, when coordinate and the figure of display screen 21
When the coordinate of picture 11 is inconsistent, that is to say when display screen 21 is installed not according to display screen 21 coordinate and mobile terminal pros coordinate
Consistent mode is installed, and the image content of display screen 21 display is different with the actual content of picture 11, for a user, according to
Display screen 21 shown in Fig. 3, Fig. 4 and the coordinate of image 11, the picture material of display screen 21 display is reverse.
For solving the problems referred to above, in actual display screen drives exploitation, need the software engineer of specialty according to display
Display image is changed by screen installation direction on mobile terminals, so that image is shown to user's sight to be correctly oriented
See.Therefore, the installation direction of each display screen is required for professional software engineer and selects the image conversion side of a kind of correspondence
Formula, cumbersome.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, it is provided that a kind of mobile terminal
Display screen adaptation method, system, thus solve the software engineer needing specialty in prior art according to display screen mobile whole
Installation direction on end selects image conversion regime, troublesome poeration, inefficient problem.
It is as follows that the present invention solves the technical scheme that technical problem used:
A kind of display screen adaptation method of mobile terminal, including:
A, between the installation direction storing the display screen of described mobile terminal the most in the terminal and the display direction of image
Fitting relation;
B, storage is corresponding with various described fitting relations the most in the terminal, described image adaptation is shown to described showing
Display image conversion regime in display screen;
C, when mobile terminal-opening, obtain the described fitting relation of current mobile terminal, and according to described fitting relation, load
Corresponding described display image conversion regime.
The display screen adaptation method of described mobile terminal, wherein, in described step A, uses two-dimensional matrix to characterize described
Fitting relation between installation direction and the display direction of described image of display screen;Described two-dimensional matrix includes two row two row;
Wherein, every a line of described two-dimensional matrix represents that the coordinate of described display screen, each list show the coordinate of described image;Or,
Every a line of described two-dimensional matrix represents that the coordinate of described image, each list show the coordinate of described display screen.
The display screen adaptation method of described mobile terminal, wherein, described step A specifically includes:
A1, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
During the y-coordinate axle of display screen, storage characterizes corresponding fitting between installation direction and the display direction of described image of described display screen
The two-dimensional matrix joining relation is;
A2, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
Display screen-x coordinate axle time, storage characterizes corresponding between installation direction and the display direction of described image of described display screen fitting
The two-dimensional matrix joining relation is;
A3, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described in the y-coordinate axle correspondence of described image
Display screen-y-coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between corresponding
The two-dimensional matrix of fitting relation is;
A4, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described in the y-coordinate axle correspondence of described image
During the x coordinate axle of display screen, storage characterizes between installation direction and the display direction of described image of described display screen corresponding
The two-dimensional matrix of fitting relation is;
A5, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
During the x coordinate axle of display screen, storage characterizes corresponding fitting between installation direction and the display direction of described image of described display screen
The two-dimensional matrix joining relation is;
A6, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
Display screen-y-coordinate axle time, storage characterizes corresponding between installation direction and the display direction of described image of described display screen fitting
The two-dimensional matrix joining relation is;
A7, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described in the y-coordinate axle correspondence of described image
Display screen-x coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between corresponding
The two-dimensional matrix of fitting relation is;
A8, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described in the y-coordinate axle correspondence of described image
During the y-coordinate axle of display screen, storage characterizes adaptation corresponding between installation direction and the display direction of described image of display screen
The described two-dimensional matrix of relation is;
Wherein, every a line of the above two-dimensional matrix represents that the coordinate of described display screen, each list show the seat of described image
Mark.
The display screen adaptation method of described mobile terminal, wherein, described step B specifically includes:
B1, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xx, yy) of described display screen;
B2, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-yy, xx) of described display screen;
B3, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Middle coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, ym-yy) of described display screen;
B4, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, ym-xx) of described display screen;
B5, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, xx) of described display screen;
B6, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xx, ym-yy) of described display screen;
B7, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Middle coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (ym-yy, xm-xx) of described display screen;
B8, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, yy) of described display screen;
Wherein, xm, ym are respectively lateral resolution and the longitudinal resolution of described display screen.
The display screen adaptation method of described mobile terminal, wherein, described step C specifically includes: work as mobile terminal-opening
Time, obtain described two-dimensional matrix, and load corresponding described display image conversion regime according to described two-dimensional matrix.
A kind of display screen adaption system of mobile terminal, including:
Fitting relation memory module, for store the most in the terminal the installation direction of the display screen of described mobile terminal with
Fitting relation between the display direction of image;
Conversion regime memory module, corresponding with various described fitting relations, by described for storage the most in the terminal
The display image conversion regime that image adaptation is shown on described display screen;
Display screen adaptation module, is used for when mobile terminal-opening, the described fitting relation of acquisition current mobile terminal, and according to
Described fitting relation, loads corresponding described display image conversion regime.
The display screen adaption system of described mobile terminal, wherein, uses two-dimensional matrix to characterize the installation of described display screen
Fitting relation between the display direction of direction and described image;Described two-dimensional matrix includes two row two row;Wherein, described two dimension
Every a line of matrix represents that the coordinate of described display screen, each list show the coordinate of described image;Or, described two-dimensional matrix
Every a line represents the coordinate of described image, and the coordinate of described display screen is shown in each list.
The display screen adaption system of described mobile terminal, wherein, described fitting relation memory module includes:
First fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
Second fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
3rd fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
4th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
5th fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
6th fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
7th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
8th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of display screen and the aobvious of described image
Show that between direction, the described two-dimensional matrix of the fitting relation of correspondence is;
Wherein, every a line of described two-dimensional matrix represents that the coordinate of described display screen, each list show the coordinate of described image.
The display screen adaption system of described mobile terminal, wherein, described conversion regime memory module includes:
First conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, yy)
Position;
Second conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-yy,
Xx) position;
3rd conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-xx,
Ym-yy) position;
4th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, ym-
Xx) position;
5th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, xx)
Position;
6th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, ym-
Yy) position;
7th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (ym-yy,
Xm-xx) position;
8th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-xx,
Yy) position;
Wherein, xm and ym is respectively lateral resolution and the longitudinal resolution of described display screen.
The display screen adaption system of described mobile terminal, wherein, when mobile terminal-opening, described display screen adaptation mould
Block obtains described two-dimensional matrix, and loads corresponding described display image conversion regime according to described two-dimensional matrix.
In sum, the present invention provides the display screen adaptation method of a kind of mobile terminal, system, showing of described mobile terminal
Display screen adaptation method, including: store installation direction and the image of the display screen of described mobile terminal the most in the terminal
Fitting relation between display direction;Storage is corresponding with various described fitting relations, by described figure the most in the terminal
As the adaptive display image conversion regime being shown on described display screen;When mobile terminal-opening, obtain current mobile terminal
Described fitting relation, and according to described fitting relation, load corresponding described display image conversion regime.Described mobile terminal
Display screen adaptation method, enable the mobile terminal directly select according to the installation direction of display screen and this installation direction be adaptive
Image conversion regime, and the software engineer without specialty selects image conversion regime, thus improve development efficiency.
Accompanying drawing explanation
Fig. 1 is the coordinate schematic diagram of an image, wherein shows " thing Denso " four words of a specific font form.
Fig. 2 is the coordinate schematic diagram of a display screen showing image, wherein shows and Fig. 1 same font form
" thing Denso " four words.
Fig. 3 is the coordinate schematic diagram of another image, wherein shows " thing Denso " four words of another specific font form.
Fig. 4 is that another shows the coordinate schematic diagram of display screen of image, wherein shows and Fig. 3 same font form
" thing Denso " four words.
Fig. 5 is the flow chart of the preferred embodiment of the display screen adaptation method of mobile terminal of the present invention.
Fig. 6 is the coordinate schematic diagram of the display direction of image of the present invention.
Fig. 7 is the coordinate schematic diagram of the first installation direction of display screen of the present invention.
Fig. 8 is the coordinate schematic diagram of the second installation direction of display screen of the present invention.
Fig. 9 is the display image conversion regime schematic diagram that the second installation direction of display screen of the present invention is corresponding.
Figure 10 is the coordinate schematic diagram of the third installation direction of display screen of the present invention.
Figure 11 is the display image conversion regime schematic diagram that the third installation direction of display screen of the present invention is corresponding.
Figure 12 is the coordinate schematic diagram of the 4th kind of installation direction of display screen of the present invention.
Figure 13 is the display image conversion regime schematic diagram that the 4th kind of installation direction of display screen of the present invention is corresponding.
Figure 14 is the coordinate schematic diagram of the 5th kind of installation direction of display screen of the present invention.
Figure 15 is the display image conversion regime schematic diagram that the 5th kind of installation direction of display screen of the present invention is corresponding.
Figure 16 is the coordinate schematic diagram of the 6th kind of installation direction of display screen of the present invention.
Figure 17 is the display image conversion regime schematic diagram that the 6th kind of installation direction of display screen of the present invention is corresponding.
Figure 18 is the coordinate schematic diagram of the 7th kind of installation direction of display screen of the present invention.
Figure 19 is the display image conversion regime schematic diagram that the 7th kind of installation direction of display screen of the present invention is corresponding.
Figure 20 is the coordinate schematic diagram of the 8th kind of installation direction of display screen of the present invention.
Figure 21 is the display image conversion regime schematic diagram that the 8th kind of installation direction of display screen of the present invention is corresponding.
Figure 22 is the principle schematic of the display screen adaption system of mobile terminal of the present invention.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention further describes.Should be appreciated that specific embodiment described herein, and need not only in order to explain the present invention
In limiting the present invention.
Refer to the flow chart of preferred embodiment that Fig. 5, Fig. 5 are the display screen adaptation methods of mobile terminal of the present invention.Fig. 5
The display screen adaptation method of shown a kind of mobile terminal, including:
Step S100, store the display side of installation direction and the image of the display screen of described mobile terminal the most in the terminal
Fitting relation between to;
Step S200, storage is corresponding with various described fitting relations the most in the terminal, shown by described image adaptation
Display image conversion regime on described display screen;
Step S300, when mobile terminal-opening, obtain the described fitting relation of current mobile terminal, and adaptive close according to described
System, loads corresponding described display image conversion regime.
The mobile terminal of the embodiment of the present invention illustrates as a example by mobile phone, in the embodiment of the present invention, in advance in mobile phone
Store fitting relation corresponding between the installation direction of its display screen and the display direction of image;Store in mobile phone the most in advance
The display image conversion regime that described image adaptation is shown to described display screen on corresponding with various described fitting relations;
Various fitting relations namely refer to all fitting relations between various installation directions and the display direction of image of display screen, also
That is, need to store in the terminal between installation direction and the display direction of image of various possible display screen is suitable
The display image conversion regime that relation of joining is corresponding, the various possibility of limit, to accomplish that all possible installation direction of display screen exists
Adaptation can be carried out during use and demonstrate correct image.After more than pre-setting storage, when a handset is turned on, obtaining ought
The described fitting relation of front mobile phone, and according to described fitting relation, load corresponding described display image conversion regime.
Concrete, in the embodiment of the present invention, described step S100 use two-dimensional matrix characterize the installation of described display screen
Fitting relation between the display direction of direction and described image;Described two-dimensional matrix includes two row two row;Wherein, described two dimension
Every a line of matrix represents that the coordinate of described display screen, each list show the coordinate of described image;Or, described two-dimensional matrix
Every a line represents the coordinate of described image, and the coordinate of described display screen is shown in each list.Such as each when described two-dimensional matrix
Row represents the coordinate of described display screen, when the coordinate of described image is shown in each list, two-dimensional matrixRepresent with form, as
Shown in table 1.
Table 1
| Image coordinate display screen coordinate | x | y |
| x | 1 | 0 |
| y | 0 | 1 |
Further, fitting between installation direction and the display direction of described image characterizing described display screen with two-dimensional matrix
When joining relation, in mobile phone, between installation direction and the display direction of image of its display screen of storage sign, corresponding adaptation is closed in advance
The two-dimensional matrix of system;The display figure that the two-dimensional matrix of fitting relation described with various signs is corresponding is stored the most in advance in mobile phone
As conversion regime;When a handset is turned on, obtain the two-dimensional matrix characterizing described fitting relation of current phone, and according to described two
Dimension matrix, loads corresponding described display image conversion regime.Wherein, described display is represented when every a line of described two-dimensional matrix
The coordinate of screen, when the coordinate of described image is shown in each list, described two-dimensional matrix includes:、、、、、、、。
Further, step S100 specifically includes:
S110, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described in the y-coordinate axle correspondence of described image
During the y-coordinate axle of display screen, storage characterizes between installation direction and the display direction of described image of described display screen corresponding
The two-dimensional matrix of fitting relation is;
It is to say, as shown in Figure 6, Figure 7, in step S110, when the x*1 of x correspondence display screen 2 coordinate of image 1 coordinate, image
During the y*1 of y correspondence display screen 2 coordinate of 1 coordinate, storing described two-dimensional matrix is, see it is of course also possible to turn around,
The x*1 of x correspondence image 1 coordinate of display screen 2 coordinate, the y*1 of y correspondence image 1 coordinate of display screen 2 coordinate, principle is similar to, this
Place is not repeating.
S120, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding
Described display screen-x coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between right
The two-dimensional matrix of the fitting relation answered is。
It is to say, as shown in Fig. 6, Fig. 8, in step S120, as the y*1 of x correspondence display screen 2 coordinate of image 1 coordinate,
During the x*-1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form table
Show, as shown in table 2.
Table 2
| Image coordinate display screen coordinate | x | y |
| x | 0 | 1 |
| y | -1 | 0 |
Certainly, as shown in Fig. 6, Fig. 8, it is also possible to turn around and see, the y*-1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the x*1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S130, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, the y-coordinate axle pair of described image
Should described display screen-y-coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between
The two-dimensional matrix of corresponding fitting relation is。
It is to say, as shown in Fig. 6, Figure 10, in step S130, as the x*-of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the y*-1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form
Represent, as shown in table 3.
Table 3
| Image coordinate display screen coordinate | x | y |
| x | -1 | 0 |
| y | 0 | -1 |
Certainly, as shown in Fig. 6, Figure 10, it is also possible to turn around and see, the x*-1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the y*-1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S140, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, the y-coordinate axle pair of described image
When answering the x coordinate axle of described display screen, storage characterizes between installation direction and the display direction of described image of described display screen
The two-dimensional matrix of corresponding fitting relation is。
It is to say, as shown in Fig. 6, Figure 12, in step S140, as the y*-of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the x*1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form table
Show, as shown in table 4.
Table 4
| Image coordinate display screen coordinate | x | y |
| x | 0 | 1 |
| y | -1 | 0 |
Certainly, as shown in Fig. 6, Figure 12, it is also possible to turn around and see, the y*1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the x*-1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S150, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding
During the x coordinate axle of described display screen, it is right that storage characterizes between installation direction and the display direction of described image of described display screen
The two-dimensional matrix of the fitting relation answered is。
It is to say, as shown in Fig. 6, Figure 14, in step S150, as the y* of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the x*1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, represent by form,
As shown in table 5.
Table 5
| Image coordinate display screen coordinate | x | y |
| x | 0 | 1 |
| y | 1 | 0 |
Certainly, as shown in Fig. 6, Figure 14, it is also possible to turn around and see, the y*1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the x*1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S160, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding
Described display screen-y-coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between right
The two-dimensional matrix of the fitting relation answered is。
It is to say, as shown in Fig. 6, Figure 16, in step S160, as the x* of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the y*-1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form table
Show, as shown in table 6.
Table 6
| Image coordinate display screen coordinate | x | y |
| x | 1 | 0 |
| y | 0 | -1 |
Certainly, as shown in Fig. 6, Figure 16, it is also possible to turn around and see, the x*1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the y*-1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S170, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, the y-coordinate axle pair of described image
Should described display screen-x coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between
The two-dimensional matrix of corresponding fitting relation is。
It is to say, as shown in Fig. 6, Figure 18, in step S170, as the y*-of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the x*-1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form
Represent, as shown in table 7.
Table 7
| Image coordinate display screen coordinate | x | y |
| x | -1 | 0 |
| y | 0 | -1 |
Certainly, as shown in Fig. 6, Figure 18, it is also possible to turn around and see, the y*-1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the x*-1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
S180, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, the y-coordinate axle pair of described image
When answering the y-coordinate axle of described display screen, corresponding between installation direction and the display direction of described image of storage sign display screen
The described two-dimensional matrix of fitting relation be。
It is to say, as shown in Fig. 6, Figure 20, in step S180, as the x*-of x correspondence display screen 2 coordinate of image 1 coordinate
When 1, the y*1 of y correspondence display screen 2 coordinate of image 1 coordinate, storing described two-dimensional matrix is, use form table
Show, as shown in table 8.
Table 8
| Image coordinate display screen coordinate | x | y |
| x | -1 | 0 |
| y | 0 | 1 |
Certainly, as shown in Fig. 6, Figure 20, it is also possible to turn around and see, the x*-1 of x correspondence image 1 coordinate of display screen 2 coordinate, display
Shielding the y*1 of y correspondence image 1 coordinate of 2 coordinates, principle is similar to, and is not repeating.
Wherein it is desired to explanation, every a line of the above two-dimensional matrix represents the coordinate of described display screen, every string
Represent the coordinate of described image.
Further, described step S200 specifically includes:
S210, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Middle coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xx, yy) of described display screen;
It is to say, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, be the picture of (xx, yy) by coordinate in described image
Vegetarian refreshments, is shown to the position that coordinate is (xx, yy) of display screen.
S220, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described
In image, coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-yy, xx) of described display screen;
It is to say, as it is shown in figure 9, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by described image 1(mono-frame figure
Picture) in coordinate be the pixel of (xx, yy), be shown to the position that coordinate is (xm-yy, xx) of display screen 2.
S230, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by institute
Stating coordinate in image is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, ym-yy) of described display screen;
It is to say, as shown in figure 11, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by coordinate in described image 1
For the pixel of (xx, yy), it is shown to the position that coordinate is (xm-xx, ym-yy) of display screen 2.
S240, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described
In image, coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, ym-xx) of described display screen;
It is to say, as shown in figure 13, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, when needs are by described image 1
Middle coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, ym-xx) of display screen 2.
S250, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described figure
In Xiang, coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, xx) of described display screen;
It is to say, as shown in figure 15, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by coordinate in described image 1
For the pixel of (xx, yy), it is shown to the position that coordinate is (yy, xx) of display screen 2.
S260, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described
In image, coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xx, ym-yy) of described display screen;
It is to say, as shown in figure 17, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by coordinate in described image 1
For the pixel of (xx, yy), it is shown to the position that coordinate is (xx, ym-yy) of display screen 2.
S270, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by institute
Stating coordinate in image is the pixel of (xx, yy), is shown to the position that coordinate is (ym-yy, xm-xx) of described display screen;
It is to say, as shown in figure 19, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by coordinate in described image 1
For the pixel of (xx, yy), it is shown to the position that coordinate is (ym-yy, xm-xx) of display screen 2.
S280, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described
In image, coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, yy) of described display screen;
It is to say, as shown in figure 21, when acquired two-dimensional matrix is above-mentioned two-dimensional matrix, by coordinate in described image 1
For the pixel of (xx, yy), it is shown to the position that coordinate is (xm-xx, yy) of display screen 2.
Wherein it is desired to explanation, above-described xm, ym are respectively the lateral resolution of described display screen and longitudinally divide
Resolution.
Further, described step S300 specifically includes: when a handset is turned on, obtains described two-dimensional matrix, and according to institute
State two-dimensional matrix and load corresponding described display image conversion regime.
Therefore, the display screen adaptation method of a kind of mobile terminal that the present invention proposes, making mobile terminal add can root
The function of the image conversion regime adaptive with this installation direction is directly selected according to the installation direction of display screen, and soft without specialty
Part engineer selects image conversion regime, thus improves development efficiency.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through
The hardware that programmed instruction is relevant completes, aforesaid program can store with in a computer read/write memory medium, this program
Upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be disk, CD, only
Read store-memory body (Read-Only, ROM) or random store-memory body (Random Access Memory, RAM) etc..
Based on said method embodiment, the embodiment of the present invention additionally provides the display screen adaption system of a kind of mobile terminal,
As shown in figure 22, described system includes: fitting relation memory module 700, conversion regime memory module 800, conversion regime store
Module 800, wherein,
Fitting relation memory module 700, for storing the installation side of the display screen of described mobile terminal the most in the terminal
Fitting relation between the display direction of image;As detailed above.
Conversion regime memory module 800, corresponding with various described fitting relations for storage the most in the terminal,
The display image conversion regime that described image adaptation is shown on described display screen;As detailed above.
Display screen adaptation module 900, for when mobile terminal-opening, obtains the described adaptive of current mobile terminal and closes
System, and according to described fitting relation, load corresponding described display image conversion regime;As detailed above.
Further, in the display screen adaption system of described mobile terminal, two-dimensional matrix is used to characterize described display screen
Installation direction and the display direction of described image between fitting relation;Described two-dimensional matrix includes two row two row;Wherein, institute
The every a line stating two-dimensional matrix represents that the coordinate of described display screen, each list show the coordinate of described image;Or, described two dimension
Every a line of matrix represents that the coordinate of described image, each list show the coordinate of described display screen.
Further, described fitting relation memory module 700 also includes:
First fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;As detailed above;
Second fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;As detailed above;
3rd fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;As detailed above;
4th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;As detailed above;
5th fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;As detailed above;
6th fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;As detailed above;
7th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;As detailed above;
8th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of display screen and the aobvious of described image
Show that between direction, the described two-dimensional matrix of the fitting relation of correspondence is;As detailed above;
Wherein, every a line of described two-dimensional matrix represents that the coordinate of described display screen, each list show the coordinate of described image.
Further, described conversion regime memory module 800 also includes:
First conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, yy)
Position;As detailed above;
Second conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-yy,
Xx) position;As detailed above;
3rd conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-xx,
Ym-yy) position;As detailed above;
4th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, ym-
Xx) position;As detailed above;
5th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, xx)
Position;As detailed above;
6th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, ym-
Yy) position;As detailed above;
7th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (ym-yy,
Xm-xx) position;As detailed above;
8th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-xx,
Yy) position;As detailed above;
Wherein, xm and ym is respectively lateral resolution and the longitudinal resolution of described display screen.
Further, when mobile terminal-opening, described display screen adaptation module 900 obtains described two-dimensional matrix, and root
Corresponding described display image conversion regime is loaded according to described two-dimensional matrix;As detailed above.
In sum, the present invention provides the display screen adaptation method of a kind of mobile terminal, system, showing of described mobile terminal
Display screen adaptation method, including: store installation direction and the image of the display screen of described mobile terminal the most in the terminal
Fitting relation between display direction;Storage is corresponding with various described fitting relations, by described figure the most in the terminal
As the adaptive display image conversion regime being shown on described display screen;When mobile terminal-opening, obtain current mobile terminal
Described fitting relation, and according to described fitting relation, load corresponding described display image conversion regime.Described mobile terminal
Display screen adaptation method, enable the mobile terminal directly select according to the installation direction of display screen and this installation direction be adaptive
Image conversion regime, and the software engineer without specialty selects image conversion regime, thus improve development efficiency.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.
Claims (10)
1. the display screen adaptation method of a mobile terminal, it is characterised in that including:
A, between the installation direction storing the display screen of described mobile terminal the most in the terminal and the display direction of image
Fitting relation;
B, storage is corresponding with various described fitting relations the most in the terminal, described image adaptation is shown to described showing
Display image conversion regime in display screen;
C, when mobile terminal-opening, obtain the described fitting relation of current mobile terminal, and according to described fitting relation, load
Corresponding described display image conversion regime.
The display screen adaptation method of mobile terminal the most according to claim 1, it is characterised in that in described step A, uses
Two-dimensional matrix characterizes the fitting relation between installation direction and the display direction of described image of described display screen;Described Two-Dimensional Moment
Battle array includes two row two row;Wherein, every a line of described two-dimensional matrix represents that the coordinate of described display screen, each list show described figure
The coordinate of picture;Or, every a line of described two-dimensional matrix represents that the coordinate of described image, each list show the seat of described display screen
Mark.
The display screen adaptation method of mobile terminal the most according to claim 2, it is characterised in that described step A is specifically wrapped
Include:
A1, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
During the y-coordinate axle of display screen, storage characterizes corresponding fitting between installation direction and the display direction of described image of described display screen
The two-dimensional matrix joining relation is;
A2, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
Display screen-x coordinate axle time, storage characterizes corresponding between installation direction and the display direction of described image of described display screen fitting
The two-dimensional matrix joining relation is;
A3, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described in the y-coordinate axle correspondence of described image
Display screen-y-coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between corresponding
The two-dimensional matrix of fitting relation is;
A4, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described in the y-coordinate axle correspondence of described image
During the x coordinate axle of display screen, storage characterizes between installation direction and the display direction of described image of described display screen corresponding
The two-dimensional matrix of fitting relation is;
A5, when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
During the x coordinate axle of display screen, storage characterizes corresponding fitting between installation direction and the display direction of described image of described display screen
The two-dimensional matrix joining relation is;
A6, when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, the y-coordinate axle of described image is corresponding described aobvious
Display screen-y-coordinate axle time, storage characterizes corresponding between installation direction and the display direction of described image of described display screen fitting
The two-dimensional matrix joining relation is;
A7, when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described in the y-coordinate axle correspondence of described image
Display screen-x coordinate axle time, storage characterize described display screen installation direction and the display direction of described image between corresponding
The two-dimensional matrix of fitting relation is;
A8, when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described in the y-coordinate axle correspondence of described image
During the y-coordinate axle of display screen, storage characterizes adaptation corresponding between installation direction and the display direction of described image of display screen
The described two-dimensional matrix of relation is;
Wherein, every a line of the above two-dimensional matrix represents that the coordinate of described display screen, each list show the seat of described image
Mark.
The display screen adaptation method of mobile terminal the most according to claim 3, it is characterised in that described step B is specifically wrapped
Include:
B1, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: will sit in described image
It is designated as the pixel of (xx, yy), is shown to the position that coordinate is (xx, yy) of described display screen;
B2, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-yy, xx) of described display screen;
B3, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, ym-yy) of described display screen;
B4, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (yy, ym-xx) of described display screen;
B5, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: will sit in described image
It is designated as the pixel of (xx, yy), is shown to the position that coordinate is (yy, xx) of described display screen;
B6, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xx, ym-yy) of described display screen;
B7, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (ym-yy, xm-xx) of described display screen;
B8, when described two-dimensional matrix it isTime, the described display image conversion regime of corresponding storage is: by described image
Coordinate is the pixel of (xx, yy), is shown to the position that coordinate is (xm-xx, yy) of described display screen;
Wherein, xm, ym are respectively lateral resolution and the longitudinal resolution of described display screen.
The display screen adaptation method of mobile terminal the most according to claim 4, it is characterised in that described step C is specifically wrapped
Include: when mobile terminal-opening, obtain described two-dimensional matrix, and load corresponding described display image according to described two-dimensional matrix
Conversion regime.
6. the display screen adaption system of a mobile terminal, it is characterised in that including:
Fitting relation memory module, for store the most in the terminal the installation direction of the display screen of described mobile terminal with
Fitting relation between the display direction of image;
Conversion regime memory module, corresponding with various described fitting relations, by described for storage the most in the terminal
The display image conversion regime that image adaptation is shown on described display screen;
Display screen adaptation module, is used for when mobile terminal-opening, the described fitting relation of acquisition current mobile terminal, and according to
Described fitting relation, loads corresponding described display image conversion regime.
The display screen adaption system of mobile terminal the most according to claim 6, it is characterised in that use two-dimensional matrix to characterize
Fitting relation between installation direction and the display direction of described image of described display screen;Described two-dimensional matrix includes two row two
Row;Wherein, every a line of described two-dimensional matrix represents that the coordinate of described display screen, each list show the coordinate of described image;Or
Person, every a line of described two-dimensional matrix represents that the coordinate of described image, each list show the coordinate of described display screen.
The display screen adaption system of mobile terminal the most according to claim 7, it is characterised in that described fitting relation stores
Module includes:
First fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
Second fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
3rd fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
4th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
5th fitting relation memory element, for when the y-coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
During the x coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of described display screen and described image
Display direction between the two-dimensional matrix of corresponding fitting relation be;
6th fitting relation memory element, for when the x coordinate axle of the corresponding described display screen of the x coordinate axle of described image, described
The corresponding described display screen of the y-coordinate axle of image-y-coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
7th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-y-coordinate axle, described
The corresponding described display screen of the y-coordinate axle of image-x coordinate axle time, storage characterizes the installation direction of described display screen and described figure
The two-dimensional matrix of fitting relation corresponding between the display direction of picture is;
8th fitting relation memory element, for when the corresponding described display screen of the x coordinate axle of described image-x coordinate axle, described
During the y-coordinate axle of the corresponding described display screen of the y-coordinate axle of image, storage characterizes the installation direction of display screen and the aobvious of described image
Show that between direction, the described two-dimensional matrix of the fitting relation of correspondence is;
Wherein, every a line of the above two-dimensional matrix represents that the coordinate of described display screen, each list show the seat of described image
Mark.
The display screen adaption system of mobile terminal the most according to claim 8, it is characterised in that described conversion regime stores
Module includes:
First conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, yy)
Position;
Second conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xm-yy, xx)
Position;
3rd conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (xm-xx,
Ym-yy) position;
4th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, ym-xx)
Position;
5th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (yy, xx)
Position;
6th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xx, ym-yy)
Position;
7th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage
Conversion regime is: be the pixel of (xx, yy) by coordinate in described image, be shown to the coordinate of described display screen for (ym-yy,
Xm-xx) position;
8th conversion regime memory element, for when described two-dimensional matrix beingTime, the described display image of corresponding storage turns
The mode of changing is: be the pixel of (xx, yy) by coordinate in described image, and the coordinate being shown to described display screen is (xm-xx, yy)
Position;
Wherein, xm and ym is respectively lateral resolution and the longitudinal resolution of described display screen.
The display screen adaption system of mobile terminal the most according to claim 9, it is characterised in that work as mobile terminal-opening
Time, described display screen adaptation module obtains described two-dimensional matrix, and loads corresponding described display figure according to described two-dimensional matrix
As conversion regime.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610413031.9A CN106095369A (en) | 2016-06-13 | 2016-06-13 | The display screen adaptation method of a kind of mobile terminal, system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610413031.9A CN106095369A (en) | 2016-06-13 | 2016-06-13 | The display screen adaptation method of a kind of mobile terminal, system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106095369A true CN106095369A (en) | 2016-11-09 |
Family
ID=57846594
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610413031.9A Pending CN106095369A (en) | 2016-06-13 | 2016-06-13 | The display screen adaptation method of a kind of mobile terminal, system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106095369A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101430844A (en) * | 2007-11-06 | 2009-05-13 | 株式会社山武 | Display apparatus |
| CN104391613A (en) * | 2014-12-11 | 2015-03-04 | 北京轩文文化发展有限公司 | Calligraphic handwriting obtaining system based on optical principle |
| CN105278897A (en) * | 2014-07-11 | 2016-01-27 | 深圳市金溢科技股份有限公司 | Vehicle-mounted unit and font direction adjustment method therefor |
-
2016
- 2016-06-13 CN CN201610413031.9A patent/CN106095369A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101430844A (en) * | 2007-11-06 | 2009-05-13 | 株式会社山武 | Display apparatus |
| CN105278897A (en) * | 2014-07-11 | 2016-01-27 | 深圳市金溢科技股份有限公司 | Vehicle-mounted unit and font direction adjustment method therefor |
| CN104391613A (en) * | 2014-12-11 | 2015-03-04 | 北京轩文文化发展有限公司 | Calligraphic handwriting obtaining system based on optical principle |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101495952B (en) | Display processing line buffer combined with pipeline overlap | |
| CN103544253B (en) | A kind of realization method and system that picture is shown in a manner of waterfall stream | |
| CN111240557B (en) | Page display method, device and equipment | |
| CN105279161B (en) | The filter sort method and device of picture processing application | |
| CN109815932A (en) | A kind of paper corrects method, apparatus, electronic equipment and storage medium | |
| US20060092154A1 (en) | Apparatus and method for providing a 3D animation file reflecting a user's personality in a mobile communication terminal | |
| CN111625160A (en) | Application icon adjusting method and device | |
| CN109118509A (en) | Processing method, device, equipment and the storage medium of writing on the blackboard image | |
| CN113590402B (en) | Pin testing device, method, control equipment and storage medium | |
| CN113010252A (en) | Application page display method, electronic equipment and storage medium | |
| CN103870197A (en) | Method and device for processing picture | |
| CN106157907A (en) | Gamma curve correction circuit and gamma curve correction method | |
| CN107678718A (en) | Compatibility processing method, mobile terminal and the storage medium of different resolution display screen | |
| CN106095369A (en) | The display screen adaptation method of a kind of mobile terminal, system | |
| CN104778752A (en) | Method and device for establishing human body model | |
| CN111193917B (en) | Operation method, device and related product | |
| US7800622B2 (en) | Method and apparatus for selective access of display data sequencing in mobile computing devices | |
| CN110288652A (en) | Image processing method and device | |
| US20250173835A1 (en) | Object removal with fourier-based cascaded modulation gan | |
| JPH08202890A (en) | Drawing equipment | |
| US9947075B2 (en) | Image processing apparatus | |
| CN108170391A (en) | Page display method, device and electronic equipment | |
| WO2024152901A1 (en) | Image processing method and apparatus, device and medium | |
| CN110457151A (en) | Hot restorative procedure, device and readable storage medium storing program for executing | |
| CN115375780A (en) | Color difference calculation method, device, electronic device, storage medium, and product |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |
|
| RJ01 | Rejection of invention patent application after publication |