Searched defs:has (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DStringUtils.h29 bool has(const char* str) { function in class:android::uirenderer::unordered_string_set
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java62 has(jpeg, byteSize, offset + length - 1)
76 if (has(jpeg, byteSize, 1)) {
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
151 // Offset has changed significantly.
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { method in class:Exif
208 return jpeg.has(index);
H A DInputStreamBuffer.java75 * 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.
258 * @return True if the byte at the requested index has been filled. False if the wrapped
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java57 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 DInputStreamBuffer.java75 * 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.
258 * @return True if the byte at the requested index has been filled. False if the wrapped
/frameworks/base/media/java/android/media/
H A DMetadata.java428 public boolean has(final int metadataId) { method in class:Metadata
436 // Caller must make sure the key is present using the {@code has}

Completed in 6257 milliseconds