/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 36 free(mPatch); in readChunk() 37 mPatch = patchNew; in readChunk() 76 if (!mPatch) { in scale() 83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale() 84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); in scale() 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale() 89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); in scale() 90 mPatch->paddingBottom = int(mPatch->paddingBottom * scaleY + 0.5f); in scale() 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
|
D | NinePatchPeeker.h | 30 : mPatch(NULL) in NinePatchPeeker() 40 free(mPatch); in ~NinePatchPeeker() 49 Res_png_9patch* mPatch; variable
|
D | NinePatch.cpp | 142 if (mPatch) { in getPadding() 144 mPatch->paddingLeft, mPatch->paddingTop, in getPadding() 145 mPatch->paddingRight, mPatch->paddingBottom); in getPadding()
|
D | BitmapFactory.cpp | 265 if (peeker.mPatch && kRGB_565_SkColorType == prefColorType) { in doDecode() 410 if (peeker.mPatch != NULL) { in doDecode() 415 size_t ninePatchArraySize = peeker.mPatch->serializedSize(); in doDecode() 426 memcpy(array, peeker.mPatch, peeker.mPatchSize); in doDecode()
|
D | ImageDecoder.cpp | 122 const bool isNinePatch = decoder->mPeeker->mPatch != nullptr; in native_create() 349 if (decoder->mPeeker->mPatch != nullptr) { in ImageDecoder_nDecodeBitmap() 350 size_t ninePatchArraySize = decoder->mPeeker->mPatch->serializedSize(); in ImageDecoder_nDecodeBitmap() 358 reinterpret_cast<jbyte*>(decoder->mPeeker->mPatch)); in ImageDecoder_nDecodeBitmap()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 29 mPatch(*patch), in AudioPatch() 54 dumpPatchEndpoints(dst, spaces, "src ", mPatch.num_sources, mPatch.sources); in dump() 55 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump() 70 handle, patch->getAfHandle(), patch->mPatch.num_sources, patch->mPatch.num_sinks, in addAudioPatch() 71 patch->mPatch.sources[0].id, patch->mPatch.sinks[0].id); in addAudioPatch() 108 for (size_t srcIndex = 0; srcIndex < patch->mPatch.num_sources && !skip; srcIndex++) { in listAudioPatches() 109 if (patch->mPatch.sources[srcIndex].type == AUDIO_PORT_TYPE_DEVICE && in listAudioPatches() 110 patch->mPatch.sources[srcIndex].ext.device.type == AUDIO_DEVICE_IN_STUB) { in listAudioPatches() 114 for (size_t sinkIndex = 0; sinkIndex < patch->mPatch.num_sinks && !skip; sinkIndex++) { in listAudioPatches() 115 if (patch->mPatch.sinks[sinkIndex].type == AUDIO_PORT_TYPE_DEVICE && in listAudioPatches() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 43 memset(&mPatch, 0, sizeof(struct audio_patch)); in AudioIoDescriptor() 49 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId() 50 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) { in getDeviceId() 53 return mPatch.sinks[0].id; in getDeviceId() 56 return mPatch.sources[0].id; in getDeviceId() 63 struct audio_patch mPatch; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 40 const struct audio_patch* patch() const { return &mPatch; } in patch() 95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks() 96 PortCfgs sources() { return PortCfgs(&mPatch.num_sources, mPatch.sources); } in sources() 98 struct audio_patch mPatch = {}; variable
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlingerClient.cpp | 48 data.write(&ioDesc->mPatch, sizeof(struct audio_patch)); in ioConfigChanged() 73 data.read(&ioDesc->mPatch, sizeof(struct audio_patch)); in onTransact()
|
D | AudioSystem.cpp | 611 oldDesc->mPatch = ioDesc->mPatch; in ioConfigChanged()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPatch.h | 46 struct audio_patch mPatch; variable
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.h | 110 : mHandle(handle), mPatch(patch) {} in CreateAudioPatchData() 113 const PatchPanel::Patch mPatch; variable
|
D | Threads.cpp | 481 memset(&mPatch, 0, sizeof(struct audio_patch)); in ThreadBase() 700 event->mStatus = createAudioPatch_l(&data->mPatch, &data->mHandle); in processConfigEvents_l() 2574 desc->mPatch = mPatch; in ioConfigChanged() 2584 desc->mPatch = mPatch; in ioConfigChanged() 4112 bool configChanged = (mPatch.num_sinks == 0) || in createAudioPatch_l() 4113 (mPatch.sinks[0].id != sinkPortId); in createAudioPatch_l() 4114 mPatch = *patch; in createAudioPatch_l() 4164 mPatch = audio_patch{}; in releaseAudioPatch_l() 8206 desc->mPatch = mPatch; in ioConfigChanged() 8215 desc->mPatch = mPatch; in ioConfigChanged() [all …]
|
D | DeviceEffectManager.cpp | 218 mManager.onCreateAudioPatch(data->mHandle, data->mPatch); in threadLoop()
|
D | Threads.h | 179 mPatch(patch), mHandle(handle) {} in CreateAudioPatchConfigEventData() 185 const struct audio_patch mPatch; variable 554 struct audio_patch mPatch; variable
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1186 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in getOutputForDevices() 1187 const struct audio_port_config *sink = &patch->mPatch.sinks[j]; in getOutputForDevices() 1275 for (size_t j = 0; j < patch->mPatch.num_sources; ++j) { in getMsdPatches() 1276 const struct audio_port_config *source = &patch->mPatch.sources[j]; in getMsdPatches() 1406 if (audio_patches_are_equal(¤tPatch->mPatch, patch)) { in setMsdPatch() 3431 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatchInternal() 3433 __func__, patchDesc->mPatch.sources[0].id, patch->sources[0].id); in createAudioPatchInternal() 3497 if (patchDesc->mPatch.sinks[0].id != patch->sinks[0].id) { in createAudioPatchInternal() 3539 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatchInternal() 3680 struct audio_patch *patch = &patchDesc->mPatch; in releaseAudioPatchInternal() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1183 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop() 1472 data->mPatch = *patch; in createAudioPatchCommand() 1702 patch = ((CreateAudioPatchData *)command->mParam.get())->mPatch; in insertCommand_l() 1711 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
|
D | AudioPolicyService.h | 561 struct audio_patch mPatch; variable
|