Package io.anyline2.camera
Class AbstractZoomHandler
-
- All Implemented Interfaces:
-
android.view.View.OnTouchListener
public abstract class AbstractZoomHandler implements View.OnTouchListener
-
-
Method Summary
Modifier and Type Method Description void
setMaxZoom(float maxZoom)
void
setZoomHardness(float zoomHardness)
boolean
onTouch(View v, MotionEvent event)
int
getZoomLevel()
abstract void
notifyZoomChanged(int zoom)
abstract boolean
isPrepared()
-
-
Method Detail
-
setMaxZoom
void setMaxZoom(float maxZoom)
-
setZoomHardness
void setZoomHardness(float zoomHardness)
-
onTouch
boolean onTouch(View v, MotionEvent event)
-
getZoomLevel
int getZoomLevel()
-
notifyZoomChanged
abstract void notifyZoomChanged(int zoom)
-
isPrepared
abstract boolean isPrepared()
-
-
-
-