leanback/src/main/java/androidx/leanback/widget/ShadowOverlayContainer.java
public void useDynamicShadow(float unfocusedZ, float focusedZ) {
        if (mInitialized) {
            throw new IllegalStateException("Already initialized");
        }
        if (supportsDynamicShadow()) {
            mShadowType = SHADOW_DYNAMIC;
            mUnfocusedZ = unfocusedZ;
            mFocusedZ = focusedZ;
        }
    }
/**
     * Sets the shadow type to {@link #SHADOW_DYNAMIC} if supported and sets the elevation/Z
     * values to the given parameters.
     */
Sets the shadow type to  #SHADOW_DYNAMIC if supported and sets the elevation/Z
values to the given parameters.
Sets the shadow type to #SHADOW_DYNAMIC if supported and sets the elevation / Z values to the given parameters .
public void useDynamicShadow(float unfocusedZ, float focusedZ) {
        if (mInitialized) {
            throw new IllegalStateException("Already initialized");
        }
        if (supportsDynamicShadow()) {
            mShadowType = SHADOW_DYNAMIC;
            mUnfocusedZ = unfocusedZ;
            mFocusedZ = focusedZ;
        }
    }
public void useDynamicShadow ( float unfocusedZ , float focusedZ ) { if ( mInitialized ) { throw new IllegalStateException ( "Already initialized" ) ; } if ( supportsDynamicShadow ( ) ) { mShadowType = SHADOW_DYNAMIC ; mUnfocusedZ = unfocusedZ ; mFocusedZ = focusedZ ; } }
Sets the shadow type to {@link #SHADOW_DYNAMIC} if supported and sets the elevation/Z
 values to the given parameters.
Sets the shadow type to { @link #SHADOW_DYNAMIC } if supported and sets the elevation / Z values to the given parameters .