Package com.leia.sdk.views
Class InterlacedSurfaceViewPinchZoom
- java.lang.Object
-
- com.leia.sdk.views.InterlacedSurfaceViewPinchZoom
-
public class InterlacedSurfaceViewPinchZoom extends Object
-
-
Constructor Summary
Constructors Constructor Description InterlacedSurfaceViewPinchZoom(InterlacedView view)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initZonePlate(InterlacedSurfaceViewConfigAccessor accessor)
boolean
onTouchEvent(MotionEvent e)
static void
setTranslation(InterlacedView view, float panX, float panY, boolean applyLimits)
void
setZonePlateOrientationNatural(boolean orientationNatural)
void
setZonePlateSensitivity(float sensitivity)
static void
setZoom(InterlacedView view, float scaleX, float scaleY, float focusX, float focusY, boolean applyLimits)
-
-
-
Constructor Detail
-
InterlacedSurfaceViewPinchZoom
public InterlacedSurfaceViewPinchZoom(InterlacedView view)
-
-
Method Detail
-
onTouchEvent
public boolean onTouchEvent(MotionEvent e)
-
setZonePlateSensitivity
public void setZonePlateSensitivity(float sensitivity)
-
setZonePlateOrientationNatural
public void setZonePlateOrientationNatural(boolean orientationNatural)
-
setZoom
public static void setZoom(InterlacedView view, float scaleX, float scaleY, float focusX, float focusY, boolean applyLimits)
SetInterlacedSurfaceViewConfig.localMatrix
.
This example shows how to zoom around a point using the localMatrix.
An example of how to use the userMatrix has also been added.
-
setTranslation
public static void setTranslation(InterlacedView view, float panX, float panY, boolean applyLimits)
SetInterlacedSurfaceViewConfig.localMatrix
.
This example shows how to pan the image using the localMatrix.
An example of how to use the userMatrix has also been added.
-
initZonePlate
public void initZonePlate(InterlacedSurfaceViewConfigAccessor accessor)
-
-