Make Drawable#isProjected public

Modify Drawable public API to no longer mark isProjected
as hidden. This makes the Drawable API consistent with the public
RenderNode API and enables androidx to move away from accessing
this method through reflection

Bug: 120159096 117521142
Test: none
Change-Id: Icdd778bf3d8842eb2d69e5872f704c7e96f915fa
This commit is contained in:
Nader Jawad
2018-11-28 15:54:09 -08:00
parent f66699ae16
commit 3af32bd94f
2 changed files with 5 additions and 3 deletions

View File

@@ -15023,6 +15023,7 @@ package android.graphics.drawable {
method public void invalidateSelf();
method public boolean isAutoMirrored();
method public boolean isFilterBitmap();
method public boolean isProjected();
method public boolean isStateful();
method public final boolean isVisible();
method public void jumpToCurrentState();

View File

@@ -713,11 +713,12 @@ public abstract class Drawable {
}
/**
* Whether this drawable requests projection.
* Whether this drawable requests projection. Indicates that the
* {@link android.graphics.RenderNode} this Drawable will draw into should be drawn immediately
* after the closest ancestor RenderNode containing a projection receiver.
*
* @hide magic!
* @see android.graphics.RenderNode#setProjectBackwards(boolean)
*/
@UnsupportedAppUsage
public boolean isProjected() {
return false;
}