summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2010-11-21 16:55:04 +0000
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2010-11-21 16:55:04 +0000
commitf8629697d5cf42a8115aef9621d7e150cb2e449d (patch)
tree0ee8358115da3ac071d9ee9ab766efdc0663e5df /core/java/android/webkit
parent6493542ced6999b81ac2076355a2f95ee73d8061 (diff)
downloadframeworks_base-f8629697d5cf42a8115aef9621d7e150cb2e449d.zip
frameworks_base-f8629697d5cf42a8115aef9621d7e150cb2e449d.tar.gz
frameworks_base-f8629697d5cf42a8115aef9621d7e150cb2e449d.tar.bz2
Hide overscroll APIs
There's no reason for these to be public, other than asking for trouble. Change-Id: Ic0d262e4f016752d8393a4aefcefb45a993cd801
Diffstat (limited to 'core/java/android/webkit')
-rw-r--r--core/java/android/webkit/WebSettings.java4
-rw-r--r--core/java/android/webkit/WebView.java3
2 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java
index fd51a22..aa1da7c 100644
--- a/core/java/android/webkit/WebSettings.java
+++ b/core/java/android/webkit/WebSettings.java
@@ -498,6 +498,8 @@ public class WebSettings {
* Set whether the WebView uses its background for over scroll background.
* If true, it will use the WebView's background. If false, it will use an
* internal pattern. Default is true.
+ *
+ * @hide
*/
public void setUseWebViewBackgroundForOverscrollBackground(boolean view) {
mUseWebViewBackgroundOverscrollBackground = view;
@@ -506,6 +508,8 @@ public class WebSettings {
/**
* Returns true if this WebView uses WebView's background instead of
* internal pattern for over scroll background.
+ *
+ * @hide
*/
public boolean getUseWebViewBackgroundForOverscrollBackground() {
return mUseWebViewBackgroundOverscrollBackground;
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 196939e..266a118 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -2524,6 +2524,9 @@ public class WebView extends AbsoluteLayout
}
@Override
+ /*
+ * @hide
+ */
protected void onOverscrolled(int scrollX, int scrollY, boolean clampedX,
boolean clampedY) {
mInOverScrollMode = false;