Code example for WebView

Methods: getHeight, getWidth

0
	} 
 
	private void cornerNumber(final MotionEvent paramMotionEvent) {
		if (isCloseTo(paramMotionEvent, 0, 0)) {
			mCorner0 = true;
		} else if (isCloseTo(paramMotionEvent, browser.getWidth(), 0)) {
			mCorner1 = true;
		} else if (isCloseTo(paramMotionEvent, browser.getWidth(), browser
				.getHeight())) {
			mCorner2 = true;
		} else { 
			mCorner0 = false;
			mCorner1 = false;
			mCorner2 = false;
		} 
	} 
 
	@Override 
	public boolean dispatchTouchEvent(final MotionEvent paramMotionEvent) {
		if (paramMotionEvent.getAction() == MotionEvent.ACTION_DOWN) {
3
CodeRank