| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2009 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:orientation="vertical" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" |
| android:id="@+id/toplevel"> |
| |
| <Spinner |
| android:id="@+id/image_size" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content"/> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="fill_parent" android:layout_height="wrap_content"> |
| <ToggleButton android:id="@+id/io_control" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColorLink="@android:color/holo_blue_light" |
| android:textOff="@string/io_control_on" |
| android:textOn="@string/io_control_off" |
| android:textSize="12dp"/> |
| <ToggleButton |
| android:id="@+id/length_control" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColorLink="@android:color/holo_blue_light" |
| android:textOff="@string/length_long" |
| android:textOn="@string/length_short" |
| android:textSize="12dp"/> |
| <ToggleButton |
| android:id="@+id/background_work" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColorLink="@android:color/holo_blue_light" |
| android:textOff="@string/dvfs_on" |
| android:textOn="@string/dvfs_off" |
| android:textSize="12dp"/> |
| <ToggleButton |
| android:id="@+id/pause" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textColorLink="@android:color/holo_blue_light" |
| android:textOff="@string/pause_on" |
| android:textOn="@string/pause_off" |
| android:textSize="12dp"/> |
| </LinearLayout> |
| |
| <ListView |
| android:id="@+id/test_list" |
| android:layout_weight="0.2" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content"/> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="fill_parent" android:layout_height="wrap_content"> |
| <Button |
| android:id="@+id/select_all" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/select_all" |
| android:textSize="12dp" |
| android:onClick="btnSelAll"/> |
| <Button |
| android:id="@+id/select_none" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/select_none" |
| android:textSize="12dp" |
| android:onClick="btnSelNone"/> |
| <Button |
| android:id="@+id/select_hp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/select_hp" |
| android:textSize="12dp" |
| android:onClick="btnSelHp"/> |
| <Button |
| android:id="@+id/select_lp" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/select_lp" |
| android:textSize="12dp" |
| android:onClick="btnSelLp"/> |
| <Button |
| android:id="@+id/select_intrinsics" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/select_intrinsics" |
| android:textSize="12dp" |
| android:onClick="btnSelIntrinsic"/> |
| </LinearLayout> |
| |
| <Button |
| android:id="@+id/run" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/benchmark" |
| android:onClick="btnRun"/> |
| |
| <TextView |
| android:id="@+id/results" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:textSize="8pt" |
| android:layout_marginLeft="10sp" |
| android:layout_marginTop="15sp" |
| android:text="@string/results"/> |
| |
| </LinearLayout> |
| |