Home
last modified time | relevance | path

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

123

/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameQueue.java83 public Frame peek(); in peek() method
111 public Frame peek() { in peek() method in FrameQueue.SingleFrameQueueImpl
166 public Frame peek() { in peek() method in FrameQueue
167 return mQueueImpl.peek(); in peek()
DInputPort.java196 public synchronized Frame peek() { in peek() method in InputPort
200 return mQueue.peek(); in peek()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java91 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
137 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientToRemove)) in removeFocusStackEntry()
177 mFocusStack.peek().hasSameBinder(cb); in removeFocusStackEntryForClient()
207 if (!mFocusStack.isEmpty() && isLockedFocusOwner(mFocusStack.peek())) { in canReassignAudioFocus()
334 pcb2.notifyAudioFocusGrant(mFocusStack.peek().toAudioFocusInfo(), in notifyExtPolicyCurrentFocusAsync()
382 return mFocusStack.peek().getGainRequest(); in getCurrentAudioFocus()
431 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
434 final FocusRequester fr = mFocusStack.peek(); in requestAudioFocus()
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java136 final boolean removedFirst = key.equals(mExpected.peek()); in forget()
144 if (removedFirst && (second = mExpected.peek()) != null) { in forget()
195 first = mExpected.peek(); in maybeExecuteNow()
/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java43 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() method in StructNlAttr
63 final StructNlAttr struct = peek(byteBuffer); in parse()
/frameworks/base/docs/html/training/wearables/watch-faces/
Dissues.jd78 down the watch face to fit inside the portion of the screen not covered by the peek card. Digital
79 watch faces that display the time in the area of the screen not covered by peek cards do not
80 usually require adjustments. To determine the free space above the peek card so you can adapt
85 <p>In ambient mode, peek cards have a transparent background. If your watch face contains details
134 the elements of your watch face in response to a peek card, use values that are some fraction
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java134 private QueryEntry peek() { in peek() method in IconCache.QuerySet
255 QueryEntry queryEntry = querySet.peek(); in initiateQuery()
268 queryEntry = querySet.peek(); in initiateQuery()
363 QueryEntry queryEntry = querySet.peek(); in tickle()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java573 CaptureHolder h1 = mPreviewCaptureQueue.peek(); in failNextPreview()
574 CaptureHolder h2 = mPreviewProduceQueue.peek(); in failNextPreview()
600 CaptureHolder h1 = mJpegCaptureQueue.peek(); in failNextJpeg()
601 CaptureHolder h2 = mJpegProduceQueue.peek(); in failNextJpeg()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp58 RenderTask* TaskQueue::peek() { in peek() function in android::uirenderer::renderthread::TaskQueue
113 if (peek() == task) { in remove()
377 RenderTask* next = mQueue.peek(); in nextTask()
DRenderThread.h56 RenderTask* peek();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DStack.java63 public T peek() { in peek() method in Stack
/frameworks/base/docs/html/design/wear/
Dstyle.jd41 …information is conveyed in the peek state on the Home screen. The main message of the card should …
45 <img src="{@docRoot}design/media/wear/peek-card.png" width="300"
96peek card. A notification could place the sensitive information on a second page that must be swip…
Dwatchfaces.jd192 <p>The peek card is the top card in the stream that is partially visible at the bottom of the
193 screen. A variable peek card has a height that is determined by the amount of text within a given
194 notification. A small peek card leaves more room for your design. Round faces with analog hands
195 should have a small peek card. If the time signature is clearly visible above the maximum height
196 of the variable peek card, you may choose to include the variable peek card. The benefit of a
197 variable peek card is that it displays more notification information. Faces with information on
198 the bottom half of the face should leverage the small peek card instead.</p>
199 <p>The system notifies your watch face when the bounds of a peek card change, so you can
211 large peek card, the indicators should go on the top or on the center of the screen. When you
213 peek cards. If the edge of the watch face contains strong visual elements, such as
Dindex.jd64 …Context Stream, peeking up at the bottom of the screen. The amount of the peek card that appears i…
68 … Home screen. Watch faces display the time and accommodate the top ranked peek card. The user can …
70 …. This usually involves dimming the screen in some way. The contents of a peek card will automatic…
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DJob.java295 assert(stack.peek().isCreateSupported()); in createCopy()
303 assert(stack.peek().isCreateSupported()); in createMove()
313 assert(stack.isEmpty() || stack.peek().isDirectory()); in createDelete()
/frameworks/ex/framesequence/jni/
DRegistry.cpp48 headerSize = stream->peek(header, headerSize); in Find()
DStream.h29 size_t peek(void* buffer, size_t size);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
DScope.java48 ScopeEntry peek = sScopeItems.get(); in enter() local
49 ScopeEntry entry = new ScopeEntry(scopeProvider, peek); in enter()
/frameworks/av/media/libstagefright/webm/
DLinkedBlockingQueue.h63 T peek() { in peek() function
DWebmFrameThread.cpp203 const sp<WebmFrame> videoFrame = mVideoFrames.peek(); in run()
207 const sp<WebmFrame> audioFrame = mAudioFrames.peek(); in run()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java55 JsonToken token = reader.peek(); in parse()
/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

123