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