/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 69 /* Connect a patch between several source and sink ports */ 70 status_t AudioFlinger::createAudioPatch(const struct audio_patch *patch, argument 75 return mPatchPanel->createAudioPatch(patch, handle); 80 /* Disconnect a patch */ 138 /* Connect a patch between several source and sink ports */ 139 status_t AudioFlinger::PatchPanel::createAudioPatch(const struct audio_patch *patch, argument 145 if (handle == NULL || patch == NULL) { 149 patch->num_sources, patch->num_sinks, *handle); 154 if (patch 383 createPatchConnections(Patch *patch, const struct audio_patch *audioPatch) argument 481 clearPatchConnections(Patch *patch) argument 558 struct audio_patch *patch = &removedPatch->mAudioPatch; local [all...] |
H A D | PatchPanel.h | 37 /* Create a patch between several source and sink ports */ 38 status_t createAudioPatch(const struct audio_patch *patch, 41 /* Release a patch */ 51 status_t createPatchConnections(Patch *patch, 53 void clearPatchConnections(Patch *patch); 57 Patch(const struct audio_patch *patch) : argument 58 mAudioPatch(*patch), mHandle(AUDIO_PATCH_HANDLE_NONE),
|
H A D | Threads.h | 174 CreateAudioPatchConfigEventData(const struct audio_patch patch, argument 176 mPatch(patch), mHandle(handle) {} 188 CreateAudioPatchConfigEvent(const struct audio_patch patch, argument 191 mData = new CreateAudioPatchConfigEventData(patch, handle); 273 status_t sendCreateAudioPatchConfigEvent(const struct audio_patch *patch, 278 virtual status_t createAudioPatch_l(const struct audio_patch *patch, 743 virtual status_t createAudioPatch_l(const struct audio_patch *patch, 896 virtual status_t createAudioPatch_l(const struct audio_patch *patch, 1283 virtual status_t createAudioPatch_l(const struct audio_patch *patch,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPatch.cpp | 30 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) : argument 32 mPatch(*patch), 44 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1); 88 const sp<AudioPatch>& patch) 93 ALOGW("addAudioPatch() patch %d already in", handle); 96 add(handle, patch); 99 handle, patch->mAfPatchHandle, patch->mPatch.num_sources, patch->mPatch.num_sinks, 100 patch 87 addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch) argument 135 const sp<AudioPatch> patch = valueAt(patchIndex); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.cpp | 26 Res_png_9patch* patch = (Res_png_9patch*) data; local 27 size_t patchSize = patch->serializedSize(); 33 memcpy(patchNew, patch, patchSize);
|
H A D | NinePatch.cpp | 18 #define LOG_TAG "9patch" 40 * IMPORTANT NOTE: 9patch chunks can be manipuated either as an array of bytes 42 * array required to hold a 9patch chunk is greater than sizeof(Res_png_9patch). 81 int8_t* patch = reinterpret_cast<int8_t*>(patchHandle); local 83 Res_png_9patch* p = (Res_png_9patch*) patch; 86 delete[] patch;
|
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 106 void PatchCache::remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch) { argument 110 if (key.getPatch() == patch) { 116 void PatchCache::removeDeferred(Res_png_9patch* patch) { argument 119 // Assert that patch is not already garbage 122 if (patch == mGarbage[i]) { 123 patch = nullptr; 127 LOG_ALWAYS_FATAL_IF(patch == nullptr); 129 mGarbage.push(patch); 139 Res_png_9patch* patch = mGarbage[i]; local 140 remove(patchesToRemove, patch); 154 Patch* patch = pair.getSecond(); local 239 get(const AssetAtlas::Entry* entry, const uint32_t bitmapWidth, const uint32_t bitmapHeight, const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch) argument [all...] |
H A D | PatchCache.h | 60 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch); 80 * Removes the entries associated with the specified 9-patch. This is meant 84 void removeDeferred(Res_png_9patch* patch); 99 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch): 100 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), 145 * The patch cache maintains a linked-list of buffer blocks 165 void remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch); 98 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch) argument
|
H A D | Patch.cpp | 39 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) 40 : mColors(patch->getColors()) { 43 const int8_t numColors = patch->numColors; 54 uint32_t xCount = patch->numXDivs; 55 uint32_t yCount = patch->numYDivs; 63 const int32_t* xDivs = patch->getXDivs(); 64 const int32_t* yDivs = patch->getYDivs(); 38 Patch(const float bitmapWidth, const float bitmapHeight, float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) argument
|
H A D | ResourceCache.cpp | 143 int8_t* patch = (int8_t*) resource; local 144 delete[] patch;
|
H A D | Patch.h | 37 // 9-patch structures 44 const UvMapper& mapper, const Res_png_9patch* patch); 47 * Returns the size of this patch's mesh in bytes.
|
H A D | DisplayListCanvas.h | 329 inline const Res_png_9patch* refPatch(const Res_png_9patch* patch) { argument 330 mDisplayList->patchResources.push_back(patch); 331 mResourceCache.incrementRefcount(patch); 332 return patch;
|
H A D | RecordedOp.h | 294 PatchOp(BASE_PARAMS, const SkBitmap* bitmap, const Res_png_9patch* patch) argument 297 , patch(patch) {} 299 const Res_png_9patch* patch; member in struct:android::uirenderer::PatchOp
|
H A D | RecordingCanvas.h | 299 inline const Res_png_9patch* refPatch(const Res_png_9patch* patch) { argument 300 mDisplayList->patchResources.push_back(patch); 301 mResourceCache.incrementRefcount(patch); 302 return patch;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | NinePatch.java | 25 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">2D 35 * Struct of inset information attached to a 9 patch bitmap. 37 * Present on a 9 patch bitmap if it optical insets were manually included, 96 * @param chunk The 9-patch data chunk describing how the underlying bitmap 107 * @param chunk The 9-patch data chunk describing how the underlying 120 public NinePatch(NinePatch patch) { argument 121 mBitmap = patch.mBitmap; 122 mSrcName = patch.mSrcName; 123 if (patch.mPaint != null) { 124 mPaint = new Paint(patch [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPatch.h | 30 AudioPatch(const struct audio_patch *patch, uid_t uid); 46 status_t addAudioPatch(audio_patch_handle_t handle, const sp<AudioPatch>& patch);
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_sw.h | 51 typedef void (SkiaVersionFunction)(int* major, int* minor, int* patch);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | DeviceInfoUtils.java | 156 String patch = Build.VERSION.SECURITY_PATCH; 157 if (!"".equals(patch)) { 160 Date patchDate = template.parse(patch); 162 patch = DateFormat.format(format, patchDate).toString(); 166 return patch;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 332 // release existing RX patch if any 337 // release TX patch if any 349 // of it due to legacy implementation. If not, create a patch. 354 } else { // create RX path audio patch 355 struct audio_patch patch; local 357 patch.num_sources = 1; 358 patch.num_sinks = 1; 368 rxSourceDeviceDesc->toAudioPortConfig(&patch.sources[0]); 369 rxSinkDeviceDesc->toAudioPortConfig(&patch.sinks[0]); 381 outputDesc->toAudioPortConfig(&patch 398 struct audio_patch patch; local 2114 sp<AudioPatch> patch = mAudioPatches.valueFor(desc->getPatchHandle()); local 2400 createAudioPatch(const struct audio_patch *patch, audio_patch_handle_t *handle, uid_t uid) argument 2683 struct audio_patch *patch = &patchDesc->mPatch; local 2965 struct audio_patch *patch = &sourceDesc->mPatchDesc->mPatch; local 4660 struct audio_patch patch; local 4761 struct audio_patch patch; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecordingConfiguration.java | 117 // build the AudioDeviceInfo from the patch handle 124 final AudioPatch patch = patches.get(i); 125 if (patch.id() == mPatchHandle) { 126 final AudioPortConfig[] sources = patch.sources(); 138 // patch handle is unique, there won't be another with the same handle
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ThinPatchesActivity.java | 54 mPatch1 = resources.getDrawable(R.drawable.patch);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImpl.cpp | 186 status_t AudioPolicyService::AudioPolicyClient::createAudioPatch(const struct audio_patch *patch, argument 190 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs);
|
H A D | AudioPolicyService.cpp | 260 status_t AudioPolicyService::clientCreateAudioPatch(const struct audio_patch *patch, argument 264 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); 540 ALOGV("AudioCommandThread() processing create audio patch"); 550 ALOGV("AudioCommandThread() processing release audio patch"); 569 ALOGV("AudioCommandThread() processing update audio patch list"); 798 const struct audio_patch *patch, 807 data->mPatch = *patch; 811 ALOGV("AudioCommandThread() adding create patch delay %d", delayMs); 828 ALOGV("AudioCommandThread() adding release patch delay %d", delayMs); 844 ALOGV("AudioCommandThread() adding update audio patch lis 797 createAudioPatchCommand( const struct audio_patch *patch, audio_patch_handle_t *handle, int delayMs) argument 995 struct audio_patch patch; local [all...] |
H A D | AudioPolicyService.h | 179 virtual status_t createAudioPatch(const struct audio_patch *patch, 216 status_t clientCreateAudioPatch(const struct audio_patch *patch, 299 status_t createAudioPatchCommand(const struct audio_patch *patch, 506 /* Create a patch between several source and sink ports */ 507 virtual status_t createAudioPatch(const struct audio_patch *patch, 511 /* Release a patch */
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 205 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { argument 209 public void drawPatch(NinePatch patch, RectF dst, Paint paint) { argument
|