Searched refs:mainWindow (Results 1 – 5 of 5) sorted by relevance
227 final WindowState mainWindow = top.findMainWindow(); in snapshotTask() local228 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() local342 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 …]
303 final WindowState mainWindow = mAppWindowToken.findMainWindow(); in createRemoteAppAnimation() local304 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()
153 final WindowState mainWindow = token.findMainWindow(); in create() local167 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()
566 final WindowState mainWindow = topApp != null in createRemoteAnimationApp() local569 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()
362 final WindowState mainWindow = wtoken != null ? wtoken.findMainWindow() : null; in getAnimLp() local363 return mainWindow != null ? mainWindow.mAttrs : null; in getAnimLp()