Code stream definition switching method, device, terminal and readable medium of Android system
A technology with clarity and code flow, applied in the computer field, it can solve problems such as poor user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 It is a flow chart of a code stream resolution switching method for an Android system provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of code stream resolution switching in an Android system. The method can be implemented by a terminal, specifically through a terminal implemented in software and / or hardware. see figure 1 , the code stream definition switching method of the Android system includes the following steps:
[0043] S110. When the definition switching event is detected, call the object construction method of the custom view class corresponding to the first view object to construct the second view object, and set the layout parameters of the second view object according to the layout parameters of the first view object .
[0044] Among them, when using an Android terminal to pull network audio and video resources (such as watching a live broadcast), the user can switch the definition of the code stream of...
Embodiment 2
[0083] figure 2 It is a schematic structural diagram of a code stream resolution switching device for an Android system provided in Embodiment 2 of the present invention. This embodiment is applicable to the code stream resolution switching situation of an Android system.
[0084] see figure 2 , the code stream definition switching device of the Android system in the present embodiment includes:
[0085] The second view object construction module 210 is configured to call the object construction method of the custom view class corresponding to the first view object to construct the second view object when the sharpness switching event is monitored, and to construct the second view object according to the layout parameters of the first view object The second view object sets the layout parameters;
[0086] The second view object adding module 220 is used to call the parent layout object search method to find the parent layout object of the first view object, set the state o...
Embodiment 3
[0106] This embodiment provides a terminal, which can be used in the case of switching the code stream definition of the Android system. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:
[0107] one or more processors 310;
[0108] memory 320, for storing one or more programs;
[0109] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the code stream resolution switching method for the Android system as proposed in Embodiment 1.
[0110] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.
[0111] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


