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 com.evandroid.musica.activities.SearchActivity.java

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

    private SearchView mSearchView;
    private InputMethodManager mImm;
    private String queryString;

From source file org.notlocalhost.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.
 *

From source file foam.littlej.android.app.ui.phone.ViewReportPhotoActivity.java

/**
 * @author eyedol
 */
public class ViewReportPhotoActivity extends BaseViewActivity<ReportPhotoView, ListPhotoModel>
        implements AdapterView.OnItemSelectedListener, ViewSwitcher.ViewFactory, View.OnTouchListener {

From source file krishan.dhancha.view.superlistview.SwipeDismissListViewTouchListener.java

/**
 * A {@link android.view.View.OnTouchListener} that makes the list items in a {@link android.widget.ListView}
 * dismissable. {@link android.widget.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.zhihu.android.app.mirror.widget.ArtboardView.java

public class ArtboardView extends SubsamplingScaleImageView implements View.OnTouchListener {
    public interface ArtboardViewCallback {
        void onDrag(ArtboardView view, float dragDismissDistance, float dragTo);

        void onDragDismiss(ArtboardView view, boolean isDragDown);
    }

From source file com.techmighty.baseplayer.activities.SearchActivity.java

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

    private SearchView mSearchView;
    private InputMethodManager mImm;
    private String queryString;

From source file eu.davidea.viewholders.FlexibleViewHolder.java

/**
 * Helper Class that implements:
 * <br/>- Single tap
 * <br/>- Long tap
 * <br/>- Touch for Drag and Swipe.
 * <p>You must extend and implement this class for the own ViewHolder.</p>

From source file org.videolan.vlc.gui.view.PopupLayout.java

public class PopupLayout extends RelativeLayout
        implements ScaleGestureDetector.OnScaleGestureListener, View.OnTouchListener {
    private static final String TAG = "VLC/PopupView";

    private WindowManager mWindowManager;
    private GestureDetectorCompat mGestureDetector;

From source file com.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 ch.jeda.platform.android.CanvasFragment.java

class CanvasFragment extends Fragment implements SurfaceHolder.Callback, View.OnKeyListener, View.OnTouchListener {

    private static final Map<Integer, EventSource> INPUT_DEVICE_MAP = new HashMap<Integer, EventSource>();
    private static final Map<Integer, Key> KEY_MAP = initKeyMap();
    private final EnumSet<ViewFeature> features;
    private EventQueue eventQueue;