Rendering method and device used for user interface (UI)

A user interface and asynchronous rendering technology, applied in the direction of program control devices, etc., can solve problems such as occupying UI thread resources and UI running smoothly.

Active Publication Date: 2018-02-02
KOUBEI SHANGHAI INFORMATION TECH CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] This application provides a rendering method for the user interface to solve the pr

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
  • Rendering method and device used for user interface (UI)
  • Rendering method and device used for user interface (UI)
  • Rendering method and device used for user interface (UI)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0070] The rendering process of the user interface of the application program of the operating system is completed by the UI thread. The UI thread is the thread that works with the user interface. The present application provides a rendering method for a user interface, including: when a UI adds and / or changes a visual control, establishes an asynchronous view tree corresponding to the added or changed visual control through an asynchronous rendering sub-thread; Generate a view tree through the UI thread, and mount ...

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 application discloses a rendering method and device used for a user interface (UI). The method includes: establishing an ADNode tree, which corresponds to an added or changed visible control, through an ADNodeThread when the UI adds and/or changes the visible control; generating a View tree through a UI thread, and mounting an AsyncView of the ADNode tree at a node where the visual control corresponding to the view tree is located; generating an asynchronous rendering result through the ADNodeThread according to the ADNode tree; and completing a drawing process of the AsyncView in the viewtree by the UI thread according to the asynchronous rendering result, and generating a UI. Therefore, problems that UI thread resources are occupied in a rendering process and UI running is not smooth are solved.

Description

technical field [0001] The present application relates to the field of software user interface, in particular to a rendering method and device for user interface. The present application also provides a computer-readable medium and an electronic device. Background technique [0002] The Android system is a free and open source operating system based on the Linux platform, mainly used in mobile devices, such as smart phones and tablet computers. The platform is composed of operating system, middleware, user interface (UserInterface, UI) and application software. [0003] With the development of the core hardware of mobile terminals, the running speed of the core hardware is getting faster and higher, and the performance is getting higher and higher; thus providing strong support for the applications running on the mobile terminals, the applications are getting bigger and bigger, and the application scenarios As it becomes more and more complex, the user interface pays more ...

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
IPC IPC(8): G06F9/44
Inventor 傅晓凌吴毓雄
Owner KOUBEI SHANGHAI INFORMATION TECH 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