Chris Banes | 8868c3d | 2015-12-08 17:52:24 +0000 | [diff] [blame^] | 1 | package android.support.percent { |
| 2 | |
| 3 | public class PercentFrameLayout extends android.widget.FrameLayout { |
| 4 | ctor public PercentFrameLayout(android.content.Context); |
| 5 | ctor public PercentFrameLayout(android.content.Context, android.util.AttributeSet); |
| 6 | ctor public PercentFrameLayout(android.content.Context, android.util.AttributeSet, int); |
| 7 | } |
| 8 | |
| 9 | public static class PercentFrameLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams { |
| 10 | ctor public PercentFrameLayout.LayoutParams(android.content.Context, android.util.AttributeSet); |
| 11 | ctor public PercentFrameLayout.LayoutParams(int, int); |
| 12 | ctor public PercentFrameLayout.LayoutParams(int, int, int); |
| 13 | ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.LayoutParams); |
| 14 | ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); |
| 15 | ctor public PercentFrameLayout.LayoutParams(android.widget.FrameLayout.LayoutParams); |
| 16 | ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParams); |
| 17 | method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); |
| 18 | } |
| 19 | |
| 20 | public class PercentLayoutHelper { |
| 21 | ctor public PercentLayoutHelper(android.view.ViewGroup); |
| 22 | method public void adjustChildren(int, int); |
| 23 | method public static void fetchWidthAndHeight(android.view.ViewGroup.LayoutParams, android.content.res.TypedArray, int, int); |
| 24 | method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(android.content.Context, android.util.AttributeSet); |
| 25 | method public boolean handleMeasuredStateTooSmall(); |
| 26 | method public void restoreOriginalParams(); |
| 27 | } |
| 28 | |
| 29 | public static class PercentLayoutHelper.PercentLayoutInfo { |
| 30 | ctor public PercentLayoutHelper.PercentLayoutInfo(); |
| 31 | method public void fillLayoutParams(android.view.ViewGroup.LayoutParams, int, int); |
| 32 | method public void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int); |
| 33 | method public void restoreLayoutParams(android.view.ViewGroup.LayoutParams); |
| 34 | method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams); |
| 35 | field public float aspectRatio; |
| 36 | field public float bottomMarginPercent; |
| 37 | field public float endMarginPercent; |
| 38 | field public float heightPercent; |
| 39 | field public float leftMarginPercent; |
| 40 | field public float rightMarginPercent; |
| 41 | field public float startMarginPercent; |
| 42 | field public float topMarginPercent; |
| 43 | field public float widthPercent; |
| 44 | } |
| 45 | |
| 46 | public static abstract interface PercentLayoutHelper.PercentLayoutParams { |
| 47 | method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); |
| 48 | } |
| 49 | |
| 50 | public class PercentRelativeLayout extends android.widget.RelativeLayout { |
| 51 | ctor public PercentRelativeLayout(android.content.Context); |
| 52 | ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet); |
| 53 | ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet, int); |
| 54 | } |
| 55 | |
| 56 | public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams { |
| 57 | ctor public PercentRelativeLayout.LayoutParams(android.content.Context, android.util.AttributeSet); |
| 58 | ctor public PercentRelativeLayout.LayoutParams(int, int); |
| 59 | ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.LayoutParams); |
| 60 | ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); |
| 61 | method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); |
| 62 | } |
| 63 | |
| 64 | } |
| 65 | |