CN106970768A - Method and system of the support multiresolution without Zoom display based on android system - Google Patents

Method and system of the support multiresolution without Zoom display based on android system Download PDF

Info

Publication number
CN106970768A
CN106970768A CN201610020421.XA CN201610020421A CN106970768A CN 106970768 A CN106970768 A CN 106970768A CN 201610020421 A CN201610020421 A CN 201610020421A CN 106970768 A CN106970768 A CN 106970768A
Authority
CN
China
Prior art keywords
resolution
display
android
frame buffer
android device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610020421.XA
Other languages
Chinese (zh)
Inventor
蓝斌元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201610020421.XA priority Critical patent/CN106970768A/en
Publication of CN106970768A publication Critical patent/CN106970768A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

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)

Abstract

The present invention provides a kind of method and system of the support multiresolution without Zoom display based on android system, including during Android device initialization, sets the video memory resolution ratio of frame buffer to be more than or equal to the ultimate resolution that Android device is supported;After Android device starts, the apparent resolution of frame buffer is set to the current resolution of Android device;When changing the display resolution of Android device, user interface is drawn according to the display resolution after renewal, while the apparent resolution of frame buffer is adjusted into the display resolution after updating.Method and system of the support multiresolution without Zoom display based on android system of the present invention are turned back on without needs, firmware software need not be changed, can change different resolution display or more switching display resolution ratio when, realize image without Zoom display;It is practical suitable for there is the terminal installation of VGA or HDMI use android system.

Description

Method and system of the support multiresolution without Zoom display based on android system
Technical field
The present invention relates to the technical field that image is shown, more particularly to a kind of support multiresolution based on android system without The method and system of Zoom display.
Background technology
Android system is a kind of freedom based on Linux and the operating system of open source code, is mainly used for mobile device, Such as smart mobile phone and tablet personal computer.Nowadays in response to the market demand, Anroid systems are applied on PC Terminal Type products, and adopted With the cpu chip of ARM frameworks, so as to substantially reduce the cost of product, such as in exploitation cloud PC, education PC, thin It is loved by all on the PC products such as client computer.
Generally, one display screen of general band on Android mobile devices, a firmware software only supports a kind of resolution ratio Screen display.But, PC products need to support the display of various resolution ratio.
In the prior art, shown, included using the switching on the device of android system if necessary to support multiresolution 800x600p@60Hz、1024x768p@60Hz、1280x720p@60Hz、1280x1024p@60Hz、 1366x768p@60Hz, 1440x900p@60Hz, 1600x900p@60Hz, 1680x1050p@60Hz and 1920x1080p@60Hz, then need to carry out conversion scaling by hardware device.
When the product based on android system realizes the conversion scaling of resolution ratio using hardware, such as used in flat panel products When HDMI is applied, the display effect deviation of screen, font image is more obscured, it is impossible to meet need of the user to screen definition Ask.Meanwhile, employ hardware to realize that the conversion scaling of resolution ratio can cause increasing for product cost, be unfavorable for the further of product Promotion and application.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of support based on android system is many Method and system of the resolution ratio without Zoom display, repaint user interface, while frame is delayed according to current set resolution ratio The apparent resolution deposited is adjusted to the display resolution after updating, and can be achieved without changing software and hardware, need not turn back on Point-to-point display output when resolution ratio is dynamically changed, it is ensured that whole display result is without zoom operations.
In order to achieve the above objects and other related objects, the present invention provide a kind of support multiresolution based on android system without The method of Zoom display, comprises the following steps:When step S1, Android device initialization, the video memory of frame buffer is set to differentiate Rate is more than or equal to the ultimate resolution that Android device is supported;After step S2, Android device start, frame is delayed The apparent resolution deposited is set to the current resolution of Android device;Step S3, the display point when replacing Android device During resolution, user interface is drawn according to the display resolution after renewal, while the apparent resolution of frame buffer is adjusted to after renewal Display resolution.
According to above-mentioned method of the support multiresolution without Zoom display based on android system, wherein:The step S1 In, the video memory resolution ratio of frame buffer is set to 1920*1080.
According to above-mentioned method of the support multiresolution without Zoom display based on android system, wherein:The step S3 In, when the different display of one resolution ratio of Android device replacing, or when changing selected display resolution, change The display resolution of Android device.
According to above-mentioned method of the support multiresolution without Zoom display based on android system, wherein:The step S3 In, user interface is drawn according to the display resolution after renewal.
Further, according to above-mentioned method of the support multiresolution without Zoom display based on android system, wherein:Institute State in step S3, the WindowManagerService services and surfaceflinger services of android system ccf layer are using more Display resolution after new, the user interface of output is drawn according to the display resolution after renewal.
Meanwhile, the present invention also provides a kind of system of the support multiresolution without Zoom display based on android system, including first Beginningization module, starting module and update module;
The initialization module is used for when Android device is initialized, and sets the video memory resolution ratio of frame buffer to be more than or equal to The ultimate resolution that Android device is supported;
The starting module is used for after Android device startup, and the apparent resolution of frame buffer is set into Android device Current resolution;
The update module is used to, when changing the display resolution of Android device, be drawn according to the display resolution after renewal User interface, while the apparent resolution of frame buffer is adjusted into the display resolution after updating.
According to above-mentioned system of the support multiresolution without Zoom display based on android system, wherein:The initialization mould The video memory resolution ratio of frame buffer is set to 1920*1080 by block.
According to above-mentioned system of the support multiresolution without Zoom display based on android system, wherein:The update module In, when the different display of one resolution ratio of Android device replacing, or when changing selected display resolution, change The display resolution of Android device.
According to above-mentioned system of the support multiresolution without Zoom display based on android system, wherein:The update module In, user interface is drawn according to the display resolution after renewal.
Further, according to above-mentioned system of the support multiresolution without Zoom display based on android system, wherein:Institute State in update module, the WindowManagerService services and surfaceflinger services of android system ccf layer are used Display resolution after renewal, the user interface of output is drawn according to the display resolution after renewal.
As described above, method and system of the support multiresolution without Zoom display based on android system of the present invention, have Following beneficial effect:
(1) without needing to turn back on, without changing firmware software, you can changing the display of different resolution or changing display During the resolution ratio of device, realize image without Zoom display;
(2) it is applied to the terminal installation for having the use android system of VGA or HDMI, it is practical.
Brief description of the drawings
Fig. 1 is shown as the flow chart of method of the support multiresolution without Zoom display based on android system of the present invention;
Fig. 2 is shown as the structural representation of system of the support multiresolution without Zoom display based on android system of the present invention Figure.
Component label instructions
1 initialization module
2 starting modules
3 update modules
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be as disclosed by this specification Content understand easily the present invention other advantages and effect.The present invention can also add by way of a different and different embodiment To implement or apply, the various details in this specification can also be based on different viewpoints and application, in the essence without departing from the present invention God is lower to carry out various modifications or alterations.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention, then schema in a schematic way In only display drawn with relevant component in the present invention rather than according to component count, shape and the size during actual implement, its reality The kenel of each component, quantity and ratio can be a kind of random change during implementation, and its assembly layout kenel may also answer more It is miscellaneous.
It should be noted that method and system of the support multiresolution without Zoom display based on android system of the present invention should For based on android system, and the equipment for supporting a variety of resolution ratio to show.The equipment can by VGA, HDMI or its He is connected display interface with display.Wherein, in the setting menu display items increase resolution ratio (Resolution) of android system Subitem, lists all resolution ratio of equipment support, so that user is selected.Certainly, resolution list here can also be According to the resolution list for reading the connected actual support of display.
Method and system of the support multiresolution without Zoom display based on android system of the present invention are realized by Software for Design What is repainted user interface according to current set resolution ratio and adjust the frame buffer (framebuffer) of Android device can Resolution sizes are seen, to can reach point-to-point display output when resolution ratio is dynamically changed, it is ensured that whole display result is without contracting Put operation.
Reference picture 1, the method for support multiresolution without Zoom display of the invention based on android system includes following step Suddenly:
When step S1, Android device initialization, the video memory resolution ratio of frame buffer is set to be more than or equal to Android device The ultimate resolution supported.
Preferably, the video memory resolution ratio of frame buffer is set to 1920*1080.Wherein, 1920 supported by Android device Horizontal direction on video memory resolution ratio xres_virtual, the video memory point in 1080 vertical direction supported by Android device Resolution yres_virtual.
After step S2, Android device start, the apparent resolution of frame buffer is set to the current resolution of Android device Rate.
If for example, the current resolution of current Android device is 1440*900, by the apparent resolution of frame buffer Xres*ysrs is set to current resolution 1440*900.
Step S3, when change Android device display resolution when, according to after renewal display resolution draw user circle Face, while the apparent resolution of frame buffer is adjusted into the display resolution after updating.
After Android device starts, the different display of a resolution ratio is if desired changed, or need change selected During display resolution, following operate is performed:
31) user interface (User Interface, UI) is drawn according to the display resolution (display size) after renewal.
Specifically, the WindowManagerService services and surfaceflinger services of android system ccf layer are using more Display resolution after new, the user interface of output is drawn according to the display resolution after renewal, i.e., using WindowManager SetForcedDisplaySize (Display.DEFAULT_DISPLAY, ssize.x, ssize.y) methods realize.Wherein, Ssize.x*ssize.y is the display resolution after updating.For example, when the display resolution after updating is 1280*800, Ssize.x is then set to 1280, ssize.y and is then set to 800.
32) apparent resolution of frame buffer is adjusted to the display resolution after updating.
For example, when the display resolution after renewal is 1280*800, the apparent resolution xres and yres of frame buffer are adjusted respectively Whole is 1280 and 800.That is the frame buffer data of 1280*800 sizes is only shown.
Reference picture 2, the system of support multiresolution without Zoom display of the invention based on android system includes initialization mould Block 1, starting module 2 and update module 3.
Initialization module 1 is used for when Android device is initialized, and sets the video memory resolution ratio of frame buffer to be more than or equal to The ultimate resolution that Android device is supported.
Preferably, the video memory resolution ratio of frame buffer is set to 1920*1080.Wherein, 1920 supported by Android device Horizontal direction on video memory resolution ratio xres_virtual, the video memory point in 1080 vertical direction supported by Android device Resolution yres_virtual.
Starting module 2 is connected with initialization module 1, for after Android device starts, by the apparent resolution of frame buffer It is set to the current resolution of Android device.
If for example, the current resolution of current Android device is 1440*900, by the apparent resolution of frame buffer Xres*ysrs is set to current resolution 1440*900.
Update module 3 is connected with starting module 2, for when changing the display resolution of Android device, after renewal Display resolution draw user interface, while by the apparent resolution of frame buffer be adjusted to update after display resolution.
After Android device starts, the different display of a resolution ratio is if desired changed, or need change selected During display resolution, following operate is performed:
31) user interface (User Interface, UI) is drawn according to the display resolution (display size) after renewal.
Specifically, the WindowManagerService services and surfaceflinger services of android system ccf layer are using more Display resolution after new, the user interface of output is drawn according to the display resolution after renewal, i.e., using WindowManager SetForcedDisplaySize (Display.DEFAULT_DISPLAY, ssize.x, ssize.y) methods realize.Wherein, Ssize.x*ssize.y is the display resolution after updating.For example, when the display resolution after updating is 1280*800, Ssize.x is then set to 1280, ssize.y and is then set to 800.
32) apparent resolution of frame buffer is adjusted to the display resolution after updating.
For example, when the display resolution after renewal is 1280*800, the apparent resolution xres and yres of frame buffer are adjusted respectively Whole is 1280 and 800.That is the frame buffer data of 1280*800 sizes is only shown.
In summary, the method and system of support multiresolution without Zoom display of the invention based on android system are without needs Turn back on, without changing firmware software, you can when changing the resolution ratio of the display of different resolution or more switching display, Realize image without Zoom display;It is real suitable for there is the terminal installation of VGA or HDMI use android system It is strong with property.So, the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any to be familiar with this skill The personage of art all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Therefore, such as Those of ordinary skill in the art without departing from disclosed spirit with completed under technological thought all etc. Modifications and changes are imitated, should be covered by the claim of the present invention.

Claims (10)

1. a kind of method of the support multiresolution without Zoom display based on android system, it is characterised in that:Comprise the following steps:
When step S1, Android device initialization, the video memory resolution ratio of frame buffer is set to be set more than or equal to Android The standby ultimate resolution supported;
After step S2, Android device start, the apparent resolution of frame buffer is set to current point of Android device Resolution;
Step S3, when change Android device display resolution when, according to after renewal display resolution draw user circle Face, while the apparent resolution of frame buffer is adjusted into the display resolution after updating.
2. the method for support multiresolution without Zoom display according to claim 1 based on android system, its feature exists In:In the step S1, the video memory resolution ratio of frame buffer is set to 1920*1080.
3. the method for support multiresolution without Zoom display according to claim 1 based on android system, its feature exists In:In the step S3, when the different display of one resolution ratio of Android device replacing, or change selected During display resolution, the display resolution of Android device is changed.
4. the method for support multiresolution without Zoom display according to claim 1 based on android system, its feature exists In:In the step S3, user interface is drawn according to the display resolution after renewal.
5. the method for support multiresolution without Zoom display according to claim 4 based on android system, its feature exists In:In the step S3, the WindowManagerService services of android system ccf layer and surfaceflinger Service draws the user interface of output according to the display resolution after renewal using the display resolution after updating.
6. a kind of system of the support multiresolution without Zoom display based on android system, it is characterised in that:Including initialization mould Block, starting module and update module;
The initialization module is used for when Android device is initialized, and sets the video memory resolution ratio of frame buffer to be more than or wait The ultimate resolution supported in Android device;
The starting module is used for after Android device startup, and the apparent resolution of frame buffer is set into Android and set Standby current resolution;
The update module is used to, when changing the display resolution of Android device, be painted according to the display resolution after renewal User interface processed, while the apparent resolution of frame buffer is adjusted into the display resolution after updating.
7. the system of support multiresolution without Zoom display according to claim 6 based on android system, its feature exists In:The video memory resolution ratio of frame buffer is set to 1920*1080 by the initialization module.
8. the system of support multiresolution without Zoom display according to claim 6 based on android system, its feature exists In:In the update module, when the different display of one resolution ratio of Android device replacing, or change selected During display resolution, the display resolution of Android device is changed.
9. the system of support multiresolution without Zoom display according to claim 6 based on android system, its feature exists In:In the update module, user interface is drawn according to the display resolution after renewal.
10. the system of support multiresolution without Zoom display according to claim 9 based on android system, its feature It is:In the update module, the WindowManagerService of android system ccf layer service and Surfaceflinger services are using the display resolution after updating, the user that output is drawn according to the display resolution after renewal Interface.
CN201610020421.XA 2016-01-13 2016-01-13 Method and system of the support multiresolution without Zoom display based on android system Pending CN106970768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610020421.XA CN106970768A (en) 2016-01-13 2016-01-13 Method and system of the support multiresolution without Zoom display based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610020421.XA CN106970768A (en) 2016-01-13 2016-01-13 Method and system of the support multiresolution without Zoom display based on android system

Publications (1)

Publication Number Publication Date
CN106970768A true CN106970768A (en) 2017-07-21

Family

ID=59334315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610020421.XA Pending CN106970768A (en) 2016-01-13 2016-01-13 Method and system of the support multiresolution without Zoom display based on android system

Country Status (1)

Country Link
CN (1) CN106970768A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608588A (en) * 2017-10-20 2018-01-19 京东方科技集团股份有限公司 Display layer, display methods, display system and operating system
CN110166792A (en) * 2018-02-14 2019-08-23 阿里巴巴集团控股有限公司 Image display method, device, system and storage medium
CN113238726A (en) * 2021-04-30 2021-08-10 深圳市智微智能软件开发有限公司 Method, device and equipment for controlling synchronous display of double displays and storage medium
CN113238725A (en) * 2021-04-30 2021-08-10 深圳市智微智能软件开发有限公司 Display point-to-point display control method, device, equipment and storage medium
CN116204149A (en) * 2023-05-06 2023-06-02 南京极域信息科技有限公司 Technology for improving display performance of Android operating system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980534A (en) * 2009-12-15 2011-02-23 铜陵市维新投资咨询有限公司 Area-based resolution-adjustable method
CN102693111A (en) * 2011-07-06 2012-09-26 合肥华恒电子科技有限责任公司 Method for supporting different types of resolution by Android mobile terminal
CN103067680A (en) * 2011-10-21 2013-04-24 康佳集团股份有限公司 Method and system of on-screen display (OSD) based on two-dimensional-to-three-dimensional video formats
CN103957454A (en) * 2014-05-23 2014-07-30 珠海迈科电子科技有限公司 Multi-resolution output method and device for smart television
CN104615396A (en) * 2015-01-28 2015-05-13 福建升腾资讯有限公司 Android-based resolution ratio automatic adjustment method and system
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980534A (en) * 2009-12-15 2011-02-23 铜陵市维新投资咨询有限公司 Area-based resolution-adjustable method
CN102693111A (en) * 2011-07-06 2012-09-26 合肥华恒电子科技有限责任公司 Method for supporting different types of resolution by Android mobile terminal
CN103067680A (en) * 2011-10-21 2013-04-24 康佳集团股份有限公司 Method and system of on-screen display (OSD) based on two-dimensional-to-three-dimensional video formats
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device
CN103957454A (en) * 2014-05-23 2014-07-30 珠海迈科电子科技有限公司 Multi-resolution output method and device for smart television
CN104615396A (en) * 2015-01-28 2015-05-13 福建升腾资讯有限公司 Android-based resolution ratio automatic adjustment method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608588A (en) * 2017-10-20 2018-01-19 京东方科技集团股份有限公司 Display layer, display methods, display system and operating system
CN110166792A (en) * 2018-02-14 2019-08-23 阿里巴巴集团控股有限公司 Image display method, device, system and storage medium
CN113238726A (en) * 2021-04-30 2021-08-10 深圳市智微智能软件开发有限公司 Method, device and equipment for controlling synchronous display of double displays and storage medium
CN113238725A (en) * 2021-04-30 2021-08-10 深圳市智微智能软件开发有限公司 Display point-to-point display control method, device, equipment and storage medium
CN113238726B (en) * 2021-04-30 2024-06-04 深圳市智微智能软件开发有限公司 Dual-display synchronous display control method, apparatus, device and storage medium
CN116204149A (en) * 2023-05-06 2023-06-02 南京极域信息科技有限公司 Technology for improving display performance of Android operating system

Similar Documents

Publication Publication Date Title
CN106970768A (en) Method and system of the support multiresolution without Zoom display based on android system
WO2018161957A1 (en) Method and device for layer drawing control, and mobile terminal
US9552187B2 (en) System and method for display mirroring
US8264489B2 (en) Interface remoting
US9250700B2 (en) System and method for virtual displays
US9672592B2 (en) Tiling-display system and method thereof
TWI639989B (en) Power optimization with dynamic frame rate support
CN110347317B (en) Window switching method and device, storage medium and interactive intelligent panel
CN109101233B (en) Method for adapting to multiple screen resolutions, storage device and android device
WO2017133475A1 (en) Multimedia data playing method, apparatus and device, and interface rendering method, apparatus and device
EP2892047A2 (en) Image data output control method and electronic device supporting the same
WO2018113218A1 (en) Spliced wall display method, device and system
CN104811785A (en) Control method and device for displaying graphical user interface of intelligent terminal
CN103618933A (en) Method and device for displaying application interface images self-adaptively
US11249640B2 (en) Electronic apparatus and controlling method thereof
CN113377313A (en) Multi-screen multiplexing display device and method
CN113655975B (en) Image display method, image display device, electronic apparatus, and medium
CN103559151A (en) Method and device for switching screen resolution of mobile terminal
CN107908380B (en) Configuration-based multi-screen display method and device, terminal equipment and storage medium
KR20210006130A (en) Display apparatus and control method thereof
CN204377068U (en) A kind of touch display unit of changeable broadcasting ultra high-definition image
CN103313116A (en) Multi-screen interaction-based image display method and system
CN102855128A (en) Implementation method of interface system based on Android kernel
CN115552364A (en) Multi-terminal collaborative display updating method and device
TWI506442B (en) Multiple simultaneous displays on the same screen

Legal Events

Date Code Title Description
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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170721