Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java243 private VectorDrawableState mVectorState; field in VectorDrawable
274 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 …]
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java219 private VectorDrawableCompatState mVectorState; field in VectorDrawableCompat
239 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 …]