/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | VideoPreferenceTest.java | 62 private VideoPreference mVideoPreference; field in VideoPreferenceTest 70 mVideoPreference = new VideoPreference(mContext, null /* attrs */); in setUp() 71 mVideoPreference.mMediaPlayer = mMediaPlayer; in setUp() 81 mVideoPreference.mAnimationAvailable = true; in onBindViewHolder_hasCorrectRatio() 83 mVideoPreference.updateAspectRatio(); in onBindViewHolder_hasCorrectRatio() 84 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_hasCorrectRatio() 95 mVideoPreference.mAnimationAvailable = true; in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 96 mVideoPreference.mVideoReady = true; in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 97 mVideoPreference.onViewInvisible(); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 98 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | VideoPreferenceController.java | 31 private VideoPreference mVideoPreference; field in VideoPreferenceController 46 mVideoPreference = screen.findPreference(getPreferenceKey()); in displayPreference() 51 if (mVideoPreference != null) { in onPause() 52 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 53 mVideoPreference.onViewInvisible(); in onPause() 59 if (mVideoPreference != null) { in onResume() 60 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
|
D | RadioButtonPickerFragment.java | 63 private VideoPreference mVideoPreference; field in RadioButtonPickerFragment 262 mVideoPreference = new VideoPreference(getContext()); in addIllustration() 263 mVideoPreference.setVideo(mIllustrationId, mIllustrationPreviewId); in addIllustration() 264 screen.addPreference(mVideoPreference); in addIllustration()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | VideoPreferenceController.java | 31 private VideoPreference mVideoPreference; field in VideoPreferenceController 46 mVideoPreference = screen.findPreference(getPreferenceKey()); in displayPreference() 51 if (mVideoPreference != null) { in onPause() 52 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 53 mVideoPreference.onViewInvisible(); in onPause() 59 if (mVideoPreference != null) { in onResume() 60 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
|
D | RadioButtonPickerFragment.java | 63 private VideoPreference mVideoPreference; field in RadioButtonPickerFragment 262 mVideoPreference = new VideoPreference(getContext()); in addIllustration() 263 mVideoPreference.setVideo(mIllustrationId, mIllustrationPreviewId); in addIllustration() 264 screen.addPreference(mVideoPreference); in addIllustration()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GesturePreferenceController.java | 42 private VideoPreference mVideoPreference; field in GesturePreferenceController 54 mVideoPreference = screen.findPreference(getVideoPrefKey()); in displayPreference() 87 if (mVideoPreference != null) { in onPause() 88 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 89 mVideoPreference.onViewInvisible(); in onPause() 95 if (mVideoPreference != null) { in onResume() 96 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
|
D | PreventRingingGesturePreferenceController.java | 59 private VideoPreference mVideoPreference; field in PreventRingingGesturePreferenceController 94 mVideoPreference = screen.findPreference(getVideoPrefKey()); in displayPreference() 163 if (mVideoPreference != null) { in onResume() 164 mVideoPreference.onViewVisible(mVideoPaused); in onResume() 174 if (mVideoPreference != null) { in onPause() 175 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 176 mVideoPreference.onViewInvisible(); in onPause()
|
D | SystemNavigationGestureSettings.java | 104 private VideoPreference mVideoPreference; field in SystemNavigationGestureSettings 117 mVideoPreference = new VideoPreference(context); in onAttach() 118 setIllustrationVideo(mVideoPreference, getDefaultKey()); in onAttach() 119 mVideoPreference.setHeight( /* Illustration height in dp */ in onAttach() 135 screen.addPreference(mVideoPreference); in updateCandidates() 229 setIllustrationVideo(mVideoPreference, key); in setDefaultKey()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | GesturePreferenceController.java | 42 private VideoPreference mVideoPreference; field in GesturePreferenceController 54 mVideoPreference = screen.findPreference(getVideoPrefKey()); in displayPreference() 87 if (mVideoPreference != null) { in onPause() 88 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 89 mVideoPreference.onViewInvisible(); in onPause() 95 if (mVideoPreference != null) { in onResume() 96 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
|
D | PreventRingingGesturePreferenceController.java | 59 private VideoPreference mVideoPreference; field in PreventRingingGesturePreferenceController 94 mVideoPreference = screen.findPreference(getVideoPrefKey()); in displayPreference() 163 if (mVideoPreference != null) { in onResume() 164 mVideoPreference.onViewVisible(mVideoPaused); in onResume() 174 if (mVideoPreference != null) { in onPause() 175 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause() 176 mVideoPreference.onViewInvisible(); in onPause()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 123 protected VideoPreference mVideoPreference; field in ToggleScreenMagnificationPreferenceFragment 133 mVideoPreference = new VideoPreference(getPrefContext()); in onCreate() 134 mVideoPreference.setSelectable(false); in onCreate() 135 mVideoPreference.setPersistent(false); in onCreate() 136 mVideoPreference.setLayoutResource(R.layout.magnification_video_preference); in onCreate() 146 mVideoPreference.setOrder(0); in onCreate() 148 preferenceScreen.addPreference(mVideoPreference); in onCreate() 204 mVideoPreference.setVisible(true); in onProcessArguments() 208 mVideoPreference.setVisible(false); in onProcessArguments()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 132 protected VideoPreference mVideoPreference; field in ToggleScreenMagnificationPreferenceFragment 142 mVideoPreference = new VideoPreference(getPrefContext()); in onCreate() 143 mVideoPreference.setSelectable(false); in onCreate() 144 mVideoPreference.setPersistent(false); in onCreate() 145 mVideoPreference.setLayoutResource(R.layout.magnification_video_preference); in onCreate() 155 mVideoPreference.setOrder(0); in onCreate() 157 preferenceScreen.addPreference(mVideoPreference); in onCreate() 238 mVideoPreference.setVisible(true); in onProcessArguments() 242 mVideoPreference.setVisible(false); in onProcessArguments()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsVideoPreferenceController.java | 33 private VideoPreference mVideoPreference; field in FaceSettingsVideoPreferenceController 47 mVideoPreference = screen.findPreference(KEY_VIDEO); in displayPreference() 48 mVideoPreference.onViewVisible(false /* paused */); in displayPreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSettingsVideoPreferenceController.java | 33 private VideoPreference mVideoPreference; field in FaceSettingsVideoPreferenceController 47 mVideoPreference = screen.findPreference(KEY_VIDEO); in displayPreference() 48 mVideoPreference.onViewVisible(false /* paused */); in displayPreference()
|