HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 201 - 225 of 581) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
43 * is defined in a .png file with a special format.
54 // dithering helps a lot, and is pretty cheap, so default is true
307 final InputStream is = r.openRawResource(id, value); local
309 bitmap = BitmapFactory.decodeResourceStream(r, value, is, padding, options);
311 is.close();
424 // Note we don't copy the padding because it is immutable.
  /frameworks/base/media/java/android/media/
MediaMetadataRetriever.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
43 // The field below is accessed by native methods
59 * @throws IllegalArgumentException If the path is invalid.
62 FileInputStream is = null; local
64 is = new FileInputStream(path);
65 FileDescriptor fd = is.getFD();
74 if (is != null) {
75 is.close();
87 * @throws IllegalArgumentException If the URI is invalid
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
49 * "Round trip test" (import -> export -> import, or export -> import -> export) is not supported.
147 AndroidTestCase.fail("addInputEntry() is called.");
149 AndroidTestCase.fail("InputStream is already set");
159 AndroidTestCase.fail("setInputStream is called");
238 private void verifyWithInputStream(InputStream is) throws IOException {
252 parser.parse(is);
269 InputStream is = null; local
271 is = new ByteArrayInputStream(vcard.getBytes(mCharset))
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
41 * writing, this buffer's max size is 64KiB compressed bytes. We'll write a
53 InputStream is = zipFile.getInputStream(zipEntry); local
54 while (is.read(readBuffer, 0, readBuffer.length) != -1) {}
55 is.close();
248 // Missing size is copied from compressed size.
268 // Missing compressed size is copied from size.
326 // Is file comment length checking done on bytes or characters? (Should be bytes.)
342 // Is entry comment length checking done on bytes or characters? (Should be bytes.
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/xml/parsers/
SAXParserFactoryTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
68 @AndroidOnly("Android SAX implementation is non-validating")
77 * TBD getSchema() IS NOT SUPPORTED
122 assertNotNull("New Instance of DatatypeFactory is null", dtf);
186 fail("ParserConfigurationException is thrown");
188 fail("SAXNotRecognizedException is thrown");
190 fail("SAXNotSupportedException is thrown");
196 fail("SAXNotRecognizedException is not thrown");
198 fail("ParserConfigurationException is thrown")
237 InputStream is = getClass().getResourceAsStream("\/simple_ns.xml"); local
    [all...]
SAXParserTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
59 // it is a fake
69 // it is a fake
78 // it is a fake
87 // it is a fake
96 // it is a fake
107 // it is a fake
209 // InputStream is = new FileInputStream(list_wf[i]);
210 // parser.parse(is, dh, ParsingSupport.XML_SYSTEM_ID)
409 InputSource is = new InputSource(new FileInputStream(list_wf[i])); local
417 InputSource is = new InputSource(new FileInputStream(file)); local
431 InputSource is = new InputSource(new FileInputStream(list_wf[0])); local
450 InputSource is = new InputSource(new FileInputStream(list_wf[i])); local
458 InputSource is = new InputSource(new FileInputStream(file)); local
472 InputSource is = new InputSource(new FileInputStream(list_wf[0])); local
507 InputStream is = new FileInputStream(list_wf[i]); local
515 InputStream is = new FileInputStream(list_nwf[i]); local
532 InputStream is = new FileInputStream(list_wf[0]); local
550 InputStream is = new FileInputStream(list_wf[i]); local
563 InputStream is = new FileInputStream(list_nwf[i]); local
589 InputStream is = new FileInputStream(list_wf[0]); local
657 InputStream is = new FileInputStream(list_wf[i]); local
665 InputStream is = new FileInputStream(file); local
679 InputStream is = new FileInputStream(list_wf[0]); local
698 InputStream is = new FileInputStream(list_wf[i]); local
706 InputStream is = new FileInputStream(file); local
720 InputStream is = new FileInputStream(list_wf[0]); local
    [all...]
SAXParserTestSupport.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
96 InputStream is = new FileInputStream(fileName); local
98 int c = is.read();
116 c = is.read();
122 is.close();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportProcessor.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
44 * {@link VCardService} will create another object when there is another import request.
132 * Note: this code assumes that a given Uri is able to be opened more than once,
158 InputStream is = null; local
163 is = mResolver.openInputStream(uri);
166 is = new ByteArrayInputStream(request.data);
169 if (is != null) {
170 successful = readOneVCard(is, estimatedVCardType, estimatedCharset, constructor,
176 if (is != null)
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
81 log(TAG, "type is " + type);
159 InputStream is = data.getStream(longSide); local
163 BufferedInputStream bis = new BufferedInputStream(is);
244 if (is != null) {
245 is.close();
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
114 InputStream is = obtainInputStream(); local
117 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1);
145 InputStream is = obtainInputStream(); local
147 Bitmap b = BitmapFactory.decodeStream(is, r, mOpt1);
153 assertNull(BitmapFactory.decodeStream(is, r, mOpt2));
157 InputStream is = obtainInputStream(); local
158 Bitmap b = BitmapFactory.decodeStream(is);
167 InputStream is = obtainInputStream(RES_IDS[i]) local
278 InputStream is = obtainInputStream(); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MatrixPaletteRenderer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
47 /** A grid is a topologically rectangular array of vertices.
49 * This grid class is customized for the vertex data required for this
78 // constructing the grid. Once createBufferObjects() is called
256 * surface is created.
279 InputStream is = mContext.getResources() local
283 bitmap = BitmapFactory.decodeStream(is);
286 is.close();
310 * Usually, the first thing one might want to do is to clea
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
SpriteTextRenderer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
75 * surface is created.
98 InputStream is = mContext.getResources() local
102 bitmap = BitmapFactory.decodeStream(is);
105 is.close();
147 * Usually, the first thing one might want to do is to clear
148 * the screen. The most efficient way of doing this is to use
249 * be set when the viewport is resized.
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
JarURLConnectionTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
226 InputStream is = conn.getInputStream(); local
227 is.close();
257 InputStream is =juc.getInputStream(); local
259 while(is.read(buf)>0);
265 is = juc.getJarFileURL().openStream();
266 while(is.read(buf)>0);
314 InputStream is = url.openStream(); local
315 is.close()
    [all...]
URLClassLoaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
120 String[] resValues = { "This is a test resource file.",
121 "This is a resource from a subdir" };
132 InputStream is = ((URL) res.nextElement()).openStream(); local
134 while ((c = is.read()) != -1) {
361 java.io.InputStream is = res.openStream(); local
364 while ((c = is.read()) != -1) {
367 is.close();
371 "This is a test resource file"))
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
BinaryImporter.java 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
107 InputStream is = null; local
109 is = info.openStream();
110 Savable s = load(is);
116 if (is != null){
118 is.close();
125 public Savable load(InputStream is) throws IOException {
126 return load(is, null, null);
129 public Savable load(InputStream is, ReadListener listener) throws IOException
259 InputStream is = f.openStream(); local
    [all...]
  /frameworks/base/core/java/android/os/
RecoverySystem.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
108 InputStream is = zip.getInputStream(entry); local
110 trusted.add(cf.generateCertificate(is));
112 is.close();
123 * before installing it. Note that the package is also verified
124 * separately by the installer once the device is rebooted into
131 * the thread while this function is in progress will result in a
140 * package is signed by the private key corresponding to any
191 // The following code is largely copied fro
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
ZygoteConnection.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
68 * mSocket is retained in the child process in "peer wait" mode, so
70 * it is closed in the peer.
119 * the socket is closed. This method is used in ZYGOTE_FORK_MODE
136 * heap is a lot of overhead to free a few hundred bytes.
153 * a child is forked and a {@link ZygoteInit.MethodAndArgsCaller}
154 * exception is thrown in that child while in the parent process,
155 * the method returns normally. On failure, the child is no
970 DataInputStream is = new DataInputStream(new FileInputStream(pipeFd)); local
    [all...]
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZoneData.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
317 InputStream is = null; local
324 is = am.open("backward");
325 BufferedReader reader = new BufferedReader(new InputStreamReader(is));
360 if (is != null) {
361 is.close();
375 is = am.open("zone.tab");
376 BufferedReader reader = new BufferedReader(new InputStreamReader(is));
444 // Add to the list of time zones if the time zone is uniqu
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
82 InputStream is = jf.getInputStream(je); local
83 is.skip(je.getSize());
263 // The RI omits the empty authority "//" but the RFC doesn't say this is necessary
304 InputStream is = conn.getInputStream(); local
305 is.close();
OldURLClassLoaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
91 String[] resValues = { "This is a test resource file.",
92 "This is a resource from a subdir"};
143 assertEquals("Result array length is incorrect: " + i,
146 assertEquals("Result array item is incorrect: " + j,
168 assertNull("Implementation Title is not null",
170 assertNull("Implementation Vendor is not null",
172 assertNull("Implementation Version is not null.",
249 InputStream is = getClass().getResourceAsStream local
291 InputStream is = res.openStream(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
TestActivity.java 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
91 /** Called when the activity is first created. */
104 * Other application is trying to share a file via Bluetooth,
118 Log.v(Constants.TAG, " Get share intent with Uri " + stream + " mimetype is "
173 * "insert record id is " + id); Uri contentUri1 =
407 Log.d(TAG, "remote addr is "
472 updateStatus("[server:] A client is now connected");
502 java.io.InputStream is = op.openInputStream(); local
504 updateStatus("Got data bytes " + is.available() + " name
    [all...]
  /packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
97 /** Called when the activity is first created. */
397 FileInputStream is = new FileInputStream(f); local
398 int readBytes = is.read(buf, 0, 100);
399 is.close();
504 InputStream is = socket.getInputStream(); local
513 int gotBackByte = is.read();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
LibraryClasspathContainerInitializer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
132 if (plugin == null) { // This is totally weird, but I've seen it happen!
254 // now add a classpath entry for each Java project (this is a set so dups are already
292 InputStream is = null; local
294 p.load(is = new FileInputStream(jarProperties));
325 if (is != null) {
327 is.close();
434 * @param includeJarFiles whether to include jar files or just projects. This is useful when
462 * @param includeJarFiles whether to include jar files or just projects. This is useful whe
    [all...]
  /bionic/libm/upstream-freebsd/lib/msun/src/
e_powf.c 11 * software is freely granted, provided that this notice
12 * is preserved.
61 int32_t hx,hy,ix,iy,is; local
70 /* x==1: 1**y = 1, even if y is NaN */
73 /* y!=zero: result is NaN if either arg is NaN */
78 /* determine if y is an odd int when x < 0
79 * yisint = 0 ... y is not an integer
80 * yisint = 1 ... y is an odd int
81 * yisint = 2 ... y is an even in
    [all...]
  /build/core/
product_config.mk 11 # distributed under the License is distributed on an "AS IS" BASIS,
23 ## Return non-empty if $(1) is a C identifier; i.e., if it
27 ## final result is empty, then it was a valid C identifier.
36 define is-c-identifier
82 # These are the valid values of TARGET_BUILD_VARIANT. Also, if anything else is passed
167 # ... or if the if the option is already set
195 # or just <path_to_the_product_makefile> in case the product name is the
318 only 1 certificate is allowed.)
324 # when building this product. <destination path> is relative t
    [all...]

Completed in 1495 milliseconds

1 2 3 4 5 6 7 891011>>