@Override public void onAnimationEnd(Animator animation) { // clean up view.setWillNotDraw(false); view.getOverlay().clear(); ((ViewGroup) view.getParent()).setClipChildren(true); startText.recycle(); endText.recycle(); } });
@SuppressWarnings("WeakerAccess") void init(int measuredWidth, int measuredHeight) { if (isZeroSized(measuredWidth, measuredHeight)) { isBlurEnabled = false; blurView.setWillNotDraw(true); setBlurAutoUpdate(false); return; } isBlurEnabled = true; blurView.setWillNotDraw(false); allocateBitmap(measuredWidth, measuredHeight); internalCanvas = new Canvas(internalBitmap); setBlurAutoUpdate(true); if (hasFixedTransformationMatrix) { setupInternalCanvasMatrix(); } }
view.setWillNotDraw(true); ((ViewGroup) view.getParent()).setClipChildren(false);
@Override public void setHtmlBackground(Bitmap bitmap, Background background) { if (mHost instanceof ViewGroup) { mHost.setWillNotDraw(false); } mBackgroundBitmap = bitmap; mColor = background.getColor(); mBackground = background; mSetBackgroundCount++; mHost.invalidate(); }
public void run(RapidParserObject object, Object view, Var value) { ((View)view).setWillNotDraw(value.getBoolean()); } }
mView.setWillNotDraw(false);
void init(int measuredWidth, int measuredHeight) { if (isZeroSized(measuredWidth, measuredHeight)) { blurView.setWillNotDraw(true); setBlurAutoUpdate(false); return; } blurView.setWillNotDraw(false); allocateBitmap(measuredWidth, measuredHeight); internalCanvas = new Canvas(internalBitmap); setBlurAutoUpdate(true); }
/** * This method is called by ObjectAnimator to let the mask layer be transparent. * * @param alpha */ public void setAlpha(int alpha) { mFocusColor = computeFocusColor(mColor, alpha); mCircleColor = computeCircleColor(mColor, alpha); resetPaint(); if (mView instanceof ViewGroup) { mView.setWillNotDraw(false); } mView.invalidate(); }
mView.setWillNotDraw(false); drawable.setCallback(mView); if (drawable.isStateful()) { mView.setWillNotDraw(true);
touchGuard.setWillNotDraw(true); touchGuard.setVisibility(GONE);
touchGuard.setWillNotDraw(true); touchGuard.setVisibility(GONE);
touchGuard.setWillNotDraw(true); touchGuard.setVisibility(GONE);