/frameworks/native/services/surfaceflinger/ |
D | LayerRenderArea.cpp | 43 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 …]
|
D | LayerRenderArea.h | 49 virtual sp<Layer> getParentLayer() const { return mLayer; } in getParentLayer() 52 const sp<Layer> mLayer;
|
D | MonitoredProducer.cpp | 34 mLayer(layer) {} in MonitoredProducer() 163 return mLayer.promote(); in getLayer()
|
D | MonitoredProducer.h | 84 wp<Layer> mLayer; variable
|
D | BufferLayerConsumer.h | 325 Layer* mLayer GUARDED_BY(mMutex);
|
D | BufferLayerConsumer.cpp | 79 mLayer(layer), in BufferLayerConsumer() 439 mLayer->onDisconnect(); in onDisconnect()
|
D | Layer.h | 295 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/ |
D | SetFrameRate_test.cpp | 28 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()
|
D | SetGeometry_test.cpp | 31 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/ |
D | TextureView.java | 177 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 …]
|
D | SurfaceControl.java | 1112 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/ |
D | DeferredLayerUpdater.cpp | 45 , 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 …]
|
D | DeferredLayerUpdater.h | 89 Layer* backingLayer() { return mLayer; } in backingLayer() 157 Layer* mLayer; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 1472 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/ |
D | AccessibilityWindowInfo.java | 120 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/ |
D | ScreenshotUtils.java | 53 int mLayer; field in ScreenshotUtils.BufferConsumer 60 mLayer = layer; in BufferConsumer() 79 mTransaction.setLayer(mScreenshot, mLayer); in accept()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 157 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/ |
D | WindowContainerTests.java | 1473 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/ |
D | WallpaperController.java | 298 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
|
D | WindowState.java | 417 int mLayer; field in WindowState 1214 mLayer = 0; in WindowState() 4735 windowInfo.layer = mLayer; in getWindowInfo()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 58794 Landroid/view/accessibility/AccessibilityWindowInfo;->mLayer:I
|