/frameworks/av/camera/ |
D | ICameraClient.cpp | 55 camera_frame_metadata_t *metadata) in dataCallback() argument 62 if (metadata) { in dataCallback() 63 data.writeInt32(metadata->number_of_faces); in dataCallback() 64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback() 104 camera_frame_metadata_t *metadata = NULL; in onTransact() local 106 metadata = new camera_frame_metadata_t; in onTransact() 107 metadata->number_of_faces = data.readInt32(); in onTransact() 108 metadata->faces = (camera_face_t *) data.readInplace( in onTransact() 109 sizeof(camera_face_t) * metadata->number_of_faces); in onTransact() 111 dataCallback(msgType, imageData, metadata); in onTransact() [all …]
|
D | Camera.cpp | 365 camera_frame_metadata_t *metadata) in dataCallback() argument 373 listener->postData(msgType, dataPtr, metadata); in dataCallback()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 210 long metadata = ((long)size << 32) | cursorPosition; in addGroup() local 212 metadata |= EXPANDED_GROUP_MASK; in addGroup() 214 mGroupMetadata[mGroupCount++] = metadata; in addGroup() 243 long metadata = mGroupMetadata[i]; in getCount() local 244 int offset = (int)(metadata & GROUP_OFFSET_MASK); in getCount() 245 boolean expanded = (metadata & EXPANDED_GROUP_MASK) != 0; in getCount() 246 int size = (int)((metadata & GROUP_SIZE_MASK) >> 32); in getCount() 268 public void obtainPositionMetadata(PositionMetadata metadata, int position) { in obtainPositionMetadata() argument 271 if (metadata.listPosition == position) { in obtainPositionMetadata() 341 metadata.itemType = ITEM_TYPE_STANDALONE; in obtainPositionMetadata() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightPlayer.cpp | 195 Metadata metadata(records); in getMetadata() local 197 metadata.appendBool( in getMetadata() 201 metadata.appendBool( in getMetadata() 205 metadata.appendBool( in getMetadata() 209 metadata.appendBool( in getMetadata()
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | GroupingListAdapterTests.java | 303 GroupingListAdapter.PositionMetadata metadata = new GroupingListAdapter.PositionMetadata(); in assertPositionMetadata() local 304 mAdapter.obtainPositionMetadata(metadata, position); in assertPositionMetadata() 305 assertEquals(itemType, metadata.itemType); in assertPositionMetadata() 306 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) { in assertPositionMetadata() 307 assertEquals(isExpanded, metadata.isExpanded); in assertPositionMetadata() 309 assertEquals(cursorPosition, metadata.cursorPosition); in assertPositionMetadata()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 225 file_metadata_v1 metadata; in write_update_file() local 234 if (sizeof(metadata) != 16) { in write_update_file() 238 bytesLeft = fileSize + sizeof(metadata); in write_update_file() 246 metadata.version = tolel(CURRENT_METADATA_VERSION); in write_update_file() 247 metadata.mode = tolel(mode); in write_update_file() 248 metadata.undefined_1 = metadata.undefined_2 = 0; in write_update_file() 249 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file() 254 bytesLeft -= sizeof(metadata); // bytesLeft should == fileSize now in write_update_file() 756 file_metadata_v1 metadata; in WriteFile() local 757 amt = in->ReadEntityData(&metadata, sizeof(metadata)); in WriteFile() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 166 void metadataCallback(const FLAC__StreamMetadata *metadata); 195 const FLAC__StreamMetadata *metadata, 253 const FLAC__StreamMetadata *metadata, void *client_data) in metadata_callback() argument 255 ((FLACParser *) client_data)->metadataCallback(metadata); in metadata_callback() 335 void FLACParser::metadataCallback(const FLAC__StreamMetadata *metadata) in metadataCallback() argument 337 switch (metadata->type) { in metadataCallback() 340 mStreamInfo = metadata->data.stream_info; in metadataCallback() 349 vc = &metadata->data.vorbis_comment; in metadataCallback() 362 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture; in metadataCallback() 369 ALOGW("FLACParser::metadataCallback unexpected type %u", metadata->type); in metadataCallback()
|
/frameworks/base/media/java/android/media/ |
D | IRemoteControlDisplay.aidl | 47 void setMetadata(int generationId, in Bundle metadata); in setMetadata() argument 54 void setAllMetadata(int generationId, in Bundle metadata, in Bitmap artwork); in setAllMetadata() argument
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 63 camera_frame_metadata_t *metadata); 65 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata); 276 camera_frame_metadata_t *metadata) in postData() argument 317 if (metadata && (msgType & CAMERA_MSG_PREVIEW_METADATA)) { in postData() 318 postMetadata(env, CAMERA_MSG_PREVIEW_METADATA, metadata); in postData() 328 void JNICameraContext::postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) in postMetadata() argument 331 obj = (jobjectArray) env->NewObjectArray(metadata->number_of_faces, in postMetadata() 338 for (int i = 0; i < metadata->number_of_faces; i++) { in postMetadata() 343 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata() 344 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata() [all …]
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 150 camera_frame_metadata_t *metadata, void* user); 158 camera_frame_metadata_t *metadata); 164 camera_frame_metadata_t *metadata); 172 camera_frame_metadata_t *metadata);
|
D | CameraService.cpp | 1032 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument 1043 if (dataPtr == 0 && metadata == NULL) { in dataCallback() 1051 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback() 1063 client->handleGenericData(msgType, dataPtr, metadata); in dataCallback() 1110 camera_frame_metadata_t *metadata) { in handlePreviewData() argument 1142 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata); in handlePreviewData() 1146 c->dataCallback(msgType, mem, metadata); in handlePreviewData() 1201 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) { in handleGenericData() argument 1205 c->dataCallback(msgType, dataPtr, metadata); in handleGenericData() 1221 camera_frame_metadata_t *metadata) { in copyFrameAndPostCopiedFrame() argument [all …]
|
D | CameraHardwareInterface.h | 39 camera_frame_metadata_t *metadata, 453 camera_frame_metadata_t *metadata, in __data_cb() argument 465 __this->mDataCb(msg_type, mem->mBuffers[index], metadata, __this->mCbUser); in __data_cb()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | VideoEditorPlayer.cpp | 206 Metadata metadata(records); in getMetadata() local 208 metadata.appendBool( in getMetadata() 212 metadata.appendBool( in getMetadata() 216 metadata.appendBool( in getMetadata() 220 metadata.appendBool( in getMetadata()
|
/frameworks/base/core/java/android/widget/ |
D | ExpandableListConnector.java | 375 final PositionMetadata metadata = getUnflattenedPos(flatListPos); in isEnabled() local 376 final ExpandableListPosition pos = metadata.position; in isEnabled() 386 metadata.recycle(); in isEnabled() 465 final PositionMetadata metadata = getUnflattenedPos(flatListPos); in getItemViewType() local 466 final ExpandableListPosition pos = metadata.position; in getItemViewType() 486 metadata.recycle(); in getItemViewType()
|
/frameworks/av/include/camera/ |
D | Camera.h | 63 camera_frame_metadata_t *metadata) = 0; 143 camera_frame_metadata_t *metadata);
|
D | ICameraClient.h | 36 camera_frame_metadata_t *metadata) = 0;
|
/frameworks/base/docs/html/guide/topics/text/ |
D | spell-checker-framework.jd | 63 controls settings. You must also add an XML metadata file that describes 143 <h3 id="SpellCheckXML">Spell checker manifest and metadata</h3> 145 In addition to code, you need to provide the appropriate manifest file and a metadata file for 183 the service. The service's definition also specifies the <code>spellchecker.xml</code> metadata 187 The metadata file <code>spellchecker.xml</code> contains the following XML: 204 The metadata specifies the activity that the spelling checker uses for controlling settings. It
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | TransportControlView.java | 154 public void setMetadata(int generationId, Bundle metadata) { in setMetadata() argument 157 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget(); in setMetadata() 176 public void setAllMetadata(int generationId, Bundle metadata, Bitmap bitmap) { in setAllMetadata() argument 179 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget(); in setAllMetadata()
|
/frameworks/av/media/libaah_rtp/ |
D | aah_tx_player.cpp | 797 Metadata metadata(records); in getMetadata() local 799 metadata.appendBool(Metadata::kPauseAvailable, true); in getMetadata() 800 metadata.appendBool(Metadata::kSeekBackwardAvailable, false); in getMetadata() 801 metadata.appendBool(Metadata::kSeekForwardAvailable, false); in getMetadata() 802 metadata.appendBool(Metadata::kSeekAvailable, false); in getMetadata()
|
/frameworks/av/include/media/ |
D | IMediaPlayer.h | 97 Parcel *metadata) = 0;
|
D | mediaplayer.h | 223 status_t getMetadata(bool update_only, bool apply_filter, Parcel *metadata);
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 298 jobject metadata = NULL; in android_drm_DrmManagerClient_getMetadataFromContent() local 308 metadata = env->NewObject(localRef, constructorId); in android_drm_DrmManagerClient_getMetadataFromContent() 309 if (NULL != metadata) { in android_drm_DrmManagerClient_getMetadataFromContent() 316 env->CallVoidMethod(metadata, env->GetMethodID(localRef, "put", in android_drm_DrmManagerClient_getMetadataFromContent() 325 return metadata; in android_drm_DrmManagerClient_getMetadataFromContent()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 581 Parcel *metadata = parcelForJavaObject(env, reply); in android_media_MediaPlayer_getMetadata() local 583 if (metadata == NULL ) { in android_media_MediaPlayer_getMetadata() 588 metadata->freeData(); in android_media_MediaPlayer_getMetadata() 593 return media_player->getMetadata(update_only, apply_filter, metadata) == OK; in android_media_MediaPlayer_getMetadata()
|
/frameworks/base/docs/html/tools/debugging/ |
D | debugging-log.jd | 218 <p>Log messages contain a number of metadata fields, in addition to the tag and priority. You can 219 modify the output format for messages so that they display a specific metadata field. To do so, 231 <li><code>raw</code> — Display the raw log message, with no other metadata fields.</li> 239 <li><code>long</code> — Display all metadata fields and separate messages with blank
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 57 assertEquals(R.xml.metadata, md.getInt("com.android.frameworks.coretests.reference")); in checkMetaData()
|