Lines Matching defs: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
48 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
49 * shallow reference to the input. If this is false,
51 * input data, and keep that. Even if sharing is allowed,
53 * copy of the input data. If an image is progressively encoded,
56 * @throws IOException if the image format is not supported or can not be decoded.
69 * this returns, so the descriptor can be used again as is.
73 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
74 * shallow reference to the input. If this is false,
76 * input data, and keep that. Even if sharing is allowed,
78 * copy of the input data. If an image is progressively encoded,
81 * @throws IOException if the image format is not supported or can not be decoded.
94 * @param is The input stream that holds the raw data to be decoded into a
96 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
97 * shallow reference to the input. If this is false,
99 * input data, and keep that. Even if sharing is allowed,
101 * copy of the input data. If an image is progressively encoded,
104 * @throws IOException if the image format is not supported or can not be decoded.
106 public static BitmapRegionDecoder newInstance(InputStream is,
110 if (!is.markSupported()) {
111 is = new BufferedInputStream(is, 16 * 1024);
114 if (is instanceof AssetManager.AssetInputStream) {
116 ((AssetManager.AssetInputStream) is).getAssetInt(),
119 // pass some temp storage down to the native code. 1024 is made up,
121 // into is.read(...).
123 return nativeNewInstance(is, tempStorage, isShareable);
132 * @param isShareable If this is true, then the BitmapRegionDecoder may keep a
133 * shallow reference to the input. If this is false,
135 * input data, and keep that. Even if sharing is allowed,
137 * copy of the input data. If an image is progressively encoded,
140 * @throws IOException if the image format is not supported or can not be decoded.
177 * inPurgeable is not supported.
185 throw new IllegalArgumentException("rectangle is outside the image");
205 * getWidth() or getHeight() is called.
208 * sure there are no further uses for the region decoder. This is an advanced call,
221 * If so, then it is an error to try use its method.
260 InputStream is, byte[] storage, boolean isShareable);