CN105892960A - Zooming method and device for screen display of mobile terminal - Google Patents
Zooming method and device for screen display of mobile terminal Download PDFInfo
- Publication number
- CN105892960A CN105892960A CN201510711228.6A CN201510711228A CN105892960A CN 105892960 A CN105892960 A CN 105892960A CN 201510711228 A CN201510711228 A CN 201510711228A CN 105892960 A CN105892960 A CN 105892960A
- Authority
- CN
- China
- Prior art keywords
- screen
- change
- density
- screen density
- mobile terminal
- 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; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a zooming method and device for screen display of mobile terminals. The zooming method comprises the following steps: receiving a configuration change request of a screen density; determining a proportional relationship between a screen layout unit and a pixel unit according to the changed screen density; redrawing a system display view according to the proportional relationship. According to the zooming method and device for screen display of mobile terminals, the proportion relationship between the screen layout unit and the pixel unit is determined through changing the screen density, so that the overall zooming of the screen display of mobile terminals can be realized, and the personalized configuration demands of the users are satisfied.
Description
Technical field
The present invention relates to a kind of Zoom method and device, particularly relate to a kind of mobile terminal screen and show
Zoom method and device.
Background technology
The screen of current most of mobile terminals is shown that regulating, and is typically merely able to
Word size or part operation key icon to display are adjusted, but cannot realize entirety
Scaling, therefore, Shortcomings in terms of the whole structure display of mobile terminal, it is impossible to meet use
The individual character at family is with requiring.
Summary of the invention
It is an object of the invention to, it is provided that Zoom method that a kind of mobile terminal screen shows and device,
To realize the overall scaling that mobile terminal full screen is shown, meet users' personal allocation demand.
To achieve these goals, the invention provides the scaling side that a kind of mobile terminal screen shows
Method, including:
Receive the configuration change request of screen density;
Determine that the ratio between screen layout's unit and pixel unit is closed according to the screen density after change
System;
System display view is repainted according to described proportionate relationship.
Present invention also offers the device for zooming that a kind of mobile terminal screen shows, it is characterised in that
Including:
Request receiver module, for receiving the configuration change request of screen density;
Proportionate relationship determines module, for determining screen layout's unit according to the screen density after change
And the proportionate relationship between pixel unit;
View Drawing module, for repainting system display view according to described proportionate relationship.
Zoom method that the mobile terminal screen of the present invention shows and device, by change screen density,
And then determine the proportionate relationship between screen layout's unit and pixel unit such that it is able to realize mobile
The overall scaling change that the screen of terminal shows, meets users' personal allocation demand.
Accompanying drawing explanation
Fig. 1 is the flow process signal of the Zoom method that the mobile terminal screen of the embodiment of the present invention one shows
Figure;
Fig. 2 is that the screen scaling of the embodiment of the present invention arranges one of interface schematic diagram;
Fig. 3 is that the screen scaling of the embodiment of the present invention arranges the two of interface schematic diagram;
Fig. 4 is that the screen scaling of the embodiment of the present invention arranges the three of interface schematic diagram;
Fig. 5 is the structural representation of the device for zooming that the mobile terminal screen of the embodiment of the present invention two shows
Figure.
Detailed description of the invention
At Android system median surface layout unit DP i.e. DIP (device independent
Pixels, equipment independent pixel), it is a relative unit, distinct device has different display effects,
DP is relevant with device hardware, and is independent of pixel.The principle of the embodiment of the present invention is, by adjusting
The screen density that whole system shows, determines that 1 dp unit correspondence uses several pixel units to carry out
Draw, thus realize the overall scaling that screen shows.
Embodiment one
As it is shown in figure 1, the Zoom method that the mobile terminal screen that it is the embodiment of the present invention one shows
Schematic flow sheet, this Zoom method, including:
Step 101: receive the configuration change request of screen density (density);
Step 102: determine screen layout's unit (DP) and pixel according to the screen density after change
Proportionate relationship between unit;
Step 103: repaint system display view according to described proportionate relationship.
Zoom method that the mobile terminal screen of the present embodiment shows and device, close by change screen
Degree, and then determine the proportionate relationship between screen layout's unit and pixel unit such that it is able to realize
The overall scaling change that the screen of mobile terminal shows, meets users' personal allocation demand.
Specifically, system can provide interactive interface as shown in Figures 2 to 4 to assist user to enter
Row is arranged, and Fig. 2 is the entrance arranging interface, concrete by the actual boundary shown in Fig. 3 and Fig. 4
The ratio that reduction of area is put with reference to figure to allow user carry out screen density setting.
Further, in view of the change of screen density (density) is typically in mobile terminal startup
Just can re-read and configure under state, therefore, it can during mobile terminal start next time,
Read the screen density after described change, then perform step 102 and step 103.At this moment, need
System, after the configuration change request receiving screen density, preserves the screen density after change, for
Use during start next time.
Specifically, during mobile terminal-opening, it is possible to use Android system
Surfaceflinger (interface delivery) thread is read by its read only attribute (ro.sf.lcd_density)
Take the screen density after described change, and then complete configuration.System can also be arranged to actively trigger
Restart, i.e. ask when the configuration change receiving described screen density and preserve the screen after change
After curtain density, trigger mobile terminal and restart.
If it addition, configuration change request in change after screen density illegal, then can be straight
Connect the screen density using system default.
Embodiment two
As it is shown in figure 5, it is the scaling dress shown for the mobile terminal screen of the embodiment of the present invention two
The structural representation put, this device for zooming includes:
Request receiver module 11, for receiving the configuration change request of screen density;
Proportionate relationship determines module 12, for determining that screen layout is single according to the screen density after change
Proportionate relationship between position and pixel unit;
View Drawing module 13, for repainting system display view according to described proportionate relationship.
Further, as embodiment one is introduced, in actual applications, can be when starting shooting next time
Adjusting the configuration of screen density again, therefore, this device for zooming may include that screen density preserves mould
Block, the screen density after preserving change, thus for parameter configuration during start.
In start process, mainly realize configuring by surfaceflinger thread, therefore,
Can also include: thread dispatching module, for during mobile terminal-opening, call Android
The surfaceflinger thread of system reads the screen density after described change by its read only attribute.
Additionally, in order to realize active arrangement, the device for zooming of the present embodiment, it is also possible to including:
Restart trigger module, for asking also when the configuration change receiving described screen density
After preserving the screen density after change, trigger mobile terminal and restart.
One of ordinary skill in the art will appreciate that: realize the whole of above-mentioned each method embodiment
Or part steps can be completed by the hardware that programmed instruction is relevant.Aforesaid program is permissible
It is stored in a computer read/write memory medium.This program upon execution, performs to include
State the step of each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic
The various medium that can store program code such as dish or CD.
It is last it is noted that various embodiments above is only in order to illustrate technical scheme,
It is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments,
It will be understood by those within the art that: foregoing embodiments still can be remembered by it
The technical scheme carried is modified, or carries out the most some or all of technical characteristic
With replacing;And these amendments or replacement, do not make the essence of appropriate technical solution depart from this
Invent the scope of each embodiment technical scheme.
Claims (9)
1. the Zoom method that a mobile terminal screen shows, it is characterised in that including:
Receive the configuration change request of screen density;
Determine that the ratio between screen layout's unit and pixel unit is closed according to the screen density after change
System;
System display view is repainted according to described proportionate relationship.
Zoom method the most according to claim 1, it is characterised in that
After the configuration change request receiving screen density, preserve the screen density after change;
During mobile terminal start next time, read the screen density after described change, then
Screen density after performing according to change determines that the ratio between screen layout's unit and pixel unit is closed
The process of system.
Zoom method the most according to claim 2, it is characterised in that at mobile terminal-opening
During, the surfaceflinger thread of Android system reads described change by its read only attribute
Screen density after more.
Zoom method the most according to claim 2, it is characterised in that when receiving described screen
After the configuration change of curtain density ask and preserved the screen density after change, triggering mobile terminal is again
Start.
Zoom method the most according to claim 1, it is characterised in that if described configuration becomes
Screen density after the more change in request is illegal, then use the screen density of system default.
6. the device for zooming that a mobile terminal screen shows, it is characterised in that including:
Request receiver module, for receiving the configuration change request of screen density;
Proportionate relationship determines module, for determining screen layout's unit according to the screen density after change
And the proportionate relationship between pixel unit;
View Drawing module, for repainting system display view according to described proportionate relationship.
Device for zooming the most according to claim 6, it is characterised in that also include:
Screen density preserves module, the screen density after preserving change.
Device for zooming the most according to claim 7, it is characterised in that also include:
Thread dispatching module, for during mobile terminal-opening, calls Android system
Surfaceflinger thread reads the screen density after described change by its read only attribute.
Device for zooming the most according to claim 7, it is characterised in that also include:
Restart trigger module, for asking also when the configuration change receiving described screen density
After preserving the screen density after change, trigger mobile terminal and restart.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510711228.6A CN105892960A (en) | 2015-10-27 | 2015-10-27 | Zooming method and device for screen display of mobile terminal |
PCT/CN2016/086034 WO2017071236A1 (en) | 2015-10-27 | 2016-06-16 | Method and device for zooming on mobile terminal screen display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510711228.6A CN105892960A (en) | 2015-10-27 | 2015-10-27 | Zooming method and device for screen display of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105892960A true CN105892960A (en) | 2016-08-24 |
Family
ID=57001784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510711228.6A Pending CN105892960A (en) | 2015-10-27 | 2015-10-27 | Zooming method and device for screen display of mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105892960A (en) |
WO (1) | WO2017071236A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109698882A (en) * | 2018-12-28 | 2019-04-30 | Tcl移动通信科技(宁波)有限公司 | A kind of control method of mobile terminal, storage medium and mobile terminal |
CN111880869A (en) * | 2020-06-17 | 2020-11-03 | 西安万像电子科技有限公司 | Picture adjusting method, device and system |
WO2022001258A1 (en) * | 2020-06-29 | 2022-01-06 | 华为技术有限公司 | Multi-screen display method and apparatus, terminal device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100748026B1 (en) * | 2006-05-04 | 2007-08-10 | 신텍스 브릴리언 코포레이션 | Method for scaling and cropping images for television display |
CN103744595A (en) * | 2013-12-30 | 2014-04-23 | 广州华多网络科技有限公司 | Self-adaption display method and configuration file generating method and device |
CN104598131A (en) * | 2015-01-15 | 2015-05-06 | 小米科技有限责任公司 | Method and device for adjusting page display mode |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175278A (en) * | 2007-11-12 | 2008-05-07 | 陈拙夫 | Mobile phone with virtual screen display function, display and operation method thereof |
KR102156729B1 (en) * | 2013-08-27 | 2020-09-16 | 삼성전자주식회사 | Method for adjusting magnification of screen images in electronic device, machine-readable storage medium and electronic device |
CN104423781A (en) * | 2013-08-29 | 2015-03-18 | 中兴通讯股份有限公司 | Interface processing method, device and terminal |
CN103744603B (en) * | 2013-12-23 | 2017-01-11 | 上海鼎为通讯电子有限公司 | Hand inputting method and electronic device |
CN104298433A (en) * | 2014-09-30 | 2015-01-21 | 小米科技有限责任公司 | Screen display method, device and mobile terminal |
-
2015
- 2015-10-27 CN CN201510711228.6A patent/CN105892960A/en active Pending
-
2016
- 2016-06-16 WO PCT/CN2016/086034 patent/WO2017071236A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100748026B1 (en) * | 2006-05-04 | 2007-08-10 | 신텍스 브릴리언 코포레이션 | Method for scaling and cropping images for television display |
CN103744595A (en) * | 2013-12-30 | 2014-04-23 | 广州华多网络科技有限公司 | Self-adaption display method and configuration file generating method and device |
CN104598131A (en) * | 2015-01-15 | 2015-05-06 | 小米科技有限责任公司 | Method and device for adjusting page display mode |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109698882A (en) * | 2018-12-28 | 2019-04-30 | Tcl移动通信科技(宁波)有限公司 | A kind of control method of mobile terminal, storage medium and mobile terminal |
CN111880869A (en) * | 2020-06-17 | 2020-11-03 | 西安万像电子科技有限公司 | Picture adjusting method, device and system |
WO2022001258A1 (en) * | 2020-06-29 | 2022-01-06 | 华为技术有限公司 | Multi-screen display method and apparatus, terminal device, and storage medium |
CN114089932A (en) * | 2020-06-29 | 2022-02-25 | 华为技术有限公司 | Multi-screen display method and device, terminal equipment and storage medium |
CN114089932B (en) * | 2020-06-29 | 2023-11-17 | 华为技术有限公司 | Multi-screen display method, device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017071236A1 (en) | 2017-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107728901B (en) | Interface display method and device and terminal | |
EP3168742B1 (en) | Method and device for drawing gui | |
KR102454196B1 (en) | Method for controlling display and electronic device supporting the same | |
CN111698553B (en) | Video processing method and device, electronic equipment and readable storage medium | |
KR101623415B1 (en) | Drawing method, apparatus, and terminal | |
CN105847940B (en) | A kind of barrage display control method and device | |
US9996220B2 (en) | Multi-zone interface switching method and device | |
CN106658139B (en) | Focus control method and device | |
CN105635848A (en) | Bullet-screen display method and terminal | |
US20110167388A1 (en) | Electronic device and method of browsing images thereon | |
US20120098867A1 (en) | Method and apparatus for display interface | |
CN109298912B (en) | Theme color adjusting method and device, storage medium and electronic equipment | |
WO2018017404A1 (en) | Foveated rendering | |
CN107272984A (en) | Application icon preview method and device and electronic equipment | |
CN107357501B (en) | Desktop wallpaper updating method and device and terminal | |
CN105892960A (en) | Zooming method and device for screen display of mobile terminal | |
CN112221128B (en) | Map adjusting method and related device | |
CN104967778A (en) | Focusing reminding method and terminal | |
CN113835577A (en) | Display method, display device, electronic equipment and storage medium | |
CN111290680B (en) | List display method, device, terminal and storage medium | |
CN104809416A (en) | display screen shielding method, electronic device and computer program product | |
CN108334349B (en) | Mobile terminal, display image switching method thereof and computer-readable storage medium | |
CN105900411A (en) | Adjustment method and device for terminal-setting parameter | |
CN115665314B (en) | Screen display method, device, terminal and computer readable storage medium | |
CN106201398A (en) | A kind of display packing and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |