summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Camera.java
diff options
context:
space:
mode:
authorrepo sync <cywang@google.com>2011-07-17 16:24:44 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-17 16:24:44 -0700
commitb4aa4791c329cadc4df8edf3def5655cf4105f56 (patch)
tree60e5046e1e754b01e29bf7e1ff45192cca90b5f6 /src/com/android/camera/Camera.java
parente1b7b87757cfef229162601154b0d62bbfb693a2 (diff)
parentcead50ba3ce2df3bd9fcf06c6f54ea0c6980f0d7 (diff)
downloadLegacyCamera-b4aa4791c329cadc4df8edf3def5655cf4105f56.zip
LegacyCamera-b4aa4791c329cadc4df8edf3def5655cf4105f56.tar.gz
LegacyCamera-b4aa4791c329cadc4df8edf3def5655cf4105f56.tar.bz2
Merge "Make all wheel icons rotatable."
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r--src/com/android/camera/Camera.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 1183de0..d1315d4 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -605,8 +605,8 @@ public class Camera extends ActivityBase implements View.OnClickListener,
}
private void initializeZoomPicker() {
- Button zoomIncrement = (Button) findViewById(R.id.zoom_increment);
- Button zoomDecrement = (Button) findViewById(R.id.zoom_decrement);
+ View zoomIncrement = findViewById(R.id.zoom_increment);
+ View zoomDecrement = findViewById(R.id.zoom_decrement);
TextView zoomRatio = (TextView) findViewById(R.id.zoom_ratio);
if (zoomIncrement != null && zoomDecrement != null && mParameters.isZoomSupported()) {
mZoomPicker = new ZoomPicker(this, zoomIncrement, zoomDecrement, zoomRatio);
@@ -1236,6 +1236,7 @@ public class Camera extends ActivityBase implements View.OnClickListener,
if (mCameraSwitchIcon != null) mCameraSwitchIcon.setDegree(degree);
if (mVideoSwitchIcon != null) mVideoSwitchIcon.setDegree(degree);
if (mSharePopup != null) mSharePopup.setOrientation(degree);
+ if (mIndicatorWheel != null) mIndicatorWheel.setDegree(degree);
}
@Override