Searched refs:mVectorState (Results 1 – 2 of 2) sorted by relevance
243 private VectorDrawableState mVectorState; field in VectorDrawable274 mVectorState = state; in VectorDrawable()287 final int density = Drawable.resolveDensity(res, mVectorState.mDensity); in updateLocalState()293 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState()299 mVectorState = new VectorDrawableState(mVectorState); in mutate()314 return mVectorState.mVGTargetsMap.get(name); in getTargetByName()319 mVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()320 return mVectorState; in getConstantState()337 boolean canReuseCache = mVectorState.canReuseCache(); in draw()338 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 …]