Lines Matching refs:Layer
81 class Layer : public virtual RefBase {
126 wp<Layer> zOrderRelativeOf;
130 SortedVector<wp<Layer>> zOrderRelatives;
135 wp<Layer> touchableRegionCrop;
166 sp<Layer> bgColorLayer;
241 explicit Layer(const surfaceflinger::LayerCreationArgs& args);
242 virtual ~Layer();
253 virtual sp<Layer> createClone();
299 virtual void setChildrenDrawingParent(const sp<Layer>&);
373 bool isOpaque(const Layer::State&) const;
416 ui::Transform getActiveTransform(const Layer::State& s) const { return s.transform; } in getActiveTransform()
417 Region getActiveTransparentRegion(const Layer::State& s) const { in getActiveTransparentRegion()
420 Rect getCrop(const Layer::State& s) const { return s.crop; } in getCrop()
498 Rect getBufferSize(const Layer::State&) const;
667 bool updateMirrorInfo(const std::deque<Layer*>& cloneRootsPendingUpdates);
679 void removeRelativeZ(const std::vector<Layer*>& layersInTree);
762 void addChild(const sp<Layer>&);
765 ssize_t removeChild(const sp<Layer>& layer);
766 sp<Layer> getParent() const { return mCurrentParent.promote(); } in getParent()
774 bool setChildLayer(const sp<Layer>& childLayer, int32_t z);
775 bool setChildRelativeLayer(const sp<Layer>& childLayer,
789 Rect getCroppedBufferSize(const Layer::State& s) const;
853 sp<Layer> mClonedChild;
855 void setClonedChild(const sp<Layer>& mClonedChild);
904 std::unordered_set<Layer*>& visited);
905 sp<Layer> getClonedFrom() const { in getClonedFrom()
987 void cloneDrawingState(const Layer* from);
988 void updateClonedDrawingState(std::map<sp<Layer>, sp<Layer>>& clonedLayersMap);
989 void updateClonedChildren(const sp<Layer>& mirrorRoot,
990 std::map<sp<Layer>, sp<Layer>>& clonedLayersMap);
991 void updateClonedRelatives(const std::map<sp<Layer>, sp<Layer>>& clonedLayersMap);
992 void addChildToDrawing(const sp<Layer>&);
993 void updateClonedInputInfo(const std::map<sp<Layer>, sp<Layer>>& clonedLayersMap);
1006 void setParent(const sp<Layer>&);
1008 void addZOrderRelative(const wp<Layer>& relative);
1009 void removeZOrderRelative(const wp<Layer>& relative);
1080 wp<Layer> mCurrentParent;
1081 wp<Layer> mDrawingParent;
1129 std::vector<Layer*> getLayersInTree(LayerVector::StateSet);
1134 void traverseChildrenInZOrderInner(const std::vector<Layer*>& layersInTree,
1137 const std::vector<Layer*>& layersInTree);
1142 void setZOrderRelativeOf(const wp<Layer>& relativeOf);
1149 sp<Layer> getClonedRoot();
1153 sp<Layer> getRootLayer();
1234 wp<Layer> mClonedFrom;
1251 bool findInHierarchy(const sp<Layer>&);
1298 std::ostream& operator<<(std::ostream& stream, const Layer::FrameRate& rate);