Home
last modified time | relevance | path

Searched refs:surfaceInsets (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/
DThreadedRenderer.java431 Surface surface, Rect surfaceInsets) throws OutOfResourcesException { in initializeIfNeeded() argument
436 setup(width, height, attachInfo, surfaceInsets); in initializeIfNeeded()
515 void setup(int width, int height, AttachInfo attachInfo, Rect surfaceInsets) { in setup() argument
519 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 in setup()
520 || surfaceInsets.top != 0 || surfaceInsets.bottom != 0)) { in setup()
521 mInsetLeft = surfaceInsets.left; in setup()
522 mInsetTop = surfaceInsets.top; in setup()
523 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; in setup()
524 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom; in setup()
DWindowLayout.java335 final Rect surfaceInsets = attrs.surfaceInsets; in computeSurfaceSize() local
336 width += surfaceInsets.left + surfaceInsets.right; in computeSurfaceSize()
337 height += surfaceInsets.top + surfaceInsets.bottom; in computeSurfaceSize()
DWindowManager.java3864 public final Rect surfaceInsets = new Rect(); field in WindowManager.LayoutParams
4872 surfaceInsets.set(0, 0, 0, 0); in setSurfaceInsets()
4874 surfaceInsets.set( in setSurfaceInsets()
4875 Math.max(surfaceInset, surfaceInsets.left), in setSurfaceInsets()
4876 Math.max(surfaceInset, surfaceInsets.top), in setSurfaceInsets()
4877 Math.max(surfaceInset, surfaceInsets.right), in setSurfaceInsets()
4878 Math.max(surfaceInset, surfaceInsets.bottom)); in setSurfaceInsets()
5142 out.writeInt(surfaceInsets.left); in writeToParcel()
5143 out.writeInt(surfaceInsets.top); in writeToParcel()
5144 out.writeInt(surfaceInsets.right); in writeToParcel()
[all …]
DWindowlessWindowManager.java303 if (attrs.surfaceInsets != null && attrs.surfaceInsets.left != 0 || in isOpaque()
304 attrs.surfaceInsets.top != 0 || attrs.surfaceInsets.right != 0 || in isOpaque()
305 attrs.surfaceInsets.bottom != 0) { in isOpaque()
DViewRootImpl.java2014 final Rect insets = attrs.surfaceInsets;
2084 final int oldInsetLeft = mWindowAttributes.surfaceInsets.left;
2085 final int oldInsetTop = mWindowAttributes.surfaceInsets.top;
2086 final int oldInsetRight = mWindowAttributes.surfaceInsets.right;
2087 final int oldInsetBottom = mWindowAttributes.surfaceInsets.bottom;
2138 mWindowAttributes.surfaceInsets.set(
2141 } else if (mWindowAttributes.surfaceInsets.left != oldInsetLeft
2142 || mWindowAttributes.surfaceInsets.top != oldInsetTop
2143 || mWindowAttributes.surfaceInsets.right != oldInsetRight
2144 || mWindowAttributes.surfaceInsets.bottom != oldInsetBottom) {
[all …]
DSurfaceView.java1180 final Rect surfaceInsets = viewRoot.mWindowAttributes.surfaceInsets; in updateSurface() local
1181 mScreenRect.offset(surfaceInsets.left, surfaceInsets.top); in updateSurface()
DView.java13313 location[0] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.left;
13314 location[1] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.top;
/frameworks/base/graphics/java/android/view/
DPixelCopy.java291 final Rect surfaceInsets = root.mWindowAttributes.surfaceInsets; in sourceForWindow() local
292 outInsets.set(surfaceInsets.left, surfaceInsets.top, in sourceForWindow()
293 root.mWidth + surfaceInsets.left, root.mHeight + surfaceInsets.top); in sourceForWindow()
420 insets.set(root.mWindowAttributes.surfaceInsets); in ofWindow()
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java727 @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean freeform, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
746 containingFrame, surfaceInsets, startRect, defaultStartRect); in createAspectScaledThumbnailEnterExitAnimationLocked()
749 containingFrame, surfaceInsets, startRect, defaultStartRect); in createAspectScaledThumbnailEnterExitAnimationLocked()
1007 @Nullable Rect surfaceInsets, @Nullable Rect startRect, in createAspectScaledThumbnailEnterFreeformAnimationLocked() argument
1010 return createAspectScaledThumbnailFreeformAnimationLocked(mTmpRect, frame, surfaceInsets, in createAspectScaledThumbnailEnterFreeformAnimationLocked()
1015 @Nullable Rect surfaceInsets, @Nullable Rect startRect, in createAspectScaledThumbnailExitFreeformAnimationLocked() argument
1018 return createAspectScaledThumbnailFreeformAnimationLocked(frame, mTmpRect, surfaceInsets, in createAspectScaledThumbnailExitFreeformAnimationLocked()
1032 Rect destFrame, @Nullable Rect surfaceInsets, boolean enter) { in createAspectScaledThumbnailFreeformAnimationLocked() argument
1040 final int surfaceInsetsH = surfaceInsets == null in createAspectScaledThumbnailFreeformAnimationLocked()
1041 ? 0 : surfaceInsets.left + surfaceInsets.right; in createAspectScaledThumbnailFreeformAnimationLocked()
[all …]
/frameworks/base/core/java/android/widget/
DMagnifier.java634 final Rect surfaceInsets = viewRootImpl.mWindowAttributes.surfaceInsets; in obtainSurfaces() local
636 viewRootImpl.getWidth() + surfaceInsets.left + surfaceInsets.right; in obtainSurfaces()
638 viewRootImpl.getHeight() + surfaceInsets.top + surfaceInsets.bottom; in obtainSurfaces()
641 surfaceWidth, surfaceHeight, surfaceInsets, true); in obtainSurfaces()
699 final Rect surfaceInsets = mView.getViewRootImpl().mWindowAttributes.surfaceInsets; in obtainContentCoordinates() local
700 viewVisibleRegion.offset(surfaceInsets.left, surfaceInsets.top); in obtainContentCoordinates()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java679 Rect destFrame, @Nullable Rect surfaceInsets, boolean enter) { in createAspectScaledThumbnailFreeformAnimationLocked() argument
687 final int surfaceInsetsH = surfaceInsets == null in createAspectScaledThumbnailFreeformAnimationLocked()
688 ? 0 : surfaceInsets.left + surfaceInsets.right; in createAspectScaledThumbnailFreeformAnimationLocked()
689 final int surfaceInsetsV = surfaceInsets == null in createAspectScaledThumbnailFreeformAnimationLocked()
690 ? 0 : surfaceInsets.top + surfaceInsets.bottom; in createAspectScaledThumbnailFreeformAnimationLocked()
753 @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean isVoiceInteraction, in loadAnimation() argument
851 mNextAppTransitionScaleUp, orientation, transit, frame, insets, surfaceInsets, in loadAnimation()
DWindowState.java1098 mLastSurfaceInsets.set(mAttrs.surfaceInsets); in WindowState()
4060 mAttrs.surfaceInsets.dumpDebug(proto, SURFACE_INSETS); in dumpDebug()
4202 pw.println(prefix + " surface=" + mAttrs.surfaceInsets.toShortString(sTmpSB)); in dump()
4928 return !mLastSurfaceInsets.equals(mAttrs.surfaceInsets); in surfaceInsetsChanging()
5065 transformSurfaceInsetsPosition(mTmpPoint, mAttrs.surfaceInsets); in getTransformationMatrix()
5073 x += parentWindow.mWindowFrames.mFrame.left - parentWindow.mAttrs.surfaceInsets.left; in getTransformationMatrix()
5074 y += parentWindow.mWindowFrames.mFrame.top - parentWindow.mAttrs.surfaceInsets.top; in getTransformationMatrix()
5339 mLastSurfaceInsets.set(mAttrs.surfaceInsets); in updateSurfacePosition()
5375 transformSurfaceInsetsPosition(mTmpPoint, parent.mAttrs.surfaceInsets); in transformFrameToSurfacePosition()
5385 transformSurfaceInsetsPosition(mTmpPoint, mAttrs.surfaceInsets); in transformFrameToSurfacePosition()
[all …]
DWindowContainer.java3359 final Rect surfaceInsets = new Rect(); in loadAnimation() local
3360 getAnimationFrames(frame, insets, stableInsets, surfaceInsets); in loadAnimation()
3372 surfaceInsets); in loadAnimation()
3376 surfaceInsets, stableInsets, isVoiceInteraction, inFreeformWindowingMode(), this); in loadAnimation()
DInputMonitor.java290 inputWindowHandle.setSurfaceInset(w.mAttrs.surfaceInsets.left); in populateInputWindowHandle()
DWindowManagerService.java2468 if (win.mAttrs.surfaceInsets.left != 0 in relayoutWindowInner()
2469 || win.mAttrs.surfaceInsets.top != 0 in relayoutWindowInner()
2470 || win.mAttrs.surfaceInsets.right != 0 in relayoutWindowInner()
2471 || win.mAttrs.surfaceInsets.bottom != 0) { in relayoutWindowInner()
DDisplayContent.java4473 surfacePosition.offset(mImeTarget.mAttrs.surfaceInsets.left, in createImeSurface()
4474 mImeTarget.mAttrs.surfaceInsets.top); in createImeSurface()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1276 mLayout.surfaceInsets.set(mIWallpaperEngine.mDisplayPadding); in updateSurface()
1278 mLayout.surfaceInsets.set(0, 0, 0, 0); in updateSurface()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt64585 Landroid/view/WindowManager$LayoutParams;->surfaceInsets:Landroid/graphics/Rect;