Lines Matching refs:handler
1223 // Use if you need to get the most recent timestamp outside of the event callback handler.
1265 // Use if you need to get the most recent timestamp outside of the event callback handler.
1299 * @param handler the Handler that will receive the event notification messages.
1302 Handler handler) {
1304 mEventHandlerDelegate = new NativePositionEventHandlerDelegate(this, listener, handler);
2299 * @param handler Specifies the {@link Handler} object for the thread on which to execute
2304 android.os.Handler handler) {
2312 handler != null ? handler : new Handler(mInitializationLooper)));
2343 Handler handler = delegate.getHandler();
2344 if (handler != null) {
2345 handler.sendEmptyMessage(AudioSystem.NATIVE_EVENT_ROUTING_CHANGE);
2383 Handler handler) {
2384 // find the looper for our new event handler
2386 if (handler != null) {
2387 looper = handler.getLooper();
2389 // no given handler, use the looper the AudioTrack was created in
2393 // construct the event handler with this looper
2395 // implement the event handler delegate
2438 Handler handler) {
2439 // find the looper for our new event handler
2441 if (handler != null) {
2442 looper = handler.getLooper();
2444 // no given handler, use the looper the AudioTrack was created in
2448 // construct the event handler with this looper
2450 // implement the event handler delegate
2497 Handler handler = delegate.getHandler();
2498 if (handler != null) {
2499 Message m = handler.obtainMessage(what, arg1, arg2, obj);
2500 handler.sendMessage(m);