19940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye/* 29940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * Copyright (C) 2013 The Android Open Source Project 39940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * 49940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * Licensed under the Apache License, Version 2.0 (the "License"); 59940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * you may not use this file except in compliance with the License. 69940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * You may obtain a copy of the License at 79940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * 89940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * http://www.apache.org/licenses/LICENSE-2.0 99940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * 109940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * Unless required by applicable law or agreed to in writing, software 119940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * distributed under the License is distributed on an "AS IS" BASIS, 129940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * See the License for the specific language governing permissions and 149940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * limitations under the License. 159940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye */ 169940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyepackage android.annotation; 179940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye 189940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport java.lang.annotation.Documented; 199940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport java.lang.annotation.Retention; 209940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport java.lang.annotation.Target; 219940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye 229940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport static java.lang.annotation.ElementType.FIELD; 239940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport static java.lang.annotation.ElementType.METHOD; 249940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport static java.lang.annotation.ElementType.PARAMETER; 259940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyeimport static java.lang.annotation.RetentionPolicy.SOURCE; 269940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye 279940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye/** 289940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * Denotes that an integer parameter, field or method return value is expected 299940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * to be a dimension resource reference (e.g. {@link android.R.dimen#app_icon_size}). 309940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * 319940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye * {@hide} 329940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye */ 339940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye@Documented 349940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye@Retention(SOURCE) 359940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye@Target({METHOD, PARAMETER, FIELD}) 369940de968eb23e18e41149c9288280b2fe3596b2Tor Norbyepublic @interface DimenRes { 379940de968eb23e18e41149c9288280b2fe3596b2Tor Norbye} 38