Searched refs:mBaseWidth (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ShadowKeyDrawable.java | 49 mState.mBaseWidth = d.getIntrinsicWidth(); in ShadowKeyDrawable() 125 return mState.mBaseWidth; in getIntrinsicWidth() 148 d.setBounds(0, 0, mState.mBaseWidth, mState.mBaseHeight); in regenerateBitmapCache() 181 int mBaseWidth; field in ShadowKeyDrawable.ShadowDrawableState
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 565 mDpiScaledWidth = Drawable.scaleFromDensity(mVectorState.mBaseWidth, sourceDensity, in computeVectorSize() 579 mDpiScaledWidth = mVectorState.mBaseWidth; in computeVectorSize() 642 mVectorState.mBaseWidth == 0 || in getPixelSize() 648 float intrinsicWidth = mVectorState.mBaseWidth; in getPixelSize() 763 state.mBaseWidth = a.getDimensionPixelSize( in updateStateFromTypedArray() 764 R.styleable.VectorDrawable_width, state.mBaseWidth); in updateStateFromTypedArray() 768 if (state.mBaseWidth <= 0) { in updateStateFromTypedArray() 914 int mBaseWidth = 0; field in VectorDrawable.VectorDrawableState 975 mBaseWidth = copy.mBaseWidth; in VectorDrawableState() 1099 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity, true); in applyDensityScaling()
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
D | VectorDrawableCompat.java | 481 return (int) mVectorState.mVPathRenderer.mBaseWidth; in getIntrinsicWidth() 528 || mVectorState.mVPathRenderer.mBaseWidth == 0 in getPixelSize() 534 float intrinsicWidth = mVectorState.mVPathRenderer.mBaseWidth; in getPixelSize() 698 pathRenderer.mBaseWidth = a.getDimension( in updateStateFromTypedArray() 699 AndroidResources.STYLEABLE_VECTOR_DRAWABLE_WIDTH, pathRenderer.mBaseWidth); in updateStateFromTypedArray() 702 if (pathRenderer.mBaseWidth <= 0) { in updateStateFromTypedArray() 1077 float mBaseWidth = 0; field in VectorDrawableCompat.VPathRenderer 1115 mBaseWidth = copy.mBaseWidth; in VPathRenderer()
|