Searched refs:mAnimationController (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | VideoPreferenceTest.java | 58 private VideoPreference.AnimationController mAnimationController; field in VideoPreferenceTest 73 mAnimationController = spy( in setUp() 76 mVideoPreference.mAnimationController = mAnimationController; in setUp() 77 when(mAnimationController.getVideoWidth()).thenReturn(VIDEO_WIDTH); in setUp() 78 when(mAnimationController.getVideoHeight()).thenReturn(VIDEO_HEIGHT); in setUp() 102 mAnimationController.attachView(video, fakePreview, fakePlayButton); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 103 when(mAnimationController.isPlaying()).thenReturn(false); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 109 verify(mAnimationController, never()).start(); in onSurfaceTextureUpdated_viewInvisible_shouldNotStartPlayingVideo() 116 verify(mAnimationController).release(); in onViewInvisible_shouldReleaseMediaplayer() 121 mAnimationController.start(); in updateViewStates_paused_updatesViews() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | VideoPreference.java | 45 AnimationController mAnimationController; field in VideoPreference 92 if (mAnimationController != null && mAnimationController.getDuration() > 0) { in initialize() 127 if (mAnimationController != null) { in onBindViewHolder() 128 mAnimationController.attachView(mVideo, mPreviewImage, mPlayButton); in onBindViewHolder() 168 mAnimationController = new VectorAnimationController(mContext, mVectorAnimationId); in initAnimationController() 172 mAnimationController = new MediaAnimationController(mContext, mAnimationId); in initAnimationController() 174 mAnimationController.attachView(mVideo, mPreviewImage, mPlayButton); in initAnimationController() 180 if (mAnimationController != null) { in releaseAnimationController() 181 mAnimationController.release(); in releaseAnimationController() 182 mAnimationController = null; in releaseAnimationController() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarStateHandler.java | 41 private @Nullable TaskbarAnimationController mAnimationController = null; field in TaskbarStateHandler 48 mAnimationController = callbacks; in setAnimationController() 63 if (mAnimationController == null) { in setState() 68 setter.setFloat(mAnimationController.getTaskbarVisibilityForLauncherState(), in setState() 70 setter.setFloat(mAnimationController.getTaskbarScaleForLauncherState(), in setState() 72 setter.setFloat(mAnimationController.getTaskbarTranslationYForLauncherState(), in setState()
|