Lines Matching refs:mVectorState

210     private VectorDrawableState mVectorState;
238 mVectorState = new VectorDrawableState();
240 mVectorState = state;
249 mVectorState = new VectorDrawableState(mVectorState);
264 return mVectorState.mVPathRenderer.mVGTargetsMap.get(name);
269 mVectorState.mChangingConfigurations = getChangingConfigurations();
270 return mVectorState;
318 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight);
320 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
322 if (!mVectorState.canReuseCache()) {
323 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
324 mVectorState.updateCacheStates();
327 mVectorState.drawCachedBitmapWithRootAlpha(canvas, colorFilter, mTmpBounds);
333 return mVectorState.mVPathRenderer.getRootAlpha();
338 if (mVectorState.mVPathRenderer.getRootAlpha() != alpha) {
339 mVectorState.mVPathRenderer.setRootAlpha(alpha);
357 final VectorDrawableState state = mVectorState;
367 final VectorDrawableState state = mVectorState;
377 return super.isStateful() || (mVectorState != null && mVectorState.mTint != null
378 && mVectorState.mTint.isStateful());
383 final VectorDrawableState state = mVectorState;
426 mVectorState.mVPathRenderer.mTargetDensity = targetDensity;
428 final int constantStateDensity = mVectorState.mVPathRenderer.mTargetDensity;
431 (int) mVectorState.mVPathRenderer.mBaseWidth, constantStateDensity,
434 (int) mVectorState.mVPathRenderer.mBaseHeight,constantStateDensity,
437 mVectorState.mVPathRenderer.mOpticalInsets.left, constantStateDensity,
440 mVectorState.mVPathRenderer.mOpticalInsets.right, constantStateDensity,
443 mVectorState.mVPathRenderer.mOpticalInsets.top, constantStateDensity,
446 mVectorState.mVPathRenderer.mOpticalInsets.bottom, constantStateDensity,
456 mDpiScaledWidth = (int) mVectorState.mVPathRenderer.mBaseWidth;
457 mDpiScaledHeight = (int) mVectorState.mVPathRenderer.mBaseHeight;
458 mDpiScaleInsets = mVectorState.mVPathRenderer.mOpticalInsets;
463 return (mVectorState != null && mVectorState.canApplyTheme()) || super.canApplyTheme();
470 final VectorDrawableState state = mVectorState;
510 if (mVectorState == null || mVectorState.mVPathRenderer == null ||
511 mVectorState.mVPathRenderer.mBaseWidth == 0 ||
512 mVectorState.mVPathRenderer.mBaseHeight == 0 ||
513 mVectorState.mVPathRenderer.mViewportHeight == 0 ||
514 mVectorState.mVPathRenderer.mViewportWidth == 0) {
517 float intrinsicWidth = mVectorState.mVPathRenderer.mBaseWidth;
518 float intrinsicHeight = mVectorState.mVPathRenderer.mBaseHeight;
519 float viewportWidth = mVectorState.mVPathRenderer.mViewportWidth;
520 float viewportHeight = mVectorState.mVPathRenderer.mViewportHeight;
562 final VectorDrawableState state = mVectorState;
578 final VectorDrawableState state = mVectorState;
649 final VectorDrawableState state = mVectorState;
738 return super.getChangingConfigurations() | mVectorState.getChangingConfigurations();
751 if (mVectorState.mAutoMirrored != mirrored) {
752 mVectorState.mAutoMirrored = mirrored;
759 return mVectorState.mAutoMirrored;