diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-01-15 08:59:20 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2016-01-20 23:31:18 -0800 |
commit | 42f6d5c06c5db74c6971e37dbb78bf41d2783e07 (patch) | |
tree | ea7305846f10d3ddfee87d19d6700a3de65d7bab /src/com/android/camera/ui/CameraControls.java | |
parent | 4faa77d616d3637e628816da0d24bb0ea3432cd2 (diff) | |
download | android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.tar.gz android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.tar.bz2 android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.zip |
Remove unused menu indicators code.
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
Diffstat (limited to 'src/com/android/camera/ui/CameraControls.java')
-rw-r--r-- | src/com/android/camera/ui/CameraControls.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java index c0fbf13b4..f4449182b 100644 --- a/src/com/android/camera/ui/CameraControls.java +++ b/src/com/android/camera/ui/CameraControls.java @@ -52,7 +52,6 @@ public class CameraControls extends RotatableLayout { private View mMenu; private View mFrontBackSwitcher; private View mHdrSwitcher; - private View mIndicators; private View mPreview; private View mSceneModeSwitcher; private View mFilterModeSwitcher; @@ -190,7 +189,6 @@ public class CameraControls extends RotatableLayout { mFrontBackSwitcher = findViewById(R.id.front_back_switcher); mHdrSwitcher = findViewById(R.id.hdr_switcher); mMenu = findViewById(R.id.menu); - mIndicators = findViewById(R.id.on_screen_indicators); mPreview = findViewById(R.id.preview_thumb); mSceneModeSwitcher = findViewById(R.id.scene_mode_switcher); mFilterModeSwitcher = findViewById(R.id.filter_mode_switcher); @@ -202,7 +200,7 @@ public class CameraControls extends RotatableLayout { mFrontBackSwitcher, mMenu }; mBottomViews = new View[] { - mIndicators, mPreview, mShutter, mSwitcher + mPreview, mShutter, mSwitcher }; mAllViews = new View[mTopViews.length + mBottomViews.length]; for (int i = 0; i < mTopViews.length; i++) { @@ -273,7 +271,6 @@ public class CameraControls extends RotatableLayout { } toRight(mSwitcher, expandedShutter, rotation); - toLeft(mIndicators, expandedShutter, rotation); toLeft(mPreview, expandedShutter, rotation); layoutToast(mRefocusToast, w, h, rotation); @@ -451,7 +448,6 @@ public class CameraControls extends RotatableLayout { shutterAnim.stop(); mMenu.setVisibility(View.VISIBLE); - mIndicators.setVisibility(View.VISIBLE); mPreview.setVisibility(View.VISIBLE); mFrontBackSwitcher.animate().setListener(inlistener); |