Loading api/11.xml +2 −0 Original line number Diff line number Diff line Loading @@ -90761,6 +90761,8 @@ > <parameter name="surfaceTexture" type="android.graphics.SurfaceTexture"> </parameter> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="setZoomChangeListener" return="void" api/current.xml +2 −0 Original line number Diff line number Diff line Loading @@ -90906,6 +90906,8 @@ > <parameter name="surfaceTexture" type="android.graphics.SurfaceTexture"> </parameter> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="setZoomChangeListener" return="void" core/java/android/hardware/Camera.java +2 −2 Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ public class Camera { } } private native final void setPreviewDisplay(Surface surface); private native final void setPreviewDisplay(Surface surface) throws IOException; /** * Sets the {@link SurfaceTexture} to be used for live preview. Loading @@ -380,7 +380,7 @@ public class Camera { * @throws IOException if the method fails (for example, if the surface * texture is unavailable or unsuitable). */ public native final void setPreviewTexture(SurfaceTexture surfaceTexture); public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; /** * Callback interface used to deliver copies of preview frames as Loading Loading
api/11.xml +2 −0 Original line number Diff line number Diff line Loading @@ -90761,6 +90761,8 @@ > <parameter name="surfaceTexture" type="android.graphics.SurfaceTexture"> </parameter> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="setZoomChangeListener" return="void"
api/current.xml +2 −0 Original line number Diff line number Diff line Loading @@ -90906,6 +90906,8 @@ > <parameter name="surfaceTexture" type="android.graphics.SurfaceTexture"> </parameter> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="setZoomChangeListener" return="void"
core/java/android/hardware/Camera.java +2 −2 Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ public class Camera { } } private native final void setPreviewDisplay(Surface surface); private native final void setPreviewDisplay(Surface surface) throws IOException; /** * Sets the {@link SurfaceTexture} to be used for live preview. Loading @@ -380,7 +380,7 @@ public class Camera { * @throws IOException if the method fails (for example, if the surface * texture is unavailable or unsuitable). */ public native final void setPreviewTexture(SurfaceTexture surfaceTexture); public native final void setPreviewTexture(SurfaceTexture surfaceTexture) throws IOException; /** * Callback interface used to deliver copies of preview frames as Loading