Home
last modified time | relevance | path

Searched refs:CoordinatorLayout (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/support/design/api/
D22.2.1.txt16 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
17 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
18 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
19 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
20 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
21 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
22 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
23 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
58 …method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.vie…
59 …method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, andr…
[all …]
D22.2.0.txt16 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
17 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
18 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
19 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
20 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
21 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
22 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
23 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
58 …method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.vie…
59 …method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, andr…
[all …]
D23.0.0.txt18 …method public boolean onInterceptTouchEvent(android.support.design.widget.CoordinatorLayout, andro…
19 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
20 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
21 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
22 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
23 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
24 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
25 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
26 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
27 …method public boolean onTouchEvent(android.support.design.widget.CoordinatorLayout, android.suppor…
[all …]
D23.1.1.txt18 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
19 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
20 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
21 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
22 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
23 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
24 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
25 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
67 …method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.vie…
68 …method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, andr…
[all …]
D23.1.0.txt18 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
19 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
20 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
21 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
22 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
23 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
24 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
25 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
67 …method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.vie…
68 …method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, andr…
[all …]
Dcurrent.txt18 …method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.suppo…
19 …method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, android.supp…
20 …method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.suppo…
21 …method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.supp…
22 …method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support…
23 …method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android…
24 …oid.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.sup…
25 …method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android…
26 …method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.sup…
67 …method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.vie…
[all …]
/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithAnchoredFabMarginsTest.java43 final CoordinatorLayout.LayoutParams fabLp = in testFabBottomMargin()
44 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabBottomMargin()
70 final CoordinatorLayout.LayoutParams fabLp = in testFabTopMargin()
71 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabTopMargin()
97 final CoordinatorLayout.LayoutParams fabLp = in testFabLeftMargin()
98 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabLeftMargin()
122 final CoordinatorLayout.LayoutParams fabLp = in testFabRightMargin()
123 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabRightMargin()
DBottomSheetBehaviorTouchTest.java75 CoordinatorLayout.LayoutParams params = new CoordinatorLayout.LayoutParams( in setUpBottomSheet()
76 CoordinatorLayout.LayoutParams.MATCH_PARENT, in setUpBottomSheet()
77 CoordinatorLayout.LayoutParams.MATCH_PARENT); in setUpBottomSheet()
DCoordinatorLayoutActivity.java25 CoordinatorLayout mCoordinatorLayout;
35 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator); in onContentViewSet()
DBottomSheetBehaviorActivity.java28 CoordinatorLayout mCoordinatorLayout;
41 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator); in onContentViewSet()
DBaseDynamicCoordinatorLayoutTest.java40 protected CoordinatorLayout mCoordinatorLayout;
100 mCoordinatorLayout = (CoordinatorLayout) mActivityTestRule.getActivity()
DBottomSheetDialogTest.java106 CoordinatorLayout coordinator = (CoordinatorLayout) bottomSheet.getParent(); in testShortDialog()
/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java20 import android.support.design.widget.CoordinatorLayout.Behavior;
55 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent ev) { in onInterceptTouchEvent()
120 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent ev) { in onTouchEvent()
194 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset) { in setHeaderTopBottomOffset()
199 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset, in setHeaderTopBottomOffset()
223 final int scroll(CoordinatorLayout coordinatorLayout, V header, in scroll()
229 final boolean fling(CoordinatorLayout coordinatorLayout, V layout, int minOffset, in fling()
260 void onFlingFinished(CoordinatorLayout parent, V layout) { in onFlingFinished()
289 private final CoordinatorLayout mParent;
292 FlingRunnable(CoordinatorLayout parent, V layout) { in FlingRunnable()
DAppBarLayout.java100 @CoordinatorLayout.DefaultBehavior(AppBarLayout.Behavior.class)
779 public boolean onStartNestedScroll(CoordinatorLayout parent, AppBarLayout child, in onStartNestedScroll()
799 public void onNestedPreScroll(CoordinatorLayout coordinatorLayout, AppBarLayout child, in onNestedPreScroll()
817 public void onNestedScroll(CoordinatorLayout coordinatorLayout, AppBarLayout child, in onNestedScroll()
834 public void onStopNestedScroll(CoordinatorLayout coordinatorLayout, AppBarLayout abl, in onStopNestedScroll()
849 public boolean onNestedFling(final CoordinatorLayout coordinatorLayout, in onNestedFling()
896 private void animateOffsetTo(final CoordinatorLayout coordinatorLayout, in animateOffsetTo()
912 private void animateOffsetWithDuration(final CoordinatorLayout coordinatorLayout, in animateOffsetWithDuration()
951 private void snapToChildIfNeeded(CoordinatorLayout coordinatorLayout, AppBarLayout abl) { in snapToChildIfNeeded()
998 public boolean onMeasureChild(CoordinatorLayout parent, AppBarLayout child,
[all …]
DFloatingActionButton.java64 @CoordinatorLayout.DefaultBehavior(FloatingActionButton.Behavior.class)
544 public static class Behavior extends CoordinatorLayout.Behavior<FloatingActionButton> {
562 public boolean layoutDependsOn(CoordinatorLayout parent,
569 public boolean onDependentViewChanged(CoordinatorLayout parent, FloatingActionButton child,
582 public void onDependentViewRemoved(CoordinatorLayout parent, FloatingActionButton child,
589 private boolean updateFabVisibility(CoordinatorLayout parent,
591 final CoordinatorLayout.LayoutParams lp =
592 (CoordinatorLayout.LayoutParams) child.getLayoutParams();
622 private void updateFabTranslationForSnackbar(CoordinatorLayout parent,
664 private float getFabTranslationYForSnackbar(CoordinatorLayout parent,
[all …]
DCoordinatorLayout.java93 public class CoordinatorLayout extends ViewGroup implements NestedScrollingParent { class
98 final Package pkg = CoordinatorLayout.class.getPackage();
129 CoordinatorLayout.this, lhs, rhs)) {
132 CoordinatorLayout.this, rhs, lhs)) {
174 public CoordinatorLayout(Context context) { in CoordinatorLayout() method in CoordinatorLayout
178 public CoordinatorLayout(Context context, AttributeSet attrs) { in CoordinatorLayout() method in CoordinatorLayout
182 public CoordinatorLayout(Context context, AttributeSet attrs, int defStyleAttr) { in CoordinatorLayout() method in CoordinatorLayout
187 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CoordinatorLayout, in CoordinatorLayout()
1219 CoordinatorLayout.LayoutParams lp = (CoordinatorLayout.LayoutParams) in dispatchDependentViewRemoved()
1221 CoordinatorLayout.Behavior b = lp.getBehavior(); in dispatchDependentViewRemoved()
[all …]
DBottomSheetBehavior.java50 public class BottomSheetBehavior<V extends View> extends CoordinatorLayout.Behavior<V> {
177 public Parcelable onSaveInstanceState(CoordinatorLayout parent, V child) { in onSaveInstanceState()
182 public void onRestoreInstanceState(CoordinatorLayout parent, V child, Parcelable state) { in onRestoreInstanceState()
194 public boolean onLayoutChild(CoordinatorLayout parent, V child, int layoutDirection) { in onLayoutChild()
223 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { in onInterceptTouchEvent()
273 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { in onTouchEvent()
301 public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, in onStartNestedScroll()
309 public void onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, in onNestedPreScroll()
346 public void onStopNestedScroll(CoordinatorLayout coordinatorLayout, V child, View target) { in onStopNestedScroll()
385 public boolean onNestedPreFling(CoordinatorLayout coordinatorLayout, V child, View target, in onNestedPreFling()
[all …]
DHeaderScrollingViewBehavior.java21 import android.support.design.widget.CoordinatorLayout.Behavior;
51 public boolean onMeasureChild(CoordinatorLayout parent, View child, in onMeasureChild()
100 protected void layoutChild(final CoordinatorLayout parent, final View child, in layoutChild()
106 final CoordinatorLayout.LayoutParams lp = in layoutChild()
107 (CoordinatorLayout.LayoutParams) child.getLayoutParams(); in layoutChild()
DViewOffsetBehavior.java26 class ViewOffsetBehavior<V extends View> extends CoordinatorLayout.Behavior<V> {
40 public boolean onLayoutChild(CoordinatorLayout parent, V child, int layoutDirection) { in onLayoutChild()
61 protected void layoutChild(CoordinatorLayout parent, V child, int layoutDirection) { in layoutChild()
DSwipeDismissBehavior.java36 public class SwipeDismissBehavior<V extends View> extends CoordinatorLayout.Behavior<V> {
170 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { in onInterceptTouchEvent()
195 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { in onTouchEvent()
DBottomSheetDialog.java78 final CoordinatorLayout coordinator = (CoordinatorLayout) View.inflate(getContext(), in wrapInBottomSheet()
/frameworks/support/design/tests/src/android/support/design/custom/
DTestFloatingBehavior.java19 import android.support.design.widget.CoordinatorLayout;
26 public class TestFloatingBehavior extends CoordinatorLayout.Behavior<TextView> {
38 public boolean layoutDependsOn(CoordinatorLayout parent, TextView child, View dependency) { in layoutDependsOn()
43 public boolean onDependentViewChanged(CoordinatorLayout parent, TextView child, in onDependentViewChanged()
DCustomTextView.java19 import android.support.design.widget.CoordinatorLayout;
23 @CoordinatorLayout.DefaultBehavior(TestFloatingBehavior.class)
/frameworks/base/docs/html/training/snackbar/
Dshowing.jd14 <li><a href="#coordinator">Use a CoordinatorLayout</a></li>
37 <h2 id="coordinator">Use a CoordinatorLayout</h2>
45 is attached to a {@link android.support.design.widget.CoordinatorLayout}, the
65 The {@link android.support.design.widget.CoordinatorLayout} class provides a superset
68 layout with a {@link android.support.design.widget.CoordinatorLayout} to
72 android.support.design.widget.CoordinatorLayout}, as in this example:
75 <pre>&lt;android.support.design.widget.CoordinatorLayout
83 a CoordinatorLayout --&gt;
93 &lt;/android.support.design.widget.CoordinatorLayout&gt;</pre>
97 android.support.design.widget.CoordinatorLayout}. You need the layout's ID
[all …]
/frameworks/support/design/
Dproguard-rules.pro15 # CoordinatorLayout resolves the behaviors of its child components with reflection.
16 -keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior {
21 # Make sure we keep annotations for CoordinatorLayout's DefaultBehavior

12