/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 1488 public final Rect surfaceInsets = new Rect(); field in WindowManager.LayoutParams 1831 surfaceInsets.set(0, 0, 0, 0); in setSurfaceInsets() 1833 surfaceInsets.set( in setSurfaceInsets() 1834 Math.max(surfaceInset, surfaceInsets.left), in setSurfaceInsets() 1835 Math.max(surfaceInset, surfaceInsets.top), in setSurfaceInsets() 1836 Math.max(surfaceInset, surfaceInsets.right), in setSurfaceInsets() 1837 Math.max(surfaceInset, surfaceInsets.bottom)); in setSurfaceInsets() 1889 out.writeInt(surfaceInsets.left); in writeToParcel() 1890 out.writeInt(surfaceInsets.top); in writeToParcel() 1891 out.writeInt(surfaceInsets.right); in writeToParcel() [all …]
|
D | ThreadedRenderer.java | 456 Surface surface, Rect surfaceInsets) throws OutOfResourcesException { in initializeIfNeeded() argument 461 setup(width, height, attachInfo, surfaceInsets); in initializeIfNeeded() 538 void setup(int width, int height, AttachInfo attachInfo, Rect surfaceInsets) { in setup() argument 542 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 in setup() 543 || surfaceInsets.top != 0 || surfaceInsets.bottom != 0)) { in setup() 545 mInsetLeft = surfaceInsets.left; in setup() 546 mInsetTop = surfaceInsets.top; in setup() 547 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; in setup() 548 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom; in setup()
|
D | ViewRootImpl.java | 874 final Rect insets = attrs.surfaceInsets; in enableHardwareAcceleration() 898 final int oldInsetLeft = mWindowAttributes.surfaceInsets.left; in setLayoutParams() 899 final int oldInsetTop = mWindowAttributes.surfaceInsets.top; in setLayoutParams() 900 final int oldInsetRight = mWindowAttributes.surfaceInsets.right; in setLayoutParams() 901 final int oldInsetBottom = mWindowAttributes.surfaceInsets.bottom; in setLayoutParams() 940 mWindowAttributes.surfaceInsets.set( in setLayoutParams() 943 } else if (mWindowAttributes.surfaceInsets.left != oldInsetLeft in setLayoutParams() 944 || mWindowAttributes.surfaceInsets.top != oldInsetTop in setLayoutParams() 945 || mWindowAttributes.surfaceInsets.right != oldInsetRight in setLayoutParams() 946 || mWindowAttributes.surfaceInsets.bottom != oldInsetBottom) { in setLayoutParams() [all …]
|
D | View.java | 7898 location[0] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.left; in getLocationInSurface() 7899 location[1] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.top; in getLocationInSurface()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowStateAnimator.java | 741 && attrs.surfaceInsets.left == 0 in createSurfaceLocked() 742 && attrs.surfaceInsets.top == 0 in createSurfaceLocked() 743 && attrs.surfaceInsets.right == 0 in createSurfaceLocked() 744 && attrs.surfaceInsets.bottom == 0 in createSurfaceLocked() 831 mTmpSize.left -= attrs.surfaceInsets.left; in calculateSurfaceBounds() 832 mTmpSize.top -= attrs.surfaceInsets.top; in calculateSurfaceBounds() 833 mTmpSize.right += attrs.surfaceInsets.right; in calculateSurfaceBounds() 834 mTmpSize.bottom += attrs.surfaceInsets.bottom; in calculateSurfaceBounds() 930 final int surfaceInsetLeft = mWin.mAttrs.surfaceInsets.left; in applyMagnificationSpec() 931 final int surfaceInsetTop = mWin.mAttrs.surfaceInsets.top; in applyMagnificationSpec() [all …]
|
D | AppTransition.java | 1061 @Nullable Rect surfaceInsets, boolean freeform, int taskId) { in createAspectScaledThumbnailEnterExitAnimationLocked() argument 1079 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked() 1082 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked() 1185 @Nullable Rect surfaceInsets, int taskId) { in createAspectScaledThumbnailEnterFreeformAnimationLocked() argument 1187 return createAspectScaledThumbnailFreeformAnimationLocked(mTmpRect, frame, surfaceInsets, in createAspectScaledThumbnailEnterFreeformAnimationLocked() 1192 @Nullable Rect surfaceInsets, int taskId) { in createAspectScaledThumbnailExitFreeformAnimationLocked() argument 1194 return createAspectScaledThumbnailFreeformAnimationLocked(frame, mTmpRect, surfaceInsets, in createAspectScaledThumbnailExitFreeformAnimationLocked() 1199 Rect destFrame, @Nullable Rect surfaceInsets, boolean enter) { in createAspectScaledThumbnailFreeformAnimationLocked() argument 1207 final int surfaceInsetsH = surfaceInsets == null in createAspectScaledThumbnailFreeformAnimationLocked() 1208 ? 0 : surfaceInsets.left + surfaceInsets.right; in createAspectScaledThumbnailFreeformAnimationLocked() [all …]
|
D | WindowManagerService.java | 2826 if (win.mAttrs.surfaceInsets.left != 0 in relayoutWindow() 2827 || win.mAttrs.surfaceInsets.top != 0 in relayoutWindow() 2828 || win.mAttrs.surfaceInsets.right != 0 in relayoutWindow() 2829 || win.mAttrs.surfaceInsets.bottom != 0) { in relayoutWindow() 3205 Rect surfaceInsets = null; in applyAnimationLocked() local 3217 surfaceInsets = win.getAttrs().surfaceInsets; in applyAnimationLocked() 3229 + " frame=" + frame + " insets=" + insets + " surfaceInsets=" + surfaceInsets); in applyAnimationLocked() 3231 mCurConfiguration.orientation, frame, displayFrame, insets, surfaceInsets, in applyAnimationLocked()
|
D | WindowState.java | 2684 pw.print(" surface="); mAttrs.surfaceInsets.printShortString(pw); in dump()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 670 mLayout.surfaceInsets.set(mIWallpaperEngine.mDisplayPadding); in updateSurface() 671 mLayout.surfaceInsets.left += mOutsets.left; in updateSurface() 672 mLayout.surfaceInsets.top += mOutsets.top; in updateSurface() 673 mLayout.surfaceInsets.right += mOutsets.right; in updateSurface() 674 mLayout.surfaceInsets.bottom += mOutsets.bottom; in updateSurface() 676 mLayout.surfaceInsets.set(0, 0, 0, 0); in updateSurface()
|