Searched refs:mVideoPreference (Results 1 – 4 of 4) sorted by relevance
31 private VideoPreference mVideoPreference; field in VideoPreferenceController39 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()
65 private VideoPreference mVideoPreference; field in VideoPreferenceTest75 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 …]
35 private VideoPreference mVideoPreference; field in GesturePreferenceController47 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()
96 private IllustrationPreference mVideoPreference; field in SystemNavigationGestureSettings129 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()