System.out.println() will not work the way you expect it to in an Android app (there is no console to print to, per se). It looks like the onTouchEvent method is getting called correctly, but you have to "print" the x and y coordinates differently so that you actually see the output.
To see the output, try either writing to logcat
Log.d("MainActivity", "x = " + x + ", y = " + y);
Or displaying a Toast
Toast.makeText(this, "x = " + x + ", y = " + y, Toast.LENGTH_SHORT).show();