Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorController.java36 private String mCurrentMode; field in DarkModeScheduleSelectorController
60 mCurrentMode = in updateState()
64 mPreference.setValue(mCurrentMode); in updateState()
69 if (newMode == mCurrentMode) { in onPreferenceChange()
72 mCurrentMode = newMode; in onPreferenceChange()
73 if (mCurrentMode == mContext.getString(R.string.dark_ui_auto_mode_never)) { in onPreferenceChange()
80 } else if (mCurrentMode == in onPreferenceChange()
/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/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioRecordView.java97 private int mCurrentMode = MODE_IDLE; field in AudioRecordView
174 return mMediaRecorder.isRecording() && mCurrentMode == MODE_RECORDING; in isRecording()
178 return mCurrentMode != MODE_IDLE; in shouldHandleTouch()
187 if (mCurrentMode != mode) { in setMode()
188 mCurrentMode = mode; in setMode()
194 switch (mCurrentMode) { in updateVisualState()
243 if (!mMediaRecorder.isRecording() && mCurrentMode == MODE_IDLE) { in onRecordButtonTouchDown()
252 if (mCurrentMode == MODE_STARTING && in onRecordButtonTouchDown()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java70 private MODE mCurrentMode = MODE.CANCEL_MODE; field in TestNotificationService
83 mCurrentMode = MODE.CANCEL_MODE;
85 mCurrentMode = MODE.EXECUTION_MODE;
117 if (MODE.CANCEL_MODE.equals(mCurrentMode)) { in onNotificationPosted()
135 if (MODE.CANCEL_MODE.equals(mCurrentMode)) { in onNotificationRemoved()
140 } else if (MODE.EXECUTION_MODE.equals(mCurrentMode)) { in onNotificationRemoved()
/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()