/frameworks/native/services/surfaceflinger/tests/ |
D | SetFrameRate_test.cpp | 32 mLayer = nullptr; in TearDown() 37 ASSERT_EQ(nullptr, mLayer.get()); in CreateLayer() 39 ASSERT_NO_FATAL_FAILURE(mLayer = createLayer("TestLayer", mLayerWidth, mLayerHeight, in CreateLayer() 41 ASSERT_NE(nullptr, mLayer.get()); in CreateLayer() 48 fillLayerColor(mLayerType, mLayer, color, mLayerWidth, mLayerHeight)); in PostBuffers() 55 sp<SurfaceControl> mLayer; member in android::SetFrameRateTest 61 native_window_set_frame_rate(mLayer->getSurface().get(), 100.f, in TEST_F() 65 .setFrameRate(mLayer, 200.f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT) in TEST_F() 68 native_window_set_frame_rate(mLayer->getSurface().get(), 300.f, in TEST_F() 76 .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 | 113 private TextureLayer mLayer; field in TextureView 206 if (mLayer != null) { in setOpaque() 248 if (mLayer != null) { in destroyHardwareLayer() 249 mLayer.detachSurfaceTexture(); in destroyHardwareLayer() 250 mLayer.destroy(); in destroyHardwareLayer() 251 mLayer = null; in destroyHardwareLayer() 356 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw() 385 if (mLayer == null) { in getTextureLayer() 390 mLayer = mAttachInfo.mThreadedRenderer.createTextureLayer(); in getTextureLayer() 397 mLayer.setSurfaceTexture(mSurface); in getTextureLayer() [all …]
|
/frameworks/base/libs/hwui/ |
D | DeferredLayerUpdater.cpp | 43 , mLayer(nullptr) { 66 if (!mLayer) { in destroyLayer() 75 mLayer->postDecStrong(); in destroyLayer() 77 mLayer = nullptr; in destroyLayer() 122 if (!mLayer) { in apply() 123 mLayer = new Layer(mRenderState, mColorFilter, mAlpha, mMode); in apply() 126 mLayer->setColorFilter(mColorFilter); in apply() 127 mLayer->setAlpha(mAlpha, mMode); in apply() 167 mLayer->getTransform() = *mTransform; in apply() 175 mLayer->setBlend(mBlend); in updateLayer() [all …]
|
D | DeferredLayerUpdater.h | 86 Layer* backingLayer() { return mLayer; } in backingLayer() 146 Layer* mLayer; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 1064 EXPECT_CALL(mOutput, belongsInOutput(sp<LayerFE>(mLayer.layerFE))) in OutputEnsureOutputLayerIfVisibleTest() 1068 .WillRepeatedly(Return(&mLayer.outputLayer)); in OutputEnsureOutputLayerIfVisibleTest() 1074 mLayer.layerFEState.isVisible = true; in OutputEnsureOutputLayerIfVisibleTest() 1075 mLayer.layerFEState.isOpaque = true; in OutputEnsureOutputLayerIfVisibleTest() 1076 mLayer.layerFEState.contentDirty = true; in OutputEnsureOutputLayerIfVisibleTest() 1077 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 100, 200}; in OutputEnsureOutputLayerIfVisibleTest() 1078 mLayer.layerFEState.geomLayerTransform = ui::Transform(TR_IDENT, 100, 200); in OutputEnsureOutputLayerIfVisibleTest() 1079 mLayer.layerFEState.transparentRegionHint = Region(Rect(0, 0, 100, 100)); in OutputEnsureOutputLayerIfVisibleTest() 1081 mLayer.outputLayerState.visibleRegion = Region(Rect(0, 0, 50, 200)); in OutputEnsureOutputLayerIfVisibleTest() 1082 mLayer.outputLayerState.coveredRegion = Region(Rect(50, 0, 100, 200)); in OutputEnsureOutputLayerIfVisibleTest() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 113 private int mLayer = UNDEFINED_WINDOW_ID; field in AccessibilityWindowInfo 193 return mLayer; in getLayer() 205 mLayer = layer; in setLayer() 577 parcel.writeInt(mLayer); in writeToParcel() 607 mLayer = other.mLayer; in init() 630 mLayer = parcel.readInt(); in initFromParcel() 680 builder.append(", layer=").append(mLayer); in toString() 718 mLayer = UNDEFINED_WINDOW_ID; in clear() 805 if (mLayer != other.mLayer) { in differenceFrom()
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.cpp | 161 mLayer = mClient->getLayerUser(mIBinder); in createLayer() 162 mLayer->setFrameRate(Layer::FrameRate(0, Layer::FrameRateCompatibility::NoVote)); in createLayer() 165 ssize_t idx = mFlinger.mCurrentState.layersSortedByZ.indexOf(mLayer); in createLayer() 166 if (mLayer->setLayer(INT32_MAX - 2) && idx >= 0) { in createLayer() 168 mFlinger.mCurrentState.layersSortedByZ.add(mLayer); in createLayer() 206 mLayer->setFrame(frame); in setViewport() 213 mLayer->setBuffer(buffer, Fence::NO_FENCE, 0, 0, {}); in changeRefreshRate()
|
D | MonitoredProducer.cpp | 34 mLayer(layer) {} in MonitoredProducer() 164 return mLayer.promote(); in getLayer()
|
D | RefreshRateOverlay.h | 76 sp<Layer> mLayer; variable
|
D | BufferLayerConsumer.cpp | 79 mLayer(layer), in BufferLayerConsumer() 462 mLayer->onDisconnect(); in onDisconnect() 503 mLayer->addAndGetFrameTimestamps(newTimestamps, outDelta); in addAndGetFrameTimestamps()
|
D | MonitoredProducer.h | 82 wp<Layer> mLayer; variable
|
D | BufferLayerConsumer.h | 335 Layer* mLayer GUARDED_BY(mMutex);
|
D | Layer.h | 848 sp<Layer> mLayer; variable 853 mFlinger->onHandleDestroyed(mLayer); in ~LayerCleaner() 858 : mFlinger(flinger), mLayer(layer) {} in LayerCleaner()
|
D | SurfaceFlinger.cpp | 5569 mLayer(layer), in captureLayers() 5575 Rect getBounds() const override { return mLayer->getBufferSize(mLayer->getDrawingState()); } in captureLayers() 5577 return mLayer->getBufferSize(mLayer->getDrawingState()).getHeight(); in captureLayers() 5580 return mLayer->getBufferSize(mLayer->getDrawingState()).getWidth(); in captureLayers() 5615 mTransform = mLayer->getTransform().inverse(); in captureLayers() 5627 ReparentForDrawing reparent(mLayer, screenshotParentLayer, sourceCrop); in captureLayers() 5633 const sp<Layer> mLayer; in captureLayers() member in android::SurfaceFlinger::captureLayers::LayerRenderArea
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 125 HWC2::impl::Layer mLayer{*mHal, mCapabilies, kDisplayId, kLayerId}; member 158 auto result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata1Name, in TEST_F() 168 result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata2Name, in TEST_F()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 958 private final int mLayer; field in WindowContainerTests.TestWindowContainer 973 final int layer1 = w1.mLayer; 974 final int layer2 = w2.mLayer; 988 mLayer = layer; in TestWindowContainer() 1065 private int mLayer; field in WindowContainerTests.TestWindowContainerBuilder 1073 mLayer = 0; in TestWindowContainerBuilder() 1080 mLayer = layer; in setLayer() 1105 return new TestWindowContainer(mWm, mLayer, mIsAnimating, mIsVisible, in build()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WallpaperController.java | 226 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
|
D | WindowState.java | 366 int mLayer; field in WindowState 943 mLayer = 0; in WindowState() 1355 return mLayer; in getSurfaceLayer() 4495 windowInfo.layer = mLayer; in getWindowInfo()
|