| Romain Guy | d7fa122 | 2009-10-09 16:05:25 -0700 | [diff] [blame] | 1 | <?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 Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:orientation="vertical" |
| 19 | android:layout_width="fill_parent" |
| Alex Sakhartchouk | abf2b93 | 2011-04-22 12:42:47 -0700 | [diff] [blame] | 20 | android:layout_height="fill_parent" |
| 21 | android:id="@+id/toplevel"> |
| Romain Guy | d7fa122 | 2009-10-09 16:05:25 -0700 | [diff] [blame] | 22 | <SurfaceView |
| 23 | android:id="@+id/surface" |
| 24 | android:layout_width="1dip" |
| 25 | android:layout_height="1dip" /> |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 26 | <ScrollView |
| 27 | android:layout_width="fill_parent" |
| 28 | android:layout_height="fill_parent"> |
| 29 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 30 | android:orientation="vertical" |
| 31 | android:layout_width="fill_parent" |
| 32 | android:layout_height="fill_parent"> |
| Alex Sakhartchouk | abf2b93 | 2011-04-22 12:42:47 -0700 | [diff] [blame] | 33 | <ImageView |
| 34 | android:id="@+id/display" |
| 35 | android:layout_width="wrap_content" |
| 36 | android:layout_height="wrap_content" /> |
| 37 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 38 | android:orientation="horizontal" |
| 39 | android:layout_width="fill_parent" |
| 40 | android:layout_height="wrap_content"> |
| 41 | <Button |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:text="@string/benchmark" |
| 45 | android:onClick="benchmark"/> |
| 46 | <TextView |
| 47 | android:id="@+id/benchmarkText" |
| 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:textSize="8pt" |
| 51 | android:text="@string/saturation"/> |
| 52 | </LinearLayout> |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 53 | <Spinner |
| 54 | android:id="@+id/filterselection" |
| 55 | android:layout_width="fill_parent" |
| 56 | android:layout_height="wrap_content"/> |
| Tim Murray | 74478f7 | 2012-09-26 13:46:46 -0700 | [diff] [blame] | 57 | <Spinner |
| 58 | android:id="@+id/spinner1" |
| 59 | android:layout_width="fill_parent" |
| 60 | android:layout_height="wrap_content"/> |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 61 | <TextView |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 62 | android:id="@+id/slider1Text" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:textSize="8pt" |
| 66 | android:layout_marginLeft="10sp" |
| 67 | android:layout_marginTop="15sp" |
| 68 | android:text="@string/saturation"/> |
| 69 | <SeekBar |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 70 | android:id="@+id/slider1" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 71 | android:layout_marginLeft="10sp" |
| 72 | android:layout_marginRight="10sp" |
| 73 | android:layout_width="match_parent" |
| 74 | android:layout_height="wrap_content"/> |
| 75 | <TextView |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 76 | android:id="@+id/slider2Text" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 77 | android:layout_width="match_parent" |
| 78 | android:layout_height="wrap_content" |
| 79 | android:textSize="8pt" |
| 80 | android:layout_marginLeft="10sp" |
| 81 | android:layout_marginTop="15sp" |
| 82 | android:text="@string/gamma"/> |
| 83 | <SeekBar |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 84 | android:id="@+id/slider2" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 85 | android:layout_marginLeft="10sp" |
| 86 | android:layout_marginRight="10sp" |
| 87 | android:layout_width="match_parent" |
| 88 | android:layout_height="wrap_content"/> |
| 89 | <TextView |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 90 | android:id="@+id/slider3Text" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 91 | android:layout_width="match_parent" |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_marginLeft="10sp" |
| 94 | android:layout_marginTop="15sp" |
| 95 | android:textSize="8pt" |
| 96 | android:text="@string/out_white"/> |
| 97 | <SeekBar |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 98 | android:id="@+id/slider3" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 99 | android:layout_marginLeft="10sp" |
| 100 | android:layout_marginRight="10sp" |
| 101 | android:layout_width="match_parent" |
| 102 | android:layout_height="wrap_content"/> |
| 103 | <TextView |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 104 | android:id="@+id/slider4Text" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 105 | android:layout_width="match_parent" |
| 106 | android:layout_height="wrap_content" |
| 107 | android:textSize="8pt" |
| 108 | android:layout_marginLeft="10sp" |
| 109 | android:layout_marginTop="15sp" |
| 110 | android:text="@string/in_white"/> |
| 111 | <SeekBar |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 112 | android:id="@+id/slider4" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 113 | android:layout_marginLeft="10sp" |
| 114 | android:layout_marginRight="10sp" |
| 115 | android:layout_width="match_parent" |
| 116 | android:layout_height="wrap_content"/> |
| 117 | <TextView |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 118 | android:id="@+id/slider5Text" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 119 | android:layout_width="match_parent" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:textSize="8pt" |
| 122 | android:layout_marginLeft="10sp" |
| 123 | android:layout_marginTop="15sp" |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 124 | android:text="@string/in_white"/> |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 125 | <SeekBar |
| Jason Sams | 52541816 | 2012-07-19 16:31:47 -0700 | [diff] [blame] | 126 | android:id="@+id/slider5" |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 127 | android:layout_marginLeft="10sp" |
| 128 | android:layout_marginRight="10sp" |
| 129 | android:layout_width="match_parent" |
| 130 | android:layout_height="wrap_content"/> |
| Jason Sams | b94d69a | 2012-09-21 17:42:13 -0700 | [diff] [blame] | 131 | <Button |
| 132 | android:layout_width="wrap_content" |
| 133 | android:layout_height="wrap_content" |
| 134 | android:text="@string/benchmark_all" |
| 135 | android:onClick="benchmark_all"/> |
| Alex Sakhartchouk | db217e0 | 2011-02-17 14:43:27 -0800 | [diff] [blame] | 136 | </LinearLayout> |
| 137 | </ScrollView> |
| 138 | </LinearLayout> |
| Alex Sakhartchouk | 814326b | 2010-05-19 16:28:27 -0700 | [diff] [blame] | 139 | |