xuxiuxi
2017-05-11 109ffe9a777658936a38d0c146579a67c60a0d17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/source_select"
            />
        <Spinner
            android:id="@+id/source_spinner"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/source_prompt"
            />
    </LinearLayout>
 
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        <Button
            android:id="@+id/start_native"
            android:text="@string/start_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
        <Button
            android:id="@+id/rewind_native"
            android:text="@string/rewind_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
 
        <ImageView
            android:id="@+id/addface_image"
            android:layout_width="128px"
            android:layout_height="128px"
            android:src="@android:drawable/ic_input_add" />
        <Button
            android:id="@+id/addface_native"
            android:text="@string/addface_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
 
    </LinearLayout>
 
 
    <TextView
        android:id="@+id/textView1"
        android:layout_width="match_parent"
        android:layout_height="90dp"
        android:text="TextView" />
 
 
 
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        <RadioButton
            android:id="@+id/radio1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10dip"
        />
 
        <SurfaceView
            android:id="@+id/surfaceview1"
            android:layout_width="640px"
            android:layout_height="480px" />
    </LinearLayout>
 
 
 
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        <RadioButton
            android:id="@+id/radio2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10dip"
        />
 
        <SurfaceView
            android:id="@+id/surfaceview2"
            android:layout_width="640px"
            android:layout_height="480px" />
 
        <com.example.nativecodec.MyGLSurfaceView
            android:id="@+id/glsurfaceview1"
            android:layout_width="640px"
            android:layout_height="480px" />
    </LinearLayout>
 
    <SurfaceView
        android:id="@+id/surfaceViewDecoder1"
        android:layout_width="1920px"
        android:layout_height="1080px"
        android:visibility="visible" />
 
</LinearLayout>