Searched refs:mVectorState (Results 1 – 2 of 2) sorted by relevance
242 private VectorDrawableState mVectorState; field in VectorDrawable273 mVectorState = state; in VectorDrawable()286 final int density = Drawable.resolveDensity(res, mVectorState.mDensity); in updateLocalState()292 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState()298 mVectorState = new VectorDrawableState(mVectorState); in mutate()313 return mVectorState.mVGTargetsMap.get(name); in getTargetByName()318 mVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()319 return mVectorState; in getConstantState()336 boolean canReuseCache = mVectorState.canReuseCache(); in draw()337 int pixelCount = nDraw(mVectorState.getNativeRenderer(), canvas.getNativeCanvasWrapper(), in draw()[all …]
219 private VectorDrawableCompatState mVectorState; field in VectorDrawableCompat239 mVectorState = new VectorDrawableCompatState(); in VectorDrawableCompat()243 mVectorState = state; in VectorDrawableCompat()255 mVectorState = new VectorDrawableCompatState(mVectorState); in mutate()262 return mVectorState.mVPathRenderer.mVGTargetsMap.get(name); in getTargetByName()271 mVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()272 return mVectorState; in getConstantState()334 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); in draw()336 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()338 if (!mVectorState.canReuseCache()) { in draw()[all …]