Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
The decoded bitmap, or null if the image data could not be
decoded, or, if opts is non-null, if opts requested only the
size be returned (in opts.outWidth and opts.outHeight)
The decoded bitmap, or null if the image data could not be
decoded, or, if opts is non-null, if opts requested only the
size be returned (in opts.outWidth and opts.outHeight)
Decode a bitmap from the file descriptor. If the bitmap cannot be decoded
return null. The position within the descriptor will not be changed when
this returns, so the descriptor can be used again as is.
Parameters
fd
FileDescriptor: The file descriptor containing the bitmap data to decode
Decode a bitmap from the file descriptor. If the bitmap cannot be decoded
return null. The position within the descriptor will not be changed when
this returns, so the descriptor can be used again as-is.
Parameters
fd
FileDescriptor: The file descriptor containing the bitmap data to decode
outPadding
Rect: If not null, return the padding rect for the bitmap if
it exists, otherwise set padding to [-1,-1,-1,-1]. If
no bitmap is returned (null) then padding is
unchanged.
opts
BitmapFactory.Options: null-ok; Options that control downsampling and whether the
image should be completely decoded, or just its size returned.
The decoded bitmap, or null if the image data could not be
decoded, or, if opts is non-null, if opts requested only the
size be returned (in opts.outWidth and opts.outHeight)
Decode an input stream into a bitmap. If the input stream is null, or
cannot be used to decode a bitmap, the function returns null.
The stream's position will be where ever it was after the encoded data
was read.
Parameters
is
InputStream: The input stream that holds the raw data to be decoded into a
bitmap.
Decode an input stream into a bitmap. If the input stream is null, or
cannot be used to decode a bitmap, the function returns null.
The stream's position will be where ever it was after the encoded data
was read.
Parameters
is
InputStream: The input stream that holds the raw data to be decoded into a
bitmap.
outPadding
Rect: If not null, return the padding rect for the bitmap if
it exists, otherwise set padding to [-1,-1,-1,-1]. If
no bitmap is returned (null) then padding is
unchanged.
opts
BitmapFactory.Options: null-ok; Options that control downsampling and whether the
image should be completely decoded, or just is size returned.
The decoded bitmap, or null if the image data could not be
decoded, or, if opts is non-null, if opts requested only the
size be returned (in opts.outWidth and opts.outHeight)
This site uses cookies to store your preferences for site-specific language and display options.
Get the latest Android developer news and tips that will help you find success on Google Play.
* Required Fields
Hooray!
You have successfully signed up for the latest Android developer news and tips.
Browse this site in ?
This class requires API level or higher
This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.