1package android.support.design.widget {
2
3  public class AppBarLayout extends android.widget.LinearLayout {
4    ctor public AppBarLayout(android.content.Context);
5    ctor public AppBarLayout(android.content.Context, android.util.AttributeSet);
6    method public void addOnOffsetChangedListener(android.support.design.widget.AppBarLayout.OnOffsetChangedListener);
7    method public float getTargetElevation();
8    method public final int getTotalScrollRange();
9    method public void removeOnOffsetChangedListener(android.support.design.widget.AppBarLayout.OnOffsetChangedListener);
10    method public void setExpanded(boolean);
11    method public void setExpanded(boolean, boolean);
12    method public void setTargetElevation(float);
13  }
14
15  public static class AppBarLayout.Behavior extends android.support.design.widget.ViewOffsetBehavior {
16    ctor public AppBarLayout.Behavior();
17    ctor public AppBarLayout.Behavior(android.content.Context, android.util.AttributeSet);
18    method public boolean onInterceptTouchEvent(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.MotionEvent);
19    method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, int);
20    method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, float, float, boolean);
21    method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, int, int, int[]);
22    method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, int, int, int, int);
23    method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.os.Parcelable);
24    method public android.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout);
25    method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, android.view.View, int);
26    method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View);
27    method public boolean onTouchEvent(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.MotionEvent);
28  }
29
30  protected static class AppBarLayout.Behavior.SavedState extends android.view.View.BaseSavedState {
31    ctor public AppBarLayout.Behavior.SavedState(android.os.Parcel);
32    ctor public AppBarLayout.Behavior.SavedState(android.os.Parcelable);
33    field public static final android.os.Parcelable.Creator<android.support.design.widget.AppBarLayout.Behavior.SavedState> CREATOR;
34  }
35
36  public static class AppBarLayout.LayoutParams extends android.widget.LinearLayout.LayoutParams {
37    ctor public AppBarLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
38    ctor public AppBarLayout.LayoutParams(int, int);
39    ctor public AppBarLayout.LayoutParams(int, int, float);
40    ctor public AppBarLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
41    ctor public AppBarLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
42    ctor public AppBarLayout.LayoutParams(android.widget.LinearLayout.LayoutParams);
43    ctor public AppBarLayout.LayoutParams(android.support.design.widget.AppBarLayout.LayoutParams);
44    method public int getScrollFlags();
45    method public android.view.animation.Interpolator getScrollInterpolator();
46    method public void setScrollFlags(int);
47    method public void setScrollInterpolator(android.view.animation.Interpolator);
48    field public static final int SCROLL_FLAG_ENTER_ALWAYS = 4; // 0x4
49    field public static final int SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED = 8; // 0x8
50    field public static final int SCROLL_FLAG_EXIT_UNTIL_COLLAPSED = 2; // 0x2
51    field public static final int SCROLL_FLAG_SCROLL = 1; // 0x1
52  }
53
54  public static abstract interface AppBarLayout.OnOffsetChangedListener {
55    method public abstract void onOffsetChanged(android.support.design.widget.AppBarLayout, int);
56  }
57
58  public static class AppBarLayout.ScrollingViewBehavior extends android.support.design.widget.ViewOffsetBehavior {
59    ctor public AppBarLayout.ScrollingViewBehavior();
60    ctor public AppBarLayout.ScrollingViewBehavior(android.content.Context, android.util.AttributeSet);
61    method public int getOverlayTop();
62    method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.view.View, android.view.View);
63    method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, android.view.View, android.view.View);
64    method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, android.view.View, int, int, int, int);
65    method public void setOverlayTop(int);
66  }
67
68  public class CollapsingToolbarLayout extends android.widget.FrameLayout {
69    ctor public CollapsingToolbarLayout(android.content.Context);
70    ctor public CollapsingToolbarLayout(android.content.Context, android.util.AttributeSet);
71    ctor public CollapsingToolbarLayout(android.content.Context, android.util.AttributeSet, int);
72    method public int getCollapsedTitleGravity();
73    method public android.graphics.drawable.Drawable getContentScrim();
74    method public int getExpandedTitleGravity();
75    method public android.graphics.drawable.Drawable getStatusBarScrim();
76    method public java.lang.CharSequence getTitle();
77    method public boolean isTitleEnabled();
78    method public void setCollapsedTitleGravity(int);
79    method public void setCollapsedTitleTextAppearance(int);
80    method public void setCollapsedTitleTextColor(int);
81    method public void setContentScrim(android.graphics.drawable.Drawable);
82    method public void setContentScrimColor(int);
83    method public void setContentScrimResource(int);
84    method public void setExpandedTitleColor(int);
85    method public void setExpandedTitleGravity(int);
86    method public void setExpandedTitleTextAppearance(int);
87    method public void setStatusBarScrim(android.graphics.drawable.Drawable);
88    method public void setStatusBarScrimColor(int);
89    method public void setStatusBarScrimResource(int);
90    method public void setTitle(java.lang.CharSequence);
91    method public void setTitleEnabled(boolean);
92  }
93
94  public static class CollapsingToolbarLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams {
95    ctor public CollapsingToolbarLayout.LayoutParams(android.content.Context, android.util.AttributeSet);
96    ctor public CollapsingToolbarLayout.LayoutParams(int, int);
97    ctor public CollapsingToolbarLayout.LayoutParams(int, int, int);
98    ctor public CollapsingToolbarLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
99    ctor public CollapsingToolbarLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
100    ctor public CollapsingToolbarLayout.LayoutParams(android.widget.FrameLayout.LayoutParams);
101    method public int getCollapseMode();
102    method public float getParallaxMultiplier();
103    method public void setCollapseMode(int);
104    method public void setParallaxMultiplier(float);
105    field public static final int COLLAPSE_MODE_OFF = 0; // 0x0
106    field public static final int COLLAPSE_MODE_PARALLAX = 2; // 0x2
107    field public static final int COLLAPSE_MODE_PIN = 1; // 0x1
108  }
109
110  public class CoordinatorLayout extends android.view.ViewGroup {
111    ctor public CoordinatorLayout(android.content.Context);
112    ctor public CoordinatorLayout(android.content.Context, android.util.AttributeSet);
113    ctor public CoordinatorLayout(android.content.Context, android.util.AttributeSet, int);
114    method public void dispatchDependentViewsChanged(android.view.View);
115    method public boolean doViewsOverlap(android.view.View, android.view.View);
116    method public java.util.List<android.view.View> getDependencies(android.view.View);
117    method public android.graphics.drawable.Drawable getStatusBarBackground();
118    method public boolean isPointInChildBounds(android.view.View, int, int);
119    method public void onAttachedToWindow();
120    method public void onDetachedFromWindow();
121    method public void onDraw(android.graphics.Canvas);
122    method protected void onLayout(boolean, int, int, int, int);
123    method public void onLayoutChild(android.view.View, int);
124    method public void onMeasureChild(android.view.View, int, int, int, int);
125    method public void setStatusBarBackground(android.graphics.drawable.Drawable);
126    method public void setStatusBarBackgroundColor(int);
127    method public void setStatusBarBackgroundResource(int);
128  }
129
130  public static abstract class CoordinatorLayout.Behavior {
131    ctor public CoordinatorLayout.Behavior();
132    ctor public CoordinatorLayout.Behavior(android.content.Context, android.util.AttributeSet);
133    method public boolean blocksInteractionBelow(android.support.design.widget.CoordinatorLayout, V);
134    method public final int getScrimColor(android.support.design.widget.CoordinatorLayout, V);
135    method public final float getScrimOpacity(android.support.design.widget.CoordinatorLayout, V);
136    method public static java.lang.Object getTag(android.view.View);
137    method public boolean isDirty(android.support.design.widget.CoordinatorLayout, V);
138    method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, V, android.view.View);
139    method public android.support.v4.view.WindowInsetsCompat onApplyWindowInsets(android.support.design.widget.CoordinatorLayout, V, android.support.v4.view.WindowInsetsCompat);
140    method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, V, android.view.View);
141    method public void onDependentViewRemoved(android.support.design.widget.CoordinatorLayout, V, android.view.View);
142    method public boolean onInterceptTouchEvent(android.support.design.widget.CoordinatorLayout, V, android.view.MotionEvent);
143    method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, V, int);
144    method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, V, int, int, int, int);
145    method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, V, android.view.View, float, float, boolean);
146    method public boolean onNestedPreFling(android.support.design.widget.CoordinatorLayout, V, android.view.View, float, float);
147    method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, int, int, int[]);
148    method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, int, int, int, int);
149    method public void onNestedScrollAccepted(android.support.design.widget.CoordinatorLayout, V, android.view.View, android.view.View, int);
150    method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, V, android.os.Parcelable);
151    method public android.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, V);
152    method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, android.view.View, int);
153    method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View);
154    method public boolean onTouchEvent(android.support.design.widget.CoordinatorLayout, V, android.view.MotionEvent);
155    method public static void setTag(android.view.View, java.lang.Object);
156  }
157
158  public static abstract class CoordinatorLayout.DefaultBehavior implements java.lang.annotation.Annotation {
159  }
160
161  public static class CoordinatorLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
162    ctor public CoordinatorLayout.LayoutParams(int, int);
163    ctor public CoordinatorLayout.LayoutParams(android.support.design.widget.CoordinatorLayout.LayoutParams);
164    ctor public CoordinatorLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
165    ctor public CoordinatorLayout.LayoutParams(android.view.ViewGroup.LayoutParams);
166    method public int getAnchorId();
167    method public android.support.design.widget.CoordinatorLayout.Behavior getBehavior();
168    method public void setAnchorId(int);
169    method public void setBehavior(android.support.design.widget.CoordinatorLayout.Behavior);
170    field public int anchorGravity;
171    field public int gravity;
172    field public int keyline;
173  }
174
175  protected static class CoordinatorLayout.SavedState extends android.view.View.BaseSavedState {
176    ctor public CoordinatorLayout.SavedState(android.os.Parcel);
177    ctor public CoordinatorLayout.SavedState(android.os.Parcelable);
178    field public static final android.os.Parcelable.Creator<android.support.design.widget.CoordinatorLayout.SavedState> CREATOR;
179  }
180
181  public class FloatingActionButton extends android.widget.ImageView {
182    ctor public FloatingActionButton(android.content.Context);
183    ctor public FloatingActionButton(android.content.Context, android.util.AttributeSet);
184    ctor public FloatingActionButton(android.content.Context, android.util.AttributeSet, int);
185    method public void hide();
186    method public void setRippleColor(int);
187    method public void show();
188  }
189
190  public static class FloatingActionButton.Behavior extends android.support.design.widget.CoordinatorLayout.Behavior {
191    ctor public FloatingActionButton.Behavior();
192    method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View);
193    method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View);
194    method public void onDependentViewRemoved(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View);
195    method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, int);
196  }
197
198  public class NavigationView extends android.widget.FrameLayout {
199    ctor public NavigationView(android.content.Context);
200    ctor public NavigationView(android.content.Context, android.util.AttributeSet);
201    ctor public NavigationView(android.content.Context, android.util.AttributeSet, int);
202    method public void addHeaderView(android.view.View);
203    method public android.graphics.drawable.Drawable getItemBackground();
204    method public android.content.res.ColorStateList getItemIconTintList();
205    method public android.content.res.ColorStateList getItemTextColor();
206    method public android.view.Menu getMenu();
207    method public android.view.View inflateHeaderView(int);
208    method public void inflateMenu(int);
209    method public void removeHeaderView(android.view.View);
210    method public void setCheckedItem(int);
211    method public void setItemBackground(android.graphics.drawable.Drawable);
212    method public void setItemBackgroundResource(int);
213    method public void setItemIconTintList(android.content.res.ColorStateList);
214    method public void setItemTextAppearance(int);
215    method public void setItemTextColor(android.content.res.ColorStateList);
216    method public void setNavigationItemSelectedListener(android.support.design.widget.NavigationView.OnNavigationItemSelectedListener);
217  }
218
219  public static abstract interface NavigationView.OnNavigationItemSelectedListener {
220    method public abstract boolean onNavigationItemSelected(android.view.MenuItem);
221  }
222
223  public static class NavigationView.SavedState extends android.view.View.BaseSavedState {
224    ctor public NavigationView.SavedState(android.os.Parcel);
225    ctor public NavigationView.SavedState(android.os.Parcelable);
226    field public static final android.os.Parcelable.Creator<android.support.design.widget.NavigationView.SavedState> CREATOR;
227    field public android.os.Bundle menuState;
228  }
229
230  public final class Snackbar {
231    method public void dismiss();
232    method public int getDuration();
233    method public android.view.View getView();
234    method public boolean isShown();
235    method public static android.support.design.widget.Snackbar make(android.view.View, java.lang.CharSequence, int);
236    method public static android.support.design.widget.Snackbar make(android.view.View, int, int);
237    method public android.support.design.widget.Snackbar setAction(int, android.view.View.OnClickListener);
238    method public android.support.design.widget.Snackbar setAction(java.lang.CharSequence, android.view.View.OnClickListener);
239    method public android.support.design.widget.Snackbar setActionTextColor(android.content.res.ColorStateList);
240    method public android.support.design.widget.Snackbar setActionTextColor(int);
241    method public android.support.design.widget.Snackbar setCallback(android.support.design.widget.Snackbar.Callback);
242    method public android.support.design.widget.Snackbar setDuration(int);
243    method public android.support.design.widget.Snackbar setText(java.lang.CharSequence);
244    method public android.support.design.widget.Snackbar setText(int);
245    method public void show();
246    field public static final int LENGTH_INDEFINITE = -2; // 0xfffffffe
247    field public static final int LENGTH_LONG = 0; // 0x0
248    field public static final int LENGTH_SHORT = -1; // 0xffffffff
249  }
250
251  public static abstract class Snackbar.Callback {
252    ctor public Snackbar.Callback();
253    method public void onDismissed(android.support.design.widget.Snackbar, int);
254    method public void onShown(android.support.design.widget.Snackbar);
255    field public static final int DISMISS_EVENT_ACTION = 1; // 0x1
256    field public static final int DISMISS_EVENT_CONSECUTIVE = 4; // 0x4
257    field public static final int DISMISS_EVENT_MANUAL = 3; // 0x3
258    field public static final int DISMISS_EVENT_SWIPE = 0; // 0x0
259    field public static final int DISMISS_EVENT_TIMEOUT = 2; // 0x2
260  }
261
262  public class SwipeDismissBehavior extends android.support.design.widget.CoordinatorLayout.Behavior {
263    ctor public SwipeDismissBehavior();
264    method public int getDragState();
265    method public void setDragDismissDistance(float);
266    method public void setEndAlphaSwipeDistance(float);
267    method public void setListener(android.support.design.widget.SwipeDismissBehavior.OnDismissListener);
268    method public void setSensitivity(float);
269    method public void setStartAlphaSwipeDistance(float);
270    method public void setSwipeDirection(int);
271    field public static final int STATE_DRAGGING = 1; // 0x1
272    field public static final int STATE_IDLE = 0; // 0x0
273    field public static final int STATE_SETTLING = 2; // 0x2
274    field public static final int SWIPE_DIRECTION_ANY = 2; // 0x2
275    field public static final int SWIPE_DIRECTION_END_TO_START = 1; // 0x1
276    field public static final int SWIPE_DIRECTION_START_TO_END = 0; // 0x0
277  }
278
279  public static abstract interface SwipeDismissBehavior.OnDismissListener {
280    method public abstract void onDismiss(android.view.View);
281    method public abstract void onDragStateChanged(int);
282  }
283
284  public class TabLayout extends android.widget.HorizontalScrollView {
285    ctor public TabLayout(android.content.Context);
286    ctor public TabLayout(android.content.Context, android.util.AttributeSet);
287    ctor public TabLayout(android.content.Context, android.util.AttributeSet, int);
288    method public void addTab(android.support.design.widget.TabLayout.Tab);
289    method public void addTab(android.support.design.widget.TabLayout.Tab, int);
290    method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
291    method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
292    method public int getSelectedTabPosition();
293    method public android.support.design.widget.TabLayout.Tab getTabAt(int);
294    method public int getTabCount();
295    method public int getTabGravity();
296    method public int getTabMode();
297    method public android.content.res.ColorStateList getTabTextColors();
298    method public android.support.design.widget.TabLayout.Tab newTab();
299    method public void removeAllTabs();
300    method public void removeTab(android.support.design.widget.TabLayout.Tab);
301    method public void removeTabAt(int);
302    method public void setOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener);
303    method public void setScrollPosition(int, float, boolean);
304    method public void setSelectedTabIndicatorColor(int);
305    method public void setSelectedTabIndicatorHeight(int);
306    method public void setTabGravity(int);
307    method public void setTabMode(int);
308    method public void setTabTextColors(android.content.res.ColorStateList);
309    method public void setTabTextColors(int, int);
310    method public void setTabsFromPagerAdapter(android.support.v4.view.PagerAdapter);
311    method public void setupWithViewPager(android.support.v4.view.ViewPager);
312    field public static final int GRAVITY_CENTER = 1; // 0x1
313    field public static final int GRAVITY_FILL = 0; // 0x0
314    field public static final int MODE_FIXED = 1; // 0x1
315    field public static final int MODE_SCROLLABLE = 0; // 0x0
316  }
317
318  public static abstract interface TabLayout.OnTabSelectedListener {
319    method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
320    method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
321    method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
322  }
323
324  public static final class TabLayout.Tab {
325    method public java.lang.CharSequence getContentDescription();
326    method public android.view.View getCustomView();
327    method public android.graphics.drawable.Drawable getIcon();
328    method public int getPosition();
329    method public java.lang.Object getTag();
330    method public java.lang.CharSequence getText();
331    method public boolean isSelected();
332    method public void select();
333    method public android.support.design.widget.TabLayout.Tab setContentDescription(int);
334    method public android.support.design.widget.TabLayout.Tab setContentDescription(java.lang.CharSequence);
335    method public android.support.design.widget.TabLayout.Tab setCustomView(android.view.View);
336    method public android.support.design.widget.TabLayout.Tab setCustomView(int);
337    method public android.support.design.widget.TabLayout.Tab setIcon(android.graphics.drawable.Drawable);
338    method public android.support.design.widget.TabLayout.Tab setIcon(int);
339    method public android.support.design.widget.TabLayout.Tab setTag(java.lang.Object);
340    method public android.support.design.widget.TabLayout.Tab setText(java.lang.CharSequence);
341    method public android.support.design.widget.TabLayout.Tab setText(int);
342    field public static final int INVALID_POSITION = -1; // 0xffffffff
343  }
344
345  public static class TabLayout.TabLayoutOnPageChangeListener implements android.support.v4.view.ViewPager.OnPageChangeListener {
346    ctor public TabLayout.TabLayoutOnPageChangeListener(android.support.design.widget.TabLayout);
347    method public void onPageScrollStateChanged(int);
348    method public void onPageScrolled(int, float, int);
349    method public void onPageSelected(int);
350  }
351
352  public static class TabLayout.ViewPagerOnTabSelectedListener implements android.support.design.widget.TabLayout.OnTabSelectedListener {
353    ctor public TabLayout.ViewPagerOnTabSelectedListener(android.support.v4.view.ViewPager);
354    method public void onTabReselected(android.support.design.widget.TabLayout.Tab);
355    method public void onTabSelected(android.support.design.widget.TabLayout.Tab);
356    method public void onTabUnselected(android.support.design.widget.TabLayout.Tab);
357  }
358
359  public class TextInputLayout extends android.widget.LinearLayout {
360    ctor public TextInputLayout(android.content.Context);
361    ctor public TextInputLayout(android.content.Context, android.util.AttributeSet);
362    ctor public TextInputLayout(android.content.Context, android.util.AttributeSet, int);
363    method public android.widget.EditText getEditText();
364    method public java.lang.CharSequence getError();
365    method public java.lang.CharSequence getHint();
366    method public boolean isErrorEnabled();
367    method public boolean isHintAnimationEnabled();
368    method public void setError(java.lang.CharSequence);
369    method public void setErrorEnabled(boolean);
370    method public void setHint(java.lang.CharSequence);
371    method public void setHintAnimationEnabled(boolean);
372    method public void setHintTextAppearance(int);
373    method public void setTypeface(android.graphics.Typeface);
374  }
375
376   class ViewOffsetBehavior extends android.support.design.widget.CoordinatorLayout.Behavior {
377    ctor public ViewOffsetBehavior();
378    ctor public ViewOffsetBehavior(android.content.Context, android.util.AttributeSet);
379    method public int getLeftAndRightOffset();
380    method public int getTopAndBottomOffset();
381    method public boolean setLeftAndRightOffset(int);
382    method public boolean setTopAndBottomOffset(int);
383  }
384
385}
386
387