| Nick Anthony | b3aa531 | 2019-07-02 15:49:41 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.swiperefreshlayout.widget { |
| 3 | |
| 4 | public class CircularProgressDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable { |
| 5 | ctor public CircularProgressDrawable(android.content.Context); |
| 6 | method public void draw(android.graphics.Canvas!); |
| 7 | method public boolean getArrowEnabled(); |
| 8 | method public float getArrowHeight(); |
| 9 | method public float getArrowScale(); |
| 10 | method public float getArrowWidth(); |
| 11 | method public int getBackgroundColor(); |
| 12 | method public float getCenterRadius(); |
| 13 | method public int[] getColorSchemeColors(); |
| 14 | method public float getEndTrim(); |
| 15 | method public int getOpacity(); |
| 16 | method public float getProgressRotation(); |
| 17 | method public float getStartTrim(); |
| 18 | method public android.graphics.Paint.Cap getStrokeCap(); |
| 19 | method public float getStrokeWidth(); |
| 20 | method public boolean isRunning(); |
| 21 | method public void setAlpha(int); |
| 22 | method public void setArrowDimensions(float, float); |
| 23 | method public void setArrowEnabled(boolean); |
| 24 | method public void setArrowScale(float); |
| 25 | method public void setBackgroundColor(int); |
| 26 | method public void setCenterRadius(float); |
| 27 | method public void setColorFilter(android.graphics.ColorFilter!); |
| 28 | method public void setColorSchemeColors(int...); |
| 29 | method public void setProgressRotation(float); |
| 30 | method public void setStartEndTrim(float, float); |
| 31 | method public void setStrokeCap(android.graphics.Paint.Cap); |
| 32 | method public void setStrokeWidth(float); |
| 33 | method public void setStyle(int); |
| 34 | method public void start(); |
| 35 | method public void stop(); |
| 36 | field public static final int DEFAULT = 1; // 0x1 |
| 37 | field public static final int LARGE = 0; // 0x0 |
| 38 | } |
| 39 | |
| 40 | public class SwipeRefreshLayout extends android.view.ViewGroup implements androidx.core.view.NestedScrollingChild androidx.core.view.NestedScrollingChild2 androidx.core.view.NestedScrollingChild3 androidx.core.view.NestedScrollingParent androidx.core.view.NestedScrollingParent2 androidx.core.view.NestedScrollingParent3 { |
| 41 | ctor public SwipeRefreshLayout(android.content.Context); |
| 42 | ctor public SwipeRefreshLayout(android.content.Context, android.util.AttributeSet?); |
| 43 | method public boolean canChildScrollUp(); |
| 44 | method public boolean dispatchNestedPreScroll(int, int, int[]!, int[]!, int); |
| 45 | method public void dispatchNestedScroll(int, int, int, int, int[]?, int, int[]); |
| 46 | method public boolean dispatchNestedScroll(int, int, int, int, int[]!, int); |
| 47 | method public int getProgressCircleDiameter(); |
| 48 | method public int getProgressViewEndOffset(); |
| 49 | method public int getProgressViewStartOffset(); |
| 50 | method public boolean hasNestedScrollingParent(int); |
| 51 | method public boolean isRefreshing(); |
| 52 | method public void onMeasure(int, int); |
| 53 | method public void onNestedPreScroll(android.view.View!, int, int, int[]!, int); |
| 54 | method public void onNestedScroll(android.view.View, int, int, int, int, int, int[]); |
| 55 | method public void onNestedScroll(android.view.View!, int, int, int, int, int); |
| 56 | method public void onNestedScrollAccepted(android.view.View!, android.view.View!, int, int); |
| 57 | method public boolean onStartNestedScroll(android.view.View!, android.view.View!, int, int); |
| 58 | method public void onStopNestedScroll(android.view.View!, int); |
| 59 | method @Deprecated public void setColorScheme(@ColorRes int...); |
| 60 | method public void setColorSchemeColors(@ColorInt int...); |
| 61 | method public void setColorSchemeResources(@ColorRes int...); |
| 62 | method public void setDistanceToTriggerSync(int); |
| Jelle Fresen | 6d5f435 | 2019-08-23 10:53:45 +0100 | [diff] [blame^] | 63 | method @Deprecated public void setLegacyRequestDisallowInterceptTouchEventEnabled(boolean); |
| Nick Anthony | b3aa531 | 2019-07-02 15:49:41 -0400 | [diff] [blame] | 64 | method public void setOnChildScrollUpCallback(androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnChildScrollUpCallback?); |
| 65 | method public void setOnRefreshListener(androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnRefreshListener?); |
| 66 | method @Deprecated public void setProgressBackgroundColor(int); |
| 67 | method public void setProgressBackgroundColorSchemeColor(@ColorInt int); |
| 68 | method public void setProgressBackgroundColorSchemeResource(@ColorRes int); |
| 69 | method public void setProgressViewEndTarget(boolean, int); |
| 70 | method public void setProgressViewOffset(boolean, int, int); |
| 71 | method public void setRefreshing(boolean); |
| 72 | method public void setSize(int); |
| 73 | method public void setSlingshotDistance(@Px int); |
| 74 | method public boolean startNestedScroll(int, int); |
| 75 | method public void stopNestedScroll(int); |
| 76 | field public static final int DEFAULT = 1; // 0x1 |
| 77 | field public static final int DEFAULT_SLINGSHOT_DISTANCE = -1; // 0xffffffff |
| 78 | field public static final int LARGE = 0; // 0x0 |
| 79 | field protected int mFrom; |
| 80 | field protected int mOriginalOffsetTop; |
| 81 | } |
| 82 | |
| 83 | public static interface SwipeRefreshLayout.OnChildScrollUpCallback { |
| 84 | method public boolean canChildScrollUp(androidx.swiperefreshlayout.widget.SwipeRefreshLayout, android.view.View?); |
| 85 | } |
| 86 | |
| 87 | public static interface SwipeRefreshLayout.OnRefreshListener { |
| 88 | method public void onRefresh(); |
| 89 | } |
| 90 | |
| 91 | } |
| 92 | |