A Control Processing Method of View Hierarchy

A technology for controlling processing and views, applied in the field of images, to solve the problem of Android view overlapping processing and display, and make up for the effect of weak operability

Inactive Publication Date: 2017-10-20
PHICOMM (SHANGHAI) CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a view-level control processing method for solving the problems of the control and processing of superimposed views in the Android system in the prior art

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
  • A Control Processing Method of View Hierarchy
  • A Control Processing Method of View Hierarchy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] This embodiment discloses a control processing method for the view hierarchy of the Android system. The Z-axis attribute is added to the view attribute, and the display level and touch screen events of the view are controlled according to the Z attribute. It is added by plane. Android windows are mainly divided into active windows and window attributes, so the Z attribute uses a two-dimensional array.

[0028] Such as figure 1 As shown, a control processing method of the view hierarchy applicable to the Android system in this embodiment includes:

[0029] Step S11, when adding a window view, add the Z attribute corresponding to the view for the view root node of each Activity:

[0030] The Z attribute is a two-dimensional array, including the first parameter and the second parameter. Among them, the first parameter is the Activity where the view is located; the second parameter is the Z position of the Activity where the view is located. Setting the Z property to a two-dime...

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 present invention provides a view-level control processing method, which is applied to the Android system, including: adding a Z attribute corresponding to the view to the view root node of each Activity; performing unified processing on the Z attribute; Next, allocate event delivery and layer space according to the uniformly processed Z attribute, and draw a view according to the uniformly processed Z attribute. In addition, the Z attribute is a two-dimensional array or a multi-dimensional array, and the Z attribute includes at least a first parameter and a second parameter. The first parameter is the Activity corresponding to the view, and the second parameter is the Z position of the view in the corresponding Activity. The invention supports touch screen message processing in a multi-Activity environment; solves the problem of Android view overlapping processing display; and makes up for the disadvantage of weak operability of display layers when designing views.

Description

Technical field [0001] The present invention relates to the field of image technology, in particular to a control processing method of view hierarchy applied to an Android system. Background technique [0002] With the rapid development of the Android system, it has become an operating system with wide-ranging influence worldwide. The Android system is no longer just an operating system for mobile phones. It is increasingly being used on tablets, wearable devices, TVs, digital cameras and other devices, which has also created a rapid growth in the demand for Android developers. The Android platform is first of all its openness, and the developed platform allows any mobile terminal manufacturer to join the Android Alliance. Significant openness can enable it to have more developers. As users and applications become more abundant, a brand-new platform will soon mature. Not only the development of the Android system, the rapid development of hardware devices has brought better and...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 刘海勇
Owner PHICOMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products