Home
last modified time | relevance | path

Searched refs:mPatch (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h32 , mPatch(NULL) in NinePatchPeeker()
42 free(mPatch); in ~NinePatchPeeker()
47 Res_png_9patch* mPatch; variable
DNinePatchPeeker.cpp35 free(mPatch); in peek()
36 mPatch = patchNew; in peek()
DBitmapFactory.cpp350 if (peeker.mPatch != NULL) { in doDecode()
352 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); in doDecode()
355 size_t ninePatchArraySize = peeker.mPatch->serializedSize(); in doDecode()
366 memcpy(array, peeker.mPatch, peeker.mPatchSize); in doDecode()
421 if (peeker.mPatch != NULL) { in doDecode()
423 peeker.mPatch->paddingLeft, peeker.mPatch->paddingTop, in doDecode()
424 peeker.mPatch->paddingRight, peeker.mPatch->paddingBottom); in doDecode()
/frameworks/base/libs/hwui/
DPatchCache.h93 PatchDescription(): mPatch(NULL), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription()
99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
105 const Res_png_9patch* getPatch() const { return mPatch; } in getPatch()
132 const Res_png_9patch* mPatch;
DPatchCache.cpp70 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); in hash()
DDisplayListOp.h841 mBitmap(bitmap), mPatch(patch), mGenerationId(0), mMesh(NULL), in DrawPatchOp()
857 mLocalBounds.getWidth(), mLocalBounds.getHeight(), mPatch); in getMesh()
968 const Res_png_9patch* mPatch; variable
/frameworks/av/services/audiopolicy/
DAudioPolicyService.cpp470 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop()
695 data->mPatch = *patch; in createAudioPatchCommand()
852 patch = ((CreateAudioPatchData *)command->mParam.get())->mPatch; in insertCommand_l()
860 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
DAudioPolicyManager.cpp2616 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch()
2618 patchDesc->mPatch.sources[0].id, patch->sources[0].id); in createAudioPatch()
2682 if (patchDesc->mPatch.sinks[0].id != patch->sinks[0].id) { in createAudioPatch()
2723 if (patchDesc->mPatch.sources[0].id != patch->sources[0].id) { in createAudioPatch()
2792 patchDesc->mPatch = newPatch; in createAudioPatch()
2829 struct audio_patch *patch = &patchDesc->mPatch; in releaseAudioPatch()
2889 patches[patchesWritten] = mAudioPatches[i]->mPatch; in listAudioPatches()
2892 i, mAudioPatches[i]->mPatch.num_sources, mAudioPatches[i]->mPatch.num_sinks); in listAudioPatches()
3012 handle, patch->mAfPatchHandle, patch->mPatch.num_sources, patch->mPatch.num_sinks, in addAudioPatch()
3013 patch->mPatch.sources[0].id, patch->mPatch.sinks[0].id); in addAudioPatch()
[all …]
DAudioPolicyManager.h329 mHandle(handle), mPatch(*patch), mUid(uid), mAfPatchHandle(0) {} in AudioPatch()
334 struct audio_patch mPatch; variable
DAudioPolicyService.h349 struct audio_patch mPatch; variable
/frameworks/av/services/audioflinger/
DThreads.h170 mPatch(patch), mHandle(handle) {} in CreateAudioPatchConfigEventData()
176 const struct audio_patch mPatch; variable
DThreads.cpp499 event->mStatus = createAudioPatch_l(&data->mPatch, &data->mHandle); in processConfigEvents_l()