2015年6月24日 星期三

Keycode value

http://blog.csdn.net/xl_tang/article/details/8720953

frameworks/base/core/java/android/view/KeyEvent.java

log example:
05-06 08:07:01.682 25467 25467 I View    : Key down dispatch to com.facebook.feed.ui.NewsFeedListView{1f1bf432 VFED.VC. .F.....D 0,-144-1080,1413 #102000a android:id/list}, event = KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=51223965, downTime=51223965, deviceId=-1, source=0x101 }


06-20 23:14:30.377   814  1124 D WindowManager: interceptKeyTq keycode=26 interactive=true keyguardActive=true policyFlags=22000000 down =true canceled = false isWakeKey=false mVolumeDownKeyTriggered =false mVolumeUpKeyTriggered =false result = 1 useHapticFeedback = false isInjected = false
06-20 23:14:30.411   814  1124 D WindowManager: interceptKeyTq keycode=26 interactive=true keyguardActive=true policyFlags=22000000 down =false canceled = false isWakeKey=false mVolumeDownKeyTriggered =false mVolumeUpKeyTriggered =false result = 1 useHapticFeedback = false isInjected = false

沒有留言: