Home
last modified time | relevance | path

Searched refs:mViewListener (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
DTaskViewTest.java81 TaskView.Listener mViewListener; field in TaskViewTest
144 mTaskView.setListener(mExecutor, mViewListener); in setUp()
158 taskView.setListener(mExecutor, mViewListener); in testSetPendingListener_throwsException()
160 taskView.setListener(mExecutor, mViewListener); in testSetPendingListener_throwsException()
183 verify(mViewListener).onTaskCreated(eq(mTaskInfo.taskId), any()); in testOnTaskAppeared_noSurface_legacyTransitions()
184 verify(mViewListener, never()).onInitialized(); in testOnTaskAppeared_noSurface_legacyTransitions()
186 verify(mViewListener).onTaskVisibilityChanged(eq(mTaskInfo.taskId), eq(false)); in testOnTaskAppeared_noSurface_legacyTransitions()
195 verify(mViewListener).onTaskCreated(eq(mTaskInfo.taskId), any()); in testOnTaskAppeared_withSurface_legacyTransitions()
197 verify(mViewListener, never()).onTaskVisibilityChanged(anyInt(), anyBoolean()); in testOnTaskAppeared_withSurface_legacyTransitions()
205 verify(mViewListener).onInitialized(); in testSurfaceCreated_noTask_legacyTransitions()
[all …]
/frameworks/base/graphics/java/android/graphics/animation/
DRenderNodeAnimator.java67 private ViewListener mViewListener; field in RenderNodeAnimator
194 if (mRenderProperty == RenderNodeAnimator.ALPHA && mViewListener != null) { in doStart()
195 mViewListener.onAlphaAnimationStart(mFinalValue); in doStart()
200 if (mViewListener != null) { in doStart()
202 mViewListener.invalidateParent(false); in doStart()
249 if (mViewListener != null) { in end()
251 mViewListener.invalidateParent(false); in end()
272 mViewListener = listener; in setViewListener()