Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/view/
DPixelCopy.java269 final Rect surfaceInsets = root.mWindowAttributes.surfaceInsets; in request() local
271 srcRect = new Rect(surfaceInsets.left, surfaceInsets.top, in request()
272 root.mWidth + surfaceInsets.left, root.mHeight + surfaceInsets.top); in request()
274 srcRect.offset(surfaceInsets.left, surfaceInsets.top); in request()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java406 Surface surface, Rect surfaceInsets) throws OutOfResourcesException { in initializeIfNeeded() argument
411 setup(width, height, attachInfo, surfaceInsets); in initializeIfNeeded()
477 void setup(int width, int height, AttachInfo attachInfo, Rect surfaceInsets) { in setup() argument
481 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 in setup()
482 || surfaceInsets.top != 0 || surfaceInsets.bottom != 0)) { in setup()
484 mInsetLeft = surfaceInsets.left; in setup()
485 mInsetTop = surfaceInsets.top; in setup()
486 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; in setup()
487 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom; in setup()
DWindowManager.java2195 public final Rect surfaceInsets = new Rect(); field in WindowManager.LayoutParams
2690 surfaceInsets.set(0, 0, 0, 0); in setSurfaceInsets()
2692 surfaceInsets.set( in setSurfaceInsets()
2693 Math.max(surfaceInset, surfaceInsets.left), in setSurfaceInsets()
2694 Math.max(surfaceInset, surfaceInsets.top), in setSurfaceInsets()
2695 Math.max(surfaceInset, surfaceInsets.right), in setSurfaceInsets()
2696 Math.max(surfaceInset, surfaceInsets.bottom)); in setSurfaceInsets()
2774 out.writeInt(surfaceInsets.left); in writeToParcel()
2775 out.writeInt(surfaceInsets.top); in writeToParcel()
2776 out.writeInt(surfaceInsets.right); in writeToParcel()
[all …]
DViewRootImpl.java1186 final Rect insets = attrs.surfaceInsets; in enableHardwareAcceleration()
1241 final int oldInsetLeft = mWindowAttributes.surfaceInsets.left; in setLayoutParams()
1242 final int oldInsetTop = mWindowAttributes.surfaceInsets.top; in setLayoutParams()
1243 final int oldInsetRight = mWindowAttributes.surfaceInsets.right; in setLayoutParams()
1244 final int oldInsetBottom = mWindowAttributes.surfaceInsets.bottom; in setLayoutParams()
1283 mWindowAttributes.surfaceInsets.set( in setLayoutParams()
1286 } else if (mWindowAttributes.surfaceInsets.left != oldInsetLeft in setLayoutParams()
1287 || mWindowAttributes.surfaceInsets.top != oldInsetTop in setLayoutParams()
1288 || mWindowAttributes.surfaceInsets.right != oldInsetRight in setLayoutParams()
1289 || mWindowAttributes.surfaceInsets.bottom != oldInsetBottom) { in setLayoutParams()
[all …]
DSurfaceView.java742 final Rect surfaceInsets = viewRoot.mWindowAttributes.surfaceInsets; in updateSurface() local
743 mScreenRect.offset(surfaceInsets.left, surfaceInsets.top); in updateSurface()
DView.java11180 location[0] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.left;
11181 location[1] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.top;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java477 && attrs.surfaceInsets.left == 0 in createSurfaceLocked()
478 && attrs.surfaceInsets.top == 0 in createSurfaceLocked()
479 && attrs.surfaceInsets.right == 0 in createSurfaceLocked()
480 && attrs.surfaceInsets.bottom == 0 in createSurfaceLocked()
564 outSize.inset(-attrs.surfaceInsets.left, -attrs.surfaceInsets.top, in calculateSurfaceBounds()
565 -attrs.surfaceInsets.right, -attrs.surfaceInsets.bottom); in calculateSurfaceBounds()
694 tmpMatrix.postTranslate(mWin.mAttrs.surfaceInsets.left, in computeShownFrameLocked()
695 mWin.mAttrs.surfaceInsets.top); in computeShownFrameLocked()
804 clipRect.offset(w.mAttrs.surfaceInsets.left, w.mAttrs.surfaceInsets.top); in calculateCrop()
870 final Rect insets = attrs.surfaceInsets; in setSurfaceBoundariesLocked()
DAppTransition.java1227 @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean freeform, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1246 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked()
1249 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked()
1361 @Nullable Rect surfaceInsets, int taskId) { in createAspectScaledThumbnailEnterFreeformAnimationLocked() argument
1363 return createAspectScaledThumbnailFreeformAnimationLocked(mTmpRect, frame, surfaceInsets, in createAspectScaledThumbnailEnterFreeformAnimationLocked()
1368 @Nullable Rect surfaceInsets, int taskId) { in createAspectScaledThumbnailExitFreeformAnimationLocked() argument
1370 return createAspectScaledThumbnailFreeformAnimationLocked(frame, mTmpRect, surfaceInsets, in createAspectScaledThumbnailExitFreeformAnimationLocked()
1375 Rect destFrame, @Nullable Rect surfaceInsets, boolean enter) { in createAspectScaledThumbnailFreeformAnimationLocked() argument
1383 final int surfaceInsetsH = surfaceInsets == null in createAspectScaledThumbnailFreeformAnimationLocked()
1384 ? 0 : surfaceInsets.left + surfaceInsets.right; in createAspectScaledThumbnailFreeformAnimationLocked()
[all …]
DWindowState.java748 mLastSurfaceInsets.set(mAttrs.surfaceInsets); in WindowState()
3555 mAttrs.surfaceInsets.writeToProto(proto, SURFACE_INSETS); in writeToProto()
3676 pw.println(prefix + " surface=" + mAttrs.surfaceInsets.toShortString(sTmpSB)); in dump()
4650 r.inset(-mAttrs.surfaceInsets.left, in expandForSurfaceInsets()
4651 -mAttrs.surfaceInsets.top, in expandForSurfaceInsets()
4652 -mAttrs.surfaceInsets.right, in expandForSurfaceInsets()
4653 -mAttrs.surfaceInsets.bottom); in expandForSurfaceInsets()
4657 return !mLastSurfaceInsets.equals(mAttrs.surfaceInsets); in surfaceInsetsChanging()
4836 x += displayParent.mWindowFrames.mFrame.left - displayParent.mAttrs.surfaceInsets.left in getTransformationMatrix()
4838 y += displayParent.mWindowFrames.mFrame.top - displayParent.mAttrs.surfaceInsets.top in getTransformationMatrix()
[all …]
DAppWindowToken.java2659 Rect surfaceInsets = null; in loadAnimation() local
2677 surfaceInsets = win.getAttrs().surfaceInsets; in loadAnimation()
2692 + " frame=" + frame + " insets=" + insets + " surfaceInsets=" + surfaceInsets); in loadAnimation()
2696 surfaceInsets, stableInsets, isVoiceInteraction, freeform, getTask().mTaskId); in loadAnimation()
DInputMonitor.java279 inputWindowHandle.surfaceInset = child.getAttrs().surfaceInsets.left; in populateInputWindowHandle()
DWindowManagerService.java2091 if (win.mAttrs.surfaceInsets.left != 0 in relayoutWindow()
2092 || win.mAttrs.surfaceInsets.top != 0 in relayoutWindow()
2093 || win.mAttrs.surfaceInsets.right != 0 in relayoutWindow()
2094 || win.mAttrs.surfaceInsets.bottom != 0) { in relayoutWindow()
/frameworks/base/core/java/android/widget/
DMagnifier.java532 final Rect surfaceInsets = viewRootImpl.mWindowAttributes.surfaceInsets; in obtainSurfaces() local
534 viewRootImpl.getWidth() + surfaceInsets.left + surfaceInsets.right; in obtainSurfaces()
536 viewRootImpl.getHeight() + surfaceInsets.top + surfaceInsets.bottom; in obtainSurfaces()
539 surfaceWidth, surfaceHeight, surfaceInsets, true); in obtainSurfaces()
597 final Rect surfaceInsets = mView.getViewRootImpl().mWindowAttributes.surfaceInsets; in obtainContentCoordinates() local
598 viewVisibleRegion.offset(surfaceInsets.left, surfaceInsets.top); in obtainContentCoordinates()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java841 mLayout.surfaceInsets.set(mIWallpaperEngine.mDisplayPadding); in updateSurface()
842 mLayout.surfaceInsets.left += mOutsets.left; in updateSurface()
843 mLayout.surfaceInsets.top += mOutsets.top; in updateSurface()
844 mLayout.surfaceInsets.right += mOutsets.right; in updateSurface()
845 mLayout.surfaceInsets.bottom += mOutsets.bottom; in updateSurface()
847 mLayout.surfaceInsets.set(0, 0, 0, 0); in updateSurface()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt79657 Landroid/view/WindowManager$LayoutParams;->surfaceInsets:Landroid/graphics/Rect;