1 <?xml version="1.0" encoding="utf-8"?> 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent"> 5 6 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 android:layout_width="fill_parent" 8 android:layout_height="fill_parent" 9 android:stretchColumns="true"> 10 11 <TableRow> 12 <TextView 13 android:layout_width="wrap_content" 14 android:layout_height="wrap_content" 15 android:text="Iteration count:" 16 /> 17 18 <EditText android:id="@+id/iterations_edit" 19 android:layout_width="fill_parent" 20 android:layout_height="wrap_content" 21 android:numeric="integer" 22 android:singleLine="true" 23 android:text="100" 24 /> 25 </TableRow> 26 27 <TableRow> 28 <TextView 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:text="Profile filename:" 32 /> 33 34 <EditText android:id="@+id/trace_edit" 35 android:layout_width="fill_parent" 36 android:layout_height="wrap_content" 37 android:singleLine="true" 38 /> 39 </TableRow> 40 41 <TableRow> 42 <LinearLayout android:layout_height="wrap_content" 43 android:layout_width="wrap_content" 44 android:orientation="vertical"> 45 <TextView 46 android:id="@+id/file_read_text" 47 android:layout_width="fill_parent" 48 android:layout_height="wrap_content" 49 android:text="Seek + read cached:" 50 /> 51 <Button 52 android:id="@+id/file_read_button" 53 android:layout_width="fill_parent" 54 android:layout_height="wrap_content" 55 android:text="File read" 56 /> 57 </LinearLayout> 58 59 <LinearLayout android:layout_height="wrap_content" 60 android:layout_width="wrap_content" 61 android:orientation="vertical"> 62 <TextView 63 android:id="@+id/file_write_text" 64 android:layout_width="fill_parent" 65 android:layout_height="wrap_content" 66 android:text="Open + write + close:" 67 /> 68 <Button 69 android:id="@+id/file_write_button" 70 android:layout_width="fill_parent" 71 android:layout_height="wrap_content" 72 android:text="File write" 73 /> 74 </LinearLayout> 75 </TableRow> 76 77 <TableRow> 78 <LinearLayout android:layout_height="wrap_content" 79 android:layout_width="wrap_content" 80 android:orientation="vertical"> 81 <TextView 82 android:id="@+id/settings_read_text" 83 android:layout_width="fill_parent" 84 android:layout_height="wrap_content" 85 android:text="Settings read xproc:" 86 /> 87 <Button 88 android:id="@+id/settings_read_button" 89 android:layout_width="fill_parent" 90 android:layout_height="wrap_content" 91 android:text="Settings read" 92 /> 93 </LinearLayout> 94 95 <LinearLayout android:layout_height="wrap_content" 96 android:layout_width="wrap_content" 97 android:orientation="vertical"> 98 <TextView 99 android:id="@+id/settings_sleep_text" 100 android:layout_width="fill_parent" 101 android:layout_height="wrap_content" 102 android:text="... + post sleep:" 103 /> 104 <Button 105 android:id="@+id/settings_sleep_button" 106 android:layout_width="fill_parent" 107 android:layout_height="wrap_content" 108 android:text="Sleep + Read" 109 /> 110 </LinearLayout> 111 </TableRow> 112 113 <TableRow> 114 <LinearLayout android:layout_height="wrap_content" 115 android:layout_width="wrap_content" 116 android:orientation="vertical"> 117 <TextView 118 android:id="@+id/settings_write_text" 119 android:layout_width="fill_parent" 120 android:layout_height="wrap_content" 121 android:text="Settings write:" /> 122 <Button 123 android:id="@+id/settings_write_button" 124 android:layout_width="fill_parent" 125 android:layout_height="wrap_content" 126 android:text="Settings write" /> 127 </LinearLayout> 128 129 <LinearLayout android:layout_height="wrap_content" 130 android:layout_width="wrap_content" 131 android:orientation="vertical"> 132 <TextView 133 android:id="@+id/settings_writedup_text" 134 android:layout_width="fill_parent" 135 android:layout_height="wrap_content" 136 android:text="Settings dup write:" /> 137 <Button 138 android:id="@+id/settings_writedup_button" 139 android:layout_width="fill_parent" 140 android:layout_height="wrap_content" 141 android:text="Dup writes" /> 142 </LinearLayout> 143 </TableRow> 144 145 <TableRow> 146 <LinearLayout android:layout_height="wrap_content" 147 android:layout_width="wrap_content" 148 android:orientation="vertical"> 149 <TextView 150 android:id="@+id/dummy_lookup_text" 151 android:layout_width="fill_parent" 152 android:layout_height="wrap_content" 153 android:text="Noop xproc Provider:" /> 154 <Button 155 android:id="@+id/dummy_lookup_button" 156 android:layout_width="fill_parent" 157 android:layout_height="wrap_content" 158 android:text="Noop xproc query" /> 159 </LinearLayout> 160 161 <LinearLayout android:layout_height="wrap_content" 162 android:layout_width="wrap_content" 163 android:orientation="vertical"> 164 <TextView 165 android:id="@+id/dummy_local_lookup_text" 166 android:layout_width="fill_parent" 167 android:layout_height="wrap_content" 168 android:text="Noop inproc Provider:" /> 169 <Button 170 android:id="@+id/dummy_local_lookup_button" 171 android:layout_width="fill_parent" 172 android:layout_height="wrap_content" 173 android:text="Noop inproc query" /> 174 </LinearLayout> 175 </TableRow> 176 177 <TableRow> 178 <LinearLayout android:layout_height="wrap_content" 179 android:layout_width="wrap_content" 180 android:orientation="vertical"> 181 <TextView 182 android:id="@+id/localsocket_text" 183 android:layout_width="fill_parent" 184 android:layout_height="wrap_content" 185 android:text="LocalSocket xproc:" /> 186 <Button 187 android:id="@+id/localsocket_button" 188 android:layout_width="fill_parent" 189 android:layout_height="wrap_content" 190 android:text="LocalSocket xproc" /> 191 </LinearLayout> 192 193 <LinearLayout android:layout_height="wrap_content" 194 android:layout_width="wrap_content" 195 android:orientation="vertical"> 196 <TextView 197 android:id="@+id/proc_text" 198 android:layout_width="fill_parent" 199 android:layout_height="wrap_content" 200 android:text="/proc file read:" /> 201 <Button 202 android:id="@+id/proc_button" 203 android:layout_width="fill_parent" 204 android:layout_height="wrap_content" 205 android:text="/proc file reads" /> 206 </LinearLayout> 207 208 </TableRow> 209 210 <TableRow> 211 <LinearLayout android:layout_height="wrap_content" 212 android:layout_width="wrap_content" 213 android:orientation="vertical"> 214 <TextView 215 android:id="@+id/service_text" 216 android:layout_width="fill_parent" 217 android:layout_height="wrap_content" 218 android:text="Service void xproc:" /> 219 <Button 220 android:id="@+id/service_button" 221 android:layout_width="fill_parent" 222 android:layout_height="wrap_content" 223 android:text="Service; void" /> 224 </LinearLayout> 225 226 <LinearLayout android:layout_height="wrap_content" 227 android:layout_width="wrap_content" 228 android:orientation="vertical"> 229 <TextView 230 android:id="@+id/service2_text" 231 android:layout_width="fill_parent" 232 android:layout_height="wrap_content" 233 android:text="Service ret-string xproc:" /> 234 <Button 235 android:id="@+id/service2_button" 236 android:layout_width="fill_parent" 237 android:layout_height="wrap_content" 238 android:text="Service; string" /> 239 </LinearLayout> 240 </TableRow> 241 242 <TableRow> 243 <LinearLayout android:layout_height="wrap_content" 244 android:layout_width="wrap_content" 245 android:orientation="vertical"> 246 <TextView 247 android:id="@+id/ping_media_text" 248 android:layout_width="fill_parent" 249 android:layout_height="wrap_content" 250 android:text="Ping media player service:" /> 251 <Button 252 android:id="@+id/ping_media_button" 253 android:layout_width="fill_parent" 254 android:layout_height="wrap_content" 255 android:text="Ping media" /> 256 </LinearLayout> 257 258 <LinearLayout android:layout_height="wrap_content" 259 android:layout_width="wrap_content" 260 android:orientation="vertical"> 261 <TextView 262 android:id="@+id/ping_activity_text" 263 android:layout_width="fill_parent" 264 android:layout_height="wrap_content" 265 android:text="Ping activity service:" /> 266 <Button 267 android:id="@+id/ping_activity_button" 268 android:layout_width="fill_parent" 269 android:layout_height="wrap_content" 270 android:text="Ping activity" /> 271 </LinearLayout> 272 </TableRow> 273 274 <TableRow> 275 <LinearLayout android:layout_height="wrap_content" 276 android:layout_width="wrap_content" 277 android:orientation="vertical"> 278 <TextView 279 android:id="@+id/call_text" 280 android:layout_width="fill_parent" 281 android:layout_height="wrap_content" 282 android:text="Call:" /> 283 <Button 284 android:id="@+id/call_button" 285 android:layout_width="fill_parent" 286 android:layout_height="wrap_content" 287 android:text="cp.Call()" /> 288 </LinearLayout> 289 290 <LinearLayout android:layout_height="wrap_content" 291 android:layout_width="wrap_content" 292 android:orientation="vertical"> 293 <TextView 294 android:id="@+id/call2_text" 295 android:layout_width="fill_parent" 296 android:layout_height="wrap_content" 297 android:text="Call non-exist:" /> 298 <Button 299 android:id="@+id/call2_button" 300 android:layout_width="fill_parent" 301 android:layout_height="wrap_content" 302 android:text="cp.Call() no exist" /> 303 </LinearLayout> 304 </TableRow> 305 306 <TableRow> 307 <LinearLayout android:layout_height="wrap_content" 308 android:layout_width="wrap_content" 309 android:orientation="vertical"> 310 <TextView 311 android:id="@+id/obtain_text" 312 android:layout_width="fill_parent" 313 android:layout_height="wrap_content" 314 android:text="Obtain parcel:" /> 315 <Button 316 android:id="@+id/obtain_button" 317 android:layout_width="fill_parent" 318 android:layout_height="wrap_content" 319 android:text="Parcel.obtain()" /> 320 </LinearLayout> 321 322 <LinearLayout android:layout_height="wrap_content" 323 android:layout_width="wrap_content" 324 android:orientation="vertical"> 325 <TextView 326 android:id="@+id/recycle_text" 327 android:layout_width="fill_parent" 328 android:layout_height="wrap_content" 329 android:text="Recycle parcel:" /> 330 <Button 331 android:id="@+id/recycle_button" 332 android:layout_width="fill_parent" 333 android:layout_height="wrap_content" 334 android:text="Parcel.recycle()" /> 335 </LinearLayout> 336 </TableRow> 337 </TableLayout> 338 339 </ScrollView> 340