Home
last modified time | relevance | path

Searched refs:shadowContainer (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DStaticShadowHelper.java42 static Object addStaticShadow(ViewGroup shadowContainer) { in addStaticShadow() argument
44 shadowContainer.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS); in addStaticShadow()
45 LayoutInflater inflater = LayoutInflater.from(shadowContainer.getContext()); in addStaticShadow()
46 inflater.inflate(R.layout.lb_shadow, shadowContainer, true); in addStaticShadow()
48 impl.mNormalShadow = shadowContainer.findViewById(R.id.lb_shadow_normal); in addStaticShadow()
49 impl.mFocusShadow = shadowContainer.findViewById(R.id.lb_shadow_focused); in addStaticShadow()
DShadowHelperApi21.java41 View shadowContainer, float unfocusedZ, float focusedZ, int roundedCornerRadius) { in addDynamicShadow() argument
43 RoundedRectHelperApi21.setClipToRoundedOutline(shadowContainer, true, in addDynamicShadow()
46 shadowContainer.setOutlineProvider(sOutlineProvider); in addDynamicShadow()
49 impl.mShadowContainer = shadowContainer; in addDynamicShadow()
52 shadowContainer.setZ(impl.mNormalZ); in addDynamicShadow()
DShadowHelper.java28 View shadowContainer, float unfocusedZ, float focusedZ, int roundedCornerRadius) { in addDynamicShadow() argument
31 shadowContainer, unfocusedZ, focusedZ, roundedCornerRadius); in addDynamicShadow()