diff options
author | Scott Main <smain@google.com> | 2013-09-04 09:19:46 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-04 09:19:46 -0700 |
commit | 703b34bb13e009b8d82f96f17626f806007bd042 (patch) | |
tree | 0cb4046b19ccf65c768b87ba9a001f47b32a8ce5 /core/java/android/view | |
parent | e57d11741049f32af648e92923ae1564b7bb0078 (diff) | |
parent | f579f134ee9495571899be958983a1a242457603 (diff) | |
download | frameworks_base-703b34bb13e009b8d82f96f17626f806007bd042.zip frameworks_base-703b34bb13e009b8d82f96f17626f806007bd042.tar.gz frameworks_base-703b34bb13e009b8d82f96f17626f806007bd042.tar.bz2 |
am f579f134: am e0718c04: am 605d56c0: Merge "clarify javadoc for constructors. bug: 10563421" into jb-mr2-docs
* commit 'f579f134ee9495571899be958983a1a242457603':
clarify javadoc for constructors. bug: 10563421
Diffstat (limited to 'core/java/android/view')
-rw-r--r-- | core/java/android/view/GestureDetector.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/core/java/android/view/GestureDetector.java b/core/java/android/view/GestureDetector.java index 28c1058..6bbfe0f 100644 --- a/core/java/android/view/GestureDetector.java +++ b/core/java/android/view/GestureDetector.java @@ -323,7 +323,7 @@ public class GestureDetector { /** * Creates a GestureDetector with the supplied listener. - * You may only use this constructor from a UI thread (this is the usual situation). + * You may only use this constructor from a {@link android.os.Looper} thread. * @see android.os.Handler#Handler() * * @param context the application's context @@ -337,14 +337,14 @@ public class GestureDetector { } /** - * Creates a GestureDetector with the supplied listener. - * You may only use this constructor from a UI thread (this is the usual situation). + * Creates a GestureDetector with the supplied listener that runs deferred events on the + * thread associated with the supplied {@link android.os.Handler}. * @see android.os.Handler#Handler() * * @param context the application's context * @param listener the listener invoked for all the callbacks, this must * not be null. - * @param handler the handler to use + * @param handler the handler to use for running deferred listener events. * * @throws NullPointerException if {@code listener} is null. */ @@ -362,14 +362,15 @@ public class GestureDetector { } /** - * Creates a GestureDetector with the supplied listener. - * You may only use this constructor from a UI thread (this is the usual situation). + * Creates a GestureDetector with the supplied listener that runs deferred events on the + * thread associated with the supplied {@link android.os.Handler}. * @see android.os.Handler#Handler() * * @param context the application's context * @param listener the listener invoked for all the callbacks, this must * not be null. - * @param handler the handler to use + * @param handler the handler to use for running deferred listener events. + * @param unused currently not used. * * @throws NullPointerException if {@code listener} is null. */ |