Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DJsonReaderTest.java34 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadArray()
42 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyArray()
54 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadObject()
62 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyObject()
74 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipObject()
91 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testHelloWorld()
163 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testCharacterUnescaping()
207 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testDoubles()
239 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testLenientDoubles()
248 assertEquals(JsonToken.STRING, reader.peek()); in testBufferBoundary()
[all …]
/frameworks/base/core/java/android/util/
DJsonReader.java308 peek(); in expect()
310 throw new IllegalStateException("Expected " + expected + " but was " + peek()); in expect()
319 peek(); in hasNext()
326 public JsonToken peek() throws IOException { in peek() method in JsonReader
371 peek(); in advance()
388 peek(); in nextName()
390 throw new IllegalStateException("Expected a name but was " + peek()); in nextName()
406 peek(); in nextString()
408 throw new IllegalStateException("Expected a string but was " + peek()); in nextString()
424 peek(); in nextBoolean()
[all …]
DJsonWriter.java251 JsonScope context = peek(); in close()
267 private JsonScope peek() { in peek() method in JsonWriter
395 if (peek() != JsonScope.NONEMPTY_DOCUMENT) { in close()
477 JsonScope context = peek(); in beforeName()
496 switch (peek()) { in beforeValue()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DStack.java63 public T peek() { in peek() method in Stack
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h43 virtual bool peek(const char tag[], const void* data, size_t length);
DNinePatchPeeker.cpp23 bool NinePatchPeeker::peek(const char tag[], const void* data, size_t length) { in peek() function in NinePatchPeeker
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DAwaitableCompletionListener.java55 if (mQueue.peek() != null) { in assertNoMoreCallbacks()
DAwaitableErrorListener.java63 if (mQueue.peek() != null) { in assertNoMoreCallbacks()
/frameworks/base/media/java/android/media/
DAudioService.java3586 if (!mFocusStack.empty() && (mFocusStack.peek().mFocusDispatcher != null)) { in notifyTopOfAudioFocusStack()
3589 mFocusStack.peek().mFocusDispatcher.dispatchAudioFocusChange( in notifyTopOfAudioFocusStack()
3590 AudioManager.AUDIOFOCUS_GAIN, mFocusStack.peek().mClientId); in notifyTopOfAudioFocusStack()
3672 if (!mFocusStack.empty() && mFocusStack.peek().mClientId.equals(clientToRemove)) in removeFocusStackEntry()
3709 mFocusStack.peek().mSourceRef.equals(cb); in removeFocusStackEntryForClient()
3738 if (!mFocusStack.isEmpty() && IN_VOICE_COMM_FOCUS_ID.equals(mFocusStack.peek().mClientId)) { in canReassignAudioFocus()
3798 if (!mFocusStack.empty() && mFocusStack.peek().mClientId.equals(clientId)) { in requestAudioFocus()
3801 if (mFocusStack.peek().mFocusChangeType == focusChangeHint) { in requestAudioFocus()
3814 if (!mFocusStack.empty() && (mFocusStack.peek().mFocusDispatcher != null)) { in requestAudioFocus()
3816 mFocusStack.peek().mFocusDispatcher.dispatchAudioFocusChange( in requestAudioFocus()
[all …]
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java80 return (mQueue.peek() != null) || (mCurrentWorkItem != null); in isSpeaking()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DPatternScanner.java78 public boolean peek(Pattern pattern) { in peek() method in PatternScanner
DTextGraphReader.java372 while (!scanner.atEnd() && !(endPattern != null && scanner.peek(endPattern))) { in readKeyValueAssignments()
/frameworks/base/docs/html/training/graphics/opengl/
Dshapes.jd151 <p>This example gives you a peek at what it takes to create more complex shapes with OpenGL. In
/frameworks/base/docs/html/about/versions/
Dandroid-2.2-highlights.jd120 <p>Gallery allows you to <span class="green">peek into picture stacks</span> using a zoom
/frameworks/base/docs/html/design/patterns/
Dnotifications.jd142 <h4>Provide a peek into your notification</h4>
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java232 return mParserStack.peek(); in getCurrentParser()
/frameworks/base/api/
D14.txt21312 method public android.util.JsonToken peek() throws java.io.IOException;
31153 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
35893 method public E peek();
36295 method public abstract E peek();
36575 method public E peek();
36801 method public E peek();
36842 method public abstract E peek();
37047 method public synchronized E peek();
37267 method public E peek();
37289 method public abstract E peek();
[all …]
D15.txt21454 method public android.util.JsonToken peek() throws java.io.IOException;
31308 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
36048 method public E peek();
36450 method public abstract E peek();
36730 method public E peek();
36956 method public E peek();
36997 method public abstract E peek();
37202 method public synchronized E peek();
37422 method public E peek();
37444 method public abstract E peek();
[all …]
Dcurrent.txt22453 method public android.util.JsonToken peek() throws java.io.IOException;
32591 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
37331 method public E peek();
37733 method public abstract E peek();
38013 method public E peek();
38239 method public E peek();
38280 method public abstract E peek();
38485 method public synchronized E peek();
38705 method public E peek();
38727 method public abstract E peek();
[all …]
D16.txt22453 method public android.util.JsonToken peek() throws java.io.IOException;
32591 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
37331 method public E peek();
37733 method public abstract E peek();
38013 method public E peek();
38239 method public E peek();
38280 method public abstract E peek();
38485 method public synchronized E peek();
38705 method public E peek();
38727 method public abstract E peek();
[all …]