Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Expansion method and system of Android platform animation display area

A display area, Android platform technology, applied in animation production, image data processing, instruments, etc., can solve problems such as sub-Views that cannot be displayed

Active Publication Date: 2016-10-12
TCL CORPORATION
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and system for extending the animation display area of ​​the Android platform in view of the above-mentioned defects of the prior art, aiming at solving the problem of the sub-View in the prior art when the sub-View is doing moving animation effects. The movement range of the View exceeds the visible area of ​​the parent View, and the child View cannot be displayed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Expansion method and system of Android platform animation display area
  • Expansion method and system of Android platform animation display area
  • Expansion method and system of Android platform animation display area

Examples

Experimental program
Comparison scheme
Effect test

no. 1 Embodiment

[0056] As a first specific embodiment of step S200, the step S200 specifically includes:

[0057] Step S211, obtaining the sub-View to be animated in the parent View, and copying it to obtain a copy of the corresponding sub-View;

[0058] Step S212, adding a sub-View copy to the ViewGroup;

[0059] Step S213, according to the getLocationOnScreen interface, obtain the first horizontal coordinate of the left border of the sub-View relative to the left border of the display screen, and the first vertical coordinate of the upper border of the sub-View relative to the upper border of the display screen;

[0060] Step S214, according to the getLocationOnScreen interface, obtain the second horizontal coordinate of the left border of the ViewGroup relative to the left border of the display screen, and the second vertical coordinate of the upper border of the ViewGroup relative to the upper border of the display screen;

[0061] Step S215. Acquire the third horizontal coordinate of th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an expansion method and system of an Android platform animation display area. The method comprises the following steps: creating ViewGroup; obtaining and copying the subsidiary View of an animation to be created in parent View to obtain a corresponding subsidiary View copy, and adding the subsidiary View copy into the ViewGroup, wherein the position of the subsidiary View copy in the display screen of an intelligent terminal is the same with the position of the subsidiary View in the display screen; and when a monitoring result shows that the subsidiary View carries out movement and animation display, synchronously updating the position information of the subsidiary View copy and the position information of the subsidiary View. When the movement range of the subsidiary View exceeds the area of the parent View, the part, which is positioned out of the area of the parent View, of the subsidiary View is complemented by the subsidiary View copy which has an identical size with the subsidiary View to guarantee an animation effect.

Description

technical field [0001] The invention relates to the technical field of control control of an Android platform, in particular to a method and system for extending an animation display area of ​​an Android platform. Background technique [0002] The interface of the Android platform will design a lot of animation effects in order to improve the user experience. In the current technology, most applications realize the animation of the controls through Animation (animation function). These animation effects include the movement of the control position, zoom in, zoom out, gradient and the combination of several animations. Most of the controls on the interface inherit the unified View (that is, the view). The layout of these Views contains parent-child relationships. View’s container, ViewGroup, also inherits from View. The relationship between View and ViewGroup is as follows: figure 1 shown. The essence of animating the control is to animate the View, but due to the interface...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06T13/00
CPCG06F9/451G06T13/00G06T2213/08
Inventor 曹晗
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products