Simplifying color extraction registration logic

> Calulating correct location irrespective of transient
  state (scale/translation)
> Removing extraction pause/resume logic
> Simplifying location calculation and registration (only use one location instead of a list)

Bug: 194732483
Test: Manual
Change-Id: I255d83761bff5e09c9fb0a5e398d0be0c1d0956f
This commit is contained in:
Sunny Goyal committed 2021-07-28 15:43:13 -07:00
1 parent 83ba333604
commit 69a8eecdc9
11 files changed
+107 -369

No files matched your search

@@ -434,6 +434,10 @@ public class DeviceProfile {
cellLayoutBorderSpacingPx = isScalableGrid ? borderSpacing : 0;
}
public Info getDisplayInfo() {
return mInfo;
}
/**
* We inset the widget padding added by the system and instead rely on the border spacing
* between cells to create reliable consistency between widgets