Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/gestures/
DGesturePreferenceController.java44 boolean mVideoPaused; field in GesturePreferenceController
76 mVideoPaused = savedInstanceState.getBoolean(KEY_VIDEO_PAUSED, false); in onCreate()
82 outState.putBoolean(KEY_VIDEO_PAUSED, mVideoPaused); in onSaveInstanceState()
88 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
96 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
DPreventRingingGesturePreferenceController.java60 private boolean mVideoPaused; field in PreventRingingGesturePreferenceController
114 outState.putBoolean(KEY_VIDEO_PAUSED, mVideoPaused); in onSaveInstanceState()
152 mVideoPaused = savedInstanceState.getBoolean(KEY_VIDEO_PAUSED, false); in onCreate()
164 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
175 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DGesturePreferenceController.java44 boolean mVideoPaused; field in GesturePreferenceController
76 mVideoPaused = savedInstanceState.getBoolean(KEY_VIDEO_PAUSED, false); in onCreate()
82 outState.putBoolean(KEY_VIDEO_PAUSED, mVideoPaused); in onSaveInstanceState()
88 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
96 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
DPreventRingingGesturePreferenceController.java60 private boolean mVideoPaused; field in PreventRingingGesturePreferenceController
114 outState.putBoolean(KEY_VIDEO_PAUSED, mVideoPaused); in onSaveInstanceState()
152 mVideoPaused = savedInstanceState.getBoolean(KEY_VIDEO_PAUSED, false); in onCreate()
164 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
175 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DVideoPreference.java53 private boolean mVideoPaused; field in VideoPreference
159 if (!mVideoPaused && mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onBindViewHolder()
179 mVideoPaused = true; in updateViewStates()
184 mVideoPaused = false; in updateViewStates()
197 mVideoPaused = videoPaused; in onViewVisible()
247 return mVideoPaused; in isVideoPaused()
DVideoPreferenceController.java32 private boolean mVideoPaused; field in VideoPreferenceController
52 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
60 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java55 private boolean mVideoPaused; field in VideoPreference
168 if (!mVideoPaused && mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onBindViewHolder()
188 mVideoPaused = true; in updateViewStates()
193 mVideoPaused = false; in updateViewStates()
206 mVideoPaused = videoPaused; in onViewVisible()
260 return mVideoPaused; in isVideoPaused()
DVideoPreferenceController.java32 private boolean mVideoPaused; field in VideoPreferenceController
53 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
61 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DGesturePreferenceControllerTest.java132 assertThat(mController.mVideoPaused).isTrue(); in onPause_shouldUpdateVideoPauseState()
136 assertThat(mController.mVideoPaused).isFalse(); in onPause_shouldUpdateVideoPauseState()
143 mController.mVideoPaused = true; in onSaveInstanceState_shouldSaveVideoPauseState()
147 mController.mVideoPaused = false; in onSaveInstanceState_shouldSaveVideoPauseState()