文本文件  |  65行  |  3.69 KB

package android.support.percent {

  public class PercentFrameLayout extends android.widget.FrameLayout {
    ctor public PercentFrameLayout(android.content.Context);
    ctor public PercentFrameLayout(android.content.Context, android.util.AttributeSet);
    ctor public PercentFrameLayout(android.content.Context, android.util.AttributeSet, int);
  }

  public static class PercentFrameLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams {
    ctor public PercentFrameLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
    ctor public PercentFrameLayout.LayoutParams(int, int);
    ctor public PercentFrameLayout.LayoutParams(int, int, int);
    ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
    ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
    ctor public PercentFrameLayout.LayoutParams(android.widget.FrameLayout.LayoutParams);
    ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParams);
    method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo();
  }

  public class PercentLayoutHelper {
    ctor public PercentLayoutHelper(android.view.ViewGroup);
    method public void adjustChildren(int, int);
    method public static void fetchWidthAndHeight(android.view.ViewGroup.LayoutParams, android.content.res.TypedArray, int, int);
    method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(android.content.Context, android.util.AttributeSet);
    method public boolean handleMeasuredStateTooSmall();
    method public void restoreOriginalParams();
  }

  public static class PercentLayoutHelper.PercentLayoutInfo {
    ctor public PercentLayoutHelper.PercentLayoutInfo();
    method public void fillLayoutParams(android.view.ViewGroup.LayoutParams, int, int);
    method public void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int);
    method public void restoreLayoutParams(android.view.ViewGroup.LayoutParams);
    method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams);
    field public float bottomMarginPercent;
    field public float endMarginPercent;
    field public float heightPercent;
    field public float leftMarginPercent;
    field public float rightMarginPercent;
    field public float startMarginPercent;
    field public float topMarginPercent;
    field public float widthPercent;
  }

  public static abstract interface PercentLayoutHelper.PercentLayoutParams {
    method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo();
  }

  public class PercentRelativeLayout extends android.widget.RelativeLayout {
    ctor public PercentRelativeLayout(android.content.Context);
    ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet);
    ctor public PercentRelativeLayout(android.content.Context, android.util.AttributeSet, int);
  }

  public static class PercentRelativeLayout.LayoutParams extends android.widget.RelativeLayout.LayoutParams implements android.support.percent.PercentLayoutHelper.PercentLayoutParams {
    ctor public PercentRelativeLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
    ctor public PercentRelativeLayout.LayoutParams(int, int);
    ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
    ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
    method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo();
  }

}