Lines Matching defs:decoder
38 // ensures that the native decoder object exists and that only one decode can
47 * @param offset offset into data for where the decoder should begin
145 BitmapRegionDecoder decoder = null;
150 decoder = newInstance(stream, isShareable);
160 return decoder;
164 region decoder int (pointer).
168 private BitmapRegionDecoder(long decoder) {
169 mNativeBitmapRegionDecoder = decoder;
184 checkRecycled("decodeRegion called on recycled region decoder");
196 checkRecycled("getWidth called on recycled region decoder");
204 checkRecycled("getHeight called on recycled region decoder");
210 * Frees up the memory associated with this region decoder, and mark the
211 * region decoder as "dead", meaning it will throw an exception if decodeRegion(),
215 * sure there are no further uses for the region decoder. This is an advanced call,
217 * memory when there are no more references to this region decoder.
229 * Returns true if this region decoder has been recycled.
232 * @return true if the region decoder has been recycled
239 * Called by methods that want to throw an exception if the region decoder