Lines Matching refs:handler

2893 //! Rename the handler and its thread
2913 // change the handler's name
2946 preferred handler, and expects them to be correctly distributed to their
2997 // Get the target handler
3000 BHandler* handler = NULL;
3004 handler = PreferredHandler();
3005 if (handler == NULL)
3006 handler = this;
3009 B_HANDLER_TOKEN, (void**)&handler);
3011 // if this handler doesn't belong to us, we drop the message
3012 if (handler != NULL && handler->Looper() != this) {
3014 handler = NULL;
3018 if ((handler == NULL && !dropMessage) || usePreferred)
3019 handler = _DetermineTarget(fLastMessage, handler);
3022 while (_UnpackMessage(cookie, &fLastMessage, &handler, &usePreferred)) {
3023 // if there is no target handler, the message is dropped
3024 if (handler != NULL) {
3025 _SanitizeMessage(fLastMessage, handler, usePreferred);
3032 handler = resolve_specifier(handler, fLastMessage);
3035 if (handler != NULL)
3036 handler = _TopLevelFilter(fLastMessage, handler);
3038 if (handler != NULL)
3039 DispatchMessage(fLastMessage, handler);
3151 // set fTopView's owner, add it to window's eligible handler list
3152 // and also set its next handler to be this window.
3288 handler, or if the packed message does not contain address the focus view
3308 all messages that should go to the preferred handler.
3323 // only consider messages targeted at the preferred handler
3388 BHandler* handler;
3389 if (gDefaultTokens.GetToken(cookie.focus_token, B_HANDLER_TOKEN, (void**)&handler) != B_OK
3390 || handler->Looper() != this)
3521 // this message is targeted at a specific handler, so we should
3529 // just prevent it from being sent to the preferred handler
3556 // The message is only thought for the preferred handler, so we
3612 /*! Handles keyboard input before it gets forwarded to the target handler.
3616 be forwarded to the target handler.
3902 BHandler* handler;
3904 (void**)&handler) != B_OK) {
3909 BView* view = dynamic_cast<BView*>(handler);