Android Open Source - AndroidImageViewZoom On Touch Interface






From Project

Back to project page AndroidImageViewZoom.

License

The source code is released under:

Copyright (c) 2011 Igor Crevar http://extrafull.com/igorcrevar/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...

If you think the Android project AndroidImageViewZoom listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.rogicrew.imagezoom.ontouch;
//  w  w w  .j a v  a2  s .  c  o  m
import java.util.List;

import android.view.MotionEvent;

public interface OnTouchInterface {
  /**
   * Must call create method after creation of instance
   * @param timeForClick
   * @param timeForDoubleClick
   */
  void setTimes(long timeForClick, long timeForDoubleClick);
  void init();
  void processEvent (MotionEvent event);
  boolean isDoubleClick();
  boolean isSingleClick();
  boolean isScroll();
  boolean isMove();
  boolean isMultitouch();
  Pointer getClickPoint();
  List<Pointer> getAllPoints(); //for multitouch
}




Java Source Code List

com.rogicrew.imagezoom.ImageViewZoomOptions.java
com.rogicrew.imagezoom.ImageViewZoom.java
com.rogicrew.imagezoom.example.ImageViewZoomExample1Activity.java
com.rogicrew.imagezoom.example.ImageViewZoomTest.java
com.rogicrew.imagezoom.example.UnscaledBitmapOperations.java
com.rogicrew.imagezoom.ontouch.OnTouchInterface.java
com.rogicrew.imagezoom.ontouch.OnTouchMulti.java
com.rogicrew.imagezoom.ontouch.OnTouchSingle.java
com.rogicrew.imagezoom.ontouch.Pointer.java