Provide a public API for View#computeFitSystemWindows
The current hidden API is necessary to perform correct inset behavior for support libraries like appcompat. Provide a public method consistent with the new WindowInsets APIs. Bug 17411097 Change-Id: I71a63eea0238b94cae6b5c6f1721d5567560ba81
This commit is contained in:
@@ -33653,6 +33653,7 @@ package android.view {
|
||||
method protected int computeHorizontalScrollOffset();
|
||||
method protected int computeHorizontalScrollRange();
|
||||
method public void computeScroll();
|
||||
method public android.view.WindowInsets computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect);
|
||||
method protected int computeVerticalScrollExtent();
|
||||
method protected int computeVerticalScrollOffset();
|
||||
method protected int computeVerticalScrollRange();
|
||||
@@ -34978,6 +34979,7 @@ package android.view {
|
||||
method public boolean isConsumed();
|
||||
method public boolean isRound();
|
||||
method public android.view.WindowInsets replaceSystemWindowInsets(int, int, int, int);
|
||||
method public android.view.WindowInsets replaceSystemWindowInsets(android.graphics.Rect);
|
||||
}
|
||||
|
||||
public abstract interface WindowManager implements android.view.ViewManager {
|
||||
|
||||
Reference in New Issue
Block a user