Lines Matching refs:handler

1389     //   Use if you need to get the most recent timestamp outside of the event callback handler.
1431 // Use if you need to get the most recent timestamp outside of the event callback handler.
1465 * @param handler the Handler that will receive the event notification messages.
1468 Handler handler) {
1470 mEventHandlerDelegate = new NativePositionEventHandlerDelegate(this, listener, handler);
2464 * Call BEFORE adding a routing callback handler.
2473 * Call AFTER removing a routing callback handler.
2498 * @param handler Specifies the {@link Handler} object for the thread on which to execute
2504 Handler handler) {
2510 handler != null ? handler : new Handler(mInitializationLooper)));
2563 * @param handler Specifies the {@link Handler} object for the thread on which to execute
2571 android.os.Handler handler) {
2572 addOnRoutingChangedListener((AudioRouting.OnRoutingChangedListener) listener, handler);
2594 Handler handler = delegate.getHandler();
2595 if (handler != null) {
2596 handler.sendEmptyMessage(AudioSystem.NATIVE_EVENT_ROUTING_CHANGE);
2635 Handler handler) {
2636 // find the looper for our new event handler
2638 if (handler != null) {
2639 looper = handler.getLooper();
2641 // no given handler, use the looper the AudioTrack was created in
2645 // construct the event handler with this looper
2647 // implement the event handler delegate
2690 Handler handler) {
2691 // find the looper for our new event handler
2693 if (handler != null) {
2694 looper = handler.getLooper();
2696 // no given handler, use the looper the AudioTrack was created in
2700 // construct the event handler with this looper
2702 // implement the event handler delegate
2749 Handler handler = delegate.getHandler();
2750 if (handler != null) {
2751 Message m = handler.obtainMessage(what, arg1, arg2, obj);
2752 handler.sendMessage(m);