Example usage for android.view View.OnTouchListener interface-usage

List of usage examples for android.view View.OnTouchListener interface-usage

Introduction

In this page you can find the example usage for android.view View.OnTouchListener interface-usage.

Usage

From source file ch.fhnw.comgr.GLES3Activity.java

public class GLES3Activity extends Activity implements View.OnTouchListener, SensorEventListener {
    GLES3View myView; // OpenGL view
    static int pointersDown = 0; // NO. of fingers down
    static long lastTouchMS = 0; // Time of last touch in ms
    private SensorManager mSensorManager;

From source file com.aako.zjp2p.widget.superrecycler.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file com.naman14.timber.activities.SearchActivity.java

public class SearchActivity extends BaseThemedActivity
        implements SearchView.OnQueryTextListener, View.OnTouchListener {

    private final Executor mSearchExecutor = Executors.newSingleThreadExecutor();
    @Nullable
    private AsyncTask mSearchTask = null;

From source file edu.uark.spARK.SwipeDismissListViewTouchListener.java

/**
 * A {@link android.view.View.OnTouchListener} that makes the list items in a {@link ListView}
 * dismissable. {@link ListView} is given special treatment because by default it handles touches
 * for its list items... i.e. it's in charge of drawing the pressed state (the list selector),
 * handling list item clicks, etc.
 *

From source file com.adamin.superrecyclerview.superrecycer.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file com.malinskiy.superrecyclerview.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file quentindommerc.superlistview.SwipeDismissListViewTouchListener.java

/**
 * A {@link View.OnTouchListener} that makes the list items in a {@link ListView}
 * dismissable. {@link ListView} is given special treatment because by default it handles touches
 * for its list items... i.e. it's in charge of drawing the pressed state (the list selector),
 * handling list item clicks, etc.
 * <p/>

From source file ir.mhp.twowayrecycler.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file com.jaspersoft.android.jaspermobile.widget.DraggableViewsContainer.java

/**
 * @author Andrew Tivodar
 * @since 2.5
 */
public class DraggableViewsContainer extends RelativeLayout implements View.OnTouchListener, View.OnDragListener {
    private static final int DEFAULT_COLOR = Color.BLACK;

From source file es.ugr.swad.swadroid.gui.SwipeListViewTouchListener.java

@TargetApi(Build.VERSION_CODES.HONEYCOMB_MR1)
public class SwipeListViewTouchListener implements View.OnTouchListener {
    /**
     * SwipeListViewTouchListener tag name for Logcat
     */
    private static final String TAG = Constants.APP_TAG + " SwipeListViewTouchListener";