/frameworks/base/libs/hwui/ |
H A D | Extensions.cpp | 58 mHasNPot = extensions.has("GL_OES_texture_npot"); 59 mHasFramebufferFetch = extensions.has("GL_NV_shader_framebuffer_fetch"); 60 mHasDiscardFramebuffer = extensions.has("GL_EXT_discard_framebuffer"); 61 mHasDebugMarker = extensions.has("GL_EXT_debug_marker"); 62 mHas1BitStencil = extensions.has("GL_OES_stencil1"); 63 mHas4BitStencil = extensions.has("GL_OES_stencil4"); 64 mHasUnpackSubImage = extensions.has("GL_EXT_unpack_subimage"); 65 mHasRenderableFloatTexture = extensions.has("GL_OES_texture_half_float"); 67 mHasSRGB = mVersionMajor >= 3 || extensions.has("GL_EXT_sRGB"); 68 mHasSRGBWriteControl = extensions.has("GL_EXT_sRGB_write_contro [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | StringUtilsTests.cpp | 27 EXPECT_TRUE(collection.has("a")); 28 EXPECT_TRUE(collection.has("b")); 29 EXPECT_TRUE(collection.has("c")); 30 EXPECT_FALSE(collection.has("d")); 36 EXPECT_TRUE(collection.has("GL_ext1")); 37 EXPECT_FALSE(collection.has("GL_ext")); // string present, but not in list
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 62 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 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. 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 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. 258 * @return True if the byte at the requested index has been filled. False if the wrapped
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | TokenBucketTest.java | 71 assertTrue(tb.has()); 85 assertTrue(tb.has()); 115 while (!tb.has()) { 134 while (!tb.has()) { 145 assertTrue(tb.has()); 154 assertFalse(tb.has());
|
/frameworks/base/docs/ |
H A D | __DEPRECATED__DO_NOT_EDIT__.txt | 6 All authoring of content has been moved to Piper (go/dac-source).
|
/frameworks/base/docs/html/ |
H A D | __DEPRECATED__DO_NOT_EDIT__.txt | 6 All authoring of content has been moved to Piper (go/dac-source).
|
/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/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 159 extensions.has("EGL_EXT_buffer_age") || extensions.has("EGL_KHR_partial_update"); 160 EglExtensions.setDamage = extensions.has("EGL_KHR_partial_update"); 161 LOG_ALWAYS_FATAL_IF(!extensions.has("EGL_KHR_swap_buffers_with_damage"), 164 EglExtensions.glColorSpace = extensions.has("EGL_KHR_gl_colorspace"); 165 EglExtensions.noConfigContext = extensions.has("EGL_KHR_no_config_context"); 166 EglExtensions.pixelFormatFloat = extensions.has("EGL_EXT_pixel_format_float"); 168 EglExtensions.scRGB = extensions.has("EGL_EXT_gl_colorspace_scrgb_linear"); 170 EglExtensions.scRGB = extensions.has("EGL_EXT_gl_colorspace_scrgb"); 172 EglExtensions.contextPriority = extensions.has("EGL_IMG_context_priorit [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.java | 213 if (jsonConfig.has("phase2")) { 217 if (jsonConfig.has("identity")) { 221 if (jsonConfig.has("anonymous_identity")) { 225 if (jsonConfig.has("ca_cert")) { 229 if (jsonConfig.has("client_cert")) { 240 if (jsonConfig.has("ip")) {
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TokenBucket.java | 89 public boolean has() { method in class:TokenBucket
|
/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.h | 33 bool has(const char* str) { return find(std::string(str)) != end(); } function in class:android::uirenderer::unordered_string_set
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | JsonParser.java | 49 if (output.has(fieldName)) {
|
/frameworks/base/ |
H A D | Android.mk | 1017 define assert-has-no-overlap 1033 define assert-has-no-duplicates 1035 echo "$(1) has duplicate entries" 1>&2; \ 1070 $(call assert-has-no-duplicates,$@) 1072 $(call assert-has-no-overlap,$@,$(LOCAL_SRC_FORCE_BLACKLIST)) 1093 $(call assert-has-no-duplicates,$@) 1094 $(call assert-has-no-overlap,$@,$(LOCAL_LIGHT_GREYLIST)) 1095 $(call assert-has-no-overlap,$@,$(LOCAL_SRC_FORCE_BLACKLIST)) 1103 $(call assert-has-no-duplicates,$@) 1104 $(call assert-has [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 599 int has = reply.readInt(); 600 ParcelFileDescriptor fd = has != 0 ? ParcelFileDescriptor.CREATOR 626 int has = reply.readInt(); 627 AssetFileDescriptor fd = has != 0 699 int has = reply.readInt(); 700 AssetFileDescriptor fd = has != 0
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 474 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE) 476 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE) 478 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE) 564 /* If an error handler has been supplied, use it and finish. */ 572 * something bad has happened. Only try and pop up the dialog 626 * has been reached during playback.
|
/frameworks/rs/script_api/ |
H A D | rs_value_types.spec | 53 the concatenation of multiple letters or indices. The resulting vector has a size
|
H A D | rs_for_each.spec | 111 the work has completed for all cells of the input allocations. If the kernel 204 present if and only if the kernel has a non-void return value.
|
H A D | rs_graphics.spec | 567 is ignored. This function has considerable overhead and should not be used
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 428 public boolean has(final int metadataId) { method in class:Metadata 436 // Caller must make sure the key is present using the {@code has}
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
H A D | VideoView2Impl.java | 805 if (!mMetadata.has(Metadata.PAUSE_AVAILABLE) 809 if (!mMetadata.has(Metadata.SEEK_BACKWARD_AVAILABLE) 813 if (!mMetadata.has(Metadata.SEEK_FORWARD_AVAILABLE) 817 if (!mMetadata.has(Metadata.SEEK_AVAILABLE) 918 Log.e(TAG, "PlaybackParams has unsupported value: " + e); 1007 if (mMetadata != null && mMetadata.has(Metadata.TITLE)) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierKeyDownloadManager.java | 244 * could happen if the download has failed. 387 // The current implementation at certain Carriers has the data gzipped, which requires 436 if (key.has(JSON_CERTIFICATE)) { 478 //since keytype has values of 1, 2.... we need to subtract 1 from the keytype.
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 486 // The size has been checked, so it is safe to read the data in the ResStringPool_header 1566 ALOGW("Bad XML block: header type 0x%x in node at 0x%x has size %d, need %d\n", 2322 // because one doesn't have a language and the other has a matching 2325 // We consider the one that has the language specified a better match. 2334 // better match if the other resource has a country other than 2442 // good since we will prefer a config that has specified a 2631 // good since we will prefer a config that has specified a 2912 // This represents the "any" locale value, which has traditionally been 5202 "Res_value::data_type has changed. The range checks in this " 6704 ALOGW("ResTable_type has a [all...] |