Merge commit 'bfba7cab94cd9cf28e561159dbbe934dc83a6f0a' into gingerbread-plus-aosp * commit 'bfba7cab94cd9cf28e561159dbbe934dc83a6f0a': Fix issue #3001362: API REVIEW: android.view.InputQueue.Callback
This commit is contained in:
@@ -28,8 +28,21 @@ public final class InputQueue {
|
|||||||
|
|
||||||
private static final boolean DEBUG = false;
|
private static final boolean DEBUG = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface to receive notification of when an InputQueue is associated
|
||||||
|
* and dissociated with a thread.
|
||||||
|
*/
|
||||||
public static interface Callback {
|
public static interface Callback {
|
||||||
|
/**
|
||||||
|
* Called when the given InputQueue is now associated with the
|
||||||
|
* thread making this call, so it can start receiving events from it.
|
||||||
|
*/
|
||||||
void onInputQueueCreated(InputQueue queue);
|
void onInputQueueCreated(InputQueue queue);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the given InputQueue is no longer associated with
|
||||||
|
* the thread and thus not dispatching events.
|
||||||
|
*/
|
||||||
void onInputQueueDestroyed(InputQueue queue);
|
void onInputQueueDestroyed(InputQueue queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user