Returns the ShadowHelper. if (Build.VERSION.SDK_INT >= 21) { mSupportsShadow = true; mUsesZShadow = true; mImpl = new ShadowHelperApi21Impl(); } else if (Build.VERSION.SDK_INT >= 18) { mSupportsShadow = true; mImpl = new ShadowHelperJbmr2Impl(); } else { mSupportsShadow = false; mImpl = new ShadowHelperStubImpl(); }
if (Build.VERSION.SDK_INT >= 21) { mSupportsShadow = true; mUsesZShadow = true; mImpl = new ShadowHelperApi21Impl(); } else if (Build.VERSION.SDK_INT >= 18) { mSupportsShadow = true; mImpl = new ShadowHelperJbmr2Impl(); } else { mSupportsShadow = false; mImpl = new ShadowHelperStubImpl(); }
return mImpl.addShadow(shadowContainer, roundedCorners);
return sInstance;
mImpl.prepareParent(parent);
mImpl.setShadowFocusLevel(impl, level);
Set the view z coordinate. mImpl.setZ(view, z);
mImpl.setZ(view, z);
return mSupportsShadow;
return mUsesZShadow;