use of android.view.ScaleGestureDetector in project android_frameworks_base by ResurrectionRemix.
the class ExpandHelper method cancel.
/**
* Use this to abort any pending expansions in progress.
*/
public void cancel() {
finishExpanding(true, /* forceAbort */
0f);
clearView();
// reset the gesture detector
mSGD = new ScaleGestureDetector(mContext, mScaleGestureListener);
}
Aggregations