[G2 and Desire Z Android Development] napior:
If someone could help me in fix rotation keyboard here is logcat

I/InputMethodService( (1011): : [onConfigurationChanged] state = open keyboard
I/InputMethodService( (1011): : [onShowInputRequested] flags = 1
I/InputMethodService( (1011): : [onShowInputRequested] true
I/InputMethodService( (1011): : [onConfigurationChanged] open keyboard = showWindow
V/InputMethodService( (1011): : Showing window: showInput=true mShowInputRequested=false mWindowAdded=true mWindowCreated=false mWindowVisible=false mInputStarted=true
V/InputMethodService( (1011): : showWindow: updating UI
I/HTCIMEService( (1011): : [onCreateInputView]
D/InputDispatcher( (211): : InputDispatcher::registerInputChannel - channel '412dd578 RecentsPanel (server)' ~ registerInputChannel - monitor=false
D/InputDispatcher( (211): : InputDispatcher::registerInputChannel, get received Fd, fd=252
D/InputDispatcher( (211): : InputDispatcher::registerInputChannel, Looper addFd
D/InputDispatcher( (211): : InputDispatcher::registerInputChannel, runCommandsLockedInterruptible(), finish registerInputChannel
D/PhoneStatusBarView( (882): : onReceive: onConfigurationChanged.
D/PhoneStatusBar( (882): : updateDisplaySize: DisplayMetrics{density=1.5, width=800, height=480, scaledDensity=1.5, xdpi=254.0, ydpi=254.0}
D/PhoneStatusBar( (882): : updateExpandedSize()
D/PhoneStatusBar( (882): : updateExpandedSize: height=338 INVISIBLE
D/InputDispatcher( (211): : InputDispatcher::unregisterInputChannel, channel: '41457f98 RecentsPanel (server)' ~ unregisterInputChannel
D/InputDispatcher( (211): : InputDispatcher::unregisterInputChannel, Looper remove ReceivePipeFd
D/InputDispatcher( (211): : InputDispatcher::unregisterInputChannel, abortBrokenDispatchCycleLocked()
D/InputDispatcher( (211): : InputDispatcher::unregisterInputChannel, mLooper->wake(), finish unregisterInputChannel
V/Performance( (882): : >>com.android.systemui.statusbar.phone.PhoneStatusBar$7@40dd4480 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=882
D/PhoneStatusBar( (882): : onReceive: ACTION_CONFIGURATION_CHANGED.
V/Performance( (882): : <<com.android.systemui.statusbar.phone.PhoneStatusBar$7@40dd4480 onReceive, 91ms
W/APKResTool( (1011): : can't find package
V/Performance( (882): : >>com.android.systemui.statusbar.policy.Clock$1@40e0f6f0 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=882
V/Performance( (882): : <<com.android.systemui.statusbar.policy.Clock$1@40e0f6f0 onReceive, 7ms
V/Performance( (882): : >>com.android.systemui.statusbar.phone.CarrierLabel$1@40ddb6f8 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=882
D/HtcBlinkingTextView( (882): : setVisibility=0, mEnableBlinking=false, Sleep=true, id=18
D/CarrierLabel( (882): : updateResources()
W/CarrierLabel( (882): : updateNetworkNameExt: mSimState = UNKNOWN
I/Adreno200-EGLSUB( (100): : <CreateImage:893>: Android Image
I/Adreno200-EGLSUB( (100): : <GetImageAttributes:1102>: RGBA_8888
D/HtcBlinkingTextView( (882): : setText=, mEnableBlinking=false, Sleep=false, id=19
D/HtcBlinkingTextView( (882): : setVisibility=8, mEnableBlinking=false, Sleep=false, id=19
D/HtcBlinkingTextView( (882): : internalSetVisibility=8, mEnableBlinking=false, Sleep=true, id=20
V/Performance( (882): : <<com.android.systemui.statusbar.phone.CarrierLabel$1@40ddb6f8 onReceive, 11ms
V/Performance( (882): : >>android.widget.DateTimeView$1@41002060 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=882
V/Performance( (882): : <<android.widget.DateTimeView$1@41002060 onReceive, 0ms
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
D/RecentsPanelView( (882): : panelHeight=480
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
D/PhoneStatusBar( (882): : ExpandedView height changed old=658 new=338
D/PhoneStatusBar( (882): : updateExpandedViewPos before expandedPosition=-10000 mTrackingParams.y=-480 mTrackingPosition=-480
D/memalloc( (882): : /dev/pmem: Unmapping buffer base:0x54904000 size:9154560 offset:7864320
D/dalvikvm( (882): : GC_FOR_ALLOC freed 1700K, 47% free 5066K/9443K, paused 102ms
I/HTCIMMView( (1011): : [FixedWCL] adjustWCLHeight height:65
I/Adreno200-EGLSUB( (100): : <CreateImage:893>: Android Image
I/Adreno200-EGLSUB( (100): : <GetImageAttributes:1102>: RGBA_8888
I/SIPSwitcherHWKB( (1011): : contentType - 12 orientation - 2
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIPInternal, unknown
I/SIPSwitcherHWKB( (1011): : CSS.mPosition - 0
I/SIPSwitcherHWKB( (1011): : CSS.mStatus - CS_UNKONWN
I/SIPSwitcherHWKB( (1011): : mSwitchPosition - 0
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIPInternal, ret - 0
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIP, ret - 0
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
I/HTCIMEService( (1011): : [getIMByTypeAndSIP] preferredIM=0
D/PhoneStatusBar( (882): : updateExpandedViewPos before expandedPosition=-10000 mTrackingParams.y=-480 mTrackingPosition=-480
D/memalloc( (882): : /dev/pmem: Unmapping buffer base:0x5344a000 size:4894720 offset:4833280
I/Adreno200-EGLSUB( (100): : <CreateImage:893>: Android Image
I/Adreno200-EGLSUB( (100): : <GetImageAttributes:1088>: RGB_565
D/InputDispatcher( (211): : setInputDispatchMode: enabled=1, frozen=0
V/BatteryStatsImpl( (211): : release partial wakelock, name=SCREEN_FROZEN, pid=211
I/WindowManager( (211): : The App Token is not null. WindowState=Window{413cb1c0 com.android.settings/com.android.settings.Settings paused=false}
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
D/PowerManagerService( (211): : releaseWakeLock(413cd1c0): PARTIAL_WAKE_LOCK , tag=SCREEN_FROZEN, flags=0x1
D/WindowManager( (211): : Starting rotation animaiton
I/WindowManager( (211): : The App Token is not null. WindowState=Window{413cb1c0 com.android.settings/com.android.settings.Settings paused=false}
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
I/WindowManager( (211): : The App Token is not null. WindowState=Window{413cb1c0 com.android.settings/com.android.settings.Settings paused=false}
D/WindowManager( (211): : computeForcedAppOrientationLocked(), req=-1, mForcedAppOrientation=-1
D/PowerManagerService( (211): : releaseWakeLock(4163ad50): PARTIAL_WAKE_LOCK , tag=*sync*_com.android.calendar_Account {name=, type=com.facebook.auth.login}, flags=0x1
V/InputMethodService( (1011): : CALL: onCreateCandidatesView
I/HTCIMMView( (1011): : [FixedWCL] adjustWCLHeight height:65
V/InputMethodService( (1011): : showWindow: candidates=android.widget.LinearLayout@41313b90
V/InputMethodService( (1011): : CALL: onStartInputView
I/HTCIMEService( (1011): : [onStartInputView]: , attribute=0x0, package=com.android.settings, restarting=false
I/HTCIMEService( (1011): : [onStartInputView]: , mbUseHWkeyboard=true, initialSelStart=-1, initialSelEnd=-1
D/DialerApp( (1039): : onConfigurationChanged
W/SubtypeSwitcher( (1011): : Current subtype: en_US, keyboard
W/SubtypeSwitcher( (1011): : Last subtype was disabled. Update to the current one.
E/AbstractCompatWrapper( (1011): : Invalid input to AbstructCompatWrapper
E/CompatUtils( (1011): : Exception in invoke: NullPointerException
W/SubtypeSwitcher( (1011): : Update subtype to:en_US,keyboard, from: en_US, keyboard
D/SubtypeSwitcher( (1011): : Update shortcut IME from : com.google.android.voicesearch/.ime.VoiceInputMethodService, , voice
D/SubtypeSwitcher( (1011): : Update shortcut IME to : com.google.android.voicesearch/.ime.VoiceInputMethodService, , voice
I/HTCIMEService( (1011): : fetch result: 8.5
I/HTCIMEService( (1011): : fetch result: 8.5
I/SIPSwitcherHWKB( (1011): : ...SKIP update switch circle...
I/SIPSwitcherHWKB( (1011): : contentType - 12 orientation - 2
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIPInternal, unknown
I/SIPSwitcherHWKB( (1011): : CSS.mPosition - 0
I/SIPSwitcherHWKB( (1011): : CSS.mStatus - CS_UNKONWN
I/SIPSwitcherHWKB( (1011): : mSwitchPosition - 0
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIPInternal, ret - 0
I/SIPSwitcherHWKB( (1011): : getContentSensitiveSIP, ret - 0
I/HTCIMEService( (1011): : [getIMByTypeAndSIP] preferredIM=0
V/HtcAppUsageStats( (211): : noteAppDied pid=3220
V/Performance( (929): : >>com.htc.launcher.Launcher$13@40df77c0 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=929
D/Rosie ( (929): : ConfigurationChanged...false,true
V/BatteryStatsImpl( (211): : release partial wakelock, name=*sync*_com.android.calendar_Account {name=, type=com.facebook.auth.login}, pid=211
V/Performance( (929): : <<com.htc.launcher.Launcher$13@40df77c0 onReceive, 58ms
I/HTCIMEService( (1011): : [onStartInputView]: mCurrSIP=com.htc.android.htcime.ezsip.QwertyHWKBView@40e037b8, mData.mCurrIM=com.htc.android.htcime.XT9IME.XT9IME@40e0da78
I/XT9IME ( (1011): : [startInput]
D/XT9CoreMutex( (1011): : XT9IME got token!
I/XT9IME ( (1011): : [setInputConnection]: inputContext=com.android.internal.view.InputConnectionWrapper@41354720
V/SyncManager( (211): : syncResult != null:true
D/SyncManager( (211): : failed sync operation (com.facebook.auth.login), com.android.calendar, SERVER, earliestRunTime 259612, EXPEDITED, SyncResult: tooManyRetries: true stats []
D/SyncManager( (211): : not retrying sync operation because it retried too many times: (com.facebook.auth.login), com.android.calendar, SERVER, earliestRunTime 495164, EXPEDITED
D/XT9CoreMutex( (1011): : XT9IME release token.
D/XT9CoreMutex( (1011): : LandQwertySIPView got token!
D/XT9IME ( (1011): : [handleFNKeyDown] FN_SETLANG received value=409
I/XT9_C ( (1011): : [loadDefaultDB] xt9_raw/ldb_0409.ldb size=304198 (loaded)
I/XT9_C ( (1011): : [registerXT9LDB] ldb_0409.ldb loading [done]
D/XT9_C ( (1011): : [registerXT9LDB] current LdbNum=109, First LdbNum=109, Second LdbNum=0
V/BatteryStatsImpl( (211): : hold partial wakelock, name=*sync*_com.htc.socialnetwork.facebook_Account {name=, type=com.facebook.auth.login}, pid=211
V/SyncManager( (211): : [SyncStorageEngine]: setActiveSync:Account {name=, type=com.facebook.auth.login}
V/SyncManager( (211): : 0: account:Account {name=, type=com.facebook.auth.login} ,authority:com.htc.socialnetwork.facebook
D/XT9IME ( (1011): : [handleFNKeyDown] FN_SETKBCODE received value=c09
D/PowerManagerService( (211): : acquireWakeLock(413bbb98): PARTIAL_WAKE_LOCK , tag=*sync*_com.htc.socialnetwork.facebook_Account {name=, type=com.facebook.auth.login}, flags=0x1, pid=211, uid=1000, mUserState=0x3
D/SyncLog ( (1039): : onStatusChanged ===========================================
D/SyncLog ( (1039): : info account (/com.facebook.auth.login), authority: com.htc.socialnetwork.facebook
D/AccountTypeManager( (1716): : Add source (AccountType), com.htc.android.mail.eas canUploading? true writable? true
I/XT9_C ( (1011): : [loadDefaultDB] xt9_raw/kbd_0c09.kbd size=32636 (loaded)
D/AccountTypeManager( (1716): : Registering external account type=com.htc.htctwitter, packageName=com.htc.htctwitter
V/Performance( (3731): : >>com.htc.socialnetwork.facebook.remote.FacebookSyncStreamService@40f1a970 onCreate
D/FacebookSyncStreamService( (3731): : onCreate
D/FacebookSyncStreamService( (3731): : new SyncAdapterImpl
D/WindowManager( (211): : end of ratation animation
D/XT9_C ( (1011): : [registerXT9KDB] current KdbNum=c09, First KdbNum=c09, Second KdbNum=0
D/LatinIM ( (1011): : onKDBChange() kdbID = c09
D/XT9IME ( (1011): : [handleFNKeyDown] FN_XT9INIT received value=18
D/XT9_C ( (1011): : [T9_SetBigramLM] Enable Bigram
D/XT9IME ( (1011): : [hanldeDBContentSensitive] set PDSwitch's OnDiagnoseListener for Normal4PDSwitch
D/XT9IME ( (1011): : [handleFNKeyDown] FN_XT9INPUTMODE received value=1
D/XT9IME ( (1011): : [handleFNKeyDown] FN_SIPPAGENO received value=0
D/XT9_C ( (1011): : [T9_SetKdbPage] First KdbNum=c09, Second KdbNum=0, FirstPageNum=0, SecondPageNum=0
D/XT9IME ( (1011): : [handleFNKeyDown] FN_INPUTMODE received value=2
D/XT9CoreMutex( (1011): : LandQwertySIPView release token.
D/XT9CoreMutex( (1011): : QwertyHWKBView got token!
D/XT9IME ( (1011): : [handleFNKeyDown] FN_XT9INIT received value=18
D/XT9_C ( (1011): : [T9_SetBigramLM] Enable Bigram
V/BatteryStatsImpl( (211): : hold partial wakelock, name=SCREEN_FROZEN, pid=211
D/InputDispatcher( (211): : setInputDispatchMode: enabled=1, frozen=1
D/PowerManagerService( (211): : acquireWakeLock(41499f40): PARTIAL_WAKE_LOCK , tag=SCREEN_FROZEN, flags=0x1, pid=211, uid=1000, mUserState=0x3
I/InputReader( (211): : Reconfiguring input devices. changes=0x00000004
I/InputReader( (211): : Device reconfigured: id=6, name='atmel-touchscreen', surface size is now 480x800, mode is 1
V/Performance( (3731): : <<com.htc.socialnetwork.facebook.remote.FacebookSyncStreamService@40f1a970 onCreate, 24ms
D/PowerManagerService( (211): : button light setOrientation:0
D/XT9IME ( (1011): : [hanldeDBContentSensitive] set PDSwitch's OnDiagnoseListener for Normal4PDSwitch
D/XT9IME ( (1011): : [handleFNKeyDown] FN_XT9INPUTMODE received value=1
D/XT9IME ( (1011): : [handleFNKeyDown] FN_SIPPAGENO received value=0
D/XT9_C ( (1011): : [T9_SetKdbPage] First KdbNum=c09, Second KdbNum=0, FirstPageNum=0, SecondPageNum=0
D/XT9IME ( (1011): : [handleFNKeyDown] FN_INPUTMODE received value=2
D/XT9CoreMutex( (1011): : QwertyHWKBView release token.
I/EZHWKBView( (1011): : doAutoCapCheck, mAutoCapMode =0
I/HTCIMMView( (1011): : [FixedWCL] adjustWCLHeight height:65
V/Performance( (3731): : >>com.htc.socialnetwork.facebook.remote.FacebookSyncStreamService@40f1a970 onBind
D/FacebookSyncStreamService( (3731): : try to bind android.content.SyncAdapter
V/Performance( (3731): : <<com.htc.socialnetwork.facebook.remote.FacebookSyncStreamService@40f1a970 onBind, 0ms
I/IdleScreen_base( (952): : FxIdleScreen: onConfigurationChanged new orientation:1 mLocale:pl_PL locale:pl_PL
I/ActivityManager( (211): : Config changed: {1.0 260mcc2mnc pl_PL layoutdir=0 sw320dp w320dp h508dp nrml long port finger qwerty/v/v tball/v s.24 skin=default fontsize=3}
D/OpenGLRenderer( (1141): : Flushing caches (mode 0)
V/ActivityManager( (211): : Delivering non-ordered to registered BroadcastFilter{4144df68 ReceiverList{4144def0 211 system/1000 local:4144dd70}}: BroadcastRecord{415836d0 android.intent.action.CONFIGURATION_CHANGED}
I/ActivityManager( (211): : Delivering to BroadcastFilter{4144df68 ReceiverList{4144def0 211 system/1000 local:4144dd70}}
V/Performance( (211): : >>android.media.AudioService$AudioServiceBroadcastReceiver@412fcb80 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=228
V/Performance( (211): : <<android.media.AudioService$AudioServiceBroadcastReceiver@412fcb80 onReceive, 0ms
V/Performance( (211): : >>com.htc.lockscreen.app.LSState$EventReceiver@41075200 onReceive:Intent { act=android.intent.action.CONFIGURATION_CHANGED flg=0x60000010 }, tid=228
V/InputMethodService( (1011): : showWindow: showing!
I/IME_CURRENT_STATE( (1011): : SIP_VISIBLE=true, SIP_HEIGHT=0
V/ActivityManager( (211): : Delivering non-ordered to registered BroadcastFilter{40f28670 ReceiverList{40f53950 211 system/1000 local:40f37440}}: BroadcastRecord{415836d0 android.intent.action.CONFIGURATION_CHANGED}
I/ActivityManager( (211): : Delivering to BroadcastFilter{40f28670 ReceiverList{40f53950 211 system/1000 local:40f37440}}
V/ActivityManager( (211): : Delivering non-ordered to registered BroadcastFilter{41388388 ReceiverList{413882e8 882 com.android.systemui/1000 remote:41387e58}}: BroadcastRecord{415836d0 android.intent.action.CONFIGURATION_CHANGED}
I/ActivityManager( (211): : Delivering to BroadcastFilter{41388388 ReceiverList{413882e8 882 com.android.systemui/1000 remote:41387e58}}

Logcat was made when i open keyboard.