1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 5 * in compliance with the License. You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 11 * or implied. See the License for the specific language governing permissions and limitations under 12 * the License. 13 */ 14 15 package android.support.graphics.drawable; 16 17 class AndroidResources { 18 19 // Resources ID generated in the latest R.java for framework. 20 static final int[] styleable_VectorDrawableTypeArray = { 21 android.R.attr.name, android.R.attr.tint, android.R.attr.height, 22 android.R.attr.width, android.R.attr.alpha, android.R.attr.autoMirrored, 23 android.R.attr.tintMode, android.R.attr.viewportWidth, android.R.attr.viewportHeight 24 }; 25 static final int styleable_VectorDrawable_alpha = 4; 26 static final int styleable_VectorDrawable_autoMirrored = 5; 27 static final int styleable_VectorDrawable_height = 2; 28 static final int styleable_VectorDrawable_name = 0; 29 static final int styleable_VectorDrawable_tint = 1; 30 static final int styleable_VectorDrawable_tintMode = 6; 31 static final int styleable_VectorDrawable_viewportHeight = 8; 32 static final int styleable_VectorDrawable_viewportWidth = 7; 33 static final int styleable_VectorDrawable_width = 3; 34 static final int[] styleable_VectorDrawableGroup = { 35 android.R.attr.name, android.R.attr.pivotX, android.R.attr.pivotY, 36 android.R.attr.scaleX, android.R.attr.scaleY, android.R.attr.rotation, 37 android.R.attr.translateX, android.R.attr.translateY 38 }; 39 static final int styleable_VectorDrawableGroup_name = 0; 40 static final int styleable_VectorDrawableGroup_pivotX = 1; 41 static final int styleable_VectorDrawableGroup_pivotY = 2; 42 static final int styleable_VectorDrawableGroup_rotation = 5; 43 static final int styleable_VectorDrawableGroup_scaleX = 3; 44 static final int styleable_VectorDrawableGroup_scaleY = 4; 45 static final int styleable_VectorDrawableGroup_translateX = 6; 46 static final int styleable_VectorDrawableGroup_translateY = 7; 47 static final int[] styleable_VectorDrawablePath = { 48 android.R.attr.name, android.R.attr.fillColor, android.R.attr.pathData, 49 android.R.attr.strokeColor, android.R.attr.strokeWidth, android.R.attr.trimPathStart, 50 android.R.attr.trimPathEnd, android.R.attr.trimPathOffset, android.R.attr.strokeLineCap, 51 android.R.attr.strokeLineJoin, android.R.attr.strokeMiterLimit, 52 android.R.attr.strokeAlpha, android.R.attr.fillAlpha 53 }; 54 static final int styleable_VectorDrawablePath_fillAlpha = 12; 55 static final int styleable_VectorDrawablePath_fillColor = 1; 56 static final int styleable_VectorDrawablePath_name = 0; 57 static final int styleable_VectorDrawablePath_pathData = 2; 58 static final int styleable_VectorDrawablePath_strokeAlpha = 11; 59 static final int styleable_VectorDrawablePath_strokeColor = 3; 60 static final int styleable_VectorDrawablePath_strokeLineCap = 8; 61 static final int styleable_VectorDrawablePath_strokeLineJoin = 9; 62 static final int styleable_VectorDrawablePath_strokeMiterLimit = 10; 63 static final int styleable_VectorDrawablePath_strokeWidth = 4; 64 static final int styleable_VectorDrawablePath_trimPathEnd = 6; 65 static final int styleable_VectorDrawablePath_trimPathOffset = 7; 66 static final int styleable_VectorDrawablePath_trimPathStart = 5; 67 static final int[] styleable_VectorDrawableClipPath = { 68 android.R.attr.name, android.R.attr.pathData 69 }; 70 static final int styleable_VectorDrawableClipPath_name = 0; 71 static final int styleable_VectorDrawableClipPath_pathData = 1; 72 73 static final int[] styleable_AnimatedVectorDrawable = { 74 android.R.attr.drawable 75 }; 76 static final int styleable_AnimatedVectorDrawable_drawable = 0; 77 static final int[] styleable_AnimatedVectorDrawableTarget = { 78 android.R.attr.name, android.R.attr.animation 79 }; 80 static final int styleable_AnimatedVectorDrawableTarget_animation = 1; 81 static final int styleable_AnimatedVectorDrawableTarget_name = 0; 82 } 83