/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GesturePreferenceController.java | 44 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()
|
D | PreventRingingGesturePreferenceController.java | 60 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/ |
D | GesturePreferenceController.java | 44 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()
|
D | PreventRingingGesturePreferenceController.java | 60 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/ |
D | VideoPreference.java | 53 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()
|
D | VideoPreferenceController.java | 32 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/ |
D | VideoPreference.java | 55 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()
|
D | VideoPreferenceController.java | 32 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/ |
D | GesturePreferenceControllerTest.java | 132 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()
|