Skip to content
Commit ec1d8adb authored by Matthew Ng's avatar Matthew Ng
Browse files

Correctly samples just around the navigation bar handle

The sample rect is 10dp left and right to the handle while taking full
size of the current navigation bar inset. Also changed the threshold to
pass the median luminance of 0.5f while only applying the color change
if the luminance change is above 0.05f. Also shrunk the width of the
navigation bar handle.

Fixes: 128937537
Bug: 112934365
Test: manual
Change-Id: Iac76ac8c09b70b803de427960710933f4eaf2516
parent fb0756fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment