A C D E G H I L M O P R S T U V Z 

A

adjustPictureParameters(Camera.Parameters) - Method in interface com.commonsware.cwac.camera.CameraHost
Implement this to configure the Camera.Parameters just prior to taking a photo.
adjustPictureParameters(Camera.Parameters) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
adjustPreviewParameters(Camera.Parameters) - Method in interface com.commonsware.cwac.camera.CameraHost
Implement this to configure the Camera.Parameters for the purposes of the preview.
adjustPreviewParameters(Camera.Parameters) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
attach(Camera) - Method in interface com.commonsware.cwac.camera.PreviewStrategy
 
attach(MediaRecorder) - Method in interface com.commonsware.cwac.camera.PreviewStrategy
 
autoFocus() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
autoFocus() - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to begin an auto-focus operation (e.g., in response to the user tapping something to focus the camera).
autoFocus() - Method in class com.commonsware.cwac.camera.CameraView
 
autoFocusAvailable() - Method in interface com.commonsware.cwac.camera.CameraHost
This will be called by the library to let you know that auto-focus is available for your use, so you can update your UI accordingly.
autoFocusAvailable() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
autoFocusUnavailable() - Method in interface com.commonsware.cwac.camera.CameraHost
This will be called by the library to let you know that auto-focus is not available for your use, so you can update your UI accordingly.
autoFocusUnavailable() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 

C

CameraFragment - Class in com.commonsware.cwac.camera.acl
 
CameraFragment() - Constructor for class com.commonsware.cwac.camera.acl.CameraFragment
 
CameraFragment - Class in com.commonsware.cwac.camera
Primary class for using `CameraView` as a fragment.
CameraFragment() - Constructor for class com.commonsware.cwac.camera.CameraFragment
 
CameraHost - Interface in com.commonsware.cwac.camera
Specification of a CameraHost, which is the primary way by which an app will interact with the library.
CameraHost.FailureReason - Enum in com.commonsware.cwac.camera
Indication of why we were unable to open up a camera.
CameraHost.RecordingHint - Enum in com.commonsware.cwac.camera
Indication of what purpose we plan to put the camera towards.
CameraHostProvider - Interface in com.commonsware.cwac.camera
Interface that needs to be implemented on activities that inflate layouts containing a CameraView widget, so that the widget can obtain its CameraHost immediately.
CameraUtils - Class in com.commonsware.cwac.camera
 
CameraUtils() - Constructor for class com.commonsware.cwac.camera.CameraUtils
 
CameraView - Class in com.commonsware.cwac.camera
 
CameraView(Context) - Constructor for class com.commonsware.cwac.camera.CameraView
 
CameraView(Context, AttributeSet) - Constructor for class com.commonsware.cwac.camera.CameraView
 
CameraView(Context, AttributeSet, int) - Constructor for class com.commonsware.cwac.camera.CameraView
 
cancel() - Method in class com.commonsware.cwac.camera.ZoomTransaction
Cancels an outstanding smooth zoom request.
cancelAutoFocus() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
cancelAutoFocus() - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to cancel an auto-focus operation that had been started via a call to autoFocus().
cancelAutoFocus() - Method in class com.commonsware.cwac.camera.CameraView
 
com.commonsware.cwac.camera - package com.commonsware.cwac.camera
 
com.commonsware.cwac.camera.acl - package com.commonsware.cwac.camera.acl
 
configureRecorderAudio(int, MediaRecorder) - Method in interface com.commonsware.cwac.camera.CameraHost
This will be called by the library to give you a chance to configure the audio of the MediaRecorder, just prior to beginning to record a video.
configureRecorderAudio(int, MediaRecorder) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
configureRecorderOutput(int, MediaRecorder) - Method in interface com.commonsware.cwac.camera.CameraHost
This will be called by the library to give you a chance to configure the output of the MediaRecorder, just prior to beginning to record a video.
configureRecorderOutput(int, MediaRecorder) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
configureRecorderProfile(int, MediaRecorder) - Method in interface com.commonsware.cwac.camera.CameraHost
This will be called by the library to give you a chance to configure the profile of the MediaRecorder, just prior to beginning to record a video.
configureRecorderProfile(int, MediaRecorder) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 

D

DeviceProfile - Class in com.commonsware.cwac.camera
 
DeviceProfile() - Constructor for class com.commonsware.cwac.camera.DeviceProfile
 
DeviceProfile.FullExifFixupDeviceProfile - Class in com.commonsware.cwac.camera
 
DeviceProfile.FullExifFixupDeviceProfile() - Constructor for class com.commonsware.cwac.camera.DeviceProfile.FullExifFixupDeviceProfile
 

E

encodesRotationToExif() - Method in class com.commonsware.cwac.camera.DeviceProfile
 
encodesRotationToExif() - Method in class com.commonsware.cwac.camera.DeviceProfile.FullExifFixupDeviceProfile
 

G

getBestAspectPreviewSize(int, int, int, Camera.Parameters) - Static method in class com.commonsware.cwac.camera.CameraUtils
 
getBestAspectPreviewSize(int, int, int, Camera.Parameters, double) - Static method in class com.commonsware.cwac.camera.CameraUtils
 
getCameraHost() - Method in interface com.commonsware.cwac.camera.CameraHostProvider
 
getCameraId() - Method in interface com.commonsware.cwac.camera.CameraHost
 
getCameraId() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getDeviceProfile() - Method in interface com.commonsware.cwac.camera.CameraHost
 
getDeviceProfile() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getDisplayOrientation() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
getDisplayOrientation() - Method in class com.commonsware.cwac.camera.CameraFragment
 
getDisplayOrientation() - Method in class com.commonsware.cwac.camera.CameraView
 
getFlashMode() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
getFlashMode() - Method in class com.commonsware.cwac.camera.CameraFragment
 
getFlashMode() - Method in class com.commonsware.cwac.camera.CameraView
 
getHost() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
getHost() - Method in class com.commonsware.cwac.camera.CameraFragment
 
getHost() - Method in class com.commonsware.cwac.camera.CameraView
 
getInstance() - Static method in class com.commonsware.cwac.camera.DeviceProfile
 
getLargestPictureSize(Camera.Parameters) - Static method in class com.commonsware.cwac.camera.CameraUtils
 
getMaxPictureHeight() - Method in class com.commonsware.cwac.camera.DeviceProfile
 
getMinPictureHeight() - Method in class com.commonsware.cwac.camera.DeviceProfile
 
getOptimalPreviewSize(int, int, int, Camera.Parameters) - Static method in class com.commonsware.cwac.camera.CameraUtils
 
getPhotoDirectory() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getPhotoFilename() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getPhotoPath() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getPictureSize(Camera.Parameters) - Method in interface com.commonsware.cwac.camera.CameraHost
Called to allow you to be able to indicate what size photo should be taken.
getPictureSize(Camera.Parameters) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getPreferredPreviewSizeForVideo(int, int, int, Camera.Parameters, Camera.Size) - Method in interface com.commonsware.cwac.camera.CameraHost
Same as getPreviewSize(), but called when we anticipate taking videos, as some devices may work better with lower-resolution previews, to reduce CPU load
getPreferredPreviewSizeForVideo(int, int, int, Camera.Parameters) - Method in class com.commonsware.cwac.camera.DeviceProfile
 
getPreferredPreviewSizeForVideo(int, int, int, Camera.Parameters, Camera.Size) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getPreviewSize(int, int, int, Camera.Parameters) - Method in interface com.commonsware.cwac.camera.CameraHost
Called to allow you to indicate what size preview should be used
getPreviewSize(int, int, int, Camera.Parameters) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getRecordingHint() - Method in interface com.commonsware.cwac.camera.CameraHost
 
getRecordingHint() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getShutterCallback() - Method in interface com.commonsware.cwac.camera.CameraHost
 
getShutterCallback() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getSmallestPictureSize(Camera.Parameters) - Static method in class com.commonsware.cwac.camera.CameraUtils
 
getVideoDirectory() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getVideoFilename() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getVideoPath() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
getWidget() - Method in interface com.commonsware.cwac.camera.PreviewStrategy
 
go() - Method in class com.commonsware.cwac.camera.ZoomTransaction
Actually performs the zoom.

H

handleException(Exception) - Method in interface com.commonsware.cwac.camera.CameraHost
Called when something blows up in CameraView, to allow you to alert the user as you see fit
handleException(Exception) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 

I

ImageCleanupTask - Class in com.commonsware.cwac.camera
 
initPreview(int, int) - Method in class com.commonsware.cwac.camera.CameraView
 
isAutoFocusAvailable() - Method in class com.commonsware.cwac.camera.CameraFragment
 
isAutoFocusAvailable() - Method in class com.commonsware.cwac.camera.CameraView
 
isRecording() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
isRecording() - Method in class com.commonsware.cwac.camera.CameraFragment
 
isRecording() - Method in class com.commonsware.cwac.camera.CameraView
 

L

lockToLandscape(boolean) - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
lockToLandscape(boolean) - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to lock the camera to landscape mode (with a parameter of true), regardless of what the actual screen orientation is.
lockToLandscape(boolean) - Method in class com.commonsware.cwac.camera.CameraView
 

M

mirrorFFC() - Method in interface com.commonsware.cwac.camera.CameraHost
 
mirrorFFC() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 

O

onAutoFocus(boolean, Camera) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
onCameraFail(CameraHost.FailureReason) - Method in interface com.commonsware.cwac.camera.CameraHost
Called when we failed to open the camera for one reason or another, so you can let the user know
onCameraFail(CameraHost.FailureReason) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
onChange(Camera.OnZoomChangeListener) - Method in class com.commonsware.cwac.camera.ZoomTransaction
Call this to specify an OnZoomChangeListener to be notified of changes in the zoom level.
onComplete(Runnable) - Method in class com.commonsware.cwac.camera.ZoomTransaction
Call this to specify a Runnable to be executed when the zoom operation is complete.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.commonsware.cwac.camera.CameraFragment
 
onLayout(boolean, int, int, int, int) - Method in class com.commonsware.cwac.camera.CameraView
 
onMeasure(int, int) - Method in class com.commonsware.cwac.camera.CameraView
 
onPause() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
onPause() - Method in class com.commonsware.cwac.camera.CameraFragment
 
onPause() - Method in class com.commonsware.cwac.camera.CameraView
 
onPictureTaken(byte[], Camera) - Method in class com.commonsware.cwac.camera.CameraView
 
onResume() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
onResume() - Method in class com.commonsware.cwac.camera.CameraFragment
 
onResume() - Method in class com.commonsware.cwac.camera.CameraView
 
onZoomChange(int, boolean, Camera) - Method in class com.commonsware.cwac.camera.ZoomTransaction
 

P

portraitFFCFlipped() - Method in class com.commonsware.cwac.camera.DeviceProfile
 
PreviewStrategy - Interface in com.commonsware.cwac.camera
 

R

record() - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to begin recording video.
record() - Method in class com.commonsware.cwac.camera.CameraView
 
restartPreview() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
restartPreview() - Method in class com.commonsware.cwac.camera.CameraFragment
If you are in single-shot mode and are done processing a previous picture, call this to restart the camera preview.
restartPreview() - Method in class com.commonsware.cwac.camera.CameraView
 
rotateBasedOnExif() - Method in interface com.commonsware.cwac.camera.CameraHost
 
rotateBasedOnExif() - Method in class com.commonsware.cwac.camera.DeviceProfile.FullExifFixupDeviceProfile
 
rotateBasedOnExif() - Method in class com.commonsware.cwac.camera.DeviceProfile
 
rotateBasedOnExif() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
run() - Method in class com.commonsware.cwac.camera.ImageCleanupTask
 

S

saveImage(Bitmap) - Method in interface com.commonsware.cwac.camera.CameraHost
Called when a picture has been taken.
saveImage(Bitmap) - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
scanSavedImage() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
setCameraView(CameraView) - Method in class com.commonsware.cwac.camera.CameraFragment
Use this if you are overriding onCreateView() and are inflating a layout containing your CameraView, to tell the fragment the CameraView, so the fragment can help manage it.
setHost(CameraHost) - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
setHost(CameraHost) - Method in class com.commonsware.cwac.camera.CameraFragment
Call this (or override getHost()) to supply the CameraHost used for most of the detailed interaction with the camera.
setHost(CameraHost) - Method in class com.commonsware.cwac.camera.CameraView
 
SimpleCameraHost - Class in com.commonsware.cwac.camera
 
SimpleCameraHost(Context) - Constructor for class com.commonsware.cwac.camera.SimpleCameraHost
 
startFaceDetection() - Method in class com.commonsware.cwac.camera.CameraFragment
Calls startFaceDetection() on the CameraView, which in turn calls startFaceDetection() on the underlying camera.
startFaceDetection() - Method in class com.commonsware.cwac.camera.CameraView
 
stopFaceDetection() - Method in class com.commonsware.cwac.camera.CameraFragment
Calls stopFaceDetection() on the CameraView, which in turn calls startFaceDetection() on the underlying camera.
stopFaceDetection() - Method in class com.commonsware.cwac.camera.CameraView
 
stopRecording() - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to stop the recording triggered earlier by a call to record()
stopRecording() - Method in class com.commonsware.cwac.camera.CameraView
 

T

takePicture() - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
takePicture(boolean, boolean) - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
takePicture() - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to take a picture and get access to a byte array of data as a result (e.g., to save or stream).
takePicture(boolean, boolean) - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to take a picture.
takePicture(boolean, boolean) - Method in class com.commonsware.cwac.camera.CameraView
 

U

useFrontFacingCamera() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
useSingleShotMode() - Method in interface com.commonsware.cwac.camera.CameraHost
 
useSingleShotMode() - Method in class com.commonsware.cwac.camera.SimpleCameraHost
 
useTextureView() - Method in class com.commonsware.cwac.camera.DeviceProfile
 

V

valueOf(String) - Static method in enum com.commonsware.cwac.camera.CameraHost.FailureReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.commonsware.cwac.camera.CameraHost.RecordingHint
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.commonsware.cwac.camera.CameraHost.FailureReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.commonsware.cwac.camera.CameraHost.RecordingHint
Returns an array containing the constants of this enum type, in the order they are declared.

Z

zoomTo(int) - Method in class com.commonsware.cwac.camera.acl.CameraFragment
 
zoomTo(int) - Method in class com.commonsware.cwac.camera.CameraFragment
Call this to begin populating a ZoomTransaction, with the eventual goal of changing the camera's zoom level.
zoomTo(int) - Method in class com.commonsware.cwac.camera.CameraView
 
ZoomTransaction - Class in com.commonsware.cwac.camera
Class for processing a zoom request.
A C D E G H I L M O P R S T U V Z