Home
last modified time | relevance | path

Searched refs:mLayer (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp31 , mLayer(nullptr) { in DeferredLayerUpdater()
46 if (!mLayer) { in destroyLayer()
55 mLayer->postDecStrong(); in destroyLayer()
57 mLayer = nullptr; in destroyLayer()
71 if (!mLayer) { in apply()
72 mLayer = new Layer(mRenderState, mColorFilter, mAlpha, mMode); in apply()
75 mLayer->setColorFilter(mColorFilter); in apply()
76 mLayer->setAlpha(mAlpha, mMode); in apply()
104 mLayer->getTransform() = *mTransform; in apply()
112 mLayer->setBlend(mBlend); in updateLayer()
[all …]
DDeferredLayerUpdater.h93 Layer* backingLayer() { return mLayer; } in backingLayer()
120 Layer* mLayer; variable
/frameworks/base/core/java/android/view/
DTextureView.java112 private TextureLayer mLayer; field in TextureView
204 if (mLayer != null) { in setOpaque()
246 if (mLayer != null) { in destroyHardwareLayer()
247 mLayer.detachSurfaceTexture(); in destroyHardwareLayer()
248 mLayer.destroy(); in destroyHardwareLayer()
249 mLayer = null; in destroyHardwareLayer()
354 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
383 if (mLayer == null) { in getTextureLayer()
388 mLayer = mAttachInfo.mThreadedRenderer.createTextureLayer(); in getTextureLayer()
395 mLayer.setSurfaceTexture(mSurface); in getTextureLayer()
[all …]
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp41 mLayer = mClient->getLayerUser(mIBinder); in createLayer()
42 mLayer->setCrop_legacy(Rect(50, 70, 200, 100), true); in createLayer()
45 ssize_t idx = mFlinger.mCurrentState.layersSortedByZ.indexOf(mLayer); in createLayer()
46 if (mLayer->setLayer(INT32_MAX - 2) && idx >= 0) { in createLayer()
48 mFlinger.mCurrentState.layersSortedByZ.add(mLayer); in createLayer()
56 mLayer->setColor(color); in changeRefreshRate()
DRefreshRateOverlay.h35 sp<Layer> mLayer; variable
DMonitoredProducer.cpp30 mLayer(layer) {} in MonitoredProducer()
162 return mLayer.promote(); in getLayer()
DBufferLayerConsumer.cpp75 mLayer(layer), in BufferLayerConsumer()
457 sp<Layer> l = mLayer.promote(); in onDisconnect()
495 sp<Layer> l = mLayer.promote(); in addAndGetFrameTimestamps()
DMonitoredProducer.h81 wp<Layer> mLayer; variable
DLayer.h713 sp<Layer> mLayer; variable
718 mFlinger->onHandleDestroyed(mLayer); in ~LayerCleaner()
723 : mFlinger(flinger), mLayer(layer) {} in LayerCleaner()
DBufferLayerConsumer.h338 const wp<Layer> mLayer; variable
DSurfaceFlinger.cpp5647 mLayer(layer), in captureLayers()
5654 const Layer::State& layerState(mLayer->getDrawingState()); in captureLayers()
5655 return mLayer->getBufferSize(layerState); in captureLayers()
5658 return mLayer->getBufferSize(mLayer->getDrawingState()).getHeight(); in captureLayers()
5661 return mLayer->getBufferSize(mLayer->getDrawingState()).getWidth(); in captureLayers()
5695 mTransform = mLayer->getTransform().inverse(); in captureLayers()
5704 ReparentForDrawing reparent(mLayer, screenshotParentLayer, sourceCrop); in captureLayers()
5710 const sp<Layer> mLayer; in captureLayers() member in android::SurfaceFlinger::captureLayers::LayerRenderArea
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java104 private int mLayer = UNDEFINED_WINDOW_ID; field in AccessibilityWindowInfo
177 return mLayer; in getLayer()
189 mLayer = layer; in setLayer()
497 parcel.writeInt(mLayer); in writeToParcel()
526 mLayer = other.mLayer; in init()
547 mLayer = parcel.readInt(); in initFromParcel()
596 builder.append(", layer=").append(mLayer); in toString()
632 mLayer = UNDEFINED_WINDOW_ID; in clear()
713 if (mLayer != other.mLayer) { in changed()
758 if (mLayer != other.mLayer) { in differenceFrom()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp57 : mOutput(output), mLayer(layer), mLayerFE(layerFE) {} in OutputLayer()
80 return *mLayer; in getLayer()
96 const auto& layerState = mLayer->getState().frontEnd; in calculateInitialCrop()
129 const auto& layerState = mLayer->getState().frontEnd; in calculateOutputSourceCrop()
206 const auto& layerState = mLayer->getState().frontEnd; in calculateOutputDisplayFrame()
253 const auto& layerState = mLayer->getState().frontEnd; in calculateOutputRelativeBufferTransform()
299 if ((mLayer->getState().frontEnd.isSecure && !mOutput.getState().isSecure) || in updateCompositionState()
353 const auto& outputIndependentState = mLayer->getState().frontEnd; in writeStateToHWC()
382 StringAppendF(&out, " - Output Layer %p (Composition layer %p) (%s)\n", this, mLayer.get(), in dump()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DLayerTest.cpp35 impl::Layer mLayer{mCompositionEngine, LayerCreationArgs{mLayerFE}}; member in android::compositionengine::__anon6743bd290111::LayerTest
DOutputLayerTest.cpp53 EXPECT_CALL(*mLayer, getState()).WillRepeatedly(ReturnRef(mLayerState)); in OutputLayerTest()
60 std::shared_ptr<compositionengine::mock::Layer> mLayer{ member in android::compositionengine::__anon5036059a0111::OutputLayerTest
64 impl::OutputLayer mOutputLayer{mOutput, mLayer, mLayerFE};
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java755 private final int mLayer; field in WindowContainerTests.TestWindowContainer
769 final int layer1 = w1.mLayer;
770 final int layer2 = w2.mLayer;
784 mLayer = layer; in TestWindowContainer()
857 private int mLayer; field in WindowContainerTests.TestWindowContainerBuilder
864 mLayer = 0; in TestWindowContainerBuilder()
871 mLayer = layer; in setLayer()
891 return new TestWindowContainer(mWm, mLayer, mIsAnimating, mIsVisible, mOrientation); in build()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayer.h59 std::shared_ptr<compositionengine::Layer> mLayer; variable
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java264 inputWindowHandle.layer = child.mLayer; in populateInputWindowHandle()
DWallpaperController.java204 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
DDockedStackDividerController.java659 return (mWindow != null) ? mWindow.mLayer - 1 : LAYER_OFFSET_DIM; in getResizeDimLayer()
DWindowState.java316 int mLayer; field in WindowState
781 mLayer = 0; in WindowState()
1192 return mLayer; in getSurfaceLayer()
4006 windowInfo.layer = mLayer; in getWindowInfo()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt78441 Landroid/view/accessibility/AccessibilityWindowInfo;->mLayer:I