Home
last modified time | relevance | path

Searched refs:mTaskInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTaskViewTest.java67 ActivityManager.RunningTaskInfo mTaskInfo; field in TaskViewTest
90 mTaskInfo = new ActivityManager.RunningTaskInfo(); in setUp()
91 mTaskInfo.token = mToken; in setUp()
92 mTaskInfo.taskId = 314; in setUp()
93 mTaskInfo.taskDescription = mock(ActivityManager.TaskDescription.class); in setUp()
137 mTaskView.onTaskAppeared(mTaskInfo, mLeash); in testOnTaskAppeared_noSurface()
139 verify(mViewListener).onTaskCreated(eq(mTaskInfo.taskId), any()); in testOnTaskAppeared_noSurface()
142 verify(mViewListener).onTaskVisibilityChanged(eq(mTaskInfo.taskId), eq(false)); in testOnTaskAppeared_noSurface()
148 mTaskView.onTaskAppeared(mTaskInfo, mLeash); in testOnTaskAppeared_withSurface()
150 verify(mViewListener).onTaskCreated(eq(mTaskInfo.taskId), any()); in testOnTaskAppeared_withSurface()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java63 private TaskInfo mTaskInfo; field in PipAnimationControllerTest
82 .getAnimator(mTaskInfo, mLeash, new Rect(), 0f, 1f); in getAnimator_withAlpha_returnFloatAnimator()
91 .getAnimator(mTaskInfo, mLeash, new Rect(), new Rect(), new Rect(), null, in getAnimator_withBounds_returnBoundsAnimator()
105 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue1, null, in getAnimator_whenSameTypeRunning_updateExistingAnimator()
111 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue2, null, in getAnimator_whenSameTypeRunning_updateExistingAnimator()
123 .getAnimator(mTaskInfo, mLeash, new Rect(), 0f, 1f) in getAnimator_setTransitionDirection()
129 .getAnimator(mTaskInfo, mLeash, new Rect(), 0f, 1f) in getAnimator_setTransitionDirection()
142 .getAnimator(mTaskInfo, mLeash, null, startBounds, endBounds, null, in pipTransitionAnimator_rotatedEndValue()
154 animator = mPipAnimationController.getAnimator(mTaskInfo, mLeash, startBounds, startBounds, in pipTransitionAnimator_rotatedEndValue()
171 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue1, null, in pipTransitionAnimator_updateEndValue()
[all …]
/frameworks/base/core/java/android/window/
DTaskAppearedInfo.java34 private final RunningTaskInfo mTaskInfo; field in TaskAppearedInfo
56 mTaskInfo = taskInfo; in TaskAppearedInfo()
62 dest.writeTypedObject(mTaskInfo, flags); in writeToParcel()
76 return mTaskInfo; in getTaskInfo()
DTransitionInfo.java304 private ActivityManager.RunningTaskInfo mTaskInfo = null; field in TransitionInfo.Change
323 mTaskInfo = in.readTypedObject(ActivityManager.RunningTaskInfo.CREATOR); in Change()
363 mTaskInfo = taskInfo; in setTaskInfo()
432 return mTaskInfo; in getTaskInfo()
454 dest.writeTypedObject(mTaskInfo, flags); in writeToParcel()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DTaskView.java78 private ActivityManager.RunningTaskInfo mTaskInfo; field in TaskView
231 mTaskInfo = null; in resetTaskInfo()
242 final int taskId = mTaskInfo.taskId; in updateTaskVisibility()
252 mTaskInfo = taskInfo; in onTaskAppeared()
319 if (mTaskInfo.taskId != taskId) { in attachChildSurfaceToTask()
334 return "TaskView" + ":" + (mTaskInfo != null ? mTaskInfo.taskId : "null"); in toString()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java240 private ActivityManager.RunningTaskInfo mTaskInfo; field in PipTaskOrganizer
487 .getAnimator(mTaskInfo, mLeash, mPipBoundsState.getBounds(), in removePip()
515 mTaskInfo = info; in onTaskAppeared()
516 mToken = mTaskInfo.token; in onTaskAppeared()
519 mPictureInPictureParams = mTaskInfo.pictureInPictureParams; in onTaskAppeared()
520 setBoundsStateForEntry(mTaskInfo.topActivity, mPictureInPictureParams, in onTaskAppeared()
521 mTaskInfo.topActivityInfo); in onTaskAppeared()
523 mPipUiEventLoggerLogger.setTaskInfo(mTaskInfo); in onTaskAppeared()
555 final Rect currentBounds = mTaskInfo.configuration.windowConfiguration.getBounds(); in onTaskAppeared()
592 final Rect currentBounds = mTaskInfo.configuration.windowConfiguration.getBounds(); in onTaskAppearedWithFixedRotation()
[all …]
DPipAnimationController.java244 private final TaskInfo mTaskInfo; field in PipAnimationController.PipTransitionAnimator
265 mTaskInfo = taskInfo; in PipTransitionAnimator()
284 mPipAnimationCallback.onPipAnimationStart(mTaskInfo, this); in onAnimationStart()
300 mPipAnimationCallback.onPipAnimationEnd(mTaskInfo, tx, this); in onAnimationEnd()
308 mPipAnimationCallback.onPipAnimationCancel(mTaskInfo, this); in onAnimationCancel()