diff options
author | 2021-05-11 20:38:19 -0400 | |
---|---|---|
committer | 2021-05-11 20:53:30 -0400 | |
commit | 8088f8e5050a9c8238b4d2ab4363cca037b87572 (patch) | |
tree | 90cda8aad85090de8ec4b22db41d11d078a25802 /libs/hwui/Properties.cpp | |
parent | 66e06d4ff1e238e077f29294452325f7b4f7be1c (diff) |
Add some more scenes, replace linear with uniform
Test: this
Bug: 187718492
Change-Id: I171b5c15cd18645c2da1cffffa9635f83f8877e6
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r-- | libs/hwui/Properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 9ed801baf5ea..a4614a9076c8 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -138,7 +138,7 @@ bool Properties::load() { if (targetCpuTimePercentage <= 0 || targetCpuTimePercentage > 100) targetCpuTimePercentage = 70; int stretchType = base::GetIntProperty(PROPERTY_STRETCH_EFFECT_TYPE, 0); - stretchType = std::clamp(stretchType, 0, static_cast<int>(StretchEffectBehavior::LinearScale)); + stretchType = std::clamp(stretchType, 0, static_cast<int>(StretchEffectBehavior::UniformScale)); stretchEffectBehavior = static_cast<StretchEffectBehavior>(stretchType); return (prevDebugLayersUpdates != debugLayersUpdates) || (prevDebugOverdraw != debugOverdraw); |