Loading protos/view_capture.proto +2 −0 Original line number Diff line number Diff line Loading @@ -51,4 +51,6 @@ message ViewNode { optional int32 visibility = 16; repeated ViewNode children = 17; optional float elevation = 18; } src/com/android/launcher3/util/ViewCapture.java +3 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,7 @@ public class ViewCapture implements OnDrawListener { public float translateX, translateY; public float scaleX, scaleY; public float alpha; public float elevation; public int visibility; public boolean willNotDraw; Loading Loading @@ -271,6 +272,7 @@ public class ViewCapture implements OnDrawListener { visibility = view.getVisibility(); willNotDraw = view.willNotDraw(); elevation = view.getElevation(); } /** Loading Loading @@ -303,6 +305,7 @@ public class ViewCapture implements OnDrawListener { .setAlpha(alpha) .setVisibility(visibility) .setWillNotDraw(willNotDraw) .setElevation(elevation) .setClipChildren(clipChildren); ViewPropertyRef result = next; Loading Loading
protos/view_capture.proto +2 −0 Original line number Diff line number Diff line Loading @@ -51,4 +51,6 @@ message ViewNode { optional int32 visibility = 16; repeated ViewNode children = 17; optional float elevation = 18; }
src/com/android/launcher3/util/ViewCapture.java +3 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,7 @@ public class ViewCapture implements OnDrawListener { public float translateX, translateY; public float scaleX, scaleY; public float alpha; public float elevation; public int visibility; public boolean willNotDraw; Loading Loading @@ -271,6 +272,7 @@ public class ViewCapture implements OnDrawListener { visibility = view.getVisibility(); willNotDraw = view.willNotDraw(); elevation = view.getElevation(); } /** Loading Loading @@ -303,6 +305,7 @@ public class ViewCapture implements OnDrawListener { .setAlpha(alpha) .setVisibility(visibility) .setWillNotDraw(willNotDraw) .setElevation(elevation) .setClipChildren(clipChildren); ViewPropertyRef result = next; Loading