Back to project page BoxSorter.
The source code is released under:
GNU General Public License
If you think the Android project BoxSorter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.silverhillapps.boxsorter.gesture; /*w w w.j av a2s . c o m*/ import android.util.Log; import android.view.ScaleGestureDetector; import android.view.View.OnTouchListener; public class BSScaleDetector extends ScaleGestureDetector.SimpleOnScaleGestureListener { @Override public boolean onScale(ScaleGestureDetector detector) { // mScaleSpan = detector.getCurrentSpan(); // average distance between fingers Log.i("scale", "scale pinch"); return true; } }