Code example for GestureDetector.OnGestureListener

Methods: onSingleTapUp

0
    // Click事件 
    @Override 
    public boolean onSingleTapUp(MotionEvent e) {
        if (null != mOnGestureListener) {
            GLogger.v("Test", "On single tap"); 
            mOnGestureListener.onSingleTapUp(e);
        } 
        return false; 
    } 
 
    /** 
     * @Description 根据图像大小设置预览尺寸. 
     * @author zengchuanmeng 
     * @param 
     * @return void 
     */ 
//    private void calculatePicPreviewSize(int orgWidth, int orgHeight, int screenW, int screenH) { 
//        // LogUtil.logMethodName(); 
//        int effPreWidth, effPreHeight, effPreTop, effPreLeft; 
// 
Connect your IDE to all the code out there  Get Codota for Java