Java 类android.hardware.Camera.AutoFocusMoveCallback 实例源码

项目:Expert-Android-Programming    文件:DefaultEasyCamera.java   
@Override
public void setAutoFocusMoveCallback(AutoFocusMoveCallback cb) {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
        camera.setAutoFocusMoveCallback(cb);
    }
}
项目:nexus-camera    文件:AndroidCameraManagerImpl.java   
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
private void setAutoFocusMoveCallback(
        android.hardware.Camera camera, Object cb) {
    camera.setAutoFocusMoveCallback((AutoFocusMoveCallback) cb);
}
项目:EasyCamera    文件:DefaultEasyCamera.java   
@Override
public void setAutoFocusMoveCallback(AutoFocusMoveCallback cb) {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
        camera.setAutoFocusMoveCallback(cb);
    }
}