Loading api/current.txt +3 −0 Original line number Original line Diff line number Diff line Loading @@ -41934,9 +41934,12 @@ package android.telecom { public static final class VideoProfile.CameraCapabilities implements android.os.Parcelable { public static final class VideoProfile.CameraCapabilities implements android.os.Parcelable { ctor public VideoProfile.CameraCapabilities(int, int); ctor public VideoProfile.CameraCapabilities(int, int); ctor public VideoProfile.CameraCapabilities(int, int, boolean, float); method public int describeContents(); method public int describeContents(); method public int getHeight(); method public int getHeight(); method public float getMaxZoom(); method public int getWidth(); method public int getWidth(); method public boolean isZoomSupported(); method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator<android.telecom.VideoProfile.CameraCapabilities> CREATOR; field public static final android.os.Parcelable.Creator<android.telecom.VideoProfile.CameraCapabilities> CREATOR; } } telecomm/java/android/telecom/VideoProfile.java +3 −8 Original line number Original line Diff line number Diff line Loading @@ -369,16 +369,13 @@ public class VideoProfile implements Parcelable { } } /** /** * Create a call camera capabilities instance that optionally * Create a call camera capabilities instance that optionally supports zoom. * supports zoom. * * * @param width The width of the camera video (in pixels). * @param width The width of the camera video (in pixels). * @param height The height of the camera video (in pixels). * @param height The height of the camera video (in pixels). * @param zoomSupported True when camera supports zoom. * @param zoomSupported True when camera supports zoom. * @param maxZoom Maximum zoom supported by camera. * @param maxZoom Maximum zoom supported by camera. * @hide */ */ @UnsupportedAppUsage public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { mWidth = width; mWidth = width; mHeight = height; mHeight = height; Loading Loading @@ -455,16 +452,14 @@ public class VideoProfile implements Parcelable { } } /** /** * Whether the camera supports zoom. * Returns {@code true} is zoom is supported, {@code false} otherwise. * @hide */ */ public boolean isZoomSupported() { public boolean isZoomSupported() { return mZoomSupported; return mZoomSupported; } } /** /** * The maximum zoom supported by the camera. * Returns the maximum zoom supported by the camera. * @hide */ */ public float getMaxZoom() { public float getMaxZoom() { return mMaxZoom; return mMaxZoom; Loading Loading
api/current.txt +3 −0 Original line number Original line Diff line number Diff line Loading @@ -41934,9 +41934,12 @@ package android.telecom { public static final class VideoProfile.CameraCapabilities implements android.os.Parcelable { public static final class VideoProfile.CameraCapabilities implements android.os.Parcelable { ctor public VideoProfile.CameraCapabilities(int, int); ctor public VideoProfile.CameraCapabilities(int, int); ctor public VideoProfile.CameraCapabilities(int, int, boolean, float); method public int describeContents(); method public int describeContents(); method public int getHeight(); method public int getHeight(); method public float getMaxZoom(); method public int getWidth(); method public int getWidth(); method public boolean isZoomSupported(); method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator<android.telecom.VideoProfile.CameraCapabilities> CREATOR; field public static final android.os.Parcelable.Creator<android.telecom.VideoProfile.CameraCapabilities> CREATOR; } }
telecomm/java/android/telecom/VideoProfile.java +3 −8 Original line number Original line Diff line number Diff line Loading @@ -369,16 +369,13 @@ public class VideoProfile implements Parcelable { } } /** /** * Create a call camera capabilities instance that optionally * Create a call camera capabilities instance that optionally supports zoom. * supports zoom. * * * @param width The width of the camera video (in pixels). * @param width The width of the camera video (in pixels). * @param height The height of the camera video (in pixels). * @param height The height of the camera video (in pixels). * @param zoomSupported True when camera supports zoom. * @param zoomSupported True when camera supports zoom. * @param maxZoom Maximum zoom supported by camera. * @param maxZoom Maximum zoom supported by camera. * @hide */ */ @UnsupportedAppUsage public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { mWidth = width; mWidth = width; mHeight = height; mHeight = height; Loading Loading @@ -455,16 +452,14 @@ public class VideoProfile implements Parcelable { } } /** /** * Whether the camera supports zoom. * Returns {@code true} is zoom is supported, {@code false} otherwise. * @hide */ */ public boolean isZoomSupported() { public boolean isZoomSupported() { return mZoomSupported; return mZoomSupported; } } /** /** * The maximum zoom supported by the camera. * Returns the maximum zoom supported by the camera. * @hide */ */ public float getMaxZoom() { public float getMaxZoom() { return mMaxZoom; return mMaxZoom; Loading