Searched defs:mCurrentState (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
H A DConstraintTracker.java40 private T mCurrentState; field in class:ConstraintTracker
56 mCurrentState = getInitialState();
58 mCurrentState));
61 listener.onConstraintChanged(mCurrentState);
83 if (mCurrentState == newState
84 || (mCurrentState != null && mCurrentState.equals(newState))) {
87 mCurrentState = newState;
89 listener.onConstraintChanged(mCurrentState);
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
H A Dmediaplayer2.h149 media_player2_internal_states mCurrentState; member in class:android::MediaPlayer2
/frameworks/rs/driver/
H A DrsdShader.h113 StateBasedKey *mCurrentState; member in class:RsdShader
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DDetailsBackgroundVideoHelper.java55 private int mCurrentState = INITIAL; field in class:DetailsBackgroundVideoHelper
114 return mCurrentState == PLAY_VIDEO;
118 if (state == mCurrentState) {
121 mCurrentState = state;
126 switch (mCurrentState) {
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceState.java55 private int mCurrentState = STATE_UNCONFIGURED; field in class:CameraDeviceState
173 if (mCurrentState != STATE_CAPTURING) {
174 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState);
254 if (newState != mCurrentState) {
264 if (mCurrentState != newState && mCurrentHandler != null &&
277 if (mCurrentState != STATE_ERROR && mCurrentHandler != null &&
286 mCurrentState = STATE_ERROR;
289 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) {
290 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState);
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/
H A DMusicProvider.java76 private volatile State mCurrentState = State.NON_INITIALIZED; field in class:MusicProvider
95 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
190 return mCurrentState;
221 if (mCurrentState == State.NON_INITIALIZED) {
222 mCurrentState = State.INITIALIZING;
239 mCurrentState
[all...]
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/
H A DMusicProvider.java76 private volatile State mCurrentState = State.NON_INITIALIZED; field in class:MusicProvider
95 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
190 return mCurrentState;
221 if (mCurrentState == State.NON_INITIALIZED) {
222 mCurrentState = State.INITIALIZING;
239 mCurrentState
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSignalController.java43 protected final T mCurrentState; field in class:SignalController
66 mCurrentState = cleanState();
77 return mCurrentState;
81 mCurrentState.inetCondition = validatedTransports.get(mTransportType) ? 1 : 0;
93 mCurrentState.copyFrom(mLastState);
101 if (!mLastState.equals(mCurrentState)) {
104 + "\tto: " + mCurrentState);
116 mCurrentState.time = System.currentTimeMillis();
117 mLastState.copyFrom(mCurrentState);
124 if (mCurrentState
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/internal/
H A DPerformBackupTask.java122 private BackupState mCurrentState; field in class:PerformBackupTask
183 mCurrentState = BackupState.FINAL;
186 mCurrentState = BackupState.INITIAL;
227 switch (mCurrentState) {
1220 mCurrentState = nextState;
/frameworks/av/include/media/
H A Dmediaplayer.h293 media_player_states mCurrentState; member in class:android::MediaPlayer
H A Dmediarecorder.h276 media_recorder_states mCurrentState; member in class:android::MediaRecorder
/frameworks/av/media/libmedia/include/media/
H A Dmediaplayer.h293 media_player_states mCurrentState; member in class:android::MediaPlayer
H A Dmediarecorder.h276 media_recorder_states mCurrentState; member in class:android::MediaRecorder
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowManager.java68 private final State mCurrentState = new State(); field in class:StatusBarWindowManager
298 mCurrentState.keyguardShowing = showing;
299 apply(mCurrentState);
303 mCurrentState.keyguardOccluded = occluded;
304 apply(mCurrentState);
308 mCurrentState.keyguardNeedsInput = needsInput;
309 apply(mCurrentState);
313 mCurrentState.panelVisible = visible;
314 mCurrentState.statusBarFocusable = visible;
315 apply(mCurrentState);
[all...]
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
H A DBatterySavingStats.java154 private int mCurrentState = STATE_NOT_INITIALIZED; field in class:BatterySavingStats
305 if (mCurrentState == newState) {
313 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF;
333 if (mCurrentState < 0) {
336 final Stat stat = getStat(mCurrentState);
351 Slog.d(TAG, "State summary: " + stateToString(mCurrentState)
360 BatterySaverState.fromIndex(mCurrentState),
361 InteractiveState.fromIndex(mCurrentState),
362 DozeState.fromIndex(mCurrentState),
377 mCurrentState
[all...]
/frameworks/base/core/java/android/widget/
H A DVideoView.java100 // mCurrentState is a VideoView object's current state.
105 private int mCurrentState = STATE_IDLE; field in class:VideoView
165 mCurrentState = STATE_IDLE;
354 mCurrentState = STATE_IDLE;
416 mCurrentState = STATE_PREPARING;
420 mCurrentState = STATE_ERROR;
426 mCurrentState = STATE_ERROR;
467 mCurrentState = STATE_PREPARED;
530 mCurrentState = STATE_PLAYBACK_COMPLETED;
558 mCurrentState
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationGestureHandler.java142 @VisibleForTesting State mCurrentState; field in class:MagnificationGestureHandler
219 handleEventWith(mCurrentState, event, rawEvent, policyFlags);
265 mCurrentState = mDetectingState;
358 (State.nameOf(mCurrentState) + " -> " + State.nameOf(state)
362 mPreviousState = mCurrentState;
363 mCurrentState = state;
436 if (mCurrentState != mPanningScalingState) {
489 return /* continue recognizing: */ (mCurrentState == mPanningScalingState);
966 ", mCurrentState=" + State.nameOf(mCurrentState)
[all...]
H A DTouchExplorer.java105 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer
217 switch (mCurrentState) {
251 mCurrentState = STATE_TOUCH_EXPLORING;
266 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState));
284 switch(mCurrentState) {
298 Slog.e(LOG_TAG, "Illegal state: " + mCurrentState);
345 if (mCurrentState != STATE_TOUCH_EXPLORING) {
370 mCurrentState = STATE_DELEGATING;
377 if (mCurrentState != STATE_TOUCH_EXPLORING) {
432 mCurrentState
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/widget/
H A DVideoView2Impl.java151 private int mCurrentState = STATE_IDLE; field in class:VideoView2Impl
202 mCurrentState = STATE_IDLE;
206 mCurrentState = STATE_PLAYING;
210 mCurrentState = STATE_PAUSED;
214 mCurrentState = STATE_PAUSED;
218 mCurrentState = STATE_PLAYBACK_COMPLETED;
525 if (mCurrentState == STATE_PREPARED) {
555 Log.d(TAG, "onTouchEvent(). mCurrentState=" + mCurrentState
633 Log.d(TAG, "onSurfaceCreated(). mCurrentState
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.h533 inline const State& getCurrentState() const { return mCurrentState; }
534 inline State& getCurrentState() { return mCurrentState; }
719 State mCurrentState; member in class:android::Layer
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
H A DVideoView2ImplBase.java148 private int mCurrentState = STATE_IDLE; field in class:VideoView2ImplBase
198 mCurrentState = STATE_IDLE;
202 mCurrentState = STATE_PLAYING;
206 mCurrentState = STATE_PAUSED;
211 mCurrentState = STATE_PAUSED;
215 mCurrentState = STATE_PLAYBACK_COMPLETED;
660 if (mCurrentState == STATE_PREPARED) {
688 Log.d(TAG, "onTouchEvent(). mCurrentState=" + mCurrentState
757 Log.d(TAG, "onSurfaceCreated(). mCurrentState
[all...]
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
H A DVideoView2ImplBaseWithMp1.java143 private int mCurrentState = STATE_IDLE; field in class:VideoView2ImplBaseWithMp1
187 mCurrentState = STATE_IDLE;
191 mCurrentState = STATE_PLAYING;
195 mCurrentState = STATE_PAUSED;
200 mCurrentState = STATE_PAUSED;
204 mCurrentState = STATE_PLAYBACK_COMPLETED;
635 if (mCurrentState == STATE_PREPARED) {
663 Log.d(TAG, "onTouchEvent(). mCurrentState=" + mCurrentState
728 Log.d(TAG, "onSurfaceCreated(). mCurrentState
[all...]

Completed in 119 milliseconds