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.java227 final WindowState mainWindow = top.findMainWindow(); in snapshotTask() local
228 if (mainWindow == null) { in snapshotTask()
270 final boolean isWindowTranslucent = mainWindow.getAttrs().format != PixelFormat.OPAQUE; in snapshotTask()
278 getInsets(mainWindow), isLowRamDevice /* reduced */, scaleFraction /* scale */, in snapshotTask()
341 final WindowState mainWindow = topChild.findMainWindow(); in drawAppThemeSnapshot() local
342 if (mainWindow == null) { in drawAppThemeSnapshot()
349 final LayoutParams attrs = mainWindow.getAttrs(); in drawAppThemeSnapshot()
352 final int width = mainWindow.getFrameLw().width(); in drawAppThemeSnapshot()
353 final int height = mainWindow.getFrameLw().height(); in drawAppThemeSnapshot()
360 decorPainter.setInsets(mainWindow.mContentInsets, mainWindow.mStableInsets); in drawAppThemeSnapshot()
[all …]
DRemoteAnimationController.java303 final WindowState mainWindow = mAppWindowToken.findMainWindow(); in createRemoteAppAnimation() local
304 if (task == null || mainWindow == null || mCapturedFinishCallback == null in createRemoteAppAnimation()
308 final Rect insets = new Rect(mainWindow.mContentInsets); in createRemoteAppAnimation()
312 mainWindow.mWinAnimator.mLastClipRect, insets, in createRemoteAppAnimation()
DTaskSnapshotSurface.java153 final WindowState mainWindow = token.findMainWindow(); in create() local
167 if (mainWindow == null || topFullscreenWindow == null) { in create()
176 layoutParams.packageName = mainWindow.getAttrs().packageName; in create()
177 layoutParams.windowAnimations = mainWindow.getAttrs().windowAnimations; in create()
178 layoutParams.dimAmount = mainWindow.getAttrs().dimAmount; in create()
DRecentsAnimationController.java566 final WindowState mainWindow = topApp != null in createRemoteAnimationApp() local
569 if (mainWindow == null) { in createRemoteAnimationApp()
572 final Rect insets = new Rect(mainWindow.mContentInsets); in createRemoteAnimationApp()
573 InsetUtils.addInsets(insets, mainWindow.mAppToken.getLetterboxInsets()); in createRemoteAnimationApp()
575 !topApp.fillsParent(), mainWindow.mWinAnimator.mLastClipRect, in createRemoteAnimationApp()
DWindowSurfacePlacer.java362 final WindowState mainWindow = wtoken != null ? wtoken.findMainWindow() : null; in getAnimLp() local
363 return mainWindow != null ? mainWindow.mAttrs : null; in getAnimLp()