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;
190 checkRecycled("decodeRegion called on recycled region decoder");
202 checkRecycled("getWidth called on recycled region decoder");
210 checkRecycled("getHeight called on recycled region decoder");
216 * Frees up the memory associated with this region decoder, and mark the
217 * region decoder as "dead", meaning it will throw an exception if decodeRegion(),
221 * sure there are no further uses for the region decoder. This is an advanced call,
223 * memory when there are no more references to this region decoder.
235 * Returns true if this region decoder has been recycled.
238 * @return true if the region decoder has been recycled
245 * Called by methods that want to throw an exception if the region decoder