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.fbartnitzek.tasteemall.ui.OnTouchHideKeyboardListener.java

/**
 * Copyright 2016.  Frank Bartnitzek
 *
 * //src: http://stackoverflow.com/questions/13116784/how-to-hide-virtual-keyboard-on-touch-of-a-spinner
 *
 * Licensed under the Apache License, Version 2.0 (the "License");

From source file com.ibm.mil.readyapps.summit.listeners.AutoInfiniteTouchListener.java

/**
 * Implementation of the {@link android.view.View.OnTouchListener} interface designed to
 * detect when the user has tapped on the pager.
 * <p/>
 * We use this instead of the {@link android.support.v4.view.ViewPager.OnPageChangeListener}'s
 * {@link com.ibm.mil.readyapps.summit.listeners.AutoInfinitePageChangeListener#onPageScrolled(int, float, int) onPageScrolled} function because that function will

From source file org.skia.viewer.ViewerActivity.java

public class ViewerActivity extends Activity implements SurfaceHolder.Callback, View.OnTouchListener {
    private static final float FLING_VELOCITY_THRESHOLD = 1000;

    private DrawerLayout mDrawerLayout;
    private ActionBarDrawerToggle mDrawerToggle;
    private ListView mDrawerList;

From source file com.liferay.mobile.screens.viewsets.material.auth.login.LoginView.java

/**
 * @author Silvio Santos
 */
public class LoginView extends com.liferay.mobile.screens.viewsets.defaultviews.auth.login.LoginView
        implements View.OnTouchListener {

From source file com.example.sample3.MainActivityFragment.java

/**
 * A placeholder fragment containing a simple view.
 */
public class MainActivityFragment extends Fragment implements ViewPager.OnPageChangeListener, View.OnTouchListener {

    private LoopViewPager mPager;

From source file com.google.android.gms.samples.plus.ShareActivity.java

/**
 * Example of sharing with Google+ through the ACTION_SEND intent.
 */
public class ShareActivity extends FragmentActivity implements View.OnClickListener, View.OnTouchListener {

    protected static final String TAG = ShareActivity.class.getSimpleName();

From source file org.peterbaldwin.vlcremote.fragment.NavigationFragment.java

public class NavigationFragment extends Fragment
        implements View.OnTouchListener, GestureDetector.OnGestureListener {

    private MediaServer mMediaServer;
    private GestureDetector mGestureDetector;

From source file link.fls.swipestack.SwipeHelper.java

public class SwipeHelper implements View.OnTouchListener {

    private final SwipeStack mSwipeStack;
    private View mObservedView;

    private boolean mListenForTouchEvents;

From source file asu.edu.msse.gpeddabu.moviedescriptions.MovieListAdapter.java

public class MovieListAdapter extends BaseExpandableListAdapter implements View.OnTouchListener,
        ExpandableListView.OnGroupExpandListener, ExpandableListView.OnGroupCollapseListener {

    private TextView currSelection = null;
    private MainActivity parent;
    //linked hash map ensures consistent order for iteration and toarray.

From source file android.support.v7.widget.ForwardingListener.java

/**
 * Abstract class that forwards touch events to a {@link ShowableListMenu}.
 *
 * @hide
 */
public abstract class ForwardingListener implements View.OnTouchListener {