1package 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 deprecated void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int); 33 method public void fillMarginLayoutParams(android.view.View, android.view.ViewGroup.MarginLayoutParams, int, int); 34 method public void restoreLayoutParams(android.view.ViewGroup.LayoutParams); 35 method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams); 36 field public float aspectRatio; 37 field public float bottomMarginPercent; 38 field public float endMarginPercent; 39 field public float heightPercent; 40 field public float leftMarginPercent; 41 field public float rightMarginPercent; 42 field public float startMarginPercent; 43 field public float topMarginPercent; 44 field public float widthPercent; 45 } 46 47 public static abstract interface PercentLayoutHelper.PercentLayoutParams { 48 method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 49 } 50 51 public class PercentRelativeLayout extends android.widget.RelativeLayout { 52 ctor public PercentRelativeLayout(android.content.Context); 53 ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet); 54 ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet, int); 55 } 56 57 public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams { 58 ctor public PercentRelativeLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 59 ctor public PercentRelativeLayout.LayoutParams(int, int); 60 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 61 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 62 method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 63 } 64 65} 66 67