protected void actionMove(MotionEvent event) { if (this.pointerIdCount == 2) { int state = this.getState(); if (state == WorldWind.POSSIBLE) { if (this.shouldRecognize(event)) { this.transitionToState(event, WorldWind.BEGAN); } } else if (state == WorldWind.BEGAN || state == WorldWind.CHANGED) { float distance = this.currentPinchDistance(event); float newScale = Math.abs(distance / this.referenceDistance); this.scale = this.lowPassFilter(this.scale, newScale); this.transitionToState(event, WorldWind.CHANGED); } } }