1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2015 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 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 limitations under the 14 ~ License. 15 ~ 16 --> 17 18<resources> 19 <!-- Root tag for benchmarks --> 20 <declare-styleable name="AndroidBenchmarks" /> 21 22 <declare-styleable name="BenchmarkGroup"> 23 <attr name="name" format="reference|string" /> 24 <attr name="description" format="reference|string" /> 25 </declare-styleable> 26 27 <declare-styleable name="Benchmark"> 28 <attr name="name" /> 29 <attr name="description" /> 30 <attr name="id" format="reference" /> 31 <attr name="category" format="enum"> 32 <enum name="generic" value="0" /> 33 <enum name="ui" value="1" /> 34 <enum name="compute" value="2" /> 35 </attr> 36 </declare-styleable> 37 38 <declare-styleable name="PerfTimeline"><attr name="exampleString" format="string"/> 39 <attr name="exampleDimension" format="dimension"/> 40 <attr name="exampleColor" format="color"/> 41 <attr name="exampleDrawable" format="color|reference"/> 42 </declare-styleable> 43 44</resources> 45 46