Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowAnimator.java49 final AppWindowToken mAppToken; field in AppWindowAnimator
119 mAppToken = atoken; in AppWindowAnimator()
127 if (WindowManagerService.localLOGV) Slog.v(TAG, "Setting animation in " + mAppToken in setAnimation()
129 + " hasContentToDisplay=" + mAppToken.hasContentToDisplay()); in setAnimation()
151 transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); in setAnimation()
159 if (!mAppToken.fillsParent()) { in setAnimation()
170 if (WindowManagerService.localLOGV) Slog.v(TAG, "Setting dummy animation in " + mAppToken in setDummyAnimation()
171 + " hasContentToDisplay=" + mAppToken.hasContentToDisplay()); in setDummyAnimation()
175 transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); in setDummyAnimation()
189 if (mAppToken.deferClearAllDrawn) { in clearAnimation()
[all …]
DWindowLayersController.java93 if (w.mAppToken != null) {
131 + " mLayer=" + w.mLayer + (w.mAppToken == null in logDebugLayers()
132 ? "" : " mAppLayer=" + w.mAppToken.getAnimLayerAdjustment()) in logDebugLayers()
173 } else if (mAboveImeTarget && w.mAppToken != null) { in collectSpecialWindows()
228 if (mImeTarget.mAppToken == null) { in adjustSpecialWindows()
260 if (w.mAppToken != null && w.mAppToken.mAppAnimator.thumbnailForceAboveLayer > 0) { in assignAnimLayer()
261 if (w.mWinAnimator.mAnimLayer > w.mAppToken.mAppAnimator.thumbnailForceAboveLayer) { in assignAnimLayer()
262 w.mAppToken.mAppAnimator.thumbnailForceAboveLayer = w.mWinAnimator.mAnimLayer; in assignAnimLayer()
266 int highestLayer = w.mAppToken.getHighestAnimLayer(); in assignAnimLayer()
268 if (w.mAppToken.mAppAnimator.thumbnail != null in assignAnimLayer()
[all …]
DWallpaperController.java113 if (w != winAnimator.mWindowDetachedWallpaper && w.mAppToken != null) {
115 if (w.mAppToken.hidden && w.mAppToken.mAppAnimator.animation == null) {
132 final boolean keyguardGoingAwayWithWallpaper = (w.mAppToken != null
134 w.mAppToken.mAppAnimator.getTransit())
135 && (w.mAppToken.mAppAnimator.getTransitFlags()
145 || (w.mAppToken != null && !w.mAppToken.fillsParent());
207 + " anim=" + ((wallpaperTarget != null && wallpaperTarget.mAppToken != null) in isWallpaperVisible()
208 ? wallpaperTarget.mAppToken.mAppAnimator.animation : null) in isWallpaperVisible()
211 && (!wallpaperTarget.mObscured || (wallpaperTarget.mAppToken != null in isWallpaperVisible()
212 && wallpaperTarget.mAppToken.mAppAnimator.animation != null))) in isWallpaperVisible()
[all …]
DWindowState.java180 AppWindowToken mAppToken; field in WindowState
591 mAppToken = mToken.asAppWindowToken(); in WindowState()
652 if (mAppToken != null && mAppToken.mShowForAllUsers) { in WindowState()
669 mAppToken != null ? mAppToken.mInputApplicationHandle : null, this, c, in WindowState()
755 if (mAppToken != null && !mAppToken.mFrozenBounds.isEmpty()) { in computeFrameLw()
759 Rect frozen = mAppToken.mFrozenBounds.peek(); in computeFrameLw()
1061 return mAppToken != null ? mAppToken.appToken : null; in getAppToken()
1066 return mAppToken != null && mAppToken.mVoiceInteraction; in isVoiceInteraction()
1147 if (mAppToken != null && mAppDied) { in updateResizingWindowIfNeeded()
1148 mAppToken.removeDeadWindows(); in updateResizingWindowIfNeeded()
[all …]
DWindowStateAnimator.java259 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; in WindowStateAnimator()
334 && mService.mOpeningApps.contains(mWin.mAppToken); in isWaitingForOpening()
447 + (mWin.mAppToken != null ? mWin.mAppToken.reportedVisible : false)); in stepAnimationLocked()
480 if (mWin.mAppToken != null) { in stepAnimationLocked()
481 mWin.mAppToken.updateReportedVisibilityLocked(); in stepAnimationLocked()
536 final AppWindowToken atoken = mWin.mAppToken; in commitFinishDrawingLocked()
576 if (mWin.mAppToken == null || mWin.mAppToken.isRelaunching() == false) { in destroyPreservedSurfaceLocked()
609 if (mWin.mAppToken == null) { in resetDrawState()
613 if (mWin.mAppToken.mAppAnimator.animation == null) { in resetDrawState()
614 mWin.mAppToken.clearAllDrawn(); in resetDrawState()
[all …]
DDisplayContent.java347 final AppWindowToken atoken = w.mAppToken;
440 final AppWindowToken wtoken = w.mAppToken;
494 final AppWindowToken atoken = w.mAppToken;
512 (w.mHasSurface && w.mAppToken != null &&
513 w.mAppToken.layoutConfigChanges)))) {
698 final AppWindowToken atoken = w.mAppToken;
1061 if (w.mAppToken != null) { in updateRotationUnchecked()
1062 w.mAppToken.destroySavedSurfaces(); in updateRotationUnchecked()
2291 } else if (w.mAppToken != null && w.mAppToken.isClientHidden()) { in destroyLeakedSurfaces()
2294 + " token=" + w.mAppToken in destroyLeakedSurfaces()
[all …]
DRootWindowContainer.java151 final AppWindowToken aToken = w.mAppToken;
528 if (winAnimator.mWin.mAppToken != null in reclaimSomeSurfaceMemory()
529 && winAnimator.mWin.mAppToken.getController() != null) { in reclaimSomeSurfaceMemory()
530 winAnimator.mWin.mAppToken.getController().removeStartingWindow(); in reclaimSomeSurfaceMemory()
659 if (win.mAppToken != null) { in performSurfacePlacement()
660 win.mAppToken.destroySavedSurfaces(); in performSurfacePlacement()
DWindowSurfacePlacer.java627 && !openingApps.contains(oldWallpaper.mAppToken) in maybeUpdateTransitToWallpaper()
628 && closingApps.contains(oldWallpaper.mAppToken)) { in maybeUpdateTransitToWallpaper()
634 openingApps.contains(wallpaperTarget.mAppToken)) { in maybeUpdateTransitToWallpaper()
661 final AppWindowToken wtoken = win.mAppToken; in processApplicationsAnimatingInPlace()
DInputMonitor.java228 appWindowToken = windowState.mAppToken; in notifyANR()
313 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false; in addInputWindowHandle()
DWindowManagerService.java1513 if (win.mAppToken == null || !win.mAppToken.isClientHidden()) { in addWindow()
1562 return attachedWindow.mAppToken != null in doesAddToastWindowRequireToken()
1563 && attachedWindow.mAppToken.mTargetSdk >= Build.VERSION_CODES.O; in doesAddToastWindowRequireToken()
1719 final AppWindowToken atoken = win.mAppToken; in postWindowRemoveCleanupLocked()
1752 if (win.mAppToken != null) { in postWindowRemoveCleanupLocked()
1753 win.mAppToken.updateReportedVisibilityLocked(); in postWindowRemoveCleanupLocked()
1945 if (win.mAppToken != null && ((flagChanges & FLAG_SHOW_WHEN_LOCKED) != 0 in relayoutWindow()
1947 win.mAppToken.checkKeyguardFlagsChanged(); in relayoutWindow()
1999 (win.mAppToken == null || win.mAttrs.type == TYPE_APPLICATION_STARTING in relayoutWindow()
2000 || !win.mAppToken.isClientHidden())) { in relayoutWindow()
[all …]
DDragState.java329 return targetWin.mAppToken == null in targetWindowSupportsGlobalDrag()
330 || targetWin.mAppToken.mTargetSdk >= Build.VERSION_CODES.N; in targetWindowSupportsGlobalDrag()
DTaskStack.java1644 appAnimator.mAppToken.setAppLayoutChanges(FINISH_LAYOUT_REDO_WALLPAPER, in stepAppWindowsAnimation()
1645 "exiting appToken " + appAnimator.mAppToken + " done"); in stepAppWindowsAnimation()
1647 "updateWindowsApps...: done animating exiting " + appAnimator.mAppToken); in stepAppWindowsAnimation()
DDimLayerController.java152 if (state.animator.mWin.mAppToken == null && !dimLayerUser.dimFullscreen()) { in startDimmingIfNeeded()
DAppWindowContainerController.java469 final AppWindowToken focusedToken = win.mAppToken; in setVisibility()
DAppTransition.java411 topOpeningAppAnimator != null ? topOpeningAppAnimator.mAppToken.token : null, in goodToGo()
412 topClosingAppAnimator != null ? topClosingAppAnimator.mAppToken.token : null, in goodToGo()
DAppWindowToken.java1196 tStartingWindow.mAppToken = this; in transferStartingWindow()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java49 closingWindow.mAppToken.setVisibility(null, false /* visible */, TRANSIT_UNSET, in testGetClosingApps_closing()
52 closingApps.add(closingWindow.mAppToken); in testGetClosingApps_closing()
56 assertEquals(closingWindow.mAppToken.getTask(), closingTasks.valueAt(0)); in testGetClosingApps_closing()
65 closingWindow.mAppToken.setVisibility(null, false /* visible */, TRANSIT_UNSET, in testGetClosingApps_notClosing()
67 openingWindow.mAppToken.setVisibility(null, true /* visible */, TRANSIT_UNSET, in testGetClosingApps_notClosing()
70 closingApps.add(closingWindow.mAppToken); in testGetClosingApps_notClosing()
80 disabledWindow.mAppToken.setDisablePreviewScreenshots(true); in testGetSnapshotMode()
DTaskSnapshotCacheTest.java55 mCache.onAppRemoved(window.mAppToken); in testAppRemoved()
66 mCache.onAppDied(window.mAppToken); in testAppDied()
DDisplayContentTests.java58 final AppWindowToken exitingAppToken = exitingAppWindow.mAppToken; in testForAllWindows()
/frameworks/base/services/core/java/com/android/server/policy/
DSplashScreenSurface.java41 private final IBinder mAppToken; field in SplashScreenSurface
45 mAppToken = appToken; in SplashScreenSurface()
50 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.java189 private final IBinder mAppToken; field in VirtualDisplayAdapter.VirtualDisplayDevice
212 mAppToken = appToken; in VirtualDisplayDevice()
231 handleBinderDiedLocked(mAppToken); in binderDied()
418 private IBinder mAppToken; field in VirtualDisplayAdapter.MediaProjectionCallback
420 mAppToken = appToken; in MediaProjectionCallback()
426 handleMediaProjectionStoppedLocked(mAppToken); in onStop()
/frameworks/base/core/java/android/view/
DWindow.java283 private IBinder mAppToken; field in Window
762 mAppToken = appToken; in setWindowManager()
820 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken; in adjustLayoutParamsForSubWindow()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java200 final IBinder mAppToken; field in AppOpsService.ClientState
205 mAppToken = appToken; in ClientState()
213 mAppToken.linkToDeath(this, 0); in ClientState()
222 "mAppToken=" + mAppToken + in toString()
233 mClients.remove(mAppToken); in binderDied()