/frameworks/base/libs/hwui/tests/unit/ |
D | StretchEffectTests.cpp | 27 auto stretchEffect = StretchEffect({.fX = 0.f, .fY = 0.f}, 100.f, 100.f); in TEST() local 28 ASSERT_FALSE(stretchEffect.requiresLayer()); in TEST() 31 ASSERT_FALSE(stretchEffect.requiresLayer()); in TEST() 36 auto stretchEffect = StretchEffect({.fX = 1.f, .fY = 0.f}, 100.f, 100.f); in TEST() local 37 ASSERT_TRUE(stretchEffect.requiresLayer()); in TEST() 40 ASSERT_TRUE(stretchEffect.requiresLayer()); in TEST() 46 auto stretchEffect = StretchEffect({.fX = 0.f, .fY = 1.f}, 100.f, 100.f); in TEST() local 47 ASSERT_TRUE(stretchEffect.requiresLayer()); in TEST() 50 ASSERT_TRUE(stretchEffect.requiresLayer()); in TEST() 56 auto stretchEffect = StretchEffect({.fX = 1.f, .fY = 1.f}, 100.f, 100.f); in TEST() local [all …]
|
/frameworks/native/libs/renderengine/skia/filters/ |
D | StretchShaderFactory.cpp | 193 const StretchEffect& stretchEffect) { in createSkShader() argument 194 if (!stretchEffect.hasEffect()) { in createSkShader() 198 float viewportWidth = stretchEffect.width; in createSkShader() 199 float viewportHeight = stretchEffect.height; in createSkShader() 200 float normOverScrollDistX = stretchEffect.vectorX; in createSkShader() 201 float normOverScrollDistY = stretchEffect.vectorY; in createSkShader() 214 auto& srcBounds = stretchEffect.mappedChildBounds; in createSkShader()
|
D | StretchShaderFactory.h | 29 const StretchEffect& stretchEffect);
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 172 StretchEffect stretchEffect; member 235 lhs.stretchEffect == rhs.stretchEffect && lhs.whitePointNits == rhs.whitePointNits; 335 if (settings.stretchEffect != StretchEffect()) { in PrintTo() 337 PrintTo(settings.stretchEffect, os); in PrintTo()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | LayerFECompositionState.cpp | 77 if (stretchEffect.hasEffect()) { in dump() 78 dumpVal(out, "stretchEffect", stretchEffect); in dump()
|
D | ClientCompositionRequestCache.cpp | 40 lhs.stretchEffect == rhs.stretchEffect; in equalIgnoringSource()
|
/frameworks/base/libs/hwui/ |
D | DamageAccumulator.h | 70 const StretchEffect* stretchEffect; member
|
D | DamageAccumulator.cpp | 303 .stretchEffect = &effect, in findNearestStretchEffect()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 651 void stretchTargetBounds(const StretchEffect& stretchEffect, in android_view_RenderNode_requestPositionUpdates() argument 660 (stretchEffect.computeStretchedPositionX(normalizedLeft) - in android_view_RenderNode_requestPositionUpdates() 663 (stretchEffect.computeStretchedPositionY(normalizedTop) - in android_view_RenderNode_requestPositionUpdates() 666 (stretchEffect.computeStretchedPositionX(normalizedRight) - in android_view_RenderNode_requestPositionUpdates() 669 (stretchEffect.computeStretchedPositionY(normalizedBottom) - in android_view_RenderNode_requestPositionUpdates() 681 const StretchEffect* effect = result.stretchEffect; in android_view_RenderNode_requestPositionUpdates()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 140 StretchEffect stretchEffect; member
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 152 SAFE_PARCEL(output.write, stretchEffect); in write() 266 SAFE_PARCEL(input.read, stretchEffect); in read() 598 stretchEffect = other.stretchEffect; in merge()
|
D | SurfaceComposerClient.cpp | 1898 const sp<SurfaceControl>& sc, const StretchEffect& stretchEffect) { in setStretchEffect() argument 1906 s->stretchEffect = stretchEffect; in setStretchEffect()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 435 compositionState->stretchEffect = getStretchEffect(); in prepareBasicGeometryCompositionState() 494 compositionState->stretchEffect.hasEffect()) { in preparePerFrameCompositionState() 634 layerSettings.stretchEffect = getStretchEffect(); in prepareClientComposition() 1128 if (mDrawingState.stretchEffect == temp) { in setStretchEffect() 1132 mDrawingState.stretchEffect = temp; in setStretchEffect() 1139 if (mDrawingState.stretchEffect.hasEffect()) { in getStretchEffect() 1140 return mDrawingState.stretchEffect; in getStretchEffect()
|
D | BufferStateLayer.cpp | 1052 StretchEffect temp = s.stretchEffect; in simpleBufferUpdate() 1054 if (mDrawingState.stretchEffect != temp) { in simpleBufferUpdate()
|
D | Layer.h | 272 StretchEffect stretchEffect; member
|
D | SurfaceFlinger.cpp | 4584 if (layer->setStretchEffect(s.stretchEffect)) { in setClientStateLocked()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 619 const auto& stretchEffect = parameters.layer.stretchEffect; in createRuntimeEffectShader() local 621 if (stretchEffect.hasEffect()) { in createRuntimeEffectShader() 625 shader = mStretchShaderFactory.createSkShader(shader, stretchEffect); in createRuntimeEffectShader()
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 632 const StretchEffect& stretchEffect);
|