Java Code Examples for android.view.View#SCROLL_AXIS_VERTICAL

The following examples show how to use android.view.View#SCROLL_AXIS_VERTICAL . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: android-proguards   File: BottomSheet.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    if ((nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0) {
        isNestedScrolling = true;
        nestedScrollInitialTop = sheet.getTop();
        return true;
    }
    return false;
}
 
Example 2
Source Project: MyBlogDemo   File: BottomSheet.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    if ((nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0) {
        isNestedScrolling = true;
        nestedScrollInitialTop = sheet.getTop();
        return true;
    }
    return false;
}
 
Example 3
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
  return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 4
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 5
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 6
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 7
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 8
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 9
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 10
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 11
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 12
@Override
public boolean onStartNestedScroll(@NonNull CoordinatorLayout coordinatorLayout, @NonNull V child, @NonNull View directTargetChild, @NonNull View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}
 
Example 13
@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}