Home
last modified time | relevance | path

Searched refs:layerSettings (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerFE.cpp104 std::optional<compositionengine::LayerFE::LayerSettings> layerSettings = in prepareClientComposition() local
107 if (!layerSettings) { in prepareClientComposition()
113 prepareClearClientComposition(*layerSettings, false /* blackout */); in prepareClientComposition()
114 return layerSettings; in prepareClientComposition()
118 prepareShadowClientComposition(*layerSettings, targetSettings.viewport); in prepareClientComposition()
120 return layerSettings; in prepareClientComposition()
126 compositionengine::LayerFE::LayerSettings layerSettings; in prepareClientCompositionInternal() local
127 layerSettings.geometry.boundaries = in prepareClientCompositionInternal()
129 layerSettings.geometry.positionTransform = mSnapshot->geomLayerTransform.asMatrix4(); in prepareClientCompositionInternal()
133 layerSettings.skipContentDraw = !drawContent; in prepareClientCompositionInternal()
[all …]
DLayer.cpp2110 RoundedCornerState layerSettings(layerCropRect.toFloatRect(), radius); in getRoundedCornerState() local
2111 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && layerCropRect.isValid(); in getRoundedCornerState()
2123 return layerSettings; in getRoundedCornerState()
2126 return layerSettings; in getRoundedCornerState()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp71 renderengine::LayerSettings *layerSettings) override;
77 renderengine::LayerSettings *layerSettings) { in getLayerSettings() argument
78 layerSettings->geometry.boundaries = sourceCrop.toFloatRect(); in getLayerSettings()
79 layerSettings->alpha = 1.0f; in getLayerSettings()
81 layerSettings->sourceDataspace = translateDataspace( in getLayerSettings()
85 layerSettings->source.buffer.buffer = mBufferItem.mGraphicBuffer; in getLayerSettings()
86 layerSettings->source.buffer.isOpaque = true; in getLayerSettings()
87 layerSettings->source.buffer.fence = mBufferItem.mFence; in getLayerSettings()
88 layerSettings->source.buffer.textureName = textureName; in getLayerSettings()
89 layerSettings->source.buffer.usePremultipliedAlpha = false; in getLayerSettings()
[all …]
DFrameCaptureProcessor.cpp149 renderengine::LayerSettings layerSettings; in onCapture() local
151 layer->getLayerSettings(sourceCrop, mTextureName, &layerSettings); in onCapture()
153 clientCompositionLayers.push_back(&layerSettings); in onCapture()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp73 layerSettings.reserve(initLayerSettings.size()); in ClientCompositionRequest()
75 layerSettings.push_back(getLayerSettingsSnapshot(settings)); in ClientCompositionRequest()
83 std::equal(layerSettings.begin(), layerSettings.end(), newLayerSettings.begin(), in equals()
89 const std::vector<LayerFE::LayerSettings>& layerSettings) const { in exists()
92 return cachedRequest.equals(display, layerSettings); in exists()
100 const std::vector<LayerFE::LayerSettings>& layerSettings) { in add() argument
101 const ClientCompositionRequest request(display, layerSettings); in add()
DOutput.cpp1537 LayerFE::LayerSettings layerSettings; in appendRegionFlashRequests() local
1538 layerSettings.source.buffer.buffer = nullptr; in appendRegionFlashRequests()
1539 layerSettings.source.solidColor = half3(1.0, 0.0, 1.0); in appendRegionFlashRequests()
1540 layerSettings.alpha = half(1.0); in appendRegionFlashRequests()
1543 layerSettings.geometry.boundaries = rect.toFloatRect(); in appendRegionFlashRequests()
1544 clientCompositionLayers.push_back(layerSettings); in appendRegionFlashRequests()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DClientCompositionRequestCache.h45 const std::vector<LayerFE::LayerSettings>& layerSettings) const;
47 const std::vector<LayerFE::LayerSettings>& layerSettings);
54 std::vector<LayerFE::LayerSettings> layerSettings; member
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DIsdbtFrontendSettings.java241 int serviceAreaId, IsdbtLayerSettings[] layerSettings, int partialReceptionFlag) { in IsdbtFrontendSettings() argument
247 mLayerSettings = new IsdbtLayerSettings[layerSettings.length]; in IsdbtFrontendSettings()
248 for (int i = 0; i < layerSettings.length; i++) { in IsdbtFrontendSettings()
249 mLayerSettings[i] = layerSettings[i]; in IsdbtFrontendSettings()
493 @SuppressLint("ArrayReturn") @NonNull IsdbtLayerSettings[] layerSettings) { in setLayerSettings()
496 mLayerSettings = new IsdbtLayerSettings[layerSettings.length]; in setLayerSettings()
497 for (int i = 0; i < layerSettings.length; i++) { in setLayerSettings()
498 mLayerSettings[i] = layerSettings[i]; in setLayerSettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp196 std::vector<renderengine::LayerSettings> layerSettings; in render() local
202 layerSettings.push_back(std::move(*clientCompositionSettings)); in render()
219 layerSettings.push_back(std::move(*blurLayerSettings)); in render()
242 layerSettings.emplace(layerSettings.begin(), std::move(holePunchBackgroundSettings)); in render()
244 layerSettings.push_back(std::move(*holePunchSettings)); in render()
262 layerSettings.emplace_back(highlight); in render()
278 .drawLayers(displaySettings, layerSettings, texture->get(), in render()
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp731 renderengine::LayerSettings layerSettings; in processLoop() local
732 layerSettings.geometry.boundaries = sourceCrop.toFloatRect(); in processLoop()
733 layerSettings.alpha = 1.0f; in processLoop()
735 layerSettings.sourceDataspace = static_cast<ui::Dataspace>(dataspace); in processLoop()
738 layerSettings.source.buffer.buffer = srcBuffer; in processLoop()
739 layerSettings.source.buffer.isOpaque = true; in processLoop()
741 layerSettings.source.buffer.fence = Fence::NO_FENCE; in processLoop()
742 layerSettings.source.buffer.textureName = textureName; in processLoop()
743 layerSettings.source.buffer.usePremultipliedAlpha = false; in processLoop()
744 layerSettings.source.buffer.maxMasteringLuminance = in processLoop()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DFrameCaptureProcessor.h49 renderengine::LayerSettings *layerSettings) = 0;
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp577 const std::vector<renderengine::LayerSettings>& layerSettings, in setupREBufferCompositionCommonCallExpectations()
589 if (layerSettings.empty()) { in setupREBufferCompositionCommonCallExpectations()
595 const renderengine::LayerSettings layer = layerSettings.back(); in setupREBufferCompositionCommonCallExpectations()
627 const std::vector<renderengine::LayerSettings>& layerSettings, in setupREColorCompositionCallExpectations()
639 if (layerSettings.empty()) { in setupREColorCompositionCallExpectations()
645 const renderengine::LayerSettings layer = layerSettings.back(); in setupREColorCompositionCallExpectations()
710 const std::vector<renderengine::LayerSettings>& layerSettings, in setupInsecureREBufferCompositionCommonCallExpectations()
722 if (layerSettings.empty()) { in setupInsecureREBufferCompositionCommonCallExpectations()
728 const renderengine::LayerSettings layer = layerSettings.back(); in setupInsecureREBufferCompositionCommonCallExpectations()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp827 std::stringstream layerSettings; in drawLayersInternal() local
828 PrintTo(layer, &layerSettings); in drawLayersInternal()
831 SkData::MakeWithCString(layerSettings.str().c_str())); in drawLayersInternal()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshotBuilder.cpp941 RoundedCornerState layerSettings(layerCropRect, radius); in updateRoundedCorner() local
942 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && !layerCropRect.isEmpty(); in updateRoundedCorner()
954 snapshot.roundedCorner = layerSettings; in updateRoundedCorner()
957 snapshot.roundedCorner = layerSettings; in updateRoundedCorner()
/frameworks/av/services/tuner/hidl/
DTunerHidlFrontend.cpp1125 if (isdbt.layerSettings.size() > 0) { in getHidlFrontendSettings()
1127 static_cast<HidlFrontendIsdbtModulation>(isdbt.layerSettings[0].modulation); in getHidlFrontendSettings()
1128 coderate = static_cast<HidlFrontendIsdbtCoderate>(isdbt.layerSettings[0].coderate); in getHidlFrontendSettings()
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.cpp3425 jobjectArray layerSettings = reinterpret_cast<jobjectArray>( in getIsdbtFrontendSettings() local
3430 int len = env->GetArrayLength(layerSettings); in getIsdbtFrontendSettings()
3433 frontendIsdbtSettings.layerSettings.resize(len); in getIsdbtFrontendSettings()
3435 ScopedLocalRef layer(env, env->GetObjectArrayElement(layerSettings, i)); in getIsdbtFrontendSettings()
3436 frontendIsdbtSettings.layerSettings[i].modulation = static_cast<FrontendIsdbtModulation>( in getIsdbtFrontendSettings()
3438 frontendIsdbtSettings.layerSettings[i].timeInterleave = in getIsdbtFrontendSettings()
3442 frontendIsdbtSettings.layerSettings[i].coderate = static_cast<FrontendIsdbtCoderate>( in getIsdbtFrontendSettings()
3444 frontendIsdbtSettings.layerSettings[i].numOfSegment = in getIsdbtFrontendSettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp4475 LayerFE::LayerSettings layerSettings; in TEST_F() local
4477 .WillOnce(Return(std::vector<LayerFE::LayerSettings>{layerSettings})); in TEST_F()