Loading core/java/android/widget/EdgeGlow.java +2 −2 Original line number Diff line number Diff line Loading @@ -260,7 +260,7 @@ public class EdgeGlow { glowHeight * MAX_GLOW_HEIGHT); if (mWidth < mMinWidth) { // Center the glow and clip it. int glowLeft = (mWidth - glowWidth)/2; int glowLeft = (mWidth - mMinWidth)/2; mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); } else { // Stretch the glow to fit. Loading @@ -274,7 +274,7 @@ public class EdgeGlow { int edgeBottom = (int) (edgeHeight * mEdgeScaleY); if (mWidth < mMinWidth) { // Center the edge and clip it. int edgeLeft = (mWidth - edgeWidth)/2; int edgeLeft = (mWidth - mMinWidth)/2; mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); } else { // Stretch the edge to fit. Loading Loading
core/java/android/widget/EdgeGlow.java +2 −2 Original line number Diff line number Diff line Loading @@ -260,7 +260,7 @@ public class EdgeGlow { glowHeight * MAX_GLOW_HEIGHT); if (mWidth < mMinWidth) { // Center the glow and clip it. int glowLeft = (mWidth - glowWidth)/2; int glowLeft = (mWidth - mMinWidth)/2; mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); } else { // Stretch the glow to fit. Loading @@ -274,7 +274,7 @@ public class EdgeGlow { int edgeBottom = (int) (edgeHeight * mEdgeScaleY); if (mWidth < mMinWidth) { // Center the edge and clip it. int edgeLeft = (mWidth - edgeWidth)/2; int edgeLeft = (mWidth - mMinWidth)/2; mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); } else { // Stretch the edge to fit. Loading