[go: up one dir, main page]

CN103699317A - Image display method by rapidly rotating screens on Android devices - Google Patents

Image display method by rapidly rotating screens on Android devices Download PDF

Info

Publication number
CN103699317A
CN103699317A CN201310740009.1A CN201310740009A CN103699317A CN 103699317 A CN103699317 A CN 103699317A CN 201310740009 A CN201310740009 A CN 201310740009A CN 103699317 A CN103699317 A CN 103699317A
Authority
CN
China
Prior art keywords
data
screen
timing
view data
synthetic
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
CN201310740009.1A
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 CN201310740009.1A priority Critical patent/CN103699317A/en
Publication of CN103699317A publication Critical patent/CN103699317A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an image display method by rapidly rotating screens on Android devices. The image display method includes the following steps: compositing image data as required by display of a current screen, storing the image data in a first data cache area, and completing display of the image data of the current screen; starting timing, after time is out, acquiring image data as required by 90-degree or 270-degree clockwise rotation of the current screen to perform background composition, copying the composited image data in a second data cache area, and starting timing again; during timing, if the current screen rotates clockwise by 90 degrees or 270 degrees, reading the data in the second data cache area to complete display of the image data, and if the current screen rotates clockwise by 180 degrees, reading the data in the first cache area to complete display of the image data. By the image display method, image display speed during rotation of screens of the Android devices is increased.

Description

The method for displaying image of fast rotational screen on a kind of Android equipment
Technical field
The present invention relates to Android system and show control field, relate in particular to the method for displaying image of fast rotational screen on a kind of Android equipment.
Background technology
User, in operation Android equipment, often can carry out the rotary manipulation of screen, to adapt to different use scenes.But existing Android equipment is when carrying out screen rotation, the phenomenon that usually there will be delay, card to pause, user experiences very poor.
Summary of the invention
The technical problem to be solved in the present invention, is to provide the method for displaying image of fast rotational screen on a kind of Android equipment, the problem that while solving existing Android device screen rotation, screen display card pauses and postpones.
The present invention is achieved in that
On Android equipment, a method for displaying image for fast rotational screen, comprises the steps:
Synthetic current screen shows required view data, deposits the first data buffer, and the data that read the first data buffer complete the demonstration of the view data of current screen;
Start timing, after described timing is overtime, obtain that current screen dextrorotation turn 90 degrees or the required view data of 270 degree to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing;
In timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees or 270 degree, the data that read the second data buffer complete the demonstration of view data;
In timing, if screen orientation dextrorotation turnback on the basis of existing screen, the data that read the first data buffer complete the demonstration of view data.
Further, described timing is the generated time of frame data.
And the Android equipment that the present invention also provides a kind of image of fast rotational screen to show based on the above method, comprise the synthetic cache module of view data and rotational display module;
The synthetic cache module of described view data shows required view data for the synthesis of current screen, deposits the first data buffer, and the data that read the first data buffer complete the demonstration of the view data of current screen; And for starting timing, after described timing is overtime, obtain that current screen dextrorotation turn 90 degrees or the required view data of 270 degree to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing;
Described rotational display module is in timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees or 270 degree, the data that read the second data buffer complete the demonstration of view data; And in timing, if screen orientation dextrorotation turnback on the basis of existing screen, the data that read the first data buffer complete the demonstration of view data.
Further, described timing is the generated time of frame data.
Tool of the present invention has the following advantages: image displaying time while shortening rotation, improves user and experiences.
Embodiment
On Android equipment, a method for displaying image for fast rotational screen, comprises the steps:
Synthetic current screen shows required view data, deposits the first data buffer, and the data that read the first data buffer complete the demonstration of the view data of current screen;
Start timing, after described timing is overtime, obtain that current screen dextrorotation turn 90 degrees or the required view data of 270 degree to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing;
In timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees or 270 degree, the data that read the second data buffer complete the demonstration of view data;
In timing, if screen orientation dextrorotation turnback on the basis of existing screen, the data that read the first data buffer complete the demonstration of view data.
Further, timing can be the integral multiple of the generated time of frame data, the more burdens that can increase processor of multiple, but display effect relatively can be poor, is preferably the generated time of frame data.
The present invention can select 90 degree or 270 degree when synthetic on backstage, difference is only to show when data read to be address or low to high address from high to low, with 90-degree rotation, be elaborated below, those skilled in the art can know the implementation method of rotation 270 degree on the basis of following explanation.
The direction of the existing judgement screen rotation of Android equipment is by gravity sensor, and the rotation of common screen is mainly the rotation towards user on perpendicular.When Android equipment in use, Android equipment will carry out the demonstration of current screen, be specially the direction that Android equipment obtains current screen, synthesize current screen and show required view data, and deliver to the first data buffer of the demonstration use of internal memory, then the display controller of Android equipment calls DMA, by the data of the first data buffer according to the mode of rank scanning, order from low address to high address, increases progressively copies data successively, completes the demonstration of current screen.
Then start a timing, after timing is overtime, obtains current screen dextrorotation and turn 90 degrees required view data to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing.The timing that circulates, every timing then, is about to synthetic having deposited of the required data of 90 degree, is convenient to Android equipment and directly calls when 90-degree rotation or 270 is spent.
In timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees, display controller uses the mode of rank scanning from the low address of the second data buffer to high address, increases progressively successively copy image data, completes the demonstration of the view data of 90 degree.
In timing, 270 degree if screen orientation turns clockwise on the basis of existing screen, display controller uses the mode of rank scanning from the high address of the second data buffer to low address, and the copy image of successively decreasing successively data, complete the demonstration of the view data of 270 degree.
In timing, if screen orientation is dextrorotation turnback on the basis of existing screen, display controller uses the mode of rank scanning from the first data buffer high address to low address, and the copy image of successively decreasing successively data, complete the demonstration of 180 degree view data.
Especially, if user's multiple rotary in a timing, because the data of the first data buffer and the second data buffer do not change, it is very smooth that the demonstration of multiple rotary now will seem.
In sum, the present invention, by showing that in advance data are synthetic and prestoring, when Android device screen rotates, only need directly call and can show at once, the time of screen display while having shortened equipment rotation.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (4)

1. a method for displaying image for fast rotational screen on Android equipment, is characterized in that: comprise the steps:
Synthetic current screen shows required view data, deposits the first data buffer, and the data that read the first data buffer complete the demonstration of the view data of current screen;
Start timing, after described timing is overtime, obtain that current screen dextrorotation turn 90 degrees or the required view data of 270 degree to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing;
In timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees or 270 degree, the data that read the second data buffer complete the demonstration of view data;
In timing, if screen orientation dextrorotation turnback on the basis of existing screen, the data that read the first data buffer complete the demonstration of view data.
2. the method for displaying image of fast rotational screen on a kind of Android equipment according to claim 1, is characterized in that: described timing is the generated time of frame data.
3. the Android equipment that the image of fast rotational screen shows, is characterized in that: comprise the synthetic cache module of view data and rotational display module;
The synthetic cache module of described view data shows required view data for the synthesis of current screen, deposits the first data buffer, and the data that read the first data buffer complete the demonstration of the view data of current screen; And for starting timing, after described timing is overtime, obtain that current screen dextrorotation turn 90 degrees or the required view data of 270 degree to carry out backstage synthetic, copy the view data after synthetic to second data buffer, and restart described timing;
Described rotational display module is in timing, if screen orientation dextrorotation on the basis of existing screen turn 90 degrees or 270 degree, the data that read the second data buffer complete the demonstration of view data; And in timing, if screen orientation dextrorotation turnback on the basis of existing screen, the data that read the first data buffer complete the demonstration of view data.
4. the Android equipment that the image of a kind of fast rotational screen according to claim 3 shows, is characterized in that: described timing is the generated time of frame data.
CN201310740009.1A 2013-12-27 2013-12-27 Image display method by rapidly rotating screens on Android devices Pending CN103699317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310740009.1A CN103699317A (en) 2013-12-27 2013-12-27 Image display method by rapidly rotating screens on Android devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310740009.1A CN103699317A (en) 2013-12-27 2013-12-27 Image display method by rapidly rotating screens on Android devices

Publications (1)

Publication Number Publication Date
CN103699317A true CN103699317A (en) 2014-04-02

Family

ID=50360859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310740009.1A Pending CN103699317A (en) 2013-12-27 2013-12-27 Image display method by rapidly rotating screens on Android devices

Country Status (1)

Country Link
CN (1) CN103699317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710315A (en) * 2020-06-15 2020-09-25 Oppo(重庆)智能科技有限公司 Image display method, device, storage medium, and electronic device
CN112114919A (en) * 2020-09-11 2020-12-22 珠海格力电器股份有限公司 Screen rotation display optimization method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626429A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Mobile terminal and method of controlling a mobile terminal
EP2175343A1 (en) * 2008-10-08 2010-04-14 Research in Motion Limited A method and handheld electronic device having a graphical user interface which arranges icons dynamically
WO2010138237A2 (en) * 2009-05-28 2010-12-02 Apple Inc. Rotation smoothing of a user interface
CN101917582A (en) * 2010-08-16 2010-12-15 福州瑞芯微电子有限公司 Method for simultaneously realizing screen rotation and deinterlacing functions of handheld equipment
CN101958112A (en) * 2010-10-13 2011-01-26 福州瑞芯微电子有限公司 Method for realizing rotation of handheld device screen pictures by 90 degrees and 270 degrees simultaneously
CN102044062A (en) * 2010-12-23 2011-05-04 福州瑞芯微电子有限公司 System for realizing mirroring in x axis and y axis and 180-degree rotation of image based on image block processing
CN102197633A (en) * 2008-10-27 2011-09-21 日本电气株式会社 Mobile electronic device and display screen switching method
CN102520842A (en) * 2011-11-18 2012-06-27 广东欧珀移动通信有限公司 A horizontal and vertical screen switching rotation control method for a handheld device
US20130141464A1 (en) * 2011-12-05 2013-06-06 John Miles Hunt Orientation Control

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626429A (en) * 2008-07-07 2010-01-13 Lg电子株式会社 Mobile terminal and method of controlling a mobile terminal
EP2175343A1 (en) * 2008-10-08 2010-04-14 Research in Motion Limited A method and handheld electronic device having a graphical user interface which arranges icons dynamically
CN102197633A (en) * 2008-10-27 2011-09-21 日本电气株式会社 Mobile electronic device and display screen switching method
WO2010138237A2 (en) * 2009-05-28 2010-12-02 Apple Inc. Rotation smoothing of a user interface
CN101917582A (en) * 2010-08-16 2010-12-15 福州瑞芯微电子有限公司 Method for simultaneously realizing screen rotation and deinterlacing functions of handheld equipment
CN101958112A (en) * 2010-10-13 2011-01-26 福州瑞芯微电子有限公司 Method for realizing rotation of handheld device screen pictures by 90 degrees and 270 degrees simultaneously
CN102044062A (en) * 2010-12-23 2011-05-04 福州瑞芯微电子有限公司 System for realizing mirroring in x axis and y axis and 180-degree rotation of image based on image block processing
CN102520842A (en) * 2011-11-18 2012-06-27 广东欧珀移动通信有限公司 A horizontal and vertical screen switching rotation control method for a handheld device
US20130141464A1 (en) * 2011-12-05 2013-06-06 John Miles Hunt Orientation Control

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710315A (en) * 2020-06-15 2020-09-25 Oppo(重庆)智能科技有限公司 Image display method, device, storage medium, and electronic device
CN111710315B (en) * 2020-06-15 2022-06-14 Oppo(重庆)智能科技有限公司 Image display method, device, storage medium, and electronic device
CN112114919A (en) * 2020-09-11 2020-12-22 珠海格力电器股份有限公司 Screen rotation display optimization method and device
CN112114919B (en) * 2020-09-11 2021-09-24 珠海格力电器股份有限公司 Screen rotation display optimization method and device

Similar Documents

Publication Publication Date Title
CN112655025B (en) Adaptive foveal rendering in progress
JP5079589B2 (en) Display control apparatus and display control method
CN109168021A (en) A kind of method and device of plug-flow
CN101958112B (en) Method for realizing rotation of handheld device screen pictures by 90 degrees and 270 degrees simultaneously
TWI352336B (en) Method and apparatus for displaying rotated images
JP2014165755A5 (en)
CN103699317A (en) Image display method by rapidly rotating screens on Android devices
US10672367B2 (en) Providing data to a display in data processing systems
US20170116966A1 (en) Synchronized image expansion
JPWO2016043161A1 (en) Display device, display system, and display control program
US20180095677A1 (en) Display controllers
JP2015126297A5 (en) Image processing apparatus and control method thereof
CN103399720A (en) Data processing method and electronic equipment
JP2003032539A (en) Camera mounted device
US10911689B2 (en) Methods and apparatus using long exposure video for virtual reality headset
US9984606B2 (en) Device and method of providing sampled data and device and method of displaying diagnosis interface
CN118511217A (en) Adaptive synchronization of DPU drives for command mode panels
JP6214367B2 (en) Image composition apparatus and image composition program
CN108509125B (en) Page turning method, device, terminal and computer readable storage medium
CN109445860A (en) The method for guiding electronic apparatus system booting, electronic equipment, readable storage medium storing program for executing
CN101184142A (en) Image processing method and image rotatable digital photo frame of implementing the same
CN104111779A (en) Method and terminal for rotating virtual window
CN105791941B (en) Display method and device of ultra-high definition OSD menu
WO2006041094A2 (en) Rectangular image plotting device, rectangular image plotting method, and integrated circuit
CN116527861A (en) Method and device for displaying preview image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140402