Searched refs:mVectorState (Results 1 – 2 of 2) sorted by relevance
322 private VectorDrawableState mVectorState; field in VectorDrawable353 mVectorState = state; in VectorDrawable()366 final int density = Drawable.resolveDensity(res, mVectorState.mDensity); in updateLocalState()372 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState()378 mVectorState = new VectorDrawableState(mVectorState); in mutate()393 return mVectorState.mVGTargetsMap.get(name); in getTargetByName()398 mVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()399 return mVectorState; in getConstantState()416 boolean canReuseCache = mVectorState.canReuseCache(); in draw()417 int pixelCount = nDraw(mVectorState.getNativeRenderer(), canvas.getNativeCanvasWrapper(), in draw()[all …]
225 private VectorDrawableCompatState mVectorState; field in VectorDrawableCompat245 mVectorState = new VectorDrawableCompatState(); in VectorDrawableCompat()249 mVectorState = state; in VectorDrawableCompat()261 mVectorState = new VectorDrawableCompatState(mVectorState); in mutate()268 return mVectorState.mVPathRenderer.mVGTargetsMap.get(name); in getTargetByName()277 mVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()278 return mVectorState; in getConstantState()340 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); in draw()342 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()344 if (!mVectorState.canReuseCache()) { in draw()[all …]