1package androidx.percentlayout.widget { 2 3 public deprecated 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 method protected androidx.percentlayout.widget.PercentFrameLayout.LayoutParams generateDefaultLayoutParams(); 8 method public androidx.percentlayout.widget.PercentFrameLayout.LayoutParams generateLayoutParams(android.util.AttributeSet); 9 } 10 11 public static deprecated class PercentFrameLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams implements androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutParams { 12 ctor public PercentFrameLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 13 ctor public PercentFrameLayout.LayoutParams(int, int); 14 ctor public PercentFrameLayout.LayoutParams(int, int, int); 15 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 16 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 17 ctor public PercentFrameLayout.LayoutParams(android.widget.FrameLayout.LayoutParams); 18 ctor public PercentFrameLayout.LayoutParams(androidx.percentlayout.widget.PercentFrameLayout.LayoutParams); 19 method public androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 20 } 21 22 public deprecated class PercentLayoutHelper { 23 ctor public PercentLayoutHelper(android.view.ViewGroup); 24 method public void adjustChildren(int, int); 25 method public static void fetchWidthAndHeight(android.view.ViewGroup.LayoutParams, android.content.res.TypedArray, int, int); 26 method public static androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(android.content.Context, android.util.AttributeSet); 27 method public boolean handleMeasuredStateTooSmall(); 28 method public void restoreOriginalParams(); 29 } 30 31 public static deprecated class PercentLayoutHelper.PercentLayoutInfo { 32 ctor public PercentLayoutHelper.PercentLayoutInfo(); 33 method public void fillLayoutParams(android.view.ViewGroup.LayoutParams, int, int); 34 method public deprecated void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int); 35 method public void fillMarginLayoutParams(android.view.View, android.view.ViewGroup.MarginLayoutParams, int, int); 36 method public void restoreLayoutParams(android.view.ViewGroup.LayoutParams); 37 method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams); 38 field public float aspectRatio; 39 field public float bottomMarginPercent; 40 field public float endMarginPercent; 41 field public float heightPercent; 42 field public float leftMarginPercent; 43 field public float rightMarginPercent; 44 field public float startMarginPercent; 45 field public float topMarginPercent; 46 field public float widthPercent; 47 } 48 49 public static abstract deprecated interface PercentLayoutHelper.PercentLayoutParams { 50 method public abstract androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 51 } 52 53 public deprecated class PercentRelativeLayout extends android.widget.RelativeLayout { 54 ctor public PercentRelativeLayout(android.content.Context); 55 ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet); 56 ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet, int); 57 method protected androidx.percentlayout.widget.PercentRelativeLayout.LayoutParams generateDefaultLayoutParams(); 58 method public androidx.percentlayout.widget.PercentRelativeLayout.LayoutParams generateLayoutParams(android.util.AttributeSet); 59 } 60 61 public static deprecated class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.LayoutParams implements androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutParams { 62 ctor public PercentRelativeLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 63 ctor public PercentRelativeLayout.LayoutParams(int, int); 64 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 65 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 66 method public androidx.percentlayout.widget.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 67 } 68 69} 70 71