Home | History | Annotate | Download | only in api
      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 bottomMarginPercent;
     36     field public float endMarginPercent;
     37     field public float heightPercent;
     38     field public float leftMarginPercent;
     39     field public float rightMarginPercent;
     40     field public float startMarginPercent;
     41     field public float topMarginPercent;
     42     field public float widthPercent;
     43   }
     44 
     45   public static abstract interface PercentLayoutHelper.PercentLayoutParams {
     46     method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo();
     47   }
     48 
     49   public class PercentRelativeLayout extends android.widget.RelativeLayout {
     50     ctor public PercentRelativeLayout(android.content.Context);
     51     ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet);
     52     ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet, int);
     53   }
     54 
     55   public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams {
     56     ctor public PercentRelativeLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
     57     ctor public PercentRelativeLayout.LayoutParams(int, int);
     58     ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
     59     ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
     60     method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo();
     61   }
     62 
     63 }
     64 
     65