ZF_NAMESPACE_GLOBAL_BEGIN #if 1 ZF_GLOBAL_INITIALIZER_INIT(ZFCore_ZFSerializable_debug_ErrorLog) { ZFCALLBACK_LOCAL_BEGIN_2(zfindex, tmp, const void *, param0, zfindex, param1) { zfLogTrimT() << zfstring((const zfchar *)param0, param1); return zfindexMax; }
void autoFitUpdateFrame(void) { if(this->pimplOwner->layoutParam() == zfnull) { return ; } ZFUIRect orgRect = ZFUIViewPositionOnScreen(this->pimplOwner); if(orgRect.size != this->pimplOwner->layoutedFrame().size) { return ; } this->autoFitMargin = this->autoFitMarginCalc(orgRect, ZFUIOnScreenKeyboardState::instanceForView(this->pimplOwner)); #if _ZFP_ZFUIOnScreenKeyboardAutoFitLayout_DEBUG zfLogTrimT() << zfText("[ZFUIOnScreenKeyboardAutoFitLayout] margin changed to") << this->autoFitMargin; #endif this->scrollView->layoutParam()->layoutMarginSet(this->autoFitMargin); }