blob: 455c9945c280434f6b25e8f63e8cdf6ae6b37119 [file] [log] [blame]
David Morrisseyd94cb882017-11-16 14:55:41 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
David Morrissey3b0a9d12017-12-03 09:13:27 +00005<!-- Generated by javadoc -->
David Morrisseydea2a392017-12-02 08:46:32 +00006<title>SkiaImageRegionDecoder (library 3.9.0 API)</title>
David Morrisseyd94cb882017-11-16 14:55:41 +00007<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8<script type="text/javascript" src="../../../../../script.js"></script>
9</head>
10<body>
11<script type="text/javascript"><!--
12 try {
13 if (location.href.indexOf('is-external=true') == -1) {
David Morrisseydea2a392017-12-02 08:46:32 +000014 parent.document.title="SkiaImageRegionDecoder (library 3.9.0 API)";
David Morrisseyd94cb882017-11-16 14:55:41 +000015 }
16 }
17 catch(err) {
18 }
19//-->
20var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
21var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
22var altColor = "altColor";
23var rowColor = "rowColor";
24var tableTab = "tableTab";
25var activeTableTab = "activeTableTab";
26</script>
27<noscript>
28<div>JavaScript is disabled on your browser.</div>
29</noscript>
30<!-- ========= START OF TOP NAVBAR ======= -->
31<div class="topNav"><a name="navbar.top">
32<!-- -->
33</a>
34<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
35<a name="navbar.top.firstrow">
36<!-- -->
37</a>
38<ul class="navList" title="Navigation">
39<li><a href="../../../../../overview-summary.html">Overview</a></li>
40<li><a href="package-summary.html">Package</a></li>
41<li class="navBarCell1Rev">Class</li>
42<li><a href="package-tree.html">Tree</a></li>
43<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
44<li><a href="../../../../../index-all.html">Index</a></li>
45<li><a href="../../../../../help-doc.html">Help</a></li>
46</ul>
47</div>
48<div class="subNav">
49<ul class="navList">
50<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
David Morrisseydea2a392017-12-02 08:46:32 +000051<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaPooledImageRegionDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
David Morrisseyd94cb882017-11-16 14:55:41 +000052</ul>
53<ul class="navList">
54<li><a href="../../../../../index.html?com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html" target="_top">Frames</a></li>
55<li><a href="SkiaImageRegionDecoder.html" target="_top">No&nbsp;Frames</a></li>
56</ul>
57<ul class="navList" id="allclasses_navbar_top">
58<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
59</ul>
60<div>
61<script type="text/javascript"><!--
62 allClassesLink = document.getElementById("allclasses_navbar_top");
63 if(window==top) {
64 allClassesLink.style.display = "block";
65 }
66 else {
67 allClassesLink.style.display = "none";
68 }
69 //-->
70</script>
71</div>
72<div>
73<ul class="subNavList">
74<li>Summary:&nbsp;</li>
75<li>Nested&nbsp;|&nbsp;</li>
76<li>Field&nbsp;|&nbsp;</li>
77<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
78<li><a href="#method.summary">Method</a></li>
79</ul>
80<ul class="subNavList">
81<li>Detail:&nbsp;</li>
82<li>Field&nbsp;|&nbsp;</li>
83<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
84<li><a href="#method.detail">Method</a></li>
85</ul>
86</div>
87<a name="skip.navbar.top">
88<!-- -->
89</a></div>
90<!-- ========= END OF TOP NAVBAR ========= -->
91<!-- ======== START OF CLASS DATA ======== -->
92<div class="header">
93<div class="subTitle">com.davemorrissey.labs.subscaleview.decoder</div>
94<h2 title="Class SkiaImageRegionDecoder" class="title">Class SkiaImageRegionDecoder</h2>
95</div>
96<div class="contentContainer">
97<ul class="inheritance">
David Morrisseyfed3d782017-12-04 08:03:42 +000098<li><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
David Morrisseyd94cb882017-11-16 14:55:41 +000099<li>
100<ul class="inheritance">
101<li>com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder</li>
102</ul>
103</li>
104</ul>
105<div class="description">
106<ul class="blockList">
107<li class="blockList">
108<dl>
109<dt>All Implemented Interfaces:</dt>
110<dd><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></dd>
111</dl>
112<hr>
113<br>
114<pre>public class <span class="typeNameLabel">SkiaImageRegionDecoder</span>
David Morrisseyfed3d782017-12-04 08:03:42 +0000115extends <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
David Morrisseyd94cb882017-11-16 14:55:41 +0000116implements <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></pre>
117<div class="block">Default implementation of <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder"><code>ImageRegionDecoder</code></a>
David Morrisseyfed3d782017-12-04 08:03:42 +0000118 using Android's <a href="https://developer.android.com/reference/android/graphics/BitmapRegionDecoder.html?is-external=true" title="class or interface in android.graphics"><code>BitmapRegionDecoder</code></a>, based on the Skia library. This
David Morrisseyd94cb882017-11-16 14:55:41 +0000119 works well in most circumstances and has reasonable performance due to the cached decoder instance,
David Morrisseydea2a392017-12-02 08:46:32 +0000120 however it has some problems with grayscale, indexed and CMYK images.
121
David Morrisseyfed3d782017-12-04 08:03:42 +0000122 A <a href="https://developer.android.com/reference/java/util/concurrent/locks/ReadWriteLock.html?is-external=true" title="class or interface in java.util.concurrent.locks"><code>ReadWriteLock</code></a> is used to delegate responsibility for multi threading behaviour to the
123 <a href="https://developer.android.com/reference/android/graphics/BitmapRegionDecoder.html?is-external=true" title="class or interface in android.graphics"><code>BitmapRegionDecoder</code></a> instance on SDK &gt;= 21, whilst allowing this class to block until no
124 tiles are being loaded before recycling the decoder. In practice, <a href="https://developer.android.com/reference/android/graphics/BitmapRegionDecoder.html?is-external=true" title="class or interface in android.graphics"><code>BitmapRegionDecoder</code></a> is
David Morrisseydea2a392017-12-02 08:46:32 +0000125 synchronized internally so this has no real impact on performance.</div>
David Morrisseyd94cb882017-11-16 14:55:41 +0000126</li>
127</ul>
128</div>
129<div class="summary">
130<ul class="blockList">
131<li class="blockList">
132<!-- ======== CONSTRUCTOR SUMMARY ======== -->
133<ul class="blockList">
134<li class="blockList"><a name="constructor.summary">
135<!-- -->
136</a>
137<h3>Constructor Summary</h3>
138<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
139<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
140<tr>
141<th class="colOne" scope="col">Constructor and Description</th>
142</tr>
143<tr class="altColor">
144<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#SkiaImageRegionDecoder--">SkiaImageRegionDecoder</a></span>()</code>&nbsp;</td>
145</tr>
146<tr class="rowColor">
David Morrisseyfed3d782017-12-04 08:03:42 +0000147<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#SkiaImageRegionDecoder-android.graphics.Bitmap.Config-">SkiaImageRegionDecoder</a></span>(<a href="https://developer.android.com/reference/android/graphics/Bitmap.Config.html?is-external=true" title="class or interface in android.graphics">Bitmap.Config</a>&nbsp;bitmapConfig)</code>&nbsp;</td>
David Morrisseyd94cb882017-11-16 14:55:41 +0000148</tr>
149</table>
150</li>
151</ul>
152<!-- ========== METHOD SUMMARY =========== -->
153<ul class="blockList">
154<li class="blockList"><a name="method.summary">
155<!-- -->
156</a>
157<h3>Method Summary</h3>
158<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
159<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
160<tr>
161<th class="colFirst" scope="col">Modifier and Type</th>
162<th class="colLast" scope="col">Method and Description</th>
163</tr>
164<tr id="i0" class="altColor">
David Morrisseyfed3d782017-12-04 08:03:42 +0000165<td class="colFirst"><code><a href="https://developer.android.com/reference/android/graphics/Bitmap.html?is-external=true" title="class or interface in android.graphics">Bitmap</a></code></td>
166<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#decodeRegion-android.graphics.Rect-int-">decodeRegion</a></span>(<a href="https://developer.android.com/reference/android/graphics/Rect.html?is-external=true" title="class or interface in android.graphics">Rect</a>&nbsp;sRect,
David Morrisseyd94cb882017-11-16 14:55:41 +0000167 int&nbsp;sampleSize)</code>
David Morrisseyc2d55e02017-12-03 09:43:51 +0000168<div class="block">
169 Decode a region of the image with the given sample size.</div>
David Morrisseyd94cb882017-11-16 14:55:41 +0000170</td>
171</tr>
172<tr id="i1" class="rowColor">
David Morrisseyfed3d782017-12-04 08:03:42 +0000173<td class="colFirst"><code><a href="https://developer.android.com/reference/android/graphics/Point.html?is-external=true" title="class or interface in android.graphics">Point</a></code></td>
174<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#init-android.content.Context-android.net.Uri-">init</a></span>(<a href="https://developer.android.com/reference/android/content/Context.html?is-external=true" title="class or interface in android.content">Context</a>&nbsp;context,
175 <a href="https://developer.android.com/reference/android/net/Uri.html?is-external=true" title="class or interface in android.net">Uri</a>&nbsp;uri)</code>
David Morrisseyd94cb882017-11-16 14:55:41 +0000176<div class="block">Initialise the decoder.</div>
177</td>
178</tr>
179<tr id="i2" class="altColor">
180<td class="colFirst"><code>boolean</code></td>
181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#isReady--">isReady</a></span>()</code>
182<div class="block">Status check.</div>
183</td>
184</tr>
185<tr id="i3" class="rowColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html#recycle--">recycle</a></span>()</code>
188<div class="block">This method will be called when the decoder is no longer required.</div>
189</td>
190</tr>
191</table>
192<ul class="blockList">
193<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
194<!-- -->
195</a>
David Morrisseyfed3d782017-12-04 08:03:42 +0000196<h3>Methods inherited from class&nbsp;java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
197<code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
David Morrisseyd94cb882017-11-16 14:55:41 +0000198</ul>
199</li>
200</ul>
201</li>
202</ul>
203</div>
204<div class="details">
205<ul class="blockList">
206<li class="blockList">
207<!-- ========= CONSTRUCTOR DETAIL ======== -->
208<ul class="blockList">
209<li class="blockList"><a name="constructor.detail">
210<!-- -->
211</a>
212<h3>Constructor Detail</h3>
213<a name="SkiaImageRegionDecoder--">
214<!-- -->
215</a>
216<ul class="blockList">
217<li class="blockList">
218<h4>SkiaImageRegionDecoder</h4>
219<pre>public&nbsp;SkiaImageRegionDecoder()</pre>
220</li>
221</ul>
222<a name="SkiaImageRegionDecoder-android.graphics.Bitmap.Config-">
223<!-- -->
224</a>
225<ul class="blockListLast">
226<li class="blockList">
227<h4>SkiaImageRegionDecoder</h4>
David Morrisseyfed3d782017-12-04 08:03:42 +0000228<pre>public&nbsp;SkiaImageRegionDecoder(<a href="https://developer.android.com/reference/android/graphics/Bitmap.Config.html?is-external=true" title="class or interface in android.graphics">Bitmap.Config</a>&nbsp;bitmapConfig)</pre>
David Morrisseyd94cb882017-11-16 14:55:41 +0000229</li>
230</ul>
231</li>
232</ul>
233<!-- ============ METHOD DETAIL ========== -->
234<ul class="blockList">
235<li class="blockList"><a name="method.detail">
236<!-- -->
237</a>
238<h3>Method Detail</h3>
239<a name="init-android.content.Context-android.net.Uri-">
240<!-- -->
241</a>
242<ul class="blockList">
243<li class="blockList">
244<h4>init</h4>
David Morrisseyfed3d782017-12-04 08:03:42 +0000245<pre>public&nbsp;<a href="https://developer.android.com/reference/android/graphics/Point.html?is-external=true" title="class or interface in android.graphics">Point</a>&nbsp;init(<a href="https://developer.android.com/reference/android/content/Context.html?is-external=true" title="class or interface in android.content">Context</a>&nbsp;context,
246 <a href="https://developer.android.com/reference/android/net/Uri.html?is-external=true" title="class or interface in android.net">Uri</a>&nbsp;uri)
247 throws <a href="https://developer.android.com/reference/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
David Morrisseyd94cb882017-11-16 14:55:41 +0000248<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#init-android.content.Context-android.net.Uri-">ImageRegionDecoder</a></code></span></div>
David Morrisseyc2d55e02017-12-03 09:43:51 +0000249<div class="block">Initialise the decoder. When possible, perform initial setup work once in this method. The
250 dimensions of the image must be returned. The URI can be in one of the following formats:
251 <br>
252 File: <code>file:///scard/picture.jpg</code>
253 <br>
254 Asset: <code>file:///android_asset/picture.png</code>
255 <br>
256 Resource: <code>android.resource://com.example.app/drawable/picture</code></div>
David Morrisseyd94cb882017-11-16 14:55:41 +0000257<dl>
258<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
259<dd><code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#init-android.content.Context-android.net.Uri-">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></code></dd>
260<dt><span class="paramLabel">Parameters:</span></dt>
261<dd><code>context</code> - Application context. A reference may be held, but must be cleared on recycle.</dd>
262<dd><code>uri</code> - URI of the image.</dd>
263<dt><span class="returnLabel">Returns:</span></dt>
264<dd>Dimensions of the image.</dd>
265<dt><span class="throwsLabel">Throws:</span></dt>
David Morrisseyfed3d782017-12-04 08:03:42 +0000266<dd><code><a href="https://developer.android.com/reference/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if initialisation fails.</dd>
David Morrisseyd94cb882017-11-16 14:55:41 +0000267</dl>
268</li>
269</ul>
270<a name="decodeRegion-android.graphics.Rect-int-">
271<!-- -->
272</a>
273<ul class="blockList">
274<li class="blockList">
275<h4>decodeRegion</h4>
David Morrisseyfed3d782017-12-04 08:03:42 +0000276<pre>public&nbsp;<a href="https://developer.android.com/reference/android/graphics/Bitmap.html?is-external=true" title="class or interface in android.graphics">Bitmap</a>&nbsp;decodeRegion(<a href="https://developer.android.com/reference/android/graphics/Rect.html?is-external=true" title="class or interface in android.graphics">Rect</a>&nbsp;sRect,
277 int&nbsp;sampleSize)</pre>
David Morrisseyd94cb882017-11-16 14:55:41 +0000278<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#decodeRegion-android.graphics.Rect-int-">ImageRegionDecoder</a></code></span></div>
David Morrisseyc2d55e02017-12-03 09:43:51 +0000279<div class="block"><p>
280 Decode a region of the image with the given sample size. This method is called off the UI
281 thread so it can safely load the image on the current thread. It is called from
David Morrisseyfed3d782017-12-04 08:03:42 +0000282 <a href="https://developer.android.com/reference/android/os/AsyncTask.html?is-external=true" title="class or interface in android.os"><code>AsyncTask</code></a>s running in an executor that may have multiple threads, so
David Morrisseyc2d55e02017-12-03 09:43:51 +0000283 implementations must be thread safe. Adding <code>synchronized</code> to the method signature
284 is the simplest way to achieve this, but bear in mind the <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#recycle--"><code>ImageRegionDecoder.recycle()</code></a> method can be
285 called concurrently.
286 </p><p>
287 See <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><code>SkiaImageRegionDecoder</code></a> and <a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaPooledImageRegionDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><code>SkiaPooledImageRegionDecoder</code></a> for examples of
288 internal locking and synchronization.
289 </p></div>
David Morrisseyd94cb882017-11-16 14:55:41 +0000290<dl>
291<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
292<dd><code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#decodeRegion-android.graphics.Rect-int-">decodeRegion</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></code></dd>
293<dt><span class="paramLabel">Parameters:</span></dt>
294<dd><code>sRect</code> - Source image rectangle to decode.</dd>
295<dd><code>sampleSize</code> - Sample size.</dd>
296<dt><span class="returnLabel">Returns:</span></dt>
297<dd>The decoded region. It is safe to return null if decoding fails.</dd>
298</dl>
299</li>
300</ul>
301<a name="isReady--">
302<!-- -->
303</a>
304<ul class="blockList">
305<li class="blockList">
306<h4>isReady</h4>
307<pre>public&nbsp;boolean&nbsp;isReady()</pre>
308<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#isReady--">ImageRegionDecoder</a></code></span></div>
309<div class="block">Status check. Should return false before initialisation and after recycle.</div>
310<dl>
311<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
312<dd><code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#isReady--">isReady</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></code></dd>
313<dt><span class="returnLabel">Returns:</span></dt>
314<dd>true if the decoder is ready to be used.</dd>
315</dl>
316</li>
317</ul>
318<a name="recycle--">
319<!-- -->
320</a>
321<ul class="blockListLast">
322<li class="blockList">
323<h4>recycle</h4>
324<pre>public&nbsp;void&nbsp;recycle()</pre>
325<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#recycle--">ImageRegionDecoder</a></code></span></div>
326<div class="block">This method will be called when the decoder is no longer required. It should clean up any resources still in use.</div>
327<dl>
328<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
329<dd><code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html#recycle--">recycle</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/ImageRegionDecoder.html" title="interface in com.davemorrissey.labs.subscaleview.decoder">ImageRegionDecoder</a></code></dd>
330</dl>
331</li>
332</ul>
333</li>
334</ul>
335</li>
336</ul>
337</div>
338</div>
339<!-- ========= END OF CLASS DATA ========= -->
340<!-- ======= START OF BOTTOM NAVBAR ====== -->
341<div class="bottomNav"><a name="navbar.bottom">
342<!-- -->
343</a>
344<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
345<a name="navbar.bottom.firstrow">
346<!-- -->
347</a>
348<ul class="navList" title="Navigation">
349<li><a href="../../../../../overview-summary.html">Overview</a></li>
350<li><a href="package-summary.html">Package</a></li>
351<li class="navBarCell1Rev">Class</li>
352<li><a href="package-tree.html">Tree</a></li>
353<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
354<li><a href="../../../../../index-all.html">Index</a></li>
355<li><a href="../../../../../help-doc.html">Help</a></li>
356</ul>
357</div>
358<div class="subNav">
359<ul class="navList">
360<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaImageDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
David Morrisseydea2a392017-12-02 08:46:32 +0000361<li><a href="../../../../../com/davemorrissey/labs/subscaleview/decoder/SkiaPooledImageRegionDecoder.html" title="class in com.davemorrissey.labs.subscaleview.decoder"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
David Morrisseyd94cb882017-11-16 14:55:41 +0000362</ul>
363<ul class="navList">
364<li><a href="../../../../../index.html?com/davemorrissey/labs/subscaleview/decoder/SkiaImageRegionDecoder.html" target="_top">Frames</a></li>
365<li><a href="SkiaImageRegionDecoder.html" target="_top">No&nbsp;Frames</a></li>
366</ul>
367<ul class="navList" id="allclasses_navbar_bottom">
368<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
369</ul>
370<div>
371<script type="text/javascript"><!--
372 allClassesLink = document.getElementById("allclasses_navbar_bottom");
373 if(window==top) {
374 allClassesLink.style.display = "block";
375 }
376 else {
377 allClassesLink.style.display = "none";
378 }
379 //-->
380</script>
381</div>
382<div>
383<ul class="subNavList">
384<li>Summary:&nbsp;</li>
385<li>Nested&nbsp;|&nbsp;</li>
386<li>Field&nbsp;|&nbsp;</li>
387<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
388<li><a href="#method.summary">Method</a></li>
389</ul>
390<ul class="subNavList">
391<li>Detail:&nbsp;</li>
392<li>Field&nbsp;|&nbsp;</li>
393<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
394<li><a href="#method.detail">Method</a></li>
395</ul>
396</div>
397<a name="skip.navbar.bottom">
398<!-- -->
399</a></div>
400<!-- ======== END OF BOTTOM NAVBAR ======= -->
401</body>
402</html>