Searched refs:has (Results 1 - 7 of 7) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 57 has(jpeg, byteSize, offset + length - 1) 71 if (has(jpeg, byteSize, 1)) { 81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { 103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { 146 // Offset has changed significantly. 198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { method in class:Exif 203 return jpeg.has(index);
|
H A D | InputStreamBuffer.java | 75 * or {@link #has(int)} with an index N, then some arbitrary time later call {@link #get(int)} 76 * or {@link #has(int)} with an index M < N. The wrapper may return the right value, 120 * You should always call {@link #has(int)} with the same index, unless you are sure that no 131 if (has(index)) { 159 public boolean has(final int index) throws IllegalStateException, IndexOutOfBoundsException { method in class:InputStreamBuffer 160 Trace.beginSection("has"); 185 * {@link #has(int)} call will fill the buffer. 256 * @return True if the byte at the requested index has been filled. False if the wrapped
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 171 assertTrue(mMetadata.has(Metadata.TITLE)); 172 assertTrue(mMetadata.has(Metadata.GENRE)); 173 assertTrue(mMetadata.has(Metadata.firstCustomId())); 174 assertFalse(mMetadata.has(Metadata.DRM_CRIPPLED)); 209 assertTrue(mMetadata.has(Metadata.MIME_TYPE)); 211 assertFalse(mMetadata.has(Metadata.TITLE)); 212 assertFalse(mMetadata.has(Metadata.GENRE)); 213 assertFalse(mMetadata.has(Metadata.firstCustomId()));
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 586 int has = reply.readInt(); 587 ParcelFileDescriptor fd = has != 0 ? reply.readFileDescriptor() : null; 612 int has = reply.readInt(); 613 AssetFileDescriptor fd = has != 0 683 int has = reply.readInt(); 684 AssetFileDescriptor fd = has != 0
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 396 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE) 398 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE) 400 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE) 483 /* If an error handler has been supplied, use it and finish. */ 491 * something bad has happened. Only try and pop up the dialog 545 * has been reached during playback.
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 420 public boolean has(final int metadataId) { method in class:Metadata 428 // Caller must make sure the key is present using the {@code has}
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1288 ALOGW("Bad XML block: header type 0x%x in node at 0x%x has size %d, need %d\n", 1862 // good since we will prefer a config that has specified a 2015 // good since we will prefer a config that has specified a 5246 ALOGW("ResTable_type has an id of 0."); 5296 ALOGW("ResTable_type has an id of 0."); 5372 ALOGW("idmap: resource 0x%08x has spec but lacks values, skipping\n", resID); 5452 ALOGW("idmap: type %d supposedly has entries, but no entries found\n", i);
|
Completed in 189 milliseconds