Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreferenceController.java31 private VideoPreference mVideoPreference; field in VideoPreferenceController
39 return mVideoPreference != null && mVideoPreference.isAnimationAvailable() ? in getAvailabilityStatus()
45 mVideoPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
51 if (mVideoPreference != null) { in onStart()
52 mVideoPreference.onViewVisible(); in onStart()
58 if (mVideoPreference != null) { in onStop()
59 mVideoPreference.onViewInvisible(); in onStop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DVideoPreferenceTest.java65 private VideoPreference mVideoPreference; field in VideoPreferenceTest
75 mVideoPreference = new VideoPreference(mContext, null /* attrs */); in setUp()
76 mVideoPreference.mAnimationController = mAnimationController; in setUp()
86 mVideoPreference.mAnimationAvailable = true; in onBindViewHolder_hasCorrectRatio()
88 mVideoPreference.updateAspectRatio(); in onBindViewHolder_hasCorrectRatio()
89 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onBindViewHolder_hasCorrectRatio()
100 mVideoPreference.mAnimationAvailable = true; in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
101 mVideoPreference.onBindViewHolder(mPreferenceViewHolder); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
106 mVideoPreference.onViewInvisible(); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo()
114 mVideoPreference.onViewInvisible(); in onViewInvisible_shouldReleaseMediaplayer()
[all …]
/packages/apps/Settings/src/com/android/settings/gestures/
DGesturePreferenceController.java35 private VideoPreference mVideoPreference; field in GesturePreferenceController
47 mVideoPreference = screen.findPreference(getVideoPrefKey()); in displayPreference()
69 if (mVideoPreference != null) { in onStart()
70 mVideoPreference.onViewVisible(); in onStart()
76 if (mVideoPreference != null) { in onStop()
77 mVideoPreference.onViewInvisible(); in onStop()
DSystemNavigationGestureSettings.java96 private IllustrationPreference mVideoPreference; field in SystemNavigationGestureSettings
129 mVideoPreference = new IllustrationPreference(context); in onAttach()
133 mVideoPreference.applyDynamicColor(); in onAttach()
135 setIllustrationVideo(mVideoPreference, getDefaultKey()); in onAttach()
136 setIllustrationClickListener(mVideoPreference, getDefaultKey()); in onAttach()
152 screen.addPreference(mVideoPreference); in updateCandidates()
245 setIllustrationVideo(mVideoPreference, key); in setDefaultKey()
247 setIllustrationClickListener(mVideoPreference, key); in setDefaultKey()