blob: ce68f0b1e5f61ad43ae0218fcb2a8a15d153bb81 [file] [log] [blame]
package android.support.v4.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 android.support.v4.view.NestedScrollingChild android.support.v4.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(android.support.v4.widget.SwipeRefreshLayout.OnChildScrollUpCallback);
method public void setOnRefreshListener(android.support.v4.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(android.support.v4.widget.SwipeRefreshLayout, android.view.View);
}
public static abstract interface SwipeRefreshLayout.OnRefreshListener {
method public abstract void onRefresh();
}
}