Home
last modified time | relevance | path

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

/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/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneLayout.java95 private int mCurrentMode = ViewMode.UNKNOWN; field in TwoPaneLayout
249 mCurrentMode = ViewMode.UNKNOWN; in onFinishInflate()
289 if (mTranslatedMode != mCurrentMode && !mShouldShowPreviewPanel) { in onLayout()
449 mTranslatedMode = mCurrentMode; in onTransitionComplete()
465 switch (mCurrentMode) { in dispatchVisibilityChanged()
570 final boolean isAdMode = ViewMode.isAdMode(mCurrentMode);
672 return !ViewMode.isListMode(mCurrentMode) && !mShouldShowPreviewPanel;
678 if (mCurrentMode == ViewMode.UNKNOWN) {
692 if (ViewMode.isConversationMode(mCurrentMode)) {
702 mCurrentMode = newMode;
[all …]
/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()