/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 | 115 private TextureLayer mLayer; field in TextureView 208 if (mLayer != null) { in setOpaque() 250 if (mLayer != null) { in destroyHardwareLayer() 251 mLayer.detachSurfaceTexture(); in destroyHardwareLayer() 252 mLayer.close(); in destroyHardwareLayer() 253 mLayer = null; in destroyHardwareLayer() 358 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw() 387 if (mLayer == null) { in getTextureLayer() 392 mLayer = mAttachInfo.mThreadedRenderer.createTextureLayer(); in getTextureLayer() 399 mLayer.setSurfaceTexture(mSurface); in getTextureLayer() [all …]
|
D | SurfaceControl.java | 981 mNativeLayer = builder.mLayer.mNativeObject; in LayerCaptureArgs() 996 private SurfaceControl mLayer; field in SurfaceControl.LayerCaptureArgs.Builder 1005 if (mLayer == null) { in build() 1020 mLayer = layer; in setLayer()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerRenderArea.cpp | 49 mLayer(std::move(layer)), in LayerRenderArea() 59 return mLayer->getBufferSize(mLayer->getDrawingState()); in getBounds() 63 return mLayer->getBufferSize(mLayer->getDrawingState()).getHeight(); in getHeight() 67 return mLayer->getBufferSize(mLayer->getDrawingState()).getWidth(); in getWidth() 98 mTransform = mLayer->getTransform().inverse(); in render() 108 ReparentForDrawing reparent(mLayer, screenshotParentLayer, sourceCrop); in render()
|
D | RefreshRateOverlay.cpp | 198 mLayer = mClient->getLayerUser(mIBinder); in createLayer() 199 mLayer->setFrameRate(Layer::FrameRate(Fps(0.0f), Layer::FrameRateCompatibility::NoVote)); in createLayer() 200 mLayer->setIsAtRoot(true); in createLayer() 203 ssize_t idx = mFlinger.mDrawingState.layersSortedByZ.indexOf(mLayer); in createLayer() 204 if (mLayer->setLayer(INT32_MAX - 2) && idx >= 0) { in createLayer() 206 mFlinger.mDrawingState.layersSortedByZ.add(mLayer); in createLayer() 252 mLayer->setMatrix(matrix, true); in setViewport() 253 mLayer->setPosition(frame.left, frame.top); in setViewport() 260 mLayer->setBuffer(buffer, Fence::NO_FENCE, 0, 0, true, {}, in changeRefreshRate() 261 mLayer->getHeadFrameNumber(-1 /* expectedPresentTime */), in changeRefreshRate() [all …]
|
D | MonitoredProducer.cpp | 34 mLayer(layer) {} in MonitoredProducer() 169 return mLayer.promote(); in getLayer()
|
D | LayerRenderArea.h | 51 const sp<Layer> mLayer;
|
D | BufferLayerConsumer.cpp | 78 mLayer(layer), in BufferLayerConsumer() 437 mLayer->onDisconnect(); in onDisconnect() 480 mLayer->addAndGetFrameTimestamps(newTimestamps, outDelta); in addAndGetFrameTimestamps()
|
D | RefreshRateOverlay.h | 79 sp<Layer> mLayer; variable
|
D | MonitoredProducer.h | 84 wp<Layer> mLayer; variable
|
D | BufferLayerConsumer.h | 326 Layer* mLayer GUARDED_BY(mMutex);
|
D | Layer.h | 291 sp<Layer> mLayer; variable 296 mFlinger->onHandleDestroyed(mLayer); in ~LayerCleaner() 301 : mFlinger(flinger), mLayer(layer) {} in LayerCleaner()
|
/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() 133 if (!mLayer) { in apply() 134 mLayer = new Layer(mRenderState, mColorFilter, mAlpha, mMode); in apply() 137 mLayer->setColorFilter(mColorFilter); in apply() 138 mLayer->setAlpha(mAlpha, mMode); in apply() 179 mLayer->getTransform() = *mTransform; in apply() 187 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 | 1278 EXPECT_CALL(mOutput, belongsInOutput(sp<LayerFE>(mLayer.layerFE))) in OutputEnsureOutputLayerIfVisibleTest() 1282 .WillRepeatedly(Return(&mLayer.outputLayer)); in OutputEnsureOutputLayerIfVisibleTest() 1288 mLayer.layerFEState.isVisible = true; in OutputEnsureOutputLayerIfVisibleTest() 1289 mLayer.layerFEState.isOpaque = true; in OutputEnsureOutputLayerIfVisibleTest() 1290 mLayer.layerFEState.contentDirty = true; in OutputEnsureOutputLayerIfVisibleTest() 1291 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 100, 200}; in OutputEnsureOutputLayerIfVisibleTest() 1292 mLayer.layerFEState.geomLayerTransform = ui::Transform(TR_IDENT, 100, 200); in OutputEnsureOutputLayerIfVisibleTest() 1293 mLayer.layerFEState.transparentRegionHint = Region(Rect(0, 0, 100, 100)); in OutputEnsureOutputLayerIfVisibleTest() 1295 mLayer.outputLayerState.visibleRegion = Region(Rect(0, 0, 50, 200)); in OutputEnsureOutputLayerIfVisibleTest() 1296 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | ScreenshotUtils.java | 53 int mLayer; field in ScreenshotUtils.BufferConsumer 58 mLayer = layer; in BufferConsumer() 79 mTransaction.setLayer(mScreenshot, mLayer); in accept()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 133 HWC2::impl::Layer mLayer{*mHal, mCapabilies, mDisplay, kLayerId}; member 166 auto result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata1Name, in TEST_F() 176 result = mLayer.setLayerGenericMetadata(kLayerGenericMetadata2Name, in TEST_F()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 1076 private final int mLayer; field in WindowContainerTests.TestWindowContainer 1091 final int layer1 = w1.mLayer; 1092 final int layer2 = w2.mLayer; 1106 mLayer = layer; in TestWindowContainer() 1183 private int mLayer; field in WindowContainerTests.TestWindowContainerBuilder 1191 mLayer = 0; in TestWindowContainerBuilder() 1198 mLayer = layer; in setLayer() 1223 return new TestWindowContainer(mWm, mLayer, mIsAnimating, mIsVisible, in build()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WallpaperController.java | 229 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
|
D | WindowState.java | 391 int mLayer; field in WindowState 1141 mLayer = 0; in WindowState() 1487 return mLayer; in getSurfaceLayer() 4752 windowInfo.layer = mLayer; in getWindowInfo()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 62117 Landroid/view/accessibility/AccessibilityWindowInfo;->mLayer:I
|