• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:orientation="vertical"
21    style="@style/RootLayoutPadding">
22
23    <ScrollView
24        android:layout_width="match_parent"
25        android:layout_height="match_parent"
26        android:id="@+id/scrollView">
27
28        <LinearLayout
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:orientation="vertical">
32
33            <LinearLayout
34                android:layout_width="wrap_content"
35                android:layout_height="wrap_content"
36                android:orientation="vertical"
37                android:id="@+id/audio_loopback_headset_port">
38
39                <include layout="@layout/audio_loopback_volume_layout" />
40
41                <include layout="@layout/audio_loopback_device_layout" />
42
43                <LinearLayout
44                    android:orientation="horizontal"
45                    android:layout_width="match_parent"
46                    android:layout_height="wrap_content">
47
48                    <TextView
49                        android:layout_width="wrap_content"
50                        android:layout_height="match_parent"
51                        android:text="Pro Audio:"/>
52
53                    <TextView
54                        android:layout_width="wrap_content"
55                        android:layout_height="match_parent"
56                        android:text=""
57                        android:id="@+id/audio_loopback_pro_audio"/>
58                </LinearLayout>
59
60                <LinearLayout
61                    android:orientation="horizontal"
62                    android:layout_width="match_parent"
63                    android:layout_height="wrap_content">
64
65                    <TextView
66                        android:layout_width="wrap_content"
67                        android:layout_height="match_parent"
68                        android:text="MMAP Supported:"/>
69
70                    <TextView
71                        android:layout_width="wrap_content"
72                        android:layout_height="match_parent"
73                        android:text=""
74                        android:id="@+id/audio_loopback_mmap"/>
75                </LinearLayout>
76
77                <LinearLayout
78                    android:orientation="horizontal"
79                    android:layout_width="match_parent"
80                    android:layout_height="wrap_content">
81
82                    <TextView
83                        android:layout_width="wrap_content"
84                        android:layout_height="match_parent"
85                        android:text="MMAP Exclusive Supported:"/>
86
87                    <TextView
88                        android:layout_width="wrap_content"
89                        android:layout_height="match_parent"
90                        android:text=""
91                        android:id="@+id/audio_loopback_mmap_exclusive"/>
92                </LinearLayout>
93
94                <LinearLayout
95                    android:orientation="horizontal"
96                    android:layout_width="match_parent"
97                    android:layout_height="wrap_content">
98
99                    <TextView
100                        android:layout_width="wrap_content"
101                        android:layout_height="match_parent"
102                        android:text="Low Latency Support:"/>
103
104                    <TextView
105                        android:layout_width="wrap_content"
106                        android:layout_height="match_parent"
107                        android:text=""
108                        android:id="@+id/audio_loopback_low_latency"/>
109                </LinearLayout>
110
111                <LinearLayout
112                    android:orientation="horizontal"
113                    android:layout_width="match_parent"
114                    android:layout_height="wrap_content">
115
116                    <TextView
117                        android:layout_width="wrap_content"
118                        android:layout_height="match_parent"
119                        android:text="Test Path:"/>
120
121                    <TextView
122                        android:layout_width="wrap_content"
123                        android:layout_height="match_parent"
124                        android:text=""
125                        android:id="@+id/audio_loopback_testpath"/>
126                </LinearLayout>
127
128                <LinearLayout
129                    android:orientation="horizontal"
130                    android:layout_width="match_parent"
131                    android:layout_height="wrap_content">
132
133                    <TextView
134                        android:layout_width="wrap_content"
135                        android:layout_height="match_parent"
136                        android:text="Required Max Latency (ms):"/>
137
138                    <TextView
139                        android:layout_width="wrap_content"
140                        android:layout_height="match_parent"
141                        android:text=""
142                        android:id="@+id/audio_loopback_must_latency"/>
143                </LinearLayout>
144
145                <LinearLayout
146                    android:orientation="horizontal"
147                    android:layout_width="match_parent"
148                    android:layout_height="wrap_content">
149
150                    <TextView
151                        android:layout_width="wrap_content"
152                        android:layout_height="match_parent"
153                        android:text="Recommended Max Latency (ms):"/>
154
155                    <TextView
156                        android:layout_width="wrap_content"
157                        android:layout_height="match_parent"
158                        android:text=""
159                        android:id="@+id/audio_loopback_recommended_latency"/>
160                </LinearLayout>
161
162                <LinearLayout
163                    android:orientation="horizontal"
164                    android:layout_width="match_parent"
165                    android:layout_height="match_parent"
166                    android:id="@+id/audio_loopback_layout">
167
168                    <Button
169                        android:layout_width="wrap_content"
170                        android:layout_height="wrap_content"
171                        android:text="@string/audio_loopback_test_btn"
172                        android:id="@+id/audio_loopback_test_btn"
173                        android:nextFocusForward="@+id/pass_button"
174                        android:nextFocusUp="@+id/audio_loopback_level_seekbar"
175                        android:nextFocusDown="@+id/pass_button"
176                        android:nextFocusLeft="@+id/audio_loopback_level_seekbar"
177                        android:nextFocusRight="@+id/pass_button" />
178                </LinearLayout>
179
180                <include layout="@layout/audio_loopback_footer_layout"/>
181
182            </LinearLayout>
183            <include layout="@layout/pass_fail_buttons" />
184        </LinearLayout>
185    </ScrollView>
186
187</LinearLayout>
188