Lines Matching refs:Layer
70 class Layer; variable
96 class Layer : public virtual compositionengine::LayerFE {
164 wp<Layer> barrierLayer_legacy;
176 wp<Layer> zOrderRelativeOf;
179 SortedVector<wp<Layer>> zOrderRelatives;
186 wp<Layer> touchableRegionCrop;
214 sp<Layer> bgColorLayer;
222 explicit Layer(const LayerCreationArgs& args);
223 virtual ~Layer();
295 virtual void deferTransactionUntil_legacy(const sp<Layer>& barrierLayer, uint64_t frameNumber);
299 virtual void setChildrenDrawingParent(const sp<Layer>& layer);
341 virtual std::shared_ptr<compositionengine::Layer> getCompositionLayer() const;
391 virtual bool isOpaque(const Layer::State&) const { return false; } in isOpaque()
456 virtual Geometry getActiveGeometry(const Layer::State& s) const { return s.active_legacy; } in getActiveGeometry()
457 virtual uint32_t getActiveWidth(const Layer::State& s) const { return s.active_legacy.w; } in getActiveWidth()
458 virtual uint32_t getActiveHeight(const Layer::State& s) const { return s.active_legacy.h; } in getActiveHeight()
459 virtual ui::Transform getActiveTransform(const Layer::State& s) const { in getActiveTransform()
462 virtual Region getActiveTransparentRegion(const Layer::State& s) const { in getActiveTransparentRegion()
465 virtual Rect getCrop(const Layer::State& s) const { return s.crop_legacy; } in getCrop()
586 void removeRelativeZ(const std::vector<Layer*>& layersInTree);
624 HWC2::Layer* getHwcLayer(const sp<const DisplayDevice>& displayDevice);
678 void addChild(const sp<Layer>& layer);
681 ssize_t removeChild(const sp<Layer>& layer);
682 sp<Layer> getParent() const { return mCurrentParent.promote(); } in getParent()
685 bool setChildLayer(const sp<Layer>& childLayer, int32_t z);
686 bool setChildRelativeLayer(const sp<Layer>& childLayer,
699 virtual Rect getBufferSize(const Layer::State&) const { return Rect::INVALID_RECT; } in getBufferSize()
722 sp<Layer> mLayer;
731 LayerCleaner(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) in LayerCleaner()
749 void setParent(const sp<Layer>& layer);
751 void addZOrderRelative(const wp<Layer>& relative);
752 void removeZOrderRelative(const wp<Layer>& relative);
756 explicit SyncPoint(uint64_t frameNumber, wp<Layer> requestedSyncLayer) in SyncPoint()
772 sp<Layer> getRequestedSyncLayer() { return mRequestedSyncLayer.promote(); } in getRequestedSyncLayer()
778 wp<Layer> mRequestedSyncLayer;
796 virtual uint32_t doTransactionResize(uint32_t flags, Layer::State* stateToCommit);
814 Handle(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) in Handle()
817 wp<Layer> owner;
904 wp<Layer> mCurrentParent;
905 wp<Layer> mDrawingParent;
923 std::vector<Layer*> getLayersInTree(LayerVector::StateSet stateSet);
928 void traverseChildrenInZOrderInner(const std::vector<Layer*>& layersInTree,
932 const std::vector<Layer*>& layersInTree);
939 Rect getCroppedBufferSize(const Layer::State& s) const;
956 void setZOrderRelativeOf(const wp<Layer>& relativeOf);