blob: b271b431a54c6d93228c1b09041b96fd43f508d7 [file] [log] [blame]
Romain Guyd7fa1222009-10-09 16:05:25 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:orientation="vertical"
19 android:layout_width="fill_parent"
20 android:layout_height="fill_parent">
Romain Guyd7fa1222009-10-09 16:05:25 -070021 <SurfaceView
22 android:id="@+id/surface"
23 android:layout_width="1dip"
24 android:layout_height="1dip" />
Romain Guyd7fa1222009-10-09 16:05:25 -070025 <ImageView
26 android:id="@+id/display"
27 android:layout_width="320dip"
28 android:layout_height="266dip" />
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080029 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
30 android:orientation="horizontal"
31 android:layout_width="fill_parent"
32 android:layout_height="wrap_content">
33 <Button
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:text="@string/benchmark"
37 android:onClick="benchmark"/>
38 <TextView
39 android:id="@+id/benchmarkText"
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
42 android:textSize="8pt"
43 android:text="@string/saturation"/>
44 </LinearLayout>
45 <ScrollView
46 android:layout_width="fill_parent"
47 android:layout_height="fill_parent">
48 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
49 android:orientation="vertical"
50 android:layout_width="fill_parent"
51 android:layout_height="fill_parent">
52 <TextView
53 android:id="@+id/inSaturationText"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:textSize="8pt"
57 android:layout_marginLeft="10sp"
58 android:layout_marginTop="15sp"
59 android:text="@string/saturation"/>
60 <SeekBar
61 android:id="@+id/inSaturation"
62 android:layout_marginLeft="10sp"
63 android:layout_marginRight="10sp"
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"/>
66 <TextView
67 android:id="@+id/inGammaText"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"
70 android:textSize="8pt"
71 android:layout_marginLeft="10sp"
72 android:layout_marginTop="15sp"
73 android:text="@string/gamma"/>
74 <SeekBar
75 android:id="@+id/inGamma"
76 android:layout_marginLeft="10sp"
77 android:layout_marginRight="10sp"
78 android:layout_width="match_parent"
79 android:layout_height="wrap_content"/>
80 <TextView
81 android:id="@+id/outWhiteText"
82 android:layout_width="match_parent"
83 android:layout_height="wrap_content"
84 android:layout_marginLeft="10sp"
85 android:layout_marginTop="15sp"
86 android:textSize="8pt"
87 android:text="@string/out_white"/>
88 <SeekBar
89 android:id="@+id/outWhite"
90 android:layout_marginLeft="10sp"
91 android:layout_marginRight="10sp"
92 android:layout_width="match_parent"
93 android:layout_height="wrap_content"/>
94 <TextView
95 android:id="@+id/inWhiteText"
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:textSize="8pt"
99 android:layout_marginLeft="10sp"
100 android:layout_marginTop="15sp"
101 android:text="@string/in_white"/>
102 <SeekBar
103 android:id="@+id/inWhite"
104 android:layout_marginLeft="10sp"
105 android:layout_marginRight="10sp"
106 android:layout_width="match_parent"
107 android:layout_height="wrap_content"/>
108 <TextView
109 android:id="@+id/outBlackText"
110 android:layout_width="match_parent"
111 android:layout_height="wrap_content"
112 android:textSize="8pt"
113 android:layout_marginLeft="10sp"
114 android:layout_marginTop="15sp"
115 android:text="@string/out_black"/>
116 <SeekBar
117 android:id="@+id/outBlack"
118 android:layout_marginLeft="10sp"
119 android:layout_marginRight="10sp"
120 android:layout_width="match_parent"
121 android:layout_height="wrap_content"/>
122 <TextView
123 android:id="@+id/inBlackText"
124 android:layout_width="match_parent"
125 android:layout_height="wrap_content"
126 android:textSize="8pt"
127 android:layout_marginLeft="10sp"
128 android:layout_marginTop="15sp"
129 android:text="@string/in_black"/>
130 <SeekBar
131 android:id="@+id/inBlack"
132 android:layout_marginLeft="10sp"
133 android:layout_marginRight="10sp"
134 android:layout_width="match_parent"
135 android:layout_height="wrap_content"/>
136 <TextView
137 android:id="@+id/blurText"
138 android:layout_width="match_parent"
139 android:layout_height="wrap_content"
140 android:textSize="8pt"
141 android:layout_marginLeft="10sp"
142 android:layout_marginTop="15sp"
143 android:text="@string/blur_description"/>
144 <SeekBar
145 android:id="@+id/radius"
146 android:layout_marginLeft="10sp"
147 android:layout_marginRight="10sp"
148 android:layout_width="match_parent"
149 android:layout_height="wrap_content"/>
150 </LinearLayout>
151 </ScrollView>
152</LinearLayout>
Alex Sakhartchouk814326b2010-05-19 16:28:27 -0700153