Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DRemoteAnimationController.java165 if (DEBUG_REMOTE_ANIMATIONS) Slog.d(TAG, "\tAdd token=" + wrappers.mAppWindowToken); in createAnimations()
169 + wrappers.mAppWindowToken); in createAnimations()
210 if (DEBUG_REMOTE_ANIMATIONS) Slog.d(TAG, "\t" + adapters.mAppWindowToken); in onAnimationFinished()
314 final AppWindowToken mAppWindowToken; field in RemoteAnimationController.RemoteAnimationRecord
319 mAppWindowToken = appWindowToken; in RemoteAnimationRecord()
335 final Task task = mAppWindowToken.getTask(); in createRemoteAnimationTarget()
336 final WindowState mainWindow = mAppWindowToken.findMainWindow(); in createRemoteAnimationTarget()
344 InsetUtils.addInsets(insets, mAppWindowToken.getLetterboxInsets()); in createRemoteAnimationTarget()
346 mAdapter.mCapturedLeash, !mAppWindowToken.fillsParent(), in createRemoteAnimationTarget()
348 mAppWindowToken.getPrefixOrderIndex(), mAdapter.mPosition, in createRemoteAnimationTarget()
[all …]
DActivityRecord.java265 AppWindowToken mAppWindowToken; field in ActivityRecord
867 if (mAppWindowToken == null) { in setWillCloseOrEnterPip()
871 mAppWindowToken.setWillCloseOrEnterPip(willCloseOrEnterPip); in setWillCloseOrEnterPip()
1099 if (mAppWindowToken != null) { in createAppWindowToken()
1100 throw new IllegalArgumentException("App Window Token=" + mAppWindowToken in createAppWindowToken()
1112 mAppWindowToken = mAtmService.mWindowManager.mRoot.getAppWindowToken(appToken.asBinder()); in createAppWindowToken()
1113 if (mAppWindowToken != null) { in createAppWindowToken()
1121 mAppWindowToken = createAppWindow(mAtmService.mWindowManager, appToken, in createAppWindowToken()
1130 + mAppWindowToken + " task=" + container + " at " in createAppWindowToken()
1133 container.addChild(mAppWindowToken, Integer.MAX_VALUE /* add on top */); in createAppWindowToken()
[all …]
DRecentsAnimation.java375 || controller.isTargetApp(stack.getTopActivity().mAppWindowToken)) in onStackOrderChanged()
DTaskRecord.java1273 mTask.positionChildAtTop(newTop.mAppWindowToken); in moveActivityToFrontLocked()
1351 if (r.mAppWindowToken != null) { in addActivityAtIndex()
1354 mTask.positionChildAt(r.mAppWindowToken, index); in addActivityAtIndex()
DActivityStack.java2307 final boolean dismissKeyguard = r.mAppWindowToken != null in checkKeyguardVisibility()
2308 && r.mAppWindowToken.containsDismissKeyguardWindow(); in checkKeyguardVisibility()
2674 && next.mAppWindowToken != null in resumeTopActivityInnerLocked()
2675 && next.mAppWindowToken.containsDismissKeyguardWindow(); in resumeTopActivityInnerLocked()
3195 if (r.mAppWindowToken == null) { in startActivityLocked()
DActivityStackSupervisor.java2132 final boolean animating = s.mAppWindowToken.isSelfAnimating(); in processStoppingActivitiesLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java257 mActivity.mAppWindowToken = mock(AppWindowToken.class); in testNotifiesSeqIncrementToAppToken()
258 doReturn(appWindowTokenRequestedOrientation).when(mActivity.mAppWindowToken) in testNotifiesSeqIncrementToAppToken()
267 verify(mActivity.mAppWindowToken).onMergedOverrideConfigurationChanged(); in testNotifiesSeqIncrementToAppToken()
356 }).when(mActivity.mAppWindowToken).setOrientation(anyInt(), any(), any()); in testSetRequestedOrientationUpdatesConfiguration()
466 .when(mActivity.mAppWindowToken).getOrientationIgnoreVisibility(); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()
513 when(mActivity.mAppWindowToken.getOrientationIgnoreVisibility()).thenReturn( in testSizeCompatMode_FixedScreenBoundsWhenDisplaySizeChanged()
611 when(mActivity.mAppWindowToken.getOrientationIgnoreVisibility()).thenReturn( in prepareFixedAspectRatioUnresizableActivity()
DActivityTestsBase.java281 activity.mAppWindowToken = mock(AppWindowToken.class); in build()
282 doCallRealMethod().when(activity.mAppWindowToken).getOrientationIgnoreVisibility(); in build()
283 doCallRealMethod().when(activity.mAppWindowToken) in build()
285 doCallRealMethod().when(activity.mAppWindowToken).setOrientation(anyInt()); in build()
287 doReturn(mock(Configuration.class)).when(activity.mAppWindowToken) in build()
DTaskRecordTests.java222 task.getRootActivity().mAppWindowToken.setOrientation(SCREEN_ORIENTATION_UNSPECIFIED); in testBoundsOnModeChangeFreeformToFullscreen()