Home
last modified time | relevance | path

Searched refs:mAppToken (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java51 closingWindow.mAppToken.commitVisibility(null, false /* visible */, TRANSIT_UNSET, in testGetClosingApps_closing()
54 closingApps.add(closingWindow.mAppToken); in testGetClosingApps_closing()
58 assertEquals(closingWindow.mAppToken.getTask(), closingTasks.valueAt(0)); in testGetClosingApps_closing()
67 closingWindow.mAppToken.commitVisibility(null, false /* visible */, TRANSIT_UNSET, in testGetClosingApps_notClosing()
69 openingWindow.mAppToken.commitVisibility(null, true /* visible */, TRANSIT_UNSET, in testGetClosingApps_notClosing()
72 closingApps.add(closingWindow.mAppToken); in testGetClosingApps_notClosing()
82 closingWindow.mAppToken.commitVisibility(null, false /* visible */, TRANSIT_UNSET, in testGetClosingApps_skipClosingAppsSnapshotTasks()
85 closingApps.add(closingWindow.mAppToken); in testGetClosingApps_skipClosingAppsSnapshotTasks()
88 Sets.newArraySet(closingWindow.mAppToken.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks()
97 disabledWindow.mAppToken.setDisablePreviewScreenshots(true); in testGetSnapshotMode()
DRemoteAnimationControllerTest.java90 mDisplayContent.mOpeningApps.add(win.mAppToken); in testRun()
92 final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mAppToken, in testRun()
106 assertEquals(win.mAppToken.getPrefixOrderIndex(), app.prefixOrderIndex); in testRun()
107 assertEquals(win.mAppToken.getTask().mTaskId, app.taskId); in testRun()
125 final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mAppToken, in testCancel()
138 final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mAppToken, in testTimeout()
157 win.mAppToken, new Point(50, 100), new Rect(50, 100, 150, 150), null).mAdapter; in testTimeout_scaled()
185 mController.createRemoteAnimationRecord(win.mAppToken, in testNotReallyStarted()
195 mController.createRemoteAnimationRecord(win1.mAppToken, in testOneNotStarted()
197 final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win2.mAppToken, in testOneNotStarted()
[all …]
DDisplayContentTests.java115 final AppWindowToken exitingAppToken = exitingAppWindow.mAppToken; in testForAllWindows()
365 window1.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays()
378 window2.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays()
392 window1.mAppToken.hiddenRequested = true; in doTestFocusedWindowMultipleDisplays()
393 window1.getDisplayContent().setFocusedApp(window1.mAppToken); in doTestFocusedWindowMultipleDisplays()
527 window.mAppToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testOrientationDefinedByKeyguard()
663 window.mAppToken.setOrientation(newOrientation); in testOnDescendantOrientationRequestChanged()
689 window.mAppToken.setOrientation(newOrientation); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
706 assertEquals(dc.mInputMethodTarget.mAppToken.getSurfaceControl(), in testComputeImeParent_app()
725 spyOn(mAppWindow.mAppToken); in testComputeImeParent_app_notMatchParentBounds()
[all …]
DAnimatingAppWindowTokenRegistryTest.java66 "window2").mAppToken; in testDeferring()
89 "window2").mAppToken; in testContainerRemoved()
DTaskSnapshotCacheTest.java57 mCache.onAppRemoved(window.mAppToken); in testAppRemoved()
68 mCache.onAppDied(window.mAppToken); in testAppDied()
DRefreshRatePolicyTest.java109 overrideWindow.mAppToken.mSurfaceAnimator.startAnimation( in testAnimatingAppOverride()
125 cameraUsingWindow.mAppToken.mSurfaceAnimator.startAnimation( in testAnimatingCamera()
DDisplayPolicyTests.java233 spyOn(mAppWindow.mAppToken); in testShouldRotateSeamlessly()
234 doReturn(false).when(mAppWindow.mAppToken).matchParentBounds(); in testShouldRotateSeamlessly()
DAppTransitionTests.java200 final AppWindowToken exitingAppToken = exitingAppWindow.mAppToken; in testCancelRemoteAnimationWhenFreeze()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowThumbnail.java51 private final AppWindowToken mAppToken; field in AppWindowThumbnail
76 mAppToken = appToken; in AppWindowThumbnail()
128 anim.scaleCurrentDuration(mAppToken.mWmService.getTransitionAnimationScaleLocked()); in startAnimation()
131 mAppToken.getDisplayContent().mAppTransition.canSkipFirstFrame(), in startAnimation()
132 mAppToken.getDisplayContent().getWindowCornerRadius()), in startAnimation()
133 mAppToken.mWmService.mSurfaceAnimationRunner), false /* hidden */); in startAnimation()
181 return mAppToken.getPendingTransaction(); in getPendingTransaction()
186 mAppToken.commitPendingTransaction(); in commitPendingTransaction()
193 t.reparent(leash, mAppToken.getSurfaceControl()); in onAnimationLeashCreated()
207 return mAppToken.makeSurface(); in makeAnimationLeash()
[all …]
DWallpaperController.java123 if (w.mAppToken != null && w.mAppToken.isHidden() && !w.mAppToken.isSelfAnimating()) {
140 final boolean keyguardGoingAwayWithWallpaper = (w.mAppToken != null
141 && w.mAppToken.isSelfAnimating()
142 && AppTransition.isKeyguardGoingAwayTransit(w.mAppToken.getTransit())
143 && (w.mAppToken.getTransitFlags()
153 || (w.mAppToken != null && !w.mAppToken.fillsParent());
164 final boolean animationWallpaper = w.mAppToken != null && w.mAppToken.getAnimation() != null
165 && w.mAppToken.getAnimation().getShowWallpaper();
228 + " animating=" + ((wallpaperTarget != null && wallpaperTarget.mAppToken != null) in isWallpaperVisible()
229 ? wallpaperTarget.mAppToken.isSelfAnimating() : null) in isWallpaperVisible()
[all …]
DWindowState.java249 AppWindowToken mAppToken; field in WindowState
693 && mAppToken != null && mAppToken.mTargetSdk < Build.VERSION_CODES.Q; in isImplicitlyExcludingAllSystemGestures()
743 mAppToken = mToken.asAppWindowToken(); in WindowState()
806 if (mAppToken != null && mAppToken.mShowForAllUsers) { in WindowState()
821 mAppToken != null ? mAppToken.mInputApplicationHandle : null, c, in WindowState()
837 || (mAppToken != null && mAppToken.inSizeCompatMode() in inSizeCompatMode()
952 if (mAppToken != null && !mAppToken.mFrozenBounds.isEmpty()) { in computeFrameLw()
956 Rect frozen = mAppToken.mFrozenBounds.peek(); in computeFrameLw()
1138 if (mAppToken != null) { in getBounds()
1139 return mAppToken.getBounds(); in getBounds()
[all …]
DWindowStateAnimator.java256 + (mWin.mAppToken != null ? mWin.mAppToken.reportedVisible : false)); in onAnimationFinished()
278 if (mWin.mAppToken != null) { in onAnimationFinished()
279 mWin.mAppToken.updateReportedVisibilityLocked(); in onAnimationFinished()
343 final AppWindowToken atoken = mWin.mAppToken; in commitFinishDrawingLocked()
387 if (mWin.mAppToken == null || mWin.mAppToken.isRelaunching() == false) { in destroyPreservedSurfaceLocked()
413 if (mWin.mAppToken == null) { in resetDrawState()
417 if (!mWin.mAppToken.isSelfAnimating()) { in resetDrawState()
418 mWin.mAppToken.clearAllDrawn(); in resetDrawState()
422 mWin.mAppToken.deferClearAllDrawn = true; in resetDrawState()
573 final AppWindowToken wtoken = mWin.mAppToken; in destroySurfaceLocked()
DAppTransitionController.java583 && !openingApps.contains(oldWallpaper.mAppToken) in maybeUpdateTransitToWallpaper()
584 && closingApps.contains(oldWallpaper.mAppToken) in maybeUpdateTransitToWallpaper()
585 && topClosingApp == oldWallpaper.mAppToken) { in maybeUpdateTransitToWallpaper()
591 && openingApps.contains(wallpaperTarget.mAppToken) in maybeUpdateTransitToWallpaper()
592 && topOpeningApp == wallpaperTarget.mAppToken in maybeUpdateTransitToWallpaper()
724 final AppWindowToken wtoken = win.mAppToken; in processApplicationsAnimatingInPlace()
DTaskPositioningController.java175 && displayContent.mCurrentFocus.mAppToken == win.mAppToken) { in startPositioningLocked()
DInputMonitor.java263 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false; in populateInputWindowHandle()
479 && recentsAnimationController.shouldApplyInputConsumer(w.mAppToken)) { in accept()
DLetterbox.java174 final String name = namePrefix + (win.mAppToken != null ? win.mAppToken : win); in InputInterceptor()
DDisplayContent.java592 final AppWindowToken atoken = w.mAppToken;
613 final AnimationAdapter anim = w.mAppToken != null
614 ? w.mAppToken.getAnimation()
647 final AppWindowToken wtoken = w.mAppToken;
698 final AppWindowToken atoken = w.mAppToken;
733 if (w.mAppToken != null) {
734 w.mAppToken.layoutLetterbox(w);
871 final AppWindowToken atoken = w.mAppToken;
3224 } else if (w.mAppToken != null && w.mAppToken.isClientHidden()) { in destroyLeakedSurfaces()
3227 + " token=" + w.mAppToken); in destroyLeakedSurfaces()
[all …]
DRecentsAnimationController.java696 return w != null && w.mAppToken != null && mTargetAppToken == w.mAppToken in isWallpaperVisible()
787 InsetUtils.addInsets(insets, mainWindow.mAppToken.getLetterboxInsets()); in createRemoteAnimationApp()
DRootWindowContainer.java149 final AppWindowToken aToken = w.mAppToken;
178 mTopFocusedAppByProcess.put(pidOfNewFocus, newFocus.mAppToken); in updateFocusedWindowLocked()
547 if (winAnimator.mWin.mAppToken != null) { in reclaimSomeSurfaceMemory()
548 winAnimator.mWin.mAppToken.removeStartingWindow(); in reclaimSomeSurfaceMemory()
DInputManagerCallback.java79 appWindowToken = windowState.mAppToken; in notifyANR()
DWindowManagerService.java1594 if (win.mAppToken == null || !win.mAppToken.isClientHidden()) { in addWindow()
1681 return attachedWindow.mAppToken != null in doesAddToastWindowRequireToken()
1682 && attachedWindow.mAppToken.mTargetSdk >= Build.VERSION_CODES.O; in doesAddToastWindowRequireToken()
1813 final AppWindowToken atoken = win.mAppToken; in postWindowRemoveCleanupLocked()
1845 if (win.mAppToken != null) { in postWindowRemoveCleanupLocked()
1846 win.mAppToken.updateReportedVisibilityLocked(); in postWindowRemoveCleanupLocked()
2061 if (win.mAppToken != null && ((flagChanges & FLAG_SHOW_WHEN_LOCKED) != 0 in relayoutWindow()
2063 win.mAppToken.checkKeyguardFlagsChanged(); in relayoutWindow()
2135 (win.mAppToken == null || win.mAttrs.type == TYPE_APPLICATION_STARTING in relayoutWindow()
2136 || !win.mAppToken.isClientHidden()); in relayoutWindow()
[all …]
DDragState.java437 return targetWin.mAppToken == null in targetWindowSupportsGlobalDrag()
438 || targetWin.mAppToken.mTargetSdk >= Build.VERSION_CODES.N; in targetWindowSupportsGlobalDrag()
/frameworks/base/services/core/java/com/android/server/policy/
DSplashScreenSurface.java40 private final IBinder mAppToken; field in SplashScreenSurface
44 mAppToken = appToken; in SplashScreenSurface()
49 if (DEBUG_SPLASH_SCREEN) Slog.v(TAG, "Removing splash screen window for " + mAppToken + ": " in remove()
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java199 private final IBinder mAppToken; field in VirtualDisplayAdapter.VirtualDisplayDevice
223 mAppToken = appToken; in VirtualDisplayDevice()
243 handleBinderDiedLocked(mAppToken); in binderDied()
450 private IBinder mAppToken; field in VirtualDisplayAdapter.MediaProjectionCallback
452 mAppToken = appToken; in MediaProjectionCallback()
458 handleMediaProjectionStoppedLocked(mAppToken); in onStop()
/frameworks/base/core/java/android/view/
DWindow.java290 private IBinder mAppToken; field in Window
772 mAppToken = appToken; in setWindowManager()
829 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken; in adjustLayoutParamsForSubWindow()

12