Home
last modified time | relevance | path

Searched refs:mainWindow (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java297 final WindowState mainWindow = appWindowToken.findMainWindow(); in snapshotTask() local
298 if (mainWindow == null) { in snapshotTask()
311 final boolean isWindowTranslucent = mainWindow.getAttrs().format != PixelFormat.OPAQUE; in snapshotTask()
316 getInsets(mainWindow), isLowRamDevice /* reduced */, scaleFraction /* scale */, in snapshotTask()
379 final WindowState mainWindow = topChild.findMainWindow(); in drawAppThemeSnapshot() local
380 if (mainWindow == null) { in drawAppThemeSnapshot()
385 final LayoutParams attrs = mainWindow.getAttrs(); in drawAppThemeSnapshot()
397 decorPainter.setInsets(mainWindow.getContentInsets(), mainWindow.getStableInsets()); in drawAppThemeSnapshot()
409 getInsets(mainWindow), ActivityManager.isLowRamDeviceStatic() /* reduced */, in drawAppThemeSnapshot()
DRemoteAnimationController.java342 final WindowState mainWindow = mAppWindowToken.findMainWindow(); in createRemoteAnimationTarget() local
343 if (task == null || mainWindow == null || mAdapter == null in createRemoteAnimationTarget()
349 mainWindow.getContentInsets(insets); in createRemoteAnimationTarget()
353 mainWindow.mWinAnimator.mLastClipRect, insets, in createRemoteAnimationTarget()
DTaskSnapshotSurface.java160 final WindowState mainWindow = token.findMainWindow(); in create() local
174 if (mainWindow == null || topFullscreenWindow == null) { in create()
183 layoutParams.packageName = mainWindow.getAttrs().packageName; in create()
184 layoutParams.windowAnimations = mainWindow.getAttrs().windowAnimations; in create()
185 layoutParams.dimAmount = mainWindow.getAttrs().dimAmount; in create()
DRecentsAnimationController.java779 final WindowState mainWindow = topApp != null in createRemoteAnimationApp() local
782 if (mainWindow == null) { in createRemoteAnimationApp()
786 mainWindow.getContentInsets(insets); in createRemoteAnimationApp()
787 InsetUtils.addInsets(insets, mainWindow.mAppToken.getLetterboxInsets()); in createRemoteAnimationApp()
792 !topApp.fillsParent(), mainWindow.mWinAnimator.mLastClipRect, in createRemoteAnimationApp()
DAppTransitionController.java229 final WindowState mainWindow = wtoken != null ? wtoken.findMainWindow() : null; in getAnimLp() local
230 return mainWindow != null ? mainWindow.mAttrs : null; in getAnimLp()