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:fitsSystemWindows="true" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:id="@+id/scrollView" 22 style="@style/RootLayoutPadding"> 23 24 <LinearLayout 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:orientation="vertical"> 28 29 <TextView 30 android:layout_width="wrap_content" 31 android:layout_height="match_parent" 32 android:text="" 33 android:id="@+id/audio_t2t_version"/> 34 35 <LinearLayout 36 android:orientation="horizontal" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content"> 39 40 <TextView 41 android:layout_width="wrap_content" 42 android:layout_height="match_parent" 43 android:text="Internal Mic: "/> 44 45 <TextView 46 android:layout_width="wrap_content" 47 android:layout_height="match_parent" 48 android:text="" 49 android:id="@+id/audio_t2t_mic"/> 50 </LinearLayout> 51 52 <LinearLayout 53 android:orientation="horizontal" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content"> 56 57 <TextView 58 android:layout_width="wrap_content" 59 android:layout_height="match_parent" 60 android:text="Internal Speaker: "/> 61 62 <TextView 63 android:layout_width="wrap_content" 64 android:layout_height="match_parent" 65 android:text="" 66 android:id="@+id/audio_t2t_speaker"/> 67 </LinearLayout> 68 69 <LinearLayout 70 android:orientation="horizontal" 71 android:layout_width="match_parent" 72 android:layout_height="wrap_content"> 73 74 <TextView 75 android:layout_width="wrap_content" 76 android:layout_height="match_parent" 77 android:text="Pro Audio: "/> 78 79 <TextView 80 android:layout_width="wrap_content" 81 android:layout_height="match_parent" 82 android:text="" 83 android:id="@+id/audio_t2t_pro_audio"/> 84 </LinearLayout> 85 86 <LinearLayout 87 android:orientation="horizontal" 88 android:layout_width="match_parent" 89 android:layout_height="wrap_content"> 90 91 <TextView 92 android:layout_width="wrap_content" 93 android:layout_height="match_parent" 94 android:text="Low Latency: "/> 95 96 <TextView 97 android:layout_width="wrap_content" 98 android:layout_height="match_parent" 99 android:text="" 100 android:id="@+id/audio_t2t_low_latency"/> 101 </LinearLayout> 102 103 <LinearLayout 104 android:orientation="horizontal" 105 android:layout_width="match_parent" 106 android:layout_height="wrap_content"> 107 108 <TextView 109 android:layout_width="wrap_content" 110 android:layout_height="match_parent" 111 android:text="Media Performance Class: "/> 112 113 <TextView 114 android:layout_width="wrap_content" 115 android:layout_height="match_parent" 116 android:text="" 117 android:id="@+id/audio_t2t_mpc"/> 118 </LinearLayout> 119 120 <LinearLayout 121 android:orientation="horizontal" 122 android:layout_width="match_parent" 123 android:layout_height="wrap_content"> 124 125 <TextView 126 android:layout_width="wrap_content" 127 android:layout_height="match_parent" 128 android:text="@string/audio_tap2tone_buffer_frames"/> 129 130 <TextView 131 android:layout_width="wrap_content" 132 android:layout_height="match_parent" 133 android:text="" 134 android:id="@+id/audio_t2t_buffer_frames"/> 135 </LinearLayout> 136 137 <include layout="@layout/audio_java_native_api_buttons" /> 138 139 <LinearLayout 140 android:layout_width="match_parent" 141 android:layout_height="wrap_content" 142 android:orientation="horizontal"> 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_start" 149 android:id="@+id/tap2tone_startBtn" /> 150 151 <Button 152 android:layout_width="wrap_content" 153 android:layout_height="wrap_content" 154 android:soundEffectsEnabled="false" 155 android:text="@string/audio_general_stop" 156 android:id="@+id/tap2tone_stopBtn" /> 157 </LinearLayout> 158 159 <LinearLayout 160 android:orientation="horizontal" 161 android:layout_width="match_parent" 162 android:layout_height="wrap_content"> 163 164 <TextView 165 android:layout_width="wrap_content" 166 android:layout_height="match_parent" 167 android:textSize="20sp" 168 android:textStyle="bold" 169 android:text="Required Maximum Latency:"/> 170 171 <TextView 172 android:layout_width="wrap_content" 173 android:layout_height="match_parent" 174 android:text="" 175 android:textSize="20sp" 176 android:textStyle="bold" 177 android:id="@+id/audio_t2t_required_latency"/> 178 </LinearLayout> 179 180 <TextView 181 android:id="@+id/tap2tone_specTxt" 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_resultTxt" 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_statsTxt" 196 android:layout_width="match_parent" 197 android:layout_height="wrap_content" 198 android:textSize="20sp" 199 android:textStyle="bold"/> 200 201 <TextView 202 android:id="@+id/tap2tone_phaseInfo" 203 android:layout_width="match_parent" 204 android:layout_height="wrap_content" 205 android:textSize="20sp" 206 android:textStyle="bold"/> 207 208 <Button 209 android:layout_width="wrap_content" 210 android:layout_height="wrap_content" 211 android:soundEffectsEnabled="false" 212 android:text="@string/audio_general_clear_results" 213 android:id="@+id/tap2tone_clearResults" /> 214 215 <com.android.cts.verifier.audio.audiolib.WaveformView 216 android:id="@+id/tap2tone_waveView" 217 android:layout_width="fill_parent" 218 android:layout_height="120dp" /> 219 220 <include layout="@layout/pass_fail_buttons" /> 221 222 </LinearLayout> 223</ScrollView> 224