Home | History | Annotate | Download | only in wm

Lines Matching refs:sc

67         public SurfaceControl.Transaction setLayer(SurfaceControl sc, int layer) {
68 mRelativeLayersForControl.remove(sc);
69 mLayersForControl.put(sc, layer);
70 return super.setLayer(sc, layer);
74 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc,
77 mRelativeLayersForControl.put(sc, relativeTo);
78 mLayersForControl.put(sc, layer);
79 return super.setRelativeLayer(sc, relativeTo, layer);
82 private int getLayer(SurfaceControl sc) {
83 return mLayersForControl.getOrDefault(sc, 0);
86 private SurfaceControl getRelativeLayer(SurfaceControl sc) {
87 return mRelativeLayersForControl.get(sc);
102 public SurfaceControl.Builder setParent(SurfaceControl sc) {
103 mPendingParent = sc;
104 return super.setParent(sc);
107 SurfaceControl sc = super.build();
108 mParentFor.put(sc, mPendingParent);
110 return sc;
138 LinkedList<SurfaceControl> getAncestors(LayerRecordingTransaction t, SurfaceControl sc) {
140 SurfaceControl current = sc;