Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp36 , mLayer(nullptr) in DeferredLayerUpdater()
50 if (!mLayer) { in destroyLayer()
63 mLayer->postDecStrong(); in destroyLayer()
64 mLayer = nullptr; in destroyLayer()
75 if (!mLayer) { in apply()
76 mLayer = mCreateLayerFn(mRenderState, mWidth, mHeight, mColorFilter, mAlpha, mMode, mBlend); in apply()
79 mLayer->setColorFilter(mColorFilter); in apply()
80 mLayer->setAlpha(mAlpha, mMode); in apply()
83 if (mLayer->getApi() == Layer::Api::Vulkan) { in apply()
89 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::OpenGL, in apply()
[all …]
DRenderNode.h209 OffscreenBuffer* getLayer() const { return mLayer; } in getLayer()
210 OffscreenBuffer** getLayerHandle() { return &mLayer; } // ugh... in getLayerHandle()
211 void setLayer(OffscreenBuffer* layer) { mLayer = layer; } in setLayer()
293 OffscreenBuffer* mLayer = nullptr; variable
333 bool hasLayer() const { return mLayer || mSkiaLayer.get(); } in hasLayer()
DDeferredLayerUpdater.h99 return mLayer; in backingLayer()
127 Layer* mLayer; variable
/frameworks/base/core/java/android/view/
DTextureView.java109 private HardwareLayer mLayer; field in TextureView
197 if (mLayer != null) { in setOpaque()
236 if (mLayer != null) { in destroyHardwareLayer()
237 mLayer.detachSurfaceTexture(); in destroyHardwareLayer()
238 mLayer.destroy(); in destroyHardwareLayer()
239 mLayer = null; in destroyHardwareLayer()
344 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
373 if (mLayer == null) { in getHardwareLayer()
378 mLayer = mAttachInfo.mThreadedRenderer.createTextureLayer(); in getHardwareLayer()
385 mLayer.setSurfaceTexture(mSurface); in getHardwareLayer()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.h34 : mLayer(layer) {} in LayerDrawable()
39 return SkRect::MakeWH(mLayer->getWidth(), mLayer->getHeight()); in onGetBounds()
44 sp<Layer> mLayer;
DLayerDrawable.cpp30 DrawLayer(canvas->getGrContext(), canvas, mLayer.get()); in onDraw()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java99 private int mLayer = UNDEFINED_WINDOW_ID; field in AccessibilityWindowInfo
168 return mLayer; in getLayer()
180 mLayer = layer; in setLayer()
459 infoClone.mLayer = info.mLayer; in obtain()
517 parcel.writeInt(mLayer); in writeToParcel()
542 mLayer = parcel.readInt(); in initFromParcel()
592 builder.append(", layer=").append(mLayer); in toString()
627 mLayer = UNDEFINED_WINDOW_ID; in clear()
709 if (mLayer != other.mLayer) { in changed()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java46 private int mLayer = -1; field in DimLayer
117 adjustLayer(mLayer); in constructSurface()
140 if (mLayer == layer) { in setLayer()
143 mLayer = layer; in setLayer()
154 return mLayer; in getLayer()
255 show(mLayer, mTargetAlpha, 0); in show()
323 show(mLayer, 0, duration); in hide()
368 pw.print(" mLayer="); pw.print(mLayer); in printTo()
DWindowLayersController.java77 int oldLayer = w.mLayer;
88 if (w.mLayer != oldLayer || w.mWinAnimator.mAnimLayer != oldLayer) {
131 + " mLayer=" + w.mLayer + (w.mAppToken == null in logDebugLayers()
257 w.mLayer = layer; in assignAnimLayer()
DWindowSurfaceController.java566 private int mLayer; field in WindowSurfaceController.SurfaceTrace
614 if (zorder != mLayer) { in setLayer()
617 mLayer = zorder; in setLayer()
626 if (s.mLayer < zorder) { in setLayer()
789 pw.print(" mLayer="); pw.println(s.mLayer); in dumpAllSurfaces()
809 + mName + " (" + mLayerStack + "): shown=" + mShown + " layer=" + mLayer in toString()
DWindowSurfacePlacer.java312 bestAnimLayer = ws.mLayer; in handleAppTransitionReadyLocked()
318 if (ws.mLayer > bestAnimLayer) { in handleAppTransitionReadyLocked()
320 bestAnimLayer = ws.mLayer; in handleAppTransitionReadyLocked()
DWindowState.java229 int mLayer; field in WindowState
667 mLayer = 0; in WindowState()
1051 return mLayer; in getSurfaceLayer()
1935 return mLayer + specialAdjustment; in getSpecialWindowAnimLayerAdjustment()
3311 pw.print(" mAnimLayer="); pw.print(mLayer); pw.print("+"); in dump()
3836 windowInfo.layer = mLayer; in getWindowInfo()
4259 } else if (mLayer >= mService.mSystemDecorLayer) { in calculatePolicyCrop()
DAccessibilityController.java682 outWindows.put(w.mLayer, w); in populateWindowsOnScreenLocked()
1326 outWindows.put(w.mLayer, w); in populateVisibleWindowsOnScreenLocked()
DInputMonitor.java314 inputWindowHandle.layer = child.mLayer; in addInputWindowHandle()
DWallpaperController.java187 return mWallpaperTarget != null && mWallpaperTarget.mLayer >= win.mBaseLayer; in isBelowWallpaperTarget()
DDockedStackDividerController.java542 return (mWindow != null) ? mWindow.mLayer - 1 : LAYER_OFFSET_DIM; in getResizeDimLayer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerConsumer.h44 mTransformToDisplayInverse(false), mSurfaceDamage(), mLayer(layer) in SurfaceFlingerConsumer()
114 const wp<Layer> mLayer; variable
DMonitoredProducer.cpp29 mLayer(layer) {} in MonitoredProducer()
166 return mLayer.promote(); in getLayer()
DSurfaceFlingerConsumer.cpp261 sp<Layer> l = mLayer.promote(); in onDisconnect()
270 sp<Layer> l = mLayer.promote(); in addAndGetFrameTimestamps()
DMonitoredProducer.h79 wp<Layer> mLayer; variable
DLayer.h547 wp<Layer> mLayer; variable
551 mFlinger->onLayerDestroyed(mLayer); in ~LayerCleaner()
556 : mFlinger(flinger), mLayer(layer) { in LayerCleaner()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_composer_client.cpp67 auto err = mVrHal.setLayerInfo(mDisplay, mLayer, read(), read()); in parseSetLayerInfo()
92 auto err = mVrHal.setLayerBufferMetadata(mDisplay, mLayer, in parseSetLayerBufferMetadata()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java726 private final int mLayer; field in WindowContainerTests.TestWindowContainer
740 final int layer1 = w1.mLayer;
741 final int layer2 = w2.mLayer;
752 mLayer = layer; in TestWindowContainer()
828 private int mLayer; field in WindowContainerTests.TestWindowContainerBuilder
838 mLayer = layer; in setLayer()
858 mLayer = 0; in reset()
866 return new TestWindowContainer(mLayer, mIsAnimating, mIsVisible, mOrientation); in build()
DWindowTokenTests.java107 window2.mLayer = 100; in testAdjustAnimLayer()
108 window3.mLayer = 200; in testAdjustAnimLayer()
DWindowFrameTests.java331 w.mLayer = sWm.mSystemDecorLayer + 1; in testCalculatePolicyCrop()
334 w.mLayer = 1; in testCalculatePolicyCrop()

12