Aplicar filtro a la derecha o izquierda Deslizar como función de edición de facebook

Quiero implementar filtros en el mapa de bits como facebook introdujo los filtros en la imagen usando el gesto de deslizamiento izquierdo o derecho. Como hacer esto ? Estoy utilizando este código para detectar gesto izquierdo, derecho.

@Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: x1 = event.getX(); break; case MotionEvent.ACTION_UP: x2 = event.getX(); float deltaX = x2 - x1; if (Math.abs(deltaX) > MIN_DISTANCE) { // Left to Right swipe action if (x2 > x1) { Toast.makeText(this, "Left to Right swipe [Next]", Toast.LENGTH_SHORT).show(); } // Right to left swipe action else { Toast.makeText(this, "Right to Left swipe [Previous]", Toast.LENGTH_SHORT).show(); } } else { // consider as something else - a screen tap for example } break; } return super.onTouchEvent(event); } 

FlipAndroid es un fan de Google para Android, Todo sobre Android Phones, Android Wear, Android Dev y Aplicaciones para Android Aplicaciones.