leanback/src/main/java/androidx/leanback/widget/ShadowOverlayContainer.java
@Deprecated
    public void initialize(boolean hasShadow, boolean hasColorDimOverlay, boolean roundedCorners) {
        int shadowType;
        if (!hasShadow) {
            shadowType = SHADOW_NONE;
        } else {
            shadowType = mShadowType;
        }
        int roundedCornerRadius = roundedCorners ? getContext().getResources().getDimensionPixelSize(
                R.dimen.lb_rounded_rect_corner_radius) : 0;
        initialize(shadowType, hasColorDimOverlay, roundedCornerRadius);
    }
/**
     * Initialize shadows, color overlay, and rounded corners.  All are optional.
     * Shadow type are auto-selected based on {@link #useStaticShadow()} and
     * {@link #useDynamicShadow()} call.
     * @deprecated use {@link ShadowOverlayHelper#createShadowOverlayContainer(Context)} instead.
     */
Initialize shadows, color overlay, and rounded corners.  All are optional.
Shadow type are auto-selected based on  #useStaticShadow() and
#useDynamicShadow() call.
Initialize shadows color overlay and rounded corners . All are optional . Shadow type are auto - selected based on #useStaticShadow () and #useDynamicShadow () call .
@Deprecated
    public void initialize(boolean hasShadow, boolean hasColorDimOverlay, boolean roundedCorners) {
        int shadowType;
        if (!hasShadow) {
            shadowType = SHADOW_NONE;
        } else {
            shadowType = mShadowType;
        }
        int roundedCornerRadius = roundedCorners ? getContext().getResources().getDimensionPixelSize(
                R.dimen.lb_rounded_rect_corner_radius) : 0;
        initialize(shadowType, hasColorDimOverlay, roundedCornerRadius);
    }
@ Deprecated public void initialize ( boolean hasShadow , boolean hasColorDimOverlay , boolean roundedCorners ) { int shadowType ; if ( ! hasShadow ) { shadowType = SHADOW_NONE ; } else { shadowType = mShadowType ; } int roundedCornerRadius = roundedCorners ? getContext ( ) . getResources ( ) . getDimensionPixelSize ( R . dimen . lb_rounded_rect_corner_radius ) : 0 ; initialize ( shadowType , hasColorDimOverlay , roundedCornerRadius ) ; }
Initialize shadows, color overlay, and rounded corners.
Initialize shadows color overlay and rounded corners .