summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2013-07-18 19:42:41 -0700
committerAdam Powell <adamp@google.com>2013-09-05 00:55:20 +0000
commit1487466dc2ce14cccf0ff2bd2f824238aaa0044e (patch)
tree4bf31a9b198846b45f9a15b3ebc53532bb748e6b /api/current.txt
parent7f71206d009e737e91c4c767183befe6006497c6 (diff)
downloadframeworks_base-1487466dc2ce14cccf0ff2bd2f824238aaa0044e.zip
frameworks_base-1487466dc2ce14cccf0ff2bd2f824238aaa0044e.tar.gz
frameworks_base-1487466dc2ce14cccf0ff2bd2f824238aaa0044e.tar.bz2
Add View#cancelPendingInputEvents API
This API allows an application to cancel deferred high-level input events already in flight. It forms one tool of several to help apps debounce input events and prevent things like multiple startActivity calls, FragmentTransactions, etc. from executing when only one was desired since it's otherwise not desirable for things like click events to fire synchronously. Change-Id: I60b12cd5350898065f0019d616e24d779eb8cff9
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index e50d769..283880e 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -27431,6 +27431,7 @@ package android.view {
method public boolean canScrollHorizontally(int);
method public boolean canScrollVertically(int);
method public void cancelLongPress();
+ method public final void cancelPendingInputEvents();
method public boolean checkInputConnectionProxy(android.view.View);
method public void clearAnimation();
method public void clearFocus();
@@ -27658,6 +27659,7 @@ package android.view {
method protected void onAnimationEnd();
method protected void onAnimationStart();
method protected void onAttachedToWindow();
+ method public void onCancelPendingInputEvents();
method public boolean onCheckIsTextEditor();
method protected void onConfigurationChanged(android.content.res.Configuration);
method protected void onCreateContextMenu(android.view.ContextMenu);