Home
last modified time | relevance | path

Searched refs:mBaseWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java486 mDpiScaledWidth = Drawable.scaleFromDensity(mVectorState.mBaseWidth, sourceDensity, in computeVectorSize()
500 mDpiScaledWidth = mVectorState.mBaseWidth; in computeVectorSize()
563 mVectorState.mBaseWidth == 0 || in getPixelSize()
569 float intrinsicWidth = mVectorState.mBaseWidth; in getPixelSize()
678 state.mBaseWidth = a.getDimensionPixelSize( in updateStateFromTypedArray()
679 R.styleable.VectorDrawable_width, state.mBaseWidth); in updateStateFromTypedArray()
683 if (state.mBaseWidth <= 0) { in updateStateFromTypedArray()
822 int mBaseWidth = 0; field in VectorDrawable.VectorDrawableState
883 mBaseWidth = copy.mBaseWidth; in VectorDrawableState()
1007 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity, true); in applyDensityScaling()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java475 return (int) mVectorState.mVPathRenderer.mBaseWidth; in getIntrinsicWidth()
522 || mVectorState.mVPathRenderer.mBaseWidth == 0 in getPixelSize()
528 float intrinsicWidth = mVectorState.mVPathRenderer.mBaseWidth; in getPixelSize()
696 pathRenderer.mBaseWidth = a.getDimension( in updateStateFromTypedArray()
697 AndroidResources.STYLEABLE_VECTOR_DRAWABLE_WIDTH, pathRenderer.mBaseWidth); in updateStateFromTypedArray()
700 if (pathRenderer.mBaseWidth <= 0) { in updateStateFromTypedArray()
1081 float mBaseWidth = 0; field in VectorDrawableCompat.VPathRenderer
1119 mBaseWidth = copy.mBaseWidth; in VPathRenderer()