summaryrefslogtreecommitdiff
path: root/core/java/android/view/Display.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2019-10-24 16:24:54 +0200
committerJorim Jaggi <jjaggi@google.com>2019-11-12 17:49:51 +0100
commitf081f06a4808291b72cb31f641ea4deed0b61e18 (patch)
tree0051f348745dd7a847a133ab3cd8c50f525c3c5b /core/java/android/view/Display.java
parent379f81b2e98a38c445b8a259b8ce059fc4c40ba9 (diff)
Kill overscan insets and outsets
Also remove WindowManagerStressTest because that has been replaced with proper perf test. Test: Boots Bug: 143255833 Change-Id: I1d293cda7c82d0aa1c3a6cc694c74bf7d10cc974
Diffstat (limited to 'core/java/android/view/Display.java')
-rw-r--r--core/java/android/view/Display.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java
index b3d98b8de0a3..03e68b0058b2 100644
--- a/core/java/android/view/Display.java
+++ b/core/java/android/view/Display.java
@@ -749,20 +749,6 @@ public final class Display {
}
/**
- * @hide
- * Return a rectangle defining the insets of the overscan region of the display.
- * Each field of the rectangle is the number of pixels the overscan area extends
- * into the display on that side.
- */
- public void getOverscanInsets(Rect outRect) {
- synchronized (this) {
- updateDisplayInfoLocked();
- outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop,
- mDisplayInfo.overscanRight, mDisplayInfo.overscanBottom);
- }
- }
-
- /**
* Returns the rotation of the screen from its "natural" orientation.
* The returned value may be {@link Surface#ROTATION_0 Surface.ROTATION_0}
* (no rotation), {@link Surface#ROTATION_90 Surface.ROTATION_90},