175aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye/*
275aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * Copyright (C) 2014 The Android Open Source Project
375aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye *
475aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * Licensed under the Apache License, Version 2.0 (the "License");
575aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * you may not use this file except in compliance with the License.
675aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * You may obtain a copy of the License at
775aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye *
875aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye *      http://www.apache.org/licenses/LICENSE-2.0
975aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye *
1075aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * Unless required by applicable law or agreed to in writing, software
1175aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * distributed under the License is distributed on an "AS IS" BASIS,
1275aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1375aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * See the License for the specific language governing permissions and
1475aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * limitations under the License.
1575aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye */
1675aea14c26565d3fde46c4ce410f5c384c42162cTor Norbyepackage android.support.annotation;
1775aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye
1875aea14c26565d3fde46c4ce410f5c384c42162cTor Norbyeimport static java.lang.annotation.ElementType.FIELD;
199b2e27b330a5047774442f112efd8ba40b046c39Tor Norbyeimport static java.lang.annotation.ElementType.LOCAL_VARIABLE;
2075aea14c26565d3fde46c4ce410f5c384c42162cTor Norbyeimport static java.lang.annotation.ElementType.METHOD;
2175aea14c26565d3fde46c4ce410f5c384c42162cTor Norbyeimport static java.lang.annotation.ElementType.PARAMETER;
229b2e27b330a5047774442f112efd8ba40b046c39Tor Norbyeimport static java.lang.annotation.RetentionPolicy.CLASS;
2375aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye
24bf4b77f1b6bfa3ccf6c4fc8c89f1a1fb563b7a65Aurimas Liutikasimport java.lang.annotation.Documented;
25bf4b77f1b6bfa3ccf6c4fc8c89f1a1fb563b7a65Aurimas Liutikasimport java.lang.annotation.Retention;
26bf4b77f1b6bfa3ccf6c4fc8c89f1a1fb563b7a65Aurimas Liutikasimport java.lang.annotation.Target;
27bf4b77f1b6bfa3ccf6c4fc8c89f1a1fb563b7a65Aurimas Liutikas
2875aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye/**
2975aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye * Denotes that an integer parameter, field or method return value is expected
30ee3dc29c66e8c2c711fe1ca4f2d1d7cb07876b9aJeff Sharkey * to be a drawable resource reference (e.g. {@code android.R.attr.alertDialogIcon}).
3175aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye */
3275aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye@Documented
339b2e27b330a5047774442f112efd8ba40b046c39Tor Norbye@Retention(CLASS)
349b2e27b330a5047774442f112efd8ba40b046c39Tor Norbye@Target({METHOD, PARAMETER, FIELD, LOCAL_VARIABLE})
3575aea14c26565d3fde46c4ce410f5c384c42162cTor Norbyepublic @interface DrawableRes {
3675aea14c26565d3fde46c4ce410f5c384c42162cTor Norbye}
37