Home
last modified time | relevance | path

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

/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegate.java122 private final ReferenceWithHistory<Mode> mCurrentMode = field in OfflineLocationTimeZoneDelegate
172 mCurrentMode.set(Mode.createStoppedMode()); in OfflineLocationTimeZoneDelegate()
181 Mode currentMode = mCurrentMode.get(); in onBind()
189 mCurrentMode.set(newMode); in onBind()
200 Mode currentMode = mCurrentMode.get(); in onDestroy()
205 mCurrentMode.set(newMode); in onDestroy()
217 Mode currentMode = mCurrentMode.get(); in onStartUpdates()
244 Mode currentMode = mCurrentMode.get(); in onStopUpdates()
281 mCurrentMode.dump(pw); in dump()
293 return mCurrentMode.get().mModeEnum; in getCurrentModeEnumForTests()
[all …]
/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/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java70 private MODE mCurrentMode = MODE.CANCEL_MODE; field in TestNotificationService
84 mCurrentMode = MODE.CANCEL_MODE;
87 mCurrentMode = MODE.EXECUTION_MODE;
119 .equals(mCurrentMode) + " targetPackageName " + mTargetPackageName + " packageName " in onNotificationPosted()
122 if (MODE.CANCEL_MODE.equals(mCurrentMode)) { in onNotificationPosted()
135 .equals(mCurrentMode)); in onNotificationRemoved()
142 if (MODE.CANCEL_MODE.equals(mCurrentMode)) { in onNotificationRemoved()
147 } else if (MODE.EXECUTION_MODE.equals(mCurrentMode)) { in onNotificationRemoved()
/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/Settings/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorController.java41 private int mCurrentMode; field in DarkModeScheduleSelectorController
65 mCurrentMode = getCurrentMode(); in updateState()
66 mPreference.setValueIndex(mCurrentMode); in updateState()
87 if (newMode == mCurrentMode) { in onPreferenceChange()
108 mCurrentMode = newMode; in onPreferenceChange()
/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.java522 if (mCurrentMode == MODE_VIDEO) { in setEnabled()