@Test public void setZoomFactorTest() { cameraKitView.setZoomFactor(TEST_ZOOM_FACTOR); assertEquals(cameraKitView.getZoomFactor(), TEST_ZOOM_FACTOR); }
public void setZoomFactor(float zoomFactor) { mZoomFactor = zoomFactor; }
CameraKitView extends GestureLayout { public void setZoomFactor(float zoomFactor) { mZoomFactor = zoomFactor; } }
CameraKitView extends GestureLayout { public void setZoomFactor(float zoomFactor) { mZoomFactor = zoomFactor; } CameraKitView(Context context);  CameraKitView(Context context, AttributeSet attrs);  CameraKitView(Context context, AttributeSet attrs, int defStyleAttr); }
CameraKitView extends GestureLayout { public void setZoomFactor(float zoomFactor) { mZoomFactor = zoomFactor; } CameraKitView(Context context);  CameraKitView(Context context, AttributeSet attrs);  CameraKitView(Context context, AttributeSet attrs, int defStyleAttr); void onStart(); void onStop(); void onResume(); void onPause(); void captureImage(final ImageCallback callback); void startVideo(); void stopVideo(); void captureVideo(VideoCallback callback); void captureFrame(FrameCallback callback); void setFrameCallback(FrameCallback callback); void setPermissionsListener(PermissionsListener permissionsListener); void requestPermissions(Activity activity); void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults); void setAdjustViewBounds(boolean adjustViewBounds); boolean getAdjustViewBounds(); void setAspectRatio(float aspectRatio); float getAspectRatio(); void setFacing(@CameraKit.Facing int facing); @CameraKit.Facing int getFacing(); void toggleFacing(); void setFlash(@CameraKit.Flash int flash); boolean hasFlash(); CameraFlash[] getSupportedFlashTypes(); @CameraKit.Flash int getFlash(); void setFocus(@CameraKit.Focus int focus); @CameraKit.Focus int getFocus(); void setZoomFactor(float zoomFactor); float getZoomFactor(); void setSensorPreset(@CameraKit.SensorPreset int sensorPreset); @CameraKit.SensorPreset int getSensorPreset(); void setPreviewEffect(@CameraKit.PreviewEffect int previewEffect); @CameraKit.PreviewEffect int getPreviewEffect(); void setPermissions(@Permission int permissions); @Permission int getPermissions(); void setImageMegaPixels(float imageMegaPixels); float getImageMegaPixels(); void setGestureListener(GestureListener gestureListener); GestureListener getGestureListener(); void setCameraListener(CameraListener cameraListener); CameraListener getCameraListener(); void removeCameraListener(); void setPreviewListener(PreviewListener previewListener); PreviewListener getPreviewListener(); void removePreviewListener(); void setErrorListener(ErrorListener errorListener); ErrorListener getErrorListener(); void removeErrorListener(); CameraSize getPreviewResolution(); CameraSize getPhotoResolution(); }
CameraKitView extends GestureLayout { public void setZoomFactor(float zoomFactor) { mZoomFactor = zoomFactor; } CameraKitView(Context context);  CameraKitView(Context context, AttributeSet attrs);  CameraKitView(Context context, AttributeSet attrs, int defStyleAttr); void onStart(); void onStop(); void onResume(); void onPause(); void captureImage(final ImageCallback callback); void startVideo(); void stopVideo(); void captureVideo(VideoCallback callback); void captureFrame(FrameCallback callback); void setFrameCallback(FrameCallback callback); void setPermissionsListener(PermissionsListener permissionsListener); void requestPermissions(Activity activity); void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults); void setAdjustViewBounds(boolean adjustViewBounds); boolean getAdjustViewBounds(); void setAspectRatio(float aspectRatio); float getAspectRatio(); void setFacing(@CameraKit.Facing int facing); @CameraKit.Facing int getFacing(); void toggleFacing(); void setFlash(@CameraKit.Flash int flash); boolean hasFlash(); CameraFlash[] getSupportedFlashTypes(); @CameraKit.Flash int getFlash(); void setFocus(@CameraKit.Focus int focus); @CameraKit.Focus int getFocus(); void setZoomFactor(float zoomFactor); float getZoomFactor(); void setSensorPreset(@CameraKit.SensorPreset int sensorPreset); @CameraKit.SensorPreset int getSensorPreset(); void setPreviewEffect(@CameraKit.PreviewEffect int previewEffect); @CameraKit.PreviewEffect int getPreviewEffect(); void setPermissions(@Permission int permissions); @Permission int getPermissions(); void setImageMegaPixels(float imageMegaPixels); float getImageMegaPixels(); void setGestureListener(GestureListener gestureListener); GestureListener getGestureListener(); void setCameraListener(CameraListener cameraListener); CameraListener getCameraListener(); void removeCameraListener(); void setPreviewListener(PreviewListener previewListener); PreviewListener getPreviewListener(); void removePreviewListener(); void setErrorListener(ErrorListener errorListener); ErrorListener getErrorListener(); void removeErrorListener(); CameraSize getPreviewResolution(); CameraSize getPhotoResolution(); static final int PERMISSION_CAMERA; static final int PERMISSION_MICROPHONE; static final int PERMISSION_STORAGE; static final int PERMISSION_LOCATION; }