Home
last modified time | relevance | path

Searched refs:mVideoPreference (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DVideoPreferenceTest.java62 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/
DVideoPreferenceController.java31 private VideoPreference mVideoPreference; field in VideoPreferenceController
40 return mVideoPreference != null && mVideoPreference.isAnimationAvailable() ? in getAvailabilityStatus()
46 mVideoPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
52 if (mVideoPreference != null) { in onPause()
53 mVideoPaused = mVideoPreference.isVideoPaused(); in onPause()
54 mVideoPreference.onViewInvisible(); in onPause()
60 if (mVideoPreference != null) { in onResume()
61 mVideoPreference.onViewVisible(mVideoPaused); in onResume()
DRadioButtonPickerFragment.java63 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/
DVideoPreferenceController.java31 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()
DRadioButtonPickerFragment.java63 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/
DGesturePreferenceController.java42 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()
DPreventRingingGesturePreferenceController.java59 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()
DSystemNavigationGestureSettings.java103 private VideoPreference mVideoPreference; field in SystemNavigationGestureSettings
116 mVideoPreference = new VideoPreference(context); in onAttach()
117 setIllustrationVideo(mVideoPreference, getDefaultKey()); in onAttach()
118 mVideoPreference.setHeight( /* Illustration height in dp */ in onAttach()
134 screen.addPreference(mVideoPreference); in updateCandidates()
214 setIllustrationVideo(mVideoPreference, key); in setDefaultKey()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DGesturePreferenceController.java42 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()
DPreventRingingGesturePreferenceController.java59 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/
DToggleScreenMagnificationPreferenceFragment.java123 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/
DToggleScreenMagnificationPreferenceFragment.java132 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/
DFaceSettingsVideoPreferenceController.java33 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/
DFaceSettingsVideoPreferenceController.java33 private VideoPreference mVideoPreference; field in FaceSettingsVideoPreferenceController
47 mVideoPreference = screen.findPreference(KEY_VIDEO); in displayPreference()
48 mVideoPreference.onViewVisible(false /* paused */); in displayPreference()