Loading core/res/res/values/dimens.xml +2 −2 Original line number Original line Diff line number Diff line Loading @@ -412,7 +412,7 @@ <dimen name="light_y">-200dp</dimen> <dimen name="light_y">-200dp</dimen> <dimen name="light_z">800dp</dimen> <dimen name="light_z">800dp</dimen> <dimen name="light_radius">800dp</dimen> <dimen name="light_radius">800dp</dimen> <item type="dimen" format="float" name="ambient_shadow_alpha">0.047</item> <item type="dimen" format="float" name="ambient_shadow_alpha">0.075</item> <item type="dimen" format="float" name="spot_shadow_alpha">0.098</item> <item type="dimen" format="float" name="spot_shadow_alpha">0.15</item> </resources> </resources> libs/hwui/ShadowTessellator.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -37,7 +37,7 @@ void ShadowTessellator::tessellateAmbientShadow(bool isCasterOpaque, // A bunch of parameters to tweak the shadow. // A bunch of parameters to tweak the shadow. // TODO: Allow some of these changable by debug settings or APIs. // TODO: Allow some of these changable by debug settings or APIs. float heightFactor = 1.0f / 86; float heightFactor = 1.0f / 128; const float geomFactor = 64; const float geomFactor = 64; Caches& caches = Caches::getInstance(); Caches& caches = Caches::getInstance(); Loading Loading
core/res/res/values/dimens.xml +2 −2 Original line number Original line Diff line number Diff line Loading @@ -412,7 +412,7 @@ <dimen name="light_y">-200dp</dimen> <dimen name="light_y">-200dp</dimen> <dimen name="light_z">800dp</dimen> <dimen name="light_z">800dp</dimen> <dimen name="light_radius">800dp</dimen> <dimen name="light_radius">800dp</dimen> <item type="dimen" format="float" name="ambient_shadow_alpha">0.047</item> <item type="dimen" format="float" name="ambient_shadow_alpha">0.075</item> <item type="dimen" format="float" name="spot_shadow_alpha">0.098</item> <item type="dimen" format="float" name="spot_shadow_alpha">0.15</item> </resources> </resources>
libs/hwui/ShadowTessellator.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -37,7 +37,7 @@ void ShadowTessellator::tessellateAmbientShadow(bool isCasterOpaque, // A bunch of parameters to tweak the shadow. // A bunch of parameters to tweak the shadow. // TODO: Allow some of these changable by debug settings or APIs. // TODO: Allow some of these changable by debug settings or APIs. float heightFactor = 1.0f / 86; float heightFactor = 1.0f / 128; const float geomFactor = 64; const float geomFactor = 64; Caches& caches = Caches::getInstance(); Caches& caches = Caches::getInstance(); Loading