blob: 018d30e25db98a5c43ac661d78653e496868e161 [file] [log] [blame]
package androidx.swiperefreshlayout.widget {
public class CircularProgressDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable {
ctor public CircularProgressDrawable(android.content.Context);
method public void draw(android.graphics.Canvas);
method public boolean getArrowEnabled();
method public float getArrowHeight();
method public float getArrowScale();
method public float getArrowWidth();
method public int getBackgroundColor();
method public float getCenterRadius();
method public int[] getColorSchemeColors();
method public float getEndTrim();
method public int getOpacity();
method public float getProgressRotation();
method public float getStartTrim();
method public android.graphics.Paint.Cap getStrokeCap();
method public float getStrokeWidth();
method public boolean isRunning();
method public void setAlpha(int);
method public void setArrowDimensions(float, float);
method public void setArrowEnabled(boolean);
method public void setArrowScale(float);
method public void setBackgroundColor(int);
method public void setCenterRadius(float);
method public void setColorFilter(android.graphics.ColorFilter);
method public void setColorSchemeColors(int...);
method public void setProgressRotation(float);
method public void setStartEndTrim(float, float);
method public void setStrokeCap(android.graphics.Paint.Cap);
method public void setStrokeWidth(float);
method public void setStyle(int);
method public void start();
method public void stop();
field public static final int DEFAULT = 1; // 0x1
field public static final int LARGE = 0; // 0x0
}
public class SwipeRefreshLayout extends android.view.ViewGroup implements androidx.core.view.NestedScrollingChild androidx.core.view.NestedScrollingParent {
ctor public SwipeRefreshLayout(android.content.Context);
ctor public SwipeRefreshLayout(android.content.Context, android.util.AttributeSet);
method public boolean canChildScrollUp();
method public int getProgressCircleDiameter();
method public int getProgressViewEndOffset();
method public int getProgressViewStartOffset();
method public boolean isRefreshing();
method public void onMeasure(int, int);
method public deprecated void setColorScheme(int...);
method public void setColorSchemeColors(int...);
method public void setColorSchemeResources(int...);
method public void setDistanceToTriggerSync(int);
method public void setOnChildScrollUpCallback(androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnChildScrollUpCallback);
method public void setOnRefreshListener(androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnRefreshListener);
method public deprecated void setProgressBackgroundColor(int);
method public void setProgressBackgroundColorSchemeColor(int);
method public void setProgressBackgroundColorSchemeResource(int);
method public void setProgressViewEndTarget(boolean, int);
method public void setProgressViewOffset(boolean, int, int);
method public void setRefreshing(boolean);
method public void setSize(int);
field public static final int DEFAULT = 1; // 0x1
field public static final int LARGE = 0; // 0x0
field protected int mFrom;
field protected int mOriginalOffsetTop;
}
public static abstract interface SwipeRefreshLayout.OnChildScrollUpCallback {
method public abstract boolean canChildScrollUp(androidx.swiperefreshlayout.widget.SwipeRefreshLayout, android.view.View);
}
public static abstract interface SwipeRefreshLayout.OnRefreshListener {
method public abstract void onRefresh();
}
}