Home
last modified time | relevance | path

Searched refs:StretchEffectBehavior (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DStretchEffectTests.cpp26 Properties::setStretchEffectBehavior(StretchEffectBehavior::ShaderHWUI); in TEST()
30 Properties::setStretchEffectBehavior(StretchEffectBehavior::UniformScale); in TEST()
35 Properties::setStretchEffectBehavior(StretchEffectBehavior::ShaderHWUI); in TEST()
39 Properties::setStretchEffectBehavior(StretchEffectBehavior::UniformScale); in TEST()
44 Properties::setStretchEffectBehavior(StretchEffectBehavior::ShaderHWUI); in TEST()
49 Properties::setStretchEffectBehavior(StretchEffectBehavior::UniformScale); in TEST()
54 Properties::setStretchEffectBehavior(StretchEffectBehavior::ShaderHWUI); in TEST()
59 Properties::setStretchEffectBehavior(StretchEffectBehavior::UniformScale); in TEST()
/frameworks/base/libs/hwui/
DProperties.h211 enum class StretchEffectBehavior { enum
295 static StretchEffectBehavior getStretchEffectBehavior() { in getStretchEffectBehavior()
301 StretchEffectBehavior::ShaderHWUI : in setIsHighEndGfx()
302 StretchEffectBehavior::UniformScale; in setIsHighEndGfx()
309 static void setStretchEffectBehavior(StretchEffectBehavior behavior) { in setStretchEffectBehavior()
319 static StretchEffectBehavior stretchEffectBehavior;
DProperties.cpp90 StretchEffectBehavior Properties::stretchEffectBehavior = StretchEffectBehavior::ShaderHWUI;
DDamageAccumulator.cpp160 if (Properties::getStretchEffectBehavior() == StretchEffectBehavior::UniformScale) { in mapRect()
DRenderNode.cpp533 if (Properties::getStretchEffectBehavior() == StretchEffectBehavior::UniformScale) { in applyViewPropertyTransforms()
/frameworks/base/libs/hwui/tests/common/scenes/
DStretchyListViewAnimation.cpp66 virtual StretchEffectBehavior stretchBehavior() { return StretchEffectBehavior::Shader; } in stretchBehavior()
213 StretchEffectBehavior stretchBehavior() override { return StretchEffectBehavior::UniformScale; } in stretchBehavior()
217 StretchEffectBehavior stretchBehavior() override { return StretchEffectBehavior::UniformScale; } in stretchBehavior()
222 StretchEffectBehavior stretchBehavior() override { return StretchEffectBehavior::UniformScale; } in stretchBehavior()
227 StretchEffectBehavior stretchBehavior() override { return StretchEffectBehavior::UniformScale; } in stretchBehavior()
/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp285 Properties::getStretchEffectBehavior() == StretchEffectBehavior::UniformScale) { in drawContent()
374 if (Properties::getStretchEffectBehavior() == StretchEffectBehavior::UniformScale) { in setViewProperties()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp586 Properties::getStretchEffectBehavior() != StretchEffectBehavior::UniformScale; in android_view_RenderNode_requestPositionUpdates()
691 StretchEffectBehavior::Shader) { in android_view_RenderNode_requestPositionUpdates()