diff options
author | Igor Murashkin <iam@google.com> | 2014-05-14 15:46:10 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2014-05-14 18:24:58 -0700 |
commit | 72f9f0a96e4476ef231d5001cb30521ad4ce5b1e (patch) | |
tree | 3ad8c567838194d0a7b4c8652e442f2a722acd32 /api | |
parent | 9c595174ccaaf3d36315c4a100e47ee4369073f6 (diff) | |
download | frameworks_base-72f9f0a96e4476ef231d5001cb30521ad4ce5b1e.zip frameworks_base-72f9f0a96e4476ef231d5001cb30521ad4ce5b1e.tar.gz frameworks_base-72f9f0a96e4476ef231d5001cb30521ad4ce5b1e.tar.bz2 |
camera2: Move parameters around to different packages
* Camera-specific params to android.hardware.camera2.params
* Remove android.hardware.camera2.Size
* Move Rational to android.util
Bug: 14628001
Change-Id: Ie7a82bf9f4a0d8c18e0dc3a1581123c0d95da3f0
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 58 |
1 files changed, 26 insertions, 32 deletions
diff --git a/api/current.txt b/api/current.txt index 9c8f5d0..17bbc5d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -12274,12 +12274,16 @@ package android.hardware.camera2 { field public static final android.hardware.camera2.CameraMetadata.Key TONEMAP_MODE; } +} + +package android.hardware.camera2.params { + public final class ColorSpaceTransform { - ctor public ColorSpaceTransform(android.hardware.camera2.Rational[]); + ctor public ColorSpaceTransform(android.util.Rational[]); ctor public ColorSpaceTransform(int[]); - method public void copyElements(android.hardware.camera2.Rational[], int); + method public void copyElements(android.util.Rational[], int); method public void copyElements(int[], int); - method public android.hardware.camera2.Rational getElement(int, int); + method public android.util.Rational getElement(int, int); } public final class Face { @@ -12299,7 +12303,7 @@ package android.hardware.camera2 { method public int getColumnCount(); method public float getGainFactor(int, int, int); method public int getGainFactorCount(); - method public android.hardware.camera2.RggbChannelVector getGainFactorVector(int, int); + method public android.hardware.camera2.params.RggbChannelVector getGainFactorVector(int, int); method public int getRowCount(); field public static final float MINIMUM_GAIN_FACTOR = 1.0f; } @@ -12308,7 +12312,7 @@ package android.hardware.camera2 { ctor public MeteringRectangle(int, int, int, int, int); ctor public MeteringRectangle(android.graphics.Point, android.util.Size, int); ctor public MeteringRectangle(android.graphics.Rect, int); - method public boolean equals(android.hardware.camera2.MeteringRectangle); + method public boolean equals(android.hardware.camera2.params.MeteringRectangle); method public int getHeight(); method public int getMeteringWeight(); method public android.graphics.Rect getRect(); @@ -12319,12 +12323,6 @@ package android.hardware.camera2 { method public int getY(); } - public final class Rational { - ctor public Rational(int, int); - method public int getDenominator(); - method public int getNumerator(); - } - public final class RggbChannelVector { ctor public RggbChannelVector(float, float, float, float); method public void copyTo(float[], int); @@ -12340,10 +12338,17 @@ package android.hardware.camera2 { field public static final int RED = 0; // 0x0 } - public final class Size { - ctor public Size(int, int); - method public final int getHeight(); - method public final int getWidth(); + public final class StreamConfigurationMap { + method public final int[] getOutputFormats(); + method public long getOutputMinFrameDuration(int, android.util.Size); + method public long getOutputMinFrameDuration(java.lang.Class<T>, android.util.Size); + method public android.util.Size[] getOutputSizes(java.lang.Class<T>); + method public android.util.Size[] getOutputSizes(int); + method public long getOutputStallDuration(int, android.util.Size); + method public long getOutputStallDuration(java.lang.Class<T>, android.util.Size); + method public boolean isOutputSupportedFor(int); + method public static boolean isOutputSupportedFor(java.lang.Class<T>); + method public boolean isOutputSupportedFor(android.view.Surface); } public final class TonemapCurve { @@ -12360,23 +12365,6 @@ package android.hardware.camera2 { } -package android.hardware.camera2.params { - - public final class StreamConfigurationMap { - method public final int[] getOutputFormats(); - method public long getOutputMinFrameDuration(int, android.util.Size); - method public long getOutputMinFrameDuration(java.lang.Class<T>, android.util.Size); - method public android.util.Size[] getOutputSizes(java.lang.Class<T>); - method public android.util.Size[] getOutputSizes(int); - method public long getOutputStallDuration(int, android.util.Size); - method public long getOutputStallDuration(java.lang.Class<T>, android.util.Size); - method public boolean isOutputSupportedFor(int); - method public static boolean isOutputSupportedFor(java.lang.Class<T>); - method public boolean isOutputSupportedFor(android.view.Surface); - } - -} - package android.hardware.display { public final class DisplayManager { @@ -29683,6 +29671,12 @@ package android.util { method public T getUpper(); } + public final class Rational { + ctor public Rational(int, int); + method public int getDenominator(); + method public int getNumerator(); + } + public final class Size { ctor public Size(int, int); method public int getHeight(); |