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:id="@+id/audio_t2t_mic"/> 43 </LinearLayout> 44 45 <LinearLayout 46 android:orientation="horizontal" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content"> 49 50 <TextView 51 android:layout_width="wrap_content" 52 android:layout_height="match_parent" 53 android:text="Internal Speaker: "/> 54 55 <TextView 56 android:layout_width="wrap_content" 57 android:layout_height="match_parent" 58 android:text="" 59 android:id="@+id/audio_t2t_speaker"/> 60 </LinearLayout> 61 62 <LinearLayout 63 android:orientation="horizontal" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content"> 66 67 <TextView 68 android:layout_width="wrap_content" 69 android:layout_height="match_parent" 70 android:text="Pro Audio: "/> 71 72 <TextView 73 android:layout_width="wrap_content" 74 android:layout_height="match_parent" 75 android:text="" 76 android:id="@+id/audio_t2t_pro_audio"/> 77 </LinearLayout> 78 79 <LinearLayout 80 android:orientation="horizontal" 81 android:layout_width="match_parent" 82 android:layout_height="wrap_content"> 83 84 <TextView 85 android:layout_width="wrap_content" 86 android:layout_height="match_parent" 87 android:text="Low Latency: "/> 88 89 <TextView 90 android:layout_width="wrap_content" 91 android:layout_height="match_parent" 92 android:text="" 93 android:id="@+id/audio_t2t_low_latency"/> 94 </LinearLayout> 95 96 <LinearLayout 97 android:orientation="horizontal" 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content"> 100 101 <TextView 102 android:layout_width="wrap_content" 103 android:layout_height="match_parent" 104 android:text="Media Performance Class: "/> 105 106 <TextView 107 android:layout_width="wrap_content" 108 android:layout_height="match_parent" 109 android:text="" 110 android:id="@+id/audio_t2t_mpc"/> 111 </LinearLayout> 112 113 <LinearLayout 114 android:orientation="horizontal" 115 android:layout_width="match_parent" 116 android:layout_height="wrap_content"> 117 118 <TextView 119 android:layout_width="wrap_content" 120 android:layout_height="match_parent" 121 android:text="@string/audio_tap2tone_buffer_frames"/> 122 123 <TextView 124 android:layout_width="wrap_content" 125 android:layout_height="match_parent" 126 android:text="" 127 android:id="@+id/audio_t2t_buffer_frames"/> 128 </LinearLayout> 129 130 <include layout="@layout/audio_java_native_api_buttons" /> 131 132 <LinearLayout 133 android:layout_width="match_parent" 134 android:layout_height="wrap_content" 135 android:orientation="horizontal"> 136 137 <Button 138 android:layout_width="wrap_content" 139 android:layout_height="wrap_content" 140 android:soundEffectsEnabled="false" 141 android:text="@string/audio_general_start" 142 android:id="@+id/tap2tone_startBtn" /> 143 144 <Button 145 android:layout_width="wrap_content" 146 android:layout_height="wrap_content" 147 android:soundEffectsEnabled="false" 148 android:text="@string/audio_general_stop" 149 android:id="@+id/tap2tone_stopBtn" /> 150 </LinearLayout> 151 152 <LinearLayout 153 android:orientation="horizontal" 154 android:layout_width="match_parent" 155 android:layout_height="wrap_content"> 156 157 <TextView 158 android:layout_width="wrap_content" 159 android:layout_height="match_parent" 160 android:textSize="20sp" 161 android:textStyle="bold" 162 android:text="Required Maximum Latency:"/> 163 164 <TextView 165 android:layout_width="wrap_content" 166 android:layout_height="match_parent" 167 android:text="" 168 android:textSize="20sp" 169 android:textStyle="bold" 170 android:id="@+id/audio_t2t_required_latency"/> 171 </LinearLayout> 172 173 <TextView 174 android:id="@+id/tap2tone_specTxt" 175 android:layout_width="match_parent" 176 android:layout_height="wrap_content" 177 android:textSize="20sp" 178 android:textStyle="bold"/> 179 180 <TextView 181 android:id="@+id/tap2tone_resultTxt" 182 android:layout_width="match_parent" 183 android:layout_height="wrap_content" 184 android:textSize="20sp" 185 android:textStyle="bold"/> 186 187 <TextView 188 android:id="@+id/tap2tone_statsTxt" 189 android:layout_width="match_parent" 190 android:layout_height="wrap_content" 191 android:textSize="20sp" 192 android:textStyle="bold"/> 193 194 <TextView 195 android:id="@+id/tap2tone_phaseInfo" 196 android:layout_width="match_parent" 197 android:layout_height="wrap_content" 198 android:textSize="20sp" 199 android:textStyle="bold"/> 200 201 <Button 202 android:layout_width="wrap_content" 203 android:layout_height="wrap_content" 204 android:soundEffectsEnabled="false" 205 android:text="@string/audio_general_clear_results" 206 android:id="@+id/tap2tone_clearResults" /> 207 208 <com.android.cts.verifier.audio.audiolib.WaveformView 209 android:id="@+id/tap2tone_waveView" 210 android:layout_width="fill_parent" 211 android:layout_height="120dp" /> 212 213 <include layout="@layout/pass_fail_buttons" /> 214 215 </LinearLayout> 216</ScrollView> 217