Lines Matching refs:is

10  * distributed under the License is distributed on an "AS IS" BASIS,
28 * BitmapRegionDecoder is particularly useful when an original image is large and
51 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
52 * shallow reference to the input. If this is false,
54 * input data, and keep that. Even if sharing is allowed,
56 * copy of the input data. If an image is progressively encoded,
59 * @throws IOException if the image format is not supported or can not be decoded.
72 * this returns, so the descriptor can be used again as is.
76 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
77 * shallow reference to the input. If this is false,
79 * input data, and keep that. Even if sharing is allowed,
81 * copy of the input data. If an image is progressively encoded,
84 * @throws IOException if the image format is not supported or can not be decoded.
97 * @param is The input stream that holds the raw data to be decoded into a
99 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
100 * shallow reference to the input. If this is false,
102 * input data, and keep that. Even if sharing is allowed,
104 * copy of the input data. If an image is progressively encoded,
107 * @throws IOException if the image format is not supported or can not be decoded.
109 public static BitmapRegionDecoder newInstance(InputStream is,
113 if (!is.markSupported()) {
114 is = new BufferedInputStream(is, 16 * 1024);
117 if (is instanceof AssetManager.AssetInputStream) {
119 ((AssetManager.AssetInputStream) is).getAssetInt(),
122 // pass some temp storage down to the native code. 1024 is made up,
124 // into is.read(...).
126 return nativeNewInstance(is, tempStorage, isShareable);
135 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
136 * shallow reference to the input. If this is false,
138 * input data, and keep that. Even if sharing is allowed,
140 * copy of the input data. If an image is progressively encoded,
143 * @throws IOException if the image format is not supported or can not be decoded.
180 * inPurgeable is not supported.
189 throw new IllegalArgumentException("rectangle is outside the image");
214 * getWidth() or getHeight() is called.
217 * sure there are no further uses for the region decoder. This is an advanced call,
232 * If so, then it is an error to try use its method.
271 InputStream is, byte[] storage, boolean isShareable);