Home
last modified time | relevance | path

Searched refs:pictureInPictureArgs (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java300 record.pictureInPictureArgs = params; in testEnterPipModeWhenRecordParentChangesToNull()
324 activity.pictureInPictureArgs = params; in testEnterPipModeWhenResumed_autoEnterEnabled_returnTrue()
340 activity.pictureInPictureArgs = params; in testEnterPipModeWhenResumed_autoEnterDisabled_returnTrue()
356 activity.pictureInPictureArgs = params; in testEnterPipModeWhenPausing_autoEnterEnabled_returnFalse()
372 activity.pictureInPictureArgs = params; in testEnterPipModeWhenPausing_autoEnterDisabled_returnTrue()
DActivityRecordTests.java2363 assertNotNull(activity.pictureInPictureArgs); in testLaunchIntoPip()
2364 assertTrue(activity.pictureInPictureArgs.isLaunchIntoPip()); in testLaunchIntoPip()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java1067 if (r.pictureInPictureArgs.hasSetAspectRatio() in ensureValidPictureInPictureActivityParams()
1069 && !r.pictureInPictureArgs.getAspectRatio().equals( in ensureValidPictureInPictureActivityParams()
1121 if (r.pictureInPictureArgs.isAutoEnterEnabled()) { in requestPictureInPictureMode()
1122 return mService.enterPictureInPictureMode(r, r.pictureInPictureArgs, in requestPictureInPictureMode()
DActivityRecord.java588 PictureInPictureParams pictureInPictureArgs = new PictureInPictureParams.Builder().build(); field in ActivityRecord
1802 return activityCanPip && pictureInPictureArgs != null in canAutoEnterPip()
1803 && pictureInPictureArgs.isAutoEnterEnabled(); in canAutoEnterPip()
2211 pictureInPictureArgs = options.getLaunchIntoPipParams(); in ActivityRecord()
10709 proto.write(PIP_AUTO_ENTER_ENABLED, pictureInPictureArgs.isAutoEnterEnabled());
11015 pictureInPictureArgs.copyOnlySet(p);
11096 if (pictureInPictureArgs != null && pictureInPictureArgs.hasSourceBoundsHint()) {
11097 pictureInPictureArgs.getSourceRectHint().offset(windowBounds.left, windowBounds.top);
DTransition.java1127 if (ar.pictureInPictureArgs != null && ar.pictureInPictureArgs.isAutoEnterEnabled()) { in checkEnterPipOnFinish()
1142 ar.pictureInPictureArgs, false /* fromClient */, true /* isAutoEnter */); in checkEnterPipOnFinish()
DTaskFragment.java1815 && prev.pictureInPictureArgs.isAutoEnterEnabled()) { in startPausing()
1835 prev, prev.pictureInPictureArgs, false /* fromClient */); in startPausing()
DWindowOrganizerController.java1247 (activity) -> activity.pictureInPictureArgs != null); in applyHierarchyOp()
1256 pipActivity.pictureInPictureArgs.isAutoEnterEnabled(); in applyHierarchyOp()
DTask.java3579 return (top == null || top.pictureInPictureArgs.empty())
3580 ? null : new PictureInPictureParams(top.pictureInPictureArgs);
DRootWindowContainer.java2248 rootTask.setBounds(r.pictureInPictureArgs.getSourceRectHint()); in moveActivityToPinnedRootTask()