Searched refs:is (Results 26 - 50 of 336) sorted by relevance

1234567891011>>

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java12 * distributed under the License is distributed on an "AS IS" BASIS,
82 * @return true if the MimeType type is image
134 * no bitmap is returned (null) then padding is
137 * image should be completely decoded, or just is size returned.
139 * decoded, or, if opts is non-null, if opts requested only the
144 InputStream is = null;
147 is = factory.createInputStream();
148 final int orientation = Exif.getOrientation(is, -1);
149 if (is !
[all...]
/frameworks/support/v7/appcompat/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
17 # Here is the final static library that apps can link against.
18 # The R class is automatically excluded from the generated library.
/frameworks/support/v7/gridlayout/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
17 # Here is the final static library that apps can link against.
18 # The R class is automatically excluded from the generated library.
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java11 * distributed under the License is distributed on an "AS IS" BASIS,
33 * Skeleton to test large-asset handling. The asset in question is one million
70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING);
74 int num = is.read(buf, 0, 4);
79 // the byte array is stored in the asset in little-endian order
88 is.close();
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequest.java11 * distributed under the License is distributed on an "AS IS" BASIS,
62 /* in case request is aborted before can be executed */
71 /* make sure final flag for GET is used (PBAP spec 6.2.2) */
82 InputStream is = mOp.openInputStream();
83 readResponse(is);
84 is.close();
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawableFactory.java11 * distributed under the License is distributed on an "AS IS" BASIS,
90 java.io.InputStream is) {
91 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeStream(is));
93 Log.w(TAG, "BitmapDrawable cannot decode " + is);
89 create(Resources res, java.io.InputStream is) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptC.java11 * distributed under the License is distributed on an "AS IS" BASIS,
33 * The superclass for all user-defined scripts. This is only
78 InputStream is = resources.openRawResource(resourceID);
91 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
98 is.close();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java11 * distributed under the License is distributed on an "AS IS" BASIS,
51 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
65 if (is instanceof NinePatchInputStream) {
66 NinePatchInputStream npis = (NinePatchInputStream) is;
91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDefaultPhotoManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
42 * For reading photos for directory contacts, this is the chunk size for
108 InputStream is = mContentResolver.openInputStream(
110 if (is != null) {
115 while ((size = is.read(buffer)) != -1) {
119 is.close();
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifModifier.java11 * distributed under the License is distributed on an "AS IS" BASIS,
52 InputStream is = null;
54 is = new ByteBufferInputStream(byteBuffer);
56 ExifParser parser = ExifParser.parse(is, mInterface);
61 ExifInterface.closeSilently(is);
70 InputStream is = null;
72 is = new ByteBufferInputStream(mByteBuffer);
98 ExifParser parser = ExifParser.parse(is, flag, mInterface);
135 ExifInterface.closeSilently(is);
/frameworks/ex/common/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
17 # Note: the source code is in java/, not src/, because this code is also part of
29 # we can't build the test for apps only build, because android.test.runner is not unbundled yet.
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java11 * distributed under the License is distributed on an "AS IS" BASIS,
44 // The field below is accessed by native methods
60 * @throws IllegalArgumentException If the path is invalid.
67 FileInputStream is = null;
69 is = new FileInputStream(path);
70 FileDescriptor fd = is.getFD();
79 if (is != null) {
80 is.close();
92 * @throws IllegalArgumentException If the URI is invalid.
117 * Sets the data source (FileDescriptor) to use. It is th
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java11 * distributed under the License is distributed on an "AS IS" BASIS,
42 * Specifies what renderscript object type is contained within
286 InputStream is = null;
288 is = res.openRawResource(id);
294 if (is instanceof AssetManager.AssetInputStream) {
295 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset();
304 FileA3D fa3d = new FileA3D(fileId, rs, is);
H A DScriptC.java11 * distributed under the License is distributed on an "AS IS" BASIS,
26 * The superclass for all user-defined scripts. This is only
97 InputStream is = resources.openRawResource(resourceID);
110 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
117 is.close();
H A DFont.java11 * distributed under the License is distributed on an "AS IS" BASIS,
34 * rendered glyph bitmaps is maintained. Each font object represents a combination of a typeface,
39 * font to the RenderScript is required. A note of caution on performance, though the state changes
40 * are transparent to the user, they do happen internally, and it is more efficient to
41 * render large batches of text in sequence. It is also more efficient to render multiple
202 InputStream is = null;
204 is = res.openRawResource(id);
212 if (is instanceof AssetManager.AssetInputStream) {
213 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset();
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java11 * distributed under the License is distributed on an "AS IS" BASIS,
136 InputStream is = mContext.getContentResolver().openInputStream(
138 bitmap = BitmapFactory.decodeStream(is);
142 is.close();
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequest.java11 * distributed under the License is distributed on an "AS IS" BASIS,
100 * headers. So this is workaround, at least temporary. TODO: check
113 InputStream is = op.openInputStream();
114 readResponse(is);
115 is.close();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * Telephony tester receives the following intents where {name} is the phone name
58 // is running on the same thread as Dcc.
135 final FileInputStream is;
137 is = new FileInputStream(packageFile);
143 TestConferenceEventPackageParser parser = new TestConferenceEventPackageParser(is);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java11 * distributed under the License is distributed on an "AS IS" BASIS,
224 // formulas, where the coefficient on x is the aspect ratio (width/height):
251 // We need to ensure that there is enough extra space in the wallpaper
281 InputStream is = null;
287 is = context.getContentResolver().openInputStream(uri);
288 bis = new BufferedInputStream(is);
291 is = res.openRawResource(resId);
292 bis = new BufferedInputStream(is);
306 Utils.closeSilently(is);
554 InputStream is
[all...]
/frameworks/base/data/keyboards/
H A Dcommon.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
15 # This is the list of framework provided keylayouts and key character maps to include.
H A Dkeyboards.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
15 # Warning: this is actually a product definition, to be inherited from
/frameworks/base/libs/hwui/font/
H A DFontUtil.h11 * distributed under the License is distributed on an "AS IS" BASIS,
35 # error TEXTURE_BORDER_SIZE other than 1 is not currently supported
/frameworks/base/libs/input/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
50 # team really wants is to build the stuff defined by this makefile.
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaScene.java11 * distributed under the License is distributed on an "AS IS" BASIS,
77 InputStream is = null;
80 is = mRes.getAssets().open(names[0]);
83 is = new BufferedInputStream(new FileInputStream(f));
93 sceneSource.init(is, rootDir);
/frameworks/opt/telephony/
H A DAndroid.mk10 # distributed under the License is distributed on an "AS IS" BASIS,
15 # enable this build only when platform library is available

Completed in 1039 milliseconds

1234567891011>>