diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-04-14 18:00:10 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-04-15 14:53:17 +0800 |
commit | 2b82c4a17abfe926dc2942a6d1bf7982b006de6d (patch) | |
tree | 7a441c7356f13ed1e52b1633f955645ef2da9eb6 /src/com/android/camera/OnScreenHint.java | |
parent | 14c3da178d14d461f93036b3c2471bc6471ae249 (diff) | |
download | LegacyCamera-2b82c4a17abfe926dc2942a6d1bf7982b006de6d.zip LegacyCamera-2b82c4a17abfe926dc2942a6d1bf7982b006de6d.tar.gz LegacyCamera-2b82c4a17abfe926dc2942a6d1bf7982b006de6d.tar.bz2 |
Clean verbose logging messages.
Extract UriImage to a separate file.
Diffstat (limited to 'src/com/android/camera/OnScreenHint.java')
-rw-r--r-- | src/com/android/camera/OnScreenHint.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/com/android/camera/OnScreenHint.java b/src/com/android/camera/OnScreenHint.java index 3d8d145..7e26a92 100644 --- a/src/com/android/camera/OnScreenHint.java +++ b/src/com/android/camera/OnScreenHint.java @@ -87,9 +87,6 @@ public class OnScreenHint { if (mNextView == null) { throw new RuntimeException("setView must have been called"); } - if (LOCAL_LOGV) { - Log.v(TAG, "SHOW: " + this); - } mHandler.post(mShow); } @@ -97,9 +94,6 @@ public class OnScreenHint { * Close the view if it's showing. */ public void cancel() { - if (LOCAL_LOGV) { - Log.v(TAG, "HIDE: " + this); - } mHandler.post(mHide); } @@ -251,10 +245,6 @@ public class OnScreenHint { } private synchronized void handleShow() { - if (LOCAL_LOGV) { - Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView - + " mNextView=" + mNextView); - } if (mView != mNextView) { // remove the old view if necessary handleHide(); @@ -274,30 +264,18 @@ public class OnScreenHint { mParams.verticalMargin = mVerticalMargin; mParams.horizontalMargin = mHorizontalMargin; if (mView.getParent() != null) { - if (LOCAL_LOGV) { - Log.v(TAG, "REMOVE! " + mView + " in " + this); - } mWM.removeView(mView); } - if (LOCAL_LOGV) { - Log.v(TAG, "ADD! " + mView + " in " + this); - } mWM.addView(mView, mParams); } } private synchronized void handleHide() { - if (LOCAL_LOGV) { - Log.v(TAG, "HANDLE HIDE: " + this + " mView=" + mView); - } if (mView != null) { // note: checking parent() just to make sure the view has // been added... i have seen cases where we get here when // the view isn't yet added, so let's try not to crash. if (mView.getParent() != null) { - if (LOCAL_LOGV) { - Log.v(TAG, "REMOVE! " + mView + " in " + this); - } mWM.removeView(mView); } mView = null; |