FileDocCategorySizeDatePackage
CloseDragHandle.javaAPI DocAndroid 1.5 API990Wed May 06 22:42:00 BST 2009com.android.server.status

CloseDragHandle

public class CloseDragHandle extends android.widget.LinearLayout

Fields Summary
StatusBarService
mService
Constructors Summary
public CloseDragHandle(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
    
Methods Summary
public booleanonInterceptTouchEvent(android.view.MotionEvent event)

        return mService.interceptTouchEvent(event)
                ? true : super.onInterceptTouchEvent(event);
    
public booleanonTouchEvent(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;