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

1 2 3 4 5 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
51 private static byte[] streamToBytes(InputStream is) {
56 while ((len = is.read(buffer)) >= 0) {
68 java.io.InputStream is; local
69 is = context.getResources().openRawResource(R.drawable.beach);
75 bm = BitmapFactory.decodeStream(is, null, opts);
78 // bitmap, even though bm is null
82 bm = BitmapFactory.decodeStream(is, null, opts);
87 is = context.getResources().openRawResource(R.drawable.frog)
    [all...]
  /development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
48 * This is the sampling rate of our output audio. This engine outputs
82 // Note that mCurrentLanguage is volatile because this can be called from
111 * Note that this method is synchronized, as is onSynthesizeText because
113 * is always called from a single thread only).
158 // Note that we call onLoadLanguage here since there is no guarantee
171 // it is guaranteed that we support it so we proceed with synthesis.
184 // It is crucial to call either of callback.error() or callback.done() to ensur
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
60 InputStream is = new URL(jarName).openConnection().getInputStream(); local
62 JarInputStream jis = new JarInputStream(is);
77 InputStream is = Support_Resources.getStream("Broken_entry.jar"); local
78 JarInputStream jis = new JarInputStream(is, false);
99 InputStream is = new URL(jarName).openConnection().getInputStream(); local
100 JarInputStream jis = new JarInputStream(is);
118 is = Support_Resources.getStream("Broken_entry.jar");
119 jis = new JarInputStream(is, false)
136 InputStream is = new URL(jarName2).openConnection().getInputStream(); local
154 InputStream is = new URL(jarName).openConnection().getInputStream(); local
167 InputStream is = new URL(intJarName).openConnection() local
183 InputStream is = new URL(modJarName).openConnection() local
210 InputStream is = new URL(modJarName).openConnection() local
231 InputStream is = new URL(modJarName).openConnection() local
258 InputStream is = new URL(modJarName).openConnection() local
283 InputStream is = new URL(modJarName).openConnection() local
312 InputStream is = new URL(intJarName).openConnection() local
335 InputStream is = new URL(modJarName).openConnection() local
366 InputStream is = new URL(modJarName).openConnection() local
396 InputStream is = Support_Resources.getStream("Broken_entry.jar"); local
    [all...]
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
X509CertificateTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
262 ByteArrayInputStream is = null; local
265 is = new ByteArrayInputStream(Base64.decode(base64cert.getBytes("UTF-8")));
267 .generateCertificate(is);
270 is = new ByteArrayInputStream(Base64.decode(base64crl.getBytes("UTF-8")));
271 X509CRL crl = (X509CRL) certFactory.generateCRL(is);
  /external/apache-harmony/support/src/test/java/tests/support/resource/
Support_Resources.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
137 InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name); local
138 if (is == null) {
141 return is;
  /external/apache-http/src/org/apache/commons/logging/
LogFactory.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
41 * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation is heavily
59 * is a floating-point number; higher values take priority over lower values.
66 * context class loader (TCCL), or not. By default, the TCCL is used.
107 * If a system property of this name is set then the value is
128 * LogFactory class is generating the output.
146 * <strong>Usage:</strong> Set this property when Java is invoked
162 * A typical use case is to allow a custo
504 InputStream is = getResourceAsStream(contextClassLoader, local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/xslt/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
34 * This class is duplicated for each JAXP subpackage so keep it in sync.
35 * It is package private and therefore is not exposed as part of the JAXP
38 * This code is designed to implement the JAXP 1.1 spec pluggability
39 * feature and is designed to run on JDK version 1.1 and
85 * specified order is the following:
97 * is found. Use null to mean no fallback.
108 * specified order is the following
539 InputStream is = null; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
34 * This class is duplicated for each JAXP subpackage so keep it in sync.
35 * It is package private and therefore is not exposed as part of the JAXP
38 * This code is designed to implement the JAXP 1.1 spec pluggability
39 * feature and is designed to run on JDK version 1.1 and
85 * specified order is the following:
97 * is found. Use null to mean no fallback.
108 * specified order is the following
539 InputStream is = null; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
33 * This class is duplicated for each JAXP subpackage so keep it in sync.
34 * It is package private and therefore is not exposed as part of the JAXP
37 * This code is designed to implement the JAXP 1.1 spec pluggability
38 * feature and is designed to run on JDK version 1.1 and
84 * specified order is the following:
96 * is found. Use null to mean no fallback.
107 * specified order is the following
538 InputStream is = null; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
34 * This class is duplicated for each JAXP subpackage so keep it in sync.
35 * It is package private and therefore is not exposed as part of the JAXP
38 * This code is designed to implement the JAXP 1.1 spec pluggability
39 * feature and is designed to run on JDK version 1.1 and
85 * specified order is the following:
97 * is found. Use null to mean no fallback.
108 * specified order is the following
539 InputStream is = null; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
ObjectFactory.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
34 * This class is duplicated for each JAXP subpackage so keep it in sync.
35 * It is package private and therefore is not exposed as part of the JAXP
38 * This code is designed to implement the JAXP 1.1 spec pluggability
39 * feature and is designed to run on JDK version 1.1 and
85 * specified order is the following:
97 * is found. Use null to mean no fallback.
108 * specified order is the following
539 InputStream is = null; local
    [all...]
  /external/clang/include/clang/Lex/
Token.h 5 // This file is distributed under the University of Illinois Open Source
28 /// It is not intended to be space efficient, it is intended to return as much
29 /// information as possible about each returned token. This is expected to be
30 /// compressed into a smaller form if memory footprint is important.
50 /// PtrData - This is a union of four different pointer types, which depends
51 /// on what type of token this is:
53 /// This is an IdentifierInfo*, which contains the uniqued identifier
56 /// This is a pointer to the start of the token in a text buffer, which
59 /// This is a pointer to sema-specific data for the annotation token
88 bool is(tok::TokenKind K) const { return Kind == (unsigned) K; } function in class:clang::Token
    [all...]
  /external/clang/utils/
clang-completion-mode.el 14 ;; meant for serious use: it is meant to help experiment with code
19 ;; which is typically installed in libexec/. Then, place
41 ;; line, Clang's code-completion is enabled.
43 ;; Clang's code completion is based on parsing the complete source
44 ;; file up to the point where the cursor is located. Therefore, Clang
48 ;; acceptable to clang. This is a hack: patches are welcome to
103 (defun is-completion-line (line)
114 (completion-lines (filter 'is-completion-line all-lines)))
134 ;; and ensures that the buffer is visible.
157 ;; If there is already a code-completion process, kill it first
    [all...]
  /external/doclava/src/com/google/doclava/
DocFile.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
34 FileInputStream is = new FileInputStream(f); local
35 InputStreamReader reader = new InputStreamReader(is, "UTF-8");
85 // The document is properties up until the line "@jd:body".
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
UnpackUpdateJars.java 5 * which accompanies this distribution, and is available at
123 InputStream is; field in class:UnpackUpdateJars.StreamHandler
127 StreamHandler(InputStream is, String type) {
128 this.is = is;
134 InputStreamReader isr = new InputStreamReader(is);
  /external/harfbuzz_ng/src/
hb-graphite2.cc 6 * This is part of HarfBuzz, a text shaping library.
8 * Permission is hereby granted, without written agreement and without
22 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
23 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
242 const gr_slot *is; local
299 for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++)
301 unsigned int before = gr_slot_before (is);
    [all...]
  /external/javassist/src/main/javassist/
ClassPoolTail.java 10 * Software distributed under the License is distributed on an "AS IS" basis,
96 InputStream is = jars[i].openClassfile(classname); local
97 if (is != null)
98 return is;
273 * found although "System" is not a package name.
322 * @throws NotFoundException if any error is reported by ClassPath.
356 * specified by classname. It is also used to determine whether
  /external/opencv/cvaux/src/
cvhmmobs.cpp 29 // This software is provided by the copyright holders and contributors "as is" and
46 // to be used with an embedded HMM; Each observation is top-left block of DCT
53 // dctSize - size of the block for which DCT is calculated
54 // obsSize - size of top-left block of DCT coeffs matrix, which is treated
65 // The algorithm is following:
71 // So, total number of observation vectors is Nx*Ny, and total size of
178 float is = 0; local
184 is = img[x + m1 * imgStep];
185 k0 = ((work_t) is) * tab[-1]
375 float is = 0; local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java 40 assertThat(ShadowAccountManagerForTests.wasCalled, is(true));
51 assertThat(shadowOf(overlay).isPopulated(), is(true)); method
61 assertThat(paint.getColor(), is(1234));
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MatrixCursorTest.java 4 import static org.hamcrest.CoreMatchers.is;
130 assertThat(singleColumnSingleNullValueMatrixCursor.getString(0), is(nullValue()));
135 assertThat(singleColumnSingleNullValueMatrixCursor.getInt(0), is(equalTo(0)));
140 assertThat(singleColumnSingleNullValueMatrixCursor.getLong(0), is(equalTo(0L)));
145 assertThat(singleColumnSingleNullValueMatrixCursor.getShort(0), is(equalTo((short) 0))); method
150 assertThat(singleColumnSingleNullValueMatrixCursor.getFloat(0), is(equalTo(0.0f)));
155 assertThat(singleColumnSingleNullValueMatrixCursor.getDouble(0), is(equalTo(0.0)));
PendingIntentTest.java 5 import static org.hamcrest.CoreMatchers.is;
40 assertThat(shadow.isActivityIntent(), is(false)); method
41 assertThat(shadow.isBroadcastIntent(), is(true)); method
42 assertThat(shadow.isServiceIntent(), is(false)); method
52 assertThat(shadow.isActivityIntent(), is(true)); method
53 assertThat(shadow.isBroadcastIntent(), is(false)); method
54 assertThat(shadow.isServiceIntent(), is(false)); method
64 assertThat(shadow.isActivityIntent(), is(false)); method
65 assertThat(shadow.isBroadcastIntent(), is(false)); method
66 assertThat(shadow.isServiceIntent(), is(true)) method
    [all...]
PopupWindowTest.java 23 import static org.hamcrest.CoreMatchers.is;
46 assertThat(popupWindow.getContentView(), is(contentView)); method
53 assertThat(popupWindow.getWidth(), is(1));
60 assertThat(popupWindow.getHeight(), is(2));
102 @SuppressWarnings("RedundantCast") //For some reason this is needed because of a compile error without it
108 assertThat((BitmapDrawable) popupWindow.getBackground(), is(bitmapDrawable));
ProgressDialogTest.java 19 import static org.hamcrest.core.Is.is;
45 CharSequence message = "This is only a test";
69 assertThat(shadowProgressDialog.getContext(), is(context)); method
75 assertThat(cancelListener.onCancelDialogInterface, is((DialogInterface) progressDialog));
RectTest.java 9 import static org.hamcrest.CoreMatchers.is;
21 assertThat(r.left, is(1));
22 assertThat(r.top, is(2));
23 assertThat(r.right, is(3));
24 assertThat(r.bottom, is(4));
31 assertThat(r.left, is(1));
32 assertThat(r.top, is(2));
33 assertThat(r.right, is(3));
34 assertThat(r.bottom, is(4));
41 assertThat(r.width(), is(10))
54 assertThat(a.equals(b), is(false)); method
61 assertThat(a.equals(b), is(true)); method
67 assertThat(r.contains(11, 11), is(false)); method
73 assertThat(r.contains(5, 5), is(true)); method
79 assertThat(r.contains(0, 5), is(false)); method
85 assertThat(r.contains(10, 5), is(false)); method
91 assertThat(r.contains(5, 0), is(true)); method
97 assertThat(r.contains(5, 10), is(true)); method
104 assertThat(a.contains(b), is(false)); method
111 assertThat(a.contains(b), is(true)); method
118 assertThat(a.contains(b), is(true)); method
125 assertThat(a.contains(b), is(false)); method
132 assertThat(Rect.intersects(a, b), is(false)); method
139 assertThat(Rect.intersects(a, b), is(true)); method
146 assertThat(Rect.intersects(a, b), is(false)); method
153 assertThat(a.intersect(b), is(true)); method
159 assertThat(r.intersect(5, 0, 15, 10), is(true)); method
    [all...]
TabHostTest.java 17 import static org.hamcrest.CoreMatchers.is;
45 assertThat(tabHost.getChildAt(0), is(fooView)); method
46 assertThat(tabHost.getChildAt(1), is(barView)); method
60 assertThat(shadowOf(tabHost).getSpecByTag("Bar"), is(bar)); method
61 assertThat(shadowOf(tabHost).getSpecByTag("Baz"), is(baz)); method

Completed in 1572 milliseconds

1 2 3 4 5 6 7 8 91011>>