Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -51722,6 +51722,7 @@ package android.view { method public android.view.View getChildAt(int); method public int getChildCount(); method protected int getChildDrawingOrder(int, int); method public final int getChildDrawingOrder(int); method public static int getChildMeasureSpec(int, int, int); method protected boolean getChildStaticTransformation(android.view.View, android.view.animation.Transformation); method public boolean getChildVisibleRect(android.view.View, android.graphics.Rect, android.graphics.Point); core/java/android/view/GhostView.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.RecordingCanvas; import android.graphics.RenderNode; import android.os.Build; import android.widget.FrameLayout; import java.util.ArrayList; Loading Loading @@ -135,12 +136,12 @@ public class GhostView extends View { return ghostView; } @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static GhostView addGhost(View view, ViewGroup viewGroup) { return addGhost(view, viewGroup, null); } @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static void removeGhost(View view) { GhostView ghostView = view.mGhostView; if (ghostView != null) { Loading core/java/android/view/ViewGroup.java +14 −0 Original line number Diff line number Diff line Loading @@ -4301,6 +4301,20 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager return i; } /** * The public version of getChildDrawingOrder(). * * Returns the index of the child to draw for this iteration. * * @param i The current iteration. * @return The index of the child to draw this iteration. * * @see #getChildDrawingOrder(int, int)} */ public final int getChildDrawingOrder(int i) { return getChildDrawingOrder(getChildCount(), i); } private boolean hasChildWithZ() { for (int i = 0; i < mChildrenCount; i++) { if (mChildren[i].getZ() != 0) return true; Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -51722,6 +51722,7 @@ package android.view { method public android.view.View getChildAt(int); method public int getChildCount(); method protected int getChildDrawingOrder(int, int); method public final int getChildDrawingOrder(int); method public static int getChildMeasureSpec(int, int, int); method protected boolean getChildStaticTransformation(android.view.View, android.view.animation.Transformation); method public boolean getChildVisibleRect(android.view.View, android.graphics.Rect, android.graphics.Point);
core/java/android/view/GhostView.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.RecordingCanvas; import android.graphics.RenderNode; import android.os.Build; import android.widget.FrameLayout; import java.util.ArrayList; Loading Loading @@ -135,12 +136,12 @@ public class GhostView extends View { return ghostView; } @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static GhostView addGhost(View view, ViewGroup viewGroup) { return addGhost(view, viewGroup, null); } @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public static void removeGhost(View view) { GhostView ghostView = view.mGhostView; if (ghostView != null) { Loading
core/java/android/view/ViewGroup.java +14 −0 Original line number Diff line number Diff line Loading @@ -4301,6 +4301,20 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager return i; } /** * The public version of getChildDrawingOrder(). * * Returns the index of the child to draw for this iteration. * * @param i The current iteration. * @return The index of the child to draw this iteration. * * @see #getChildDrawingOrder(int, int)} */ public final int getChildDrawingOrder(int i) { return getChildDrawingOrder(getChildCount(), i); } private boolean hasChildWithZ() { for (int i = 0; i < mChildrenCount; i++) { if (mChildren[i].getZ() != 0) return true; Loading