blob: 83c50ae41ecf05b0b55d148f11b07f6dfe916e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
tools:context="com.mobileer.oboetester.RoundTripLatencyActivity" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" >
<com.mobileer.oboetester.StreamConfigurationView
android:id="@+id/inputStreamConfiguration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.InputMarginView
android:id="@+id/input_margin_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" />
<com.mobileer.oboetester.StreamConfigurationView
android:id="@+id/outputStreamConfiguration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.BufferSizeView
android:id="@+id/buffer_size_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.WorkloadView
android:id="@+id/workload_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/button_measure"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onMeasure"
android:text="@string/measure"
android:textSize="12sp" />
<Button
android:id="@+id/button_average"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onAverage"
android:text="@string/average"
android:textSize="12sp" />
<Button
android:id="@+id/button_cancel"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:enabled="false"
android:onClick="onCancel"
android:text="@string/cancel"
android:textSize="12sp" />
<Button
android:id="@+id/button_share"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="onShareFile"
android:text="@string/share"
android:textSize="12sp" />
</LinearLayout>
<com.mobileer.oboetester.CommunicationDeviceView
android:id="@+id/comm_device_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<TextView
android:id="@+id/text_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lines="16"
android:text="@string/loopback_instructions_latency"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>
</ScrollView>
|