[Andrews] Weekly Review notes record: No.3

[Andrews]

1. Draw algorithm steps lyrics text color

1. Draw the original text

2. Canvas Crop: Rectangle

3. Again the same text rendering another color in the original position

 

2. Create a Global Window, ViewManager

public interface ViewManager {
    public void addView(View view, ViewGroup.LayoutParams params);
    public void updateViewLayout(View view, ViewGroup.LayoutParams params);
    public void removeView(View view);
}
public  interface windowmanager extends ViewManager

 

3. Video playback using ExoPlayer:

1. com.devbrackets.android:exomedia:4.3.0, encapsulates ExoPlayer simplified operation.

2. An Android ExoPlayer wrapper to simplify Audio and Video implementations.

 

4. Android in the process priority

1.  foreground process

2. Visible process

3. Process Services

4. daemon

5. empty process

 

5.   Kadlle network requests library + FastJson: The network request to try a little library, API feel more friendly.

 

6. Guiline use, with the auxiliary line layout constraints used.

 

7. engineering structures: structure configuration, each of the layers has a Bootload class entry, callback application startup module for internal initialization, the initialization logic to avoid exposure to the Application.

 

【front end】

1. Initial block comprising:

1. His comprises determining the positon block elements.

2. height, top attribute other percentage value, by determining the height of the containing block, if the block contains a position of static or relative, then the calculated value is always zero. When positioning is absolute, the height of the block comprising taking the maximum height of the sub-element, go to calculate the percentage of the height of the other sub-elements.

3. width, left, padding, margin percentage value, a width value comprises calculating the direct block determined.

 

Display range control 2. Background:

1. background-clip display range set by the background color or background image.

2. background-clip has a text value, the background may be provided inside the crop in the text.

 

3. CSS: <image> data type, <gradient> data type, some CSS properties / functions, reception / return these data types, particularly MDN can view some documents.

 

【computer】

1. The binary value represents: the original code, be understood that the anti-code, a basic value that is represented by fixed number of bits, which comply with the nature of the mathematical properties of arithmetic progression, in particular anti-code representation of the logic for computing a negative number is actually when converted to an addition, since the bits fixed values ​​expressed limited his range is incremented or decremented as the stop cycle 1, with the addition of a reducing rather a value of 1, the fixed value of the final binary representation is the same of.

 

2. binary tree:

1 is simply only about the tree nodes, and to distinguish the left and right order.

2. The binary tree storage structure: sequential storage structure, Storage Structure

3. binary tree traversal: traverse the level, root traversal (first traversal the root, root after traversing)

4. traverse the level of knowledge required to determine the binding arithmetic sequence number, the time necessary to traverse the hierarchical storage structure sequentially.

The binary nature of the maths directly linked arithmetic sequence can be determined.

 

【English】

1. serenity: calm

2. irresistible: irresistible

Guess you like

Origin www.cnblogs.com/nicojerry/p/12112510.html