Home
last modified time | relevance | path

Searched refs:Patch (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.h25 class Patch;
51 status_t createPatchConnections(Patch *patch,
53 void clearPatchConnections(Patch *patch);
55 class Patch {
57 Patch(const struct audio_patch *patch) : in Patch() function
61 ~Patch() {} in ~Patch()
89 SortedVector <Patch *> mPatches;
DPatchPanel.cpp170 Patch *removedPatch = mPatches[index]; in createAudioPatch()
218 Patch *newPatch = new Patch(patch); in createAudioPatch()
417 status_t AudioFlinger::PatchPanel::createPatchConnections(Patch *patch, in createPatchConnections()
515 void AudioFlinger::PatchPanel::clearPatchConnections(Patch *patch) in clearPatchConnections()
589 Patch *removedPatch = mPatches[index]; in releaseAudioPatch()
/frameworks/base/libs/hwui/
DPatchCache.cpp37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity) in PatchCache()
91 LruCache<PatchDescription, Patch*>::Iterator i(mCache); in clearCache()
107 LruCache<PatchDescription, Patch*>::Iterator i(mCache); in remove()
154 Patch* patch = pair.getSecond(); in clearGarbage()
183 void PatchCache::setupMesh(Patch* newMesh) { in setupMesh()
239 const Patch* PatchCache::get(const AssetAtlas::Entry* entry, in get()
244 const Patch* mesh = mCache.get(description); in get()
248 Patch* newMesh = new Patch(bitmapWidth, bitmapHeight, in get()
DPatchCache.h33 class Patch; variable
58 const Patch* get(const AssetAtlas::Entry* entry,
158 typedef Pair<const PatchDescription*, Patch*> patch_pair_t;
163 void setupMesh(Patch* newMesh);
175 LruCache<PatchDescription, Patch*> mCache;
DPatch.cpp34 uint32_t Patch::getSize() const { in getSize()
38 Patch::Patch(const float bitmapWidth, const float bitmapHeight, in Patch() function in android::uirenderer::Patch
147 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, in generateRow()
187 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad()
DPatch.h40 class Patch {
42 Patch(const float bitmapWidth, const float bitmapHeight,
DGlopBuilder.h59 GlopBuilder& setMeshPatchQuads(const Patch& patch);
DAndroid.mk76 Patch.cpp \
DBakedOpDispatcher.cpp107 const Patch* opMesh = renderer.caches().patchCache.get( in onMergedPatchOps()
128 const Patch* opMesh = renderer.caches().patchCache.get( in onMergedPatchOps()
603 const Patch* mesh = renderer.caches().patchCache.get( in onPatchOp()
DOpenGLRenderer.h179 void drawPatch(const SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry,
DDisplayListOp.h788 const Patch* getMesh(OpenGLRenderer& renderer) { in getMesh()
830 const Patch* opMesh = patchOp->getMesh(renderer); in multiDraw()
906 const Patch* mMesh;
DGlopBuilder.cpp216 GlopBuilder& GlopBuilder::setMeshPatchQuads(const Patch& patch) { in setMeshPatchQuads()
DOpenGLRenderer.cpp1630 void OpenGLRenderer::drawPatch(const SkBitmap* bitmap, const Patch* mesh,
/frameworks/volley/src/test/java/com/android/volley/mock/
DTestRequest.java159 public static class Patch extends Base { class in TestRequest
160 public Patch() { in Patch() method in TestRequest.Patch
166 public static class PatchWithBody extends Patch {
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DHurlStackTest.java139 TestRequest.Patch request = new TestRequest.Patch(); in connectionForPatchRequest()
DHttpClientStackTest.java130 TestRequest.Patch request = new TestRequest.Patch(); in createPatchRequest()
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd24 <dt><a href="#NinePatch">Nine-Patch File</a></dt>
307 <h2 id="NinePatch">Nine-Patch</h2>
312 to {@code "wrap_content"}, and when the View grows to accomodate the content, the Nine-Patch image
313 is also scaled to match the size of the View. An example use of a Nine-Patch image is the
317 <p>Same as with a normal <a href="#Bitmap">bitmap</a>, you can reference a Nine-Patch file directly
320 <p>For a complete discussion about how to create a Nine-Patch file with stretchable regions,
325 <h3 id="NinePatchFile">Nine-Patch File</h3>
346 applies the Nine-Patch to a View:
369 <h3 id="NinePatchXml">XML Nine-Patch</h3>
371 <p>An XML Nine-Patch is a resource defined in XML that points to a Nine-Patch file. The XML can
[all …]
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd340 .gif} files) and Nine-Patch drawables ({@code .9.png} files) so that they render at the appropriate
641 href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">Nine-Patch</a> bitmap files. A
642 Nine-Patch file is basically a PNG file in which you specify two-dimensional regions that are
644 stretches the Nine-Patch bitmap, but stretches only the specified regions. As such, you don't
645 need to provide different drawables for different screen sizes, because the Nine-Patch bitmap can
646 adjust to any size. You should, however, provide alternate versions of your Nine-Patch files for
665 bitmap files ({@code .png}, {@code .jpg}, or {@code .gif}) and Nine-Patch files ({@code
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dtablets.jd358 <li>Убедитесь, что созданные с помощью 9-Patch изображения отображаются корректно.</li>
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd178 Nine-Patch Stretchable Image</a> for more information.
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/resources/
Dproviding-resources.jd117 <li>Nine-Patch (bitmaps redimensionáveis)</li>