Java Code Examples for android.view.View#OVER_SCROLL_NEVER

The following examples show how to use android.view.View#OVER_SCROLL_NEVER . 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 File: ReactScrollViewHelper.java    From react-native-GPay with MIT License 5 votes vote down vote up
public static int parseOverScrollMode(String jsOverScrollMode) {
  if (jsOverScrollMode == null || jsOverScrollMode.equals(AUTO)) {
    return View.OVER_SCROLL_IF_CONTENT_SCROLLS;
  } else if (jsOverScrollMode.equals(OVER_SCROLL_ALWAYS)) {
    return View.OVER_SCROLL_ALWAYS;
  } else if (jsOverScrollMode.equals(OVER_SCROLL_NEVER)) {
    return View.OVER_SCROLL_NEVER;
  } else {
    throw new JSApplicationIllegalArgumentException("wrong overScrollMode: " + jsOverScrollMode);
  }
}
 
Example 2
Source File: AwContents.java    From android-chromium with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/**
 * @see View#setOverScrollMode(int)
 */
public void setOverScrollMode(int mode) {
    if (mode != View.OVER_SCROLL_NEVER) {
        mOverScrollGlow = new OverScrollGlow(mContainerView);
    } else {
        mOverScrollGlow = null;
    }
}
 
Example 3
Source File: OverscrollHelper.java    From iSCAU-Android with GNU General Public License v3.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 4
Source File: OverscrollHelper.java    From FacebookNewsfeedSample-Android with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 5
Source File: OverscrollHelper.java    From bmob-android-demo-paging with GNU General Public License v3.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 6
Source File: OverscrollHelper.java    From PullToRefresh-PinnedSection-ListView with MIT License 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 7
Source File: OverscrollHelper.java    From ONE-Unofficial with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 8
Source File: OverscrollHelper.java    From SweetMusicPlayer with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 9
Source File: OverscrollHelper.java    From PullToRefreshLibrary with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 10
Source File: OverscrollHelper.java    From android-project-wo2b with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 11
Source File: OverscrollHelper.java    From RefreashTabView with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 12
Source File: OverscrollHelper.java    From LbaizxfPulltoRefresh with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 13
Source File: OverscrollHelper.java    From NetEasyNews with GNU General Public License v3.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 14
Source File: OverscrollHelper.java    From FanXin-based-HuanXin with GNU General Public License v2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 15
Source File: OverscrollHelper.java    From AndroidBase with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 16
Source File: OverscrollHelper.java    From BigApp_WordPress_Android with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view)
{
    return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 17
Source File: OverscrollHelper.java    From zen4android with MIT License 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 18
Source File: OverscrollHelper.java    From Favorite-Android-Client with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 19
Source File: OverscrollHelper.java    From sctalk with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}
 
Example 20
Source File: OverscrollHelper.java    From Social with Apache License 2.0 4 votes vote down vote up
static boolean isAndroidOverScrollEnabled(View view) {
	return view.getOverScrollMode() != View.OVER_SCROLL_NEVER;
}