Home
last modified time | relevance | path

Searched refs:mCurrentMode (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
DModePicker.java65 private int mCurrentMode = 0; field in ModePicker
164 if (mListener != null) mListener.onModeChanged(mCurrentMode); in changeToSelectedMode()
176 if (view == mModeSelectionIcon[i] && (mCurrentMode != i)) { in onClick()
195 mCurrentMode = mode; in setCurrentMode()
199 if (mCurrentMode == MODE_CAMERA) enbaled = false; in setCurrentMode()
251 highlightView(mModeSelectionIcon[i], (i == mCurrentMode)); in updateModeState()
262 target = mCurrentMode; in updateModeState()
265 if (j == mCurrentMode) j++; in updateModeState()
287 int l = mModeSelectionFrame.getLeft() + mCurrentMode * viewWidth; in onLayout()
298 int l = mModeSelectionFrame.getTop() + mCurrentMode * viewHeight; in onLayout()
/packages/apps/LegacyCamera/src/com/android/camera/
DModePicker.java67 private int mCurrentMode = 0; field in ModePicker
152 if (mListener.onModeChanged(mCurrentMode)) { in changeToSelectedMode()
153 Log.e(TAG, "failed:onModeChanged:" + mCurrentMode); in changeToSelectedMode()
165 if (view == mModeSelectionIcon[i] && (mCurrentMode != i)) { in onClick()
183 mCurrentMode = mode; in setCurrentMode()
229 highlightView(mModeSelectionIcon[i], (i == mCurrentMode)); in updateModeState()
240 target = mCurrentMode; in updateModeState()
243 if (j == mCurrentMode) j++; in updateModeState()
262 int l = mModeSelectionFrame.getLeft() + mCurrentMode * viewWidth; in onLayout()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControl.java50 protected int mCurrentMode = MODE_CAMERA; field in IndicatorControl
85 mCurrentMode = MODE_VIDEO; in setPreferenceGroup()
204 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
211 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DIndicatorControlBar.java116 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DSecondLevelIndicatorControlBar.java202 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DIndicatorControlWheel.java515 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
/packages/apps/Camera/src/com/android/camera/ui/
DIndicatorControl.java50 protected int mCurrentMode = MODE_CAMERA; field in IndicatorControl
85 mCurrentMode = MODE_VIDEO; in setPreferenceGroup()
227 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
234 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DIndicatorControlBar.java66 setupFilter(mCurrentMode != MODE_CAMERA); in initialize()
141 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DSecondLevelIndicatorControlBar.java75 setupFilter(mCurrentMode != MODE_CAMERA); in initialize()
251 if (mCurrentMode == MODE_VIDEO) { in setEnabled()
DIndicatorControlWheel.java251 setupFilter(mCurrentMode != MODE_CAMERA); in initialize()
490 && (mCurrentMode == MODE_VIDEO)) in onLayout()
652 if (mCurrentMode == MODE_VIDEO) { in setEnabled()