• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 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
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:id="@+id/scrollView"
21    style="@style/RootLayoutPadding">
22
23    <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:orientation="vertical">
27
28        <LinearLayout
29            android:orientation="horizontal"
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content">
32
33            <TextView
34                android:layout_width="wrap_content"
35                android:layout_height="match_parent"
36                android:text="Internal Mic: "/>
37
38            <TextView
39                android:layout_width="wrap_content"
40                android:layout_height="match_parent"
41                android:text=""
42                android:textStyle="bold"
43                android:id="@+id/audio_datapaths_mic"/>
44
45            <TextView
46                android:layout_width="wrap_content"
47                android:layout_height="match_parent"
48                android:layout_marginStart="5dp"
49                android:text="Internal Speaker: "/>
50
51            <TextView
52                android:layout_width="wrap_content"
53                android:layout_height="match_parent"
54                android:text=""
55                android:textStyle="bold"
56                android:id="@+id/audio_datapaths_speaker"/>
57        </LinearLayout>
58
59        <include layout="@layout/audio_java_native_api_buttons" />
60
61        <!-- Player Controls -->
62        <LinearLayout
63            android:layout_width="match_parent"
64            android:layout_height="wrap_content"
65            android:orientation="horizontal"
66            android:layout_marginStart="10dp">
67            <Button
68                android:text="@string/audio_general_start"
69                android:layout_width="wrap_content"
70                android:layout_height="match_parent"
71                android:id="@+id/audio_datapaths_start"/>
72            <Button
73                android:text="@string/audio_general_stop"
74                android:layout_width="wrap_content"
75                android:layout_height="match_parent"
76                android:id="@+id/audio_datapaths_stop"/>
77        </LinearLayout>
78
79        <com.android.cts.verifier.audio.audiolib.WaveScopeView
80            android:id="@+id/uap_recordWaveView"
81            android:layout_width="match_parent"
82            android:layout_height="150dp"/>
83
84        <TextView
85            android:layout_width="match_parent"
86            android:layout_height="wrap_content"
87            android:id="@+id/audio_datapaths_routes"/>
88
89        <LinearLayout
90            android:layout_width="match_parent"
91            android:layout_height="fill_parent"
92            android:orientation="vertical">
93
94            <WebView
95                android:id="@+id/audio_datapaths_results"
96                android:layout_width="match_parent"
97                android:layout_height="wrap_content"/>
98        </LinearLayout>
99
100        <include layout="@layout/pass_fail_buttons" />
101    </LinearLayout>
102</ScrollView>
103