From 2e976df64426c3ffd35f72233f77d5e638e2b595 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 14 Dec 2010 13:31:40 -0800 Subject: Expose split touch API on PopupWindow. Already exposed the new window flags and layout parameters, just forgot to make this API visible at the same time. Bug: 3049580 Change-Id: If8dc3568eb2806fa21881c31b9f879d6045ca890 --- api/current.xml | 40 ++++++++++++++++++++++++------- core/java/android/widget/PopupWindow.java | 2 -- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/api/current.xml b/api/current.xml index c9371d0b5069..e2ceb3ffb24f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -241251,6 +241251,17 @@ visibility="public" > + + + + + + @@ -347496,7 +347520,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347522,7 +347546,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347537,7 +347561,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347571,7 +347595,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347586,7 +347610,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347773,7 +347797,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > @@ -347814,7 +347838,7 @@ native="false" synchronized="false" static="true" - final="true" + final="false" deprecated="not deprecated" visibility="public" > diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java index 0f61cd4b59fe..591a2d47d28d 100644 --- a/core/java/android/widget/PopupWindow.java +++ b/core/java/android/widget/PopupWindow.java @@ -600,7 +600,6 @@ public class PopupWindow { * @return true if the touch splitting is enabled, false otherwise * * @see #setSplitTouchEnabled(boolean) - * @hide */ public boolean isSplitTouchEnabled() { if (mSplitTouchEnabled < 0 && mContext != null) { @@ -621,7 +620,6 @@ public class PopupWindow { * * @param enabled true if the split touches should be enabled, false otherwise * @see #isSplitTouchEnabled() - * @hide */ public void setSplitTouchEnabled(boolean enabled) { mSplitTouchEnabled = enabled ? 1 : 0; -- cgit v1.2.3-59-g8ed1b