| 478 | } |
| 479 | |
| 480 | bool TextFieldEx::detachWithIME() |
| 481 | { |
| 482 | bool ret = IMEDelegate::detachWithIME(); |
| 483 | if (ret) |
| 484 | { |
| 485 | // close keyboard |
| 486 | RenderView* renderView = _director->getRenderView(); |
| 487 | if (renderView) |
| 488 | renderView->setIMEKeyboardState(false); |
| 489 | } |
| 490 | return ret; |
| 491 | } |
| 492 | |
| 493 | void TextFieldEx::keyboardDidShow(IMEKeyboardNotificationInfo& /*info*/) |
| 494 | { |
no test coverage detected