Searched defs:patch (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
H A D | NinePatch.java | 24 * transparent so that the patch can provide a selection about a rectangle. 29 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">2D 42 * @param chunk The 9-patch data chunk describing how the underlying 56 public NinePatch(NinePatch patch) { argument 57 mBitmap = patch.mBitmap; 58 mChunk = patch.mChunk; 59 mSrcName = patch.mSrcName; 60 if (patch.mPaint != null) { 61 mPaint = new Paint(patch.mPaint);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 58 * Create drawable from raw nine-patch data, not dealing with density. 68 * Create drawable from raw nine-patch data, setting initial target density 78 * Create drawable from existing nine-patch, not dealing with density. 83 public NinePatchDrawable(NinePatch patch) { argument 84 this(new NinePatchState(patch, new Rect()), null); 88 * Create drawable from existing nine-patch, setting initial target density 91 public NinePatchDrawable(Resources res, NinePatch patch) { argument 92 this(new NinePatchState(patch, new Rect()), res); 186 Log.v("9patch", "Drawing 9-patch [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | sbr_generate_high_freq.cpp | 213 Int32 patch; local 342 /* First patch */ 347 patch = 0; 354 Patch->targetStartBand[patch] = targetStopBand; 356 numBandsInPatch = goalSb - targetStopBand; /* get the desired range of the patch */ 360 /* desired number bands are not available -> patch whole source range */ 397 if ((numBandsInPatch < 3) && (patch > 0)) 460 patch++; 464 Patch->noOfPatches = patch;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 186 Res_png_9patch* patch = (Res_png_9patch*) data; local 187 size_t patchSize = patch->serializedSize(); 191 memcpy(patchNew, patch, patchSize); 199 //printf("9patch: (%d,%d)-(%d,%d)\n", 205 // 'cause we don't want 565 predithered, since as a 9patch, we know
|
H A D | Canvas.cpp | 988 SkBoundaryPatch patch; local 989 patch.setBoundary(&cubic); 991 patch.evalPatch(verts, rows, cols);
|
/frameworks/base/libs/utils/ |
H A D | ResourceTypes.cpp | 202 char* patch = (char*) inData; local 204 memmove(&outData->wasDeserialized, patch, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors 205 memmove(&outData->paddingLeft, patch + 12, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors
|
Completed in 391 milliseconds