Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatch.cpp34 Patch::Patch(const uint32_t xCount, const uint32_t yCount, const int8_t emptyQuads): in Patch() function in android::uirenderer::Patch
55 Patch::~Patch() { in ~Patch()
66 void Patch::copy(const int32_t* xDivs, const int32_t* yDivs) { in copy()
71 void Patch::copy(const int32_t* yDivs) { in copy()
75 void Patch::updateColorKey(const uint32_t colorKey) { in updateColorKey()
79 bool Patch::matches(const int32_t* xDivs, const int32_t* yDivs, const uint32_t colorKey) { in matches()
109 void Patch::updateVertices(const float bitmapWidth, const float bitmapHeight, in updateVertices()
212 void Patch::generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, in generateRow()
259 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad()
DPatch.h47 struct Patch { struct
48 Patch(const uint32_t xCount, const uint32_t yCount, const int8_t emptyQuads = 0);
49 ~Patch();
DPatchCache.cpp53 Patch* PatchCache::get(const float bitmapWidth, const float bitmapHeight, in get()
79 Patch* mesh = NULL; in get()
89 mesh = new Patch(width, height, transparentQuads); in get()
DPatchCache.h50 Patch* get(const float bitmapWidth, const float bitmapHeight,
115 KeyedVector<PatchDescription, Patch*> mCache;
DAndroid.mk20 Patch.cpp \
DOpenGLRenderer.cpp1543 const Patch* mesh = mCaches.patchCache.get(bitmap->width(), bitmap->height(), in drawPatch()
/frameworks/base/media/libstagefright/codecs/aacdec/
Dsbr_create_limiter_bands.cpp138 struct PATCH Patch, in sbr_create_limiter_bands() argument
156 Int32 noPatches = Patch.noOfPatches; in sbr_create_limiter_bands()
163 patchBorders[i] = Patch.targetStartBand[i] - lowSubband; in sbr_create_limiter_bands()
Dsbr_create_limiter_bands.h83 struct PATCH Patch,
Dsbr_generate_high_freq.h131 struct PATCH * Patch,
Ds_sbr_dec.h129 struct PATCH Patch; /* Used by sbr_generate_high_freq */ member
Dcalc_sbr_envelope.h132 struct PATCH Patch,
Dsbr_dec.cpp284 &(sbrDec->Patch), in sbr_dec()
315 sbrDec->Patch, in sbr_dec()
340 &(sbrDec->Patch), in sbr_dec()
368 sbrDec->Patch, in sbr_dec()
Dsbr_generate_high_freq.cpp208 struct PATCH *Patch, in sbr_generate_high_freq() argument
354 Patch->targetStartBand[patch] = targetStopBand; in sbr_generate_high_freq()
464 Patch->noOfPatches = patch; in sbr_generate_high_freq()
Dcalc_sbr_envelope.cpp238 struct PATCH Patch, in calc_sbr_envelope() argument
348 Patch, in calc_sbr_envelope()
/frameworks/base/docs/html/guide/developing/tools/
Ddraw9patch.jd50 <li><strong>Patch scale</strong>: Adjust the scale of the images in the preview area.</li>
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd23 <dt><a href="#NinePatch">Nine-Patch File</a></dt>
299 <h2 id="NinePatch">Nine-Patch</h2>
304 to {@code "wrap_content"}, and when the View grows to accomodate the content, the Nine-Patch image
305 is also scaled to match the size of the View. An example use of a Nine-Patch image is the
309 <p>Same as with a normal <a href="#Bitmap">bitmap</a>, you can reference a Nine-Patch file directly
312 <p>For a complete discussion about how to create a Nine-Patch file with stretchable regions,
317 <h3 id="NinePatchFile">Nine-Patch File</h3>
338 applies the Nine-Patch to a View:
361 <h3 id="NinePatchXml">XML Nine-Patch</h3>
363 <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.jd332 .gif} files) and Nine-Patch drawables ({@code .9.png} files) so that they render at the appropriate
598 href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">Nine-Patch</a> bitmap files. A
599 Nine-Patch file is basically a PNG file in which you specific two-dimensional regions that are
601 stretches the Nine-Patch bitmap, but stretches only the specified regions. As such, you don't
602 need to provide different drawables for different screen sizes, because the Nine-Patch bitmap can
603 adjust to any size. You should, however, provide alternate versions of your Nine-Patch files for
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd177 Nine-Patch Stretchable Image</a> for more information.
/frameworks/base/docs/html/guide/developing/projects/
Dindex.jd116 <dd>For bitmap files (PNG, JPEG, or GIF), 9-Patch image files, and XML files that describe