Loading core/java/android/view/GestureDetector.java +8 −7 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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. */ Loading @@ -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. */ Loading Loading
core/java/android/view/GestureDetector.java +8 −7 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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. */ Loading @@ -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. */ Loading