framework\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\PanelView.java
private void trackMovement(MotionEvent event) {
// Add movement to velocity tracker using raw screen X and Y coordinates instead
// of window coordinates because the window frame may be moving at the same time.
float deltaX = event.getRawX() - event.getX();
float deltaY = event.getRawY() - event.getY();
event.offsetLocation(deltaX, deltaY);
if (mVelocityTracker != null) mVelocityTracker.addMovement(event);
event.offsetLocation(-deltaX, -deltaY);
}
public void setTouchDisabled(boolean disabled) {
if(YlDefineSystemProperties.YL_MMI_BOOL_DEL_DROPDOWN_BOX){
mTouchDisabled = true; //add by lwz
}else{
mTouchDisabled = disabled;
}
}
主要是setTouchDisabled方法里面去设置为true,其次是默认的。