Android View Shadow Architecture

42 views
Skip to first unread message

Jeff Moguillansky

unread,
Oct 24, 2017, 2:09:18 PM10/24/17
to android-platform
Hi,
I would like to get a better understanding of Android's shadow architecture.

My understanding:
In one use case, view shadows are triggered by setElevation API.
In this use case, the shadow rendering is implemented in hwui/SpotShadow.cpp?
Shadows are not supported at the windowing system level (e.g. SurfaceFlinger).  
Shadows are supported within an application, when a view is rendered to the application window?

Would be great if you can provide details of the internal components and architecture.  

Best Regards,
Jeff
Reply all
Reply to author
Forward
0 new messages