CloseDragHandlepublic class CloseDragHandle extends android.widget.LinearLayout
Fields Summary |
---|
StatusBarService | mService |
Methods Summary |
---|
public boolean | onInterceptTouchEvent(android.view.MotionEvent event)
return mService.interceptTouchEvent(event)
? true : super.onInterceptTouchEvent(event);
| public boolean | onTouchEvent(android.view.MotionEvent event)Ensure that, if there is no target under us to receive the touch,
that we process it ourself. This makes sure that onInterceptTouchEvent()
is always called for the entire gesture.
if (event.getAction() != MotionEvent.ACTION_DOWN) {
mService.interceptTouchEvent(event);
}
return true;
|
|