diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-01-26 15:37:13 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-26 15:37:13 -0800 |
commit | 3e4a5244d3ca744e7ac7e89163ac562c24e002d9 (patch) | |
tree | 783812e1e5ba0cd93955d05e6aa1f38ea36af315 /src | |
parent | 8b1c724f385ae1973af382c500f58042f5b37466 (diff) | |
parent | dbbfcecfddc1a1767cec34a1172c87f23e089261 (diff) | |
download | LegacyCamera-3e4a5244d3ca744e7ac7e89163ac562c24e002d9.zip LegacyCamera-3e4a5244d3ca744e7ac7e89163ac562c24e002d9.tar.gz LegacyCamera-3e4a5244d3ca744e7ac7e89163ac562c24e002d9.tar.bz2 |
Merge "Use public api instead of protected members."
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/Switcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/Switcher.java b/src/com/android/camera/Switcher.java index 8cc6336..6a62b57 100644 --- a/src/com/android/camera/Switcher.java +++ b/src/com/android/camera/Switcher.java @@ -160,7 +160,7 @@ public class Switcher extends ImageView implements View.OnTouchListener { int offsetTop = getPaddingTop() + mPosition; int offsetLeft = (getWidth() - - drawableWidth - mPaddingLeft - mPaddingRight) / 2; + - drawableWidth - getPaddingLeft() - getPaddingRight()) / 2; int saveCount = canvas.getSaveCount(); canvas.save(); canvas.translate(offsetLeft, offsetTop); |