public final class

GridInputProcessor

extends Object
implements GestureDetector.OnDoubleTapListener GestureDetector.OnGestureListener
java.lang.Object
   ↳ com.cooliris.media.GridInputProcessor

Summary

Public Constructors
GridInputProcessor(Context context, GridCamera camera, GridLayer layer, RenderView view, Pool<Vector3f> pool, DisplayItem[] displayItems)
Public Methods
void clearFocus()
void clearSelection()
int getCurrentFocusSlot()
int getCurrentScaledSlot()
int getCurrentSelectedSlot()
float getPrevFocusX()
float getPrevFocusY()
float getScale()
ScaleGestureDetector getScaleGestureDetector()
boolean isFocusItemPressed()
boolean onDoubleTap(MotionEvent e)
boolean onDoubleTapEvent(MotionEvent e)
boolean onDown(MotionEvent e)
boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
boolean onKeyDown(int keyCode, KeyEvent event, int state)
void onLongPress(MotionEvent e)
boolean onScale(ScaleGestureDetector detector)
boolean onScaleBegin(ScaleGestureDetector detector)
void onScaleEnd(ScaleGestureDetector detector, boolean cancel)
boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
void onSensorChanged(RenderView view, SensorEvent event, int state)
void onShowPress(MotionEvent e)
boolean onSingleTapConfirmed(MotionEvent e)
boolean onSingleTapUp(MotionEvent e)
boolean onTouchEvent(MotionEvent event)
void resetScale()
void setCurrentFocusSlot(int slotId)
void setCurrentSelectedSlot(int slot)
boolean touchPressed()
void update(float timeElapsed)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.view.GestureDetector.OnDoubleTapListener
From interface android.view.GestureDetector.OnGestureListener

Public Constructors

public GridInputProcessor (Context context, GridCamera camera, GridLayer layer, RenderView view, Pool<Vector3f> pool, DisplayItem[] displayItems)

Public Methods

public void clearFocus ()

public void clearSelection ()

public int getCurrentFocusSlot ()

public int getCurrentScaledSlot ()

public int getCurrentSelectedSlot ()

public float getPrevFocusX ()

public float getPrevFocusY ()

public float getScale ()

public ScaleGestureDetector getScaleGestureDetector ()

public boolean isFocusItemPressed ()

public boolean onDoubleTap (MotionEvent e)

public boolean onDoubleTapEvent (MotionEvent e)

public boolean onDown (MotionEvent e)

public boolean onFling (MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

public boolean onKeyDown (int keyCode, KeyEvent event, int state)

public void onLongPress (MotionEvent e)

public boolean onScale (ScaleGestureDetector detector)

public boolean onScaleBegin (ScaleGestureDetector detector)

public void onScaleEnd (ScaleGestureDetector detector, boolean cancel)

public boolean onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)

public void onSensorChanged (RenderView view, SensorEvent event, int state)

public void onShowPress (MotionEvent e)

public boolean onSingleTapConfirmed (MotionEvent e)

public boolean onSingleTapUp (MotionEvent e)

public boolean onTouchEvent (MotionEvent event)

public void resetScale ()

public void setCurrentFocusSlot (int slotId)

public void setCurrentSelectedSlot (int slot)

public boolean touchPressed ()

public void update (float timeElapsed)