Code example for Paint.FontMetricsInt

0
		public ArrayList<VelocityTracker> mVelocityList = new ArrayList<VelocityTracker>();
		private int mHeaderBottom;
		private boolean mCurDown;
		private int mCurX;
		private int mCurY;
		private float mCurPressure;
		private int mCurWidth;
		private VelocityTracker mVelocity;
 
		public MyView(Context c) {
			super(c);
 
			DisplayMetrics dm = new DisplayMetrics();
			dm = TouchScreen_HandWriting.this.getApplicationContext()
					.getResources().getDisplayMetrics();
			int screenWidth = dm.widthPixels;
			int screenHeight = dm.heightPixels;
			if ((480 == screenWidth && 800 == screenHeight)
					|| (800 == screenWidth && 480 == screenHeight)) {
				mZoom = 2;
Connect your IDE to all the code out there  Get Codota for Java