diff options
| author | Filip Gruszczynski <gruszczy@google.com> | 2015-04-29 13:16:32 -0700 |
|---|---|---|
| committer | Filip Gruszczynski <gruszczy@google.com> | 2015-05-07 18:59:18 -0700 |
| commit | f9cabe2ad76a19d555b5b656d8167bdb167c9d03 (patch) | |
| tree | 420e27d566f68deb7b369da0319e63cc41f98f7e /percent/api/current.txt | |
| parent | 60d5509d4ce055532645a889d29f4201e6bc4512 (diff) | |
| download | android_frameworks_support-f9cabe2ad76a19d555b5b656d8167bdb167c9d03.tar.gz android_frameworks_support-f9cabe2ad76a19d555b5b656d8167bdb167c9d03.tar.bz2 android_frameworks_support-f9cabe2ad76a19d555b5b656d8167bdb167c9d03.zip | |
Percentage based layouts.
Change-Id: I366ad93a61804231b934d08ff0d1a31d8b66817c
Diffstat (limited to 'percent/api/current.txt')
| -rw-r--r-- | percent/api/current.txt | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/percent/api/current.txt b/percent/api/current.txt new file mode 100644 index 0000000000..34d0302357 --- /dev/null +++ b/percent/api/current.txt @@ -0,0 +1,64 @@ +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(); + } + +} + |
