Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayerRenderArea.cpp43 mLayer(std::move(layer)), in LayerRenderArea()
53 return mLayer->getBufferSize(mLayer->getDrawingState()); in getBounds()
57 return mLayer->getBufferSize(mLayer->getDrawingState()).getHeight(); in getHeight()
61 return mLayer->getBufferSize(mLayer->getDrawingState()).getWidth(); in getWidth()
92 if (mLayer->isRemovedFromCurrentState()) { in render()
93 mLayer->traverse(LayerVector::StateSet::Drawing, in render()
95 mLayer->traverse(LayerVector::StateSet::Drawing, in render()
100 mTransform = mLayer->getTransform().inverse(); in render()
103 if (mLayer->isRemovedFromCurrentState()) { in render()
105 mLayer->computeBounds(maxBounds, ui::Transform(), 0.f /* shadowRadius */); in render()
[all …]
DLayerRenderArea.h49 virtual sp<Layer> getParentLayer() const { return mLayer; } in getParentLayer()
52 const sp<Layer> mLayer;
DMonitoredProducer.cpp34 mLayer(layer) {} in MonitoredProducer()
163 return mLayer.promote(); in getLayer()
DMonitoredProducer.h84 wp<Layer> mLayer; variable
DBufferLayerConsumer.h325 Layer* mLayer GUARDED_BY(mMutex);
DBufferLayerConsumer.cpp79 mLayer(layer), in BufferLayerConsumer()
439 mLayer->onDisconnect(); in onDisconnect()
DLayer.h295 sp<Layer> mLayer; variable
301 mFlinger->onHandleDestroyed(mHandle, mLayer); in ~LayerCleaner()
306 : mFlinger(flinger), mLayer(layer), mHandle(handle) {} in LayerCleaner()
/frameworks/native/services/surfaceflinger/tests/
DSetFrameRate_test.cpp28 mLayer = nullptr; in TearDown()
33 ASSERT_EQ(nullptr, mLayer.get()); in CreateLayer()
35 ASSERT_NO_FATAL_FAILURE(mLayer = createLayer("TestLayer", mLayerWidth, mLayerHeight, in CreateLayer()
37 ASSERT_NE(nullptr, mLayer.get()); in CreateLayer()
44 fillLayerColor(mLayerType, mLayer, color, mLayerWidth, mLayerHeight)); in PostBuffers()
51 sp<SurfaceControl> mLayer; member in android::SetFrameRateTest
57 native_window_set_frame_rate(mLayer->getSurface().get(), 100.f, in TEST_F()
62 .setFrameRate(mLayer, 200.f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT, in TEST_F()
66 native_window_set_frame_rate(mLayer->getSurface().get(), 300.f, in TEST_F()
75 .setFrameRate(mLayer, 400.f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT, in TEST_F()
DSetGeometry_test.cpp31 mLayer = createLayer("Layer", mLayerWidth, mLayerHeight); in SetUp()
32 fillBufferQueueLayerColor(mLayer, Color::RED, mLayerWidth, mLayerHeight); in SetUp()
33 asTransaction([&](Transaction& t) { t.setLayer(mLayer, INT32_MAX - 1).show(mLayer); }); in SetUp()
46 mLayer = 0; in TearDown()
50 sp<SurfaceControl> mLayer; member in android::SetGeometryTest
58 Transaction{}.setGeometry(mLayer, source, dest, 0).apply(); in TEST_F()
71 Transaction{}.setGeometry(mLayer, source, dest, 0).apply(); in TEST_F()
84 Transaction{}.setGeometry(mLayer, source, dest, 0).apply(); in TEST_F()
94 Transaction{}.setGeometry(mLayer, source, dest, 0).apply(); in TEST_F()
/frameworks/base/core/java/android/view/
DTextureView.java177 private TextureLayer mLayer; field in TextureView
270 if (mLayer != null) { in setOpaque()
312 if (mLayer != null) { in destroyHardwareLayer()
313 mLayer.detachSurfaceTexture(); in destroyHardwareLayer()
314 mLayer.close(); in destroyHardwareLayer()
315 mLayer = null; in destroyHardwareLayer()
420 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
449 if (mLayer == null) { in getTextureLayer()
454 mLayer = mAttachInfo.mThreadedRenderer.createTextureLayer(); in getTextureLayer()
461 mLayer.setSurfaceTexture(mSurface); in getTextureLayer()
[all …]
DSurfaceControl.java1112 mNativeLayer = builder.mLayer.mNativeObject; in LayerCaptureArgs()
1127 private SurfaceControl mLayer; field in SurfaceControl.LayerCaptureArgs.Builder
1136 if (mLayer == null) { in build()
1151 mLayer = layer; in setLayer()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp45 , mLayer(nullptr) {
68 if (!mLayer) { in destroyLayer()
77 mLayer->postDecStrong(); in destroyLayer()
79 mLayer = nullptr; in destroyLayer()
135 if (!mLayer) { in apply()
136 mLayer = new Layer(mRenderState, mColorFilter, mAlpha, mMode); in apply()
139 mLayer->setColorFilter(mColorFilter); in apply()
140 mLayer->setAlpha(mAlpha, mMode); in apply()
199 mLayer->getTransform() = *mTransform; in apply()
208 mLayer->setBlend(mBlend); in updateLayer()
[all …]
DDeferredLayerUpdater.h89 Layer* backingLayer() { return mLayer; } in backingLayer()
157 Layer* mLayer; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp1472 EXPECT_CALL(mOutput, includesLayer(sp<LayerFE>(mLayer.layerFE))) in OutputEnsureOutputLayerIfVisibleTest()
1476 .WillRepeatedly(Return(&mLayer.outputLayer)); in OutputEnsureOutputLayerIfVisibleTest()
1482 mLayer.layerFEState.isVisible = true; in OutputEnsureOutputLayerIfVisibleTest()
1483 mLayer.layerFEState.isOpaque = true; in OutputEnsureOutputLayerIfVisibleTest()
1484 mLayer.layerFEState.contentDirty = true; in OutputEnsureOutputLayerIfVisibleTest()
1485 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 100, 200}; in OutputEnsureOutputLayerIfVisibleTest()
1486 mLayer.layerFEState.geomLayerTransform = ui::Transform(TR_IDENT, 100, 200); in OutputEnsureOutputLayerIfVisibleTest()
1487 mLayer.layerFEState.transparentRegionHint = kTransparentRegionHint; in OutputEnsureOutputLayerIfVisibleTest()
1489 mLayer.outputLayerState.visibleRegion = Region(Rect(0, 0, 50, 200)); in OutputEnsureOutputLayerIfVisibleTest()
1490 mLayer.outputLayerState.coveredRegion = Region(Rect(50, 0, 100, 200)); in OutputEnsureOutputLayerIfVisibleTest()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java120 private int mLayer = UNDEFINED_WINDOW_ID; field in AccessibilityWindowInfo
201 return mLayer; in getLayer()
213 mLayer = layer; in setLayer()
629 parcel.writeInt(mLayer); in writeToParcel()
660 mLayer = other.mLayer; in init()
684 mLayer = parcel.readInt(); in initFromParcel()
736 builder.append(", layer=").append(mLayer); in toString()
774 mLayer = UNDEFINED_WINDOW_ID; in clear()
865 if (mLayer != other.mLayer) { in differenceFrom()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DScreenshotUtils.java53 int mLayer; field in ScreenshotUtils.BufferConsumer
60 mLayer = layer; in BufferConsumer()
79 mTransaction.setLayer(mScreenshot, mLayer); in accept()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp157 HWC2::impl::Layer mLayer{*mHal, mCapabilies, mDisplay, kLayerId}; member
190 auto result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata1Name, in TEST_F()
200 result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata2Name, in TEST_F()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java1473 private final int mLayer; field in WindowContainerTests.TestWindowContainer
1488 final int layer1 = w1.mLayer;
1489 final int layer2 = w2.mLayer;
1503 mLayer = layer; in TestWindowContainer()
1580 private int mLayer; field in WindowContainerTests.TestWindowContainerBuilder
1588 mLayer = 0; in TestWindowContainerBuilder()
1595 mLayer = layer; in setLayer()
1620 return new TestWindowContainer(mWm, mLayer, mIsAnimating, mIsVisible, in build()
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperController.java298 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
DWindowState.java417 int mLayer; field in WindowState
1214 mLayer = 0; in WindowState()
4735 windowInfo.layer = mLayer; in getWindowInfo()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt58794 Landroid/view/accessibility/AccessibilityWindowInfo;->mLayer:I