diff options
| author | Zhijun He <zhijunhe@google.com> | 2015-05-13 12:11:47 -0700 |
|---|---|---|
| committer | Zhijun He <zhijunhe@google.com> | 2015-05-14 14:35:57 -0700 |
| commit | d99dc329b9baefe3d722ccafc0c92461cfef42b1 (patch) | |
| tree | 1a0b75119915dc31630c2078a5a42bcbd291a14b /api/system-current.txt | |
| parent | 55a302402be3240c9e3289351c01e1cd2e853bc8 (diff) | |
| download | frameworks_base-d99dc329b9baefe3d722ccafc0c92461cfef42b1.zip frameworks_base-d99dc329b9baefe3d722ccafc0c92461cfef42b1.tar.gz frameworks_base-d99dc329b9baefe3d722ccafc0c92461cfef42b1.tar.bz2 | |
Image/Reader/Writer: address API review comments
* Remove isOpaque methods
* Removew ImageReader#newOpaqueInstance
* Rename Writer listener and callback
* Clarify the timestamp spec
* Fix a bug in ImageUtils
Bug: 21044520
Change-Id: Ifb85ef25e4d152c2a445b3369c1e16dc1bc5220c
Diffstat (limited to 'api/system-current.txt')
| -rw-r--r-- | api/system-current.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 119295d..0e7a181 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -16467,7 +16467,6 @@ package android.media { method public abstract android.media.Image.Plane[] getPlanes(); method public abstract long getTimestamp(); method public abstract int getWidth(); - method public boolean isOpaque(); method public void setCropRect(android.graphics.Rect); method public void setTimestamp(long); } @@ -16487,9 +16486,7 @@ package android.media { method public int getMaxImages(); method public android.view.Surface getSurface(); method public int getWidth(); - method public boolean isOpaque(); method public static android.media.ImageReader newInstance(int, int, int, int); - method public static android.media.ImageReader newOpaqueInstance(int, int, int); method public void setOnImageAvailableListener(android.media.ImageReader.OnImageAvailableListener, android.os.Handler); } @@ -16504,11 +16501,11 @@ package android.media { method public int getMaxImages(); method public static android.media.ImageWriter newInstance(android.view.Surface, int); method public void queueInputImage(android.media.Image); - method public void setImageListener(android.media.ImageWriter.ImageListener, android.os.Handler); + method public void setOnImageReleasedListener(android.media.ImageWriter.OnImageReleasedListener, android.os.Handler); } - public static abstract interface ImageWriter.ImageListener { - method public abstract void onInputImageReleased(android.media.ImageWriter); + public static abstract interface ImageWriter.OnImageReleasedListener { + method public abstract void onImageReleased(android.media.ImageWriter); } public class JetPlayer { |
