/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 87 * @param dst The destination image to be copied to. 91 public static void imageCopy(Image src, Image dst) { argument 92 if (src == null || dst == null) { 95 if (src.getFormat() != dst.getFormat()) { 96 throw new IllegalArgumentException("Src and dst images should have the same format"); 99 dst.getFormat() == ImageFormat.PRIVATE) { 106 if (!(dst.getOwner() instanceof ImageWriter)) { 111 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); 118 Plane[] dstPlanes = dst [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | AssetsAtlasActivity.java | 57 final Rect dst = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); 63 canvas.drawBitmap(mBitmap, src, dst, null);
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 172 static void clearLine(Color8888* dst, int width) { argument 173 memset(dst, 0, width * sizeof(*dst)); // Note: Assumes TRANSPARENT == 0x0. 176 // Copy all pixels from 'src' to 'dst'. 177 static void copyFrame(const Color8888* src, int srcStride, Color8888* dst, int dstStride, argument 180 memcpy(dst, src, width * sizeof(*dst)); 182 dst += dstStride; 212 Color8888* dst = currBuffer + y * currStride; local 213 clearLine(dst, canvasWidt 225 Color8888* dst = currBuffer + prevIter.x_offset + prevIter.y_offset * currStride; local 236 Color8888* dst = currBuffer + currIter.x_offset + currIter.y_offset * currStride; local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ForwardingListener.java | 256 final DropDownListView dst = (DropDownListView) popup.getListView(); 257 if (dst == null || !dst.isShown()) { 264 dst.toLocalMotionEvent(dstEvent); 267 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 296 uint8_t* dst = ex->mPsshBuf->data(); local 297 uint8_t* dstdata = dst + sizeof(size_t) + numentries * sizeof(PsshEntry); 298 *((size_t*)dst) = numentries; 299 dst += sizeof(size_t); 302 memcpy(dst, src, 16); 304 dst += 16; 308 *((size_t*)dst) = datalen; 310 dst += sizeof(size_t); 314 *((void**)dst) = dstdata; 315 dst [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 189 float amount, uint8_t*& dst) const { 192 *dst++ = uint8_t(OECF(start.r * oppAmount + end.r * amount) * 255.0f); 193 *dst++ = uint8_t(OECF(start.g * oppAmount + end.g * amount) * 255.0f); 194 *dst++ = uint8_t(OECF(start.b * oppAmount + end.b * amount) * 255.0f); 195 *dst++ = uint8_t(a * 255.0f); 199 float amount, uint8_t*& dst) const { 202 float* d = (float*) dst; 214 dst += 4 * sizeof(float); 241 uint8_t* dst = pixels; local 255 (this->*mix)(start, end, amount, dst); [all...] |
H A D | SkiaCanvasProxy.h | 67 virtual void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, 70 const SkRect& dst, const SkPaint*) override; 74 virtual void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, 76 virtual void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 140 public boolean mapRect(RectF dst, RectF src) { argument 153 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6])); 154 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6])); 156 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); 157 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7])); 531 RectF dst, int stf) { 542 if (dst.isEmpty()) { 547 float tx, sx = dst.width() / src.width(); 548 float ty, sy = dst.height() / src.height(); 560 tx = dst 530 nSetRectToRect(long native_object, RectF src, RectF dst, int stf) argument 595 nSetPolyToPoly(long native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 633 nMapPoints(long native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument 648 nMapRect(long native_object, RectF dst, RectF src) argument 862 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument 901 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | GIFMovie.cpp | 120 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, argument 123 for (; width > 0; width--, src++, dst++) { 126 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); 140 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); local 141 copyLine(dst, src, cmap, transparent, copyWidth); 186 uint32_t* dst = bm->getAddr32(frame->ImageDesc.Left, frame->ImageDesc.Top); local 198 copyLine(dst, src, cmap, transparent, copyWidth); 200 dst += width; 209 uint32_t* dst = bm->getAddr32(left, top); local 221 sk_memset32(dst, co 338 uint32_t* dst = backup->getAddr32(0, 0); local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 193 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 195 memcpy(dst, src, width * height * sizeof(T)); 199 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 203 dst[j * height + height - 1 - i] = src[i * width + j]; 209 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j]; 219 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument 223 dst[(width - 1 - j) * height + i] = src[i * width + j]; 229 static void rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 233 rotate0(dst, sr [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 81 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way 83 * First pass through, divideSpanRTL will be set because the 'previous span' (indexing into the dst 95 Vector<Rect>& dst, int spanDirection) { 96 dst.clear(); 103 dst.add(*current); 123 endLastSpan = static_cast<int>(dst.size()) - 1; 135 const Rect prev = dst[static_cast<size_t>(prevIndex)]; 141 dst.add(Rect(prev.right, top, right, bottom)); 146 dst.add(Rect(prev.left, top, right, bottom)); 160 dst 94 reverseRectsResolvingJunctions(const Rect* begin, const Rect* end, Vector<Rect>& dst, int spanDirection) argument 586 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 696 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 725 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Region& rhs) argument 731 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Rect& rhs) argument 756 translate(Region& dst, const Region& reg, int dx, int dy) argument [all...] |
/frameworks/native/libs/ui/tools/ |
H A D | lutgen.cpp | 152 string dst(gNameDst); 156 transform(dst.begin(), dst.end(), dst.begin(), ::toupper); 158 outputStream << "const size_t LUT_" << src << "_TO_" << dst << "_SIZE = " << gSize << endl; 159 outputStream << "const uint16_t LUT_" << src << "_TO_" << dst << "[] = {"; local 161 outputStream << "// From " << src << " to " << dst << endl;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlend.cpp | 95 extern void rsdIntrinsicBlendSrcOver_K(void *dst, const void *src, uint32_t count8); 96 extern void rsdIntrinsicBlendDstOver_K(void *dst, const void *src, uint32_t count8); 97 extern void rsdIntrinsicBlendSrcIn_K(void *dst, const void *src, uint32_t count8); 98 extern void rsdIntrinsicBlendDstIn_K(void *dst, const void *src, uint32_t count8); 99 extern void rsdIntrinsicBlendSrcOut_K(void *dst, const void *src, uint32_t count8); 100 extern void rsdIntrinsicBlendDstOut_K(void *dst, const void *src, uint32_t count8); 101 extern void rsdIntrinsicBlendSrcAtop_K(void *dst, const void *src, uint32_t count8); 102 extern void rsdIntrinsicBlendDstAtop_K(void *dst, const void *src, uint32_t count8); 103 extern void rsdIntrinsicBlendXor_K(void *dst, const void *src, uint32_t count8); 104 extern void rsdIntrinsicBlendMultiply_K(void *dst, cons [all...] |
/frameworks/av/include/media/ |
H A D | BufferProviders.h | 83 // #frames in the *src pointer to the *dst pointer. It is public because 86 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0; 107 virtual void copyFrames(void *dst, const void *src, size_t frames); 139 virtual void copyFrames(void *dst, const void *src, size_t frames); 156 virtual void copyFrames(void *dst, const void *src, size_t frames);
|
/frameworks/av/include/media/stagefright/ |
H A D | SkipCutBuffer.h | 52 size_t read(char *dst, size_t num);
|
H A D | SoftVideoEncoderOMXComponent.h | 54 uint8_t *dst, size_t dstStride, size_t dstVStride, 66 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | BufferProviders.h | 83 // #frames in the *src pointer to the *dst pointer. It is public because 86 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0; 107 virtual void copyFrames(void *dst, const void *src, size_t frames); 139 virtual void copyFrames(void *dst, const void *src, size_t frames); 156 virtual void copyFrames(void *dst, const void *src, size_t frames);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct_vca.cpp | 40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 50 dst -= width; 71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 85 *((uint32*)(dst += 4)) = dst_word; /* save 4 bytes to dst */ 97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 106 dst -= width; 139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */ 185 idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument 294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument [all...] |
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | SkipCutBuffer.h | 52 size_t read(char *dst, size_t num);
|
H A D | SoftVideoEncoderOMXComponent.h | 54 uint8_t *dst, size_t dstStride, size_t dstVStride, 66 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
|
/frameworks/av/media/libstagefright/include/ |
H A D | SkipCutBuffer.h | 52 size_t read(char *dst, size_t num);
|
H A D | SoftVideoEncoderOMXComponent.h | 54 uint8_t *dst, size_t dstStride, size_t dstVStride, 66 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 100 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, const SkPaint*) { argument 103 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst, argument 114 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, argument 118 void onDrawBitmapLattice(const SkBitmap&, const Lattice& lattice, const SkRect& dst, argument
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 406 //int copy_and_append(dir_rec_t* dst, dir_rec_t* src, char* suffix) 407 dir_rec_t dst; local 413 EXPECT_EQ(0, copy_and_append(&dst, &src, "app/")) 416 EXPECT_STREQ("/data/app/", dst.path) 419 EXPECT_EQ(10, (ssize_t) dst.len) 425 char dst[dst_size]; local 426 char *dstp = dst; 432 EXPECT_STREQ("FOO", dst) 438 EXPECT_STREQ("FOOFOO", dst) 444 char dst[dst_siz local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 112 * Given a start and stop distance, return in dst the intervening 115 * If startD >= stopD then return false (and leave dst untouched). 121 * such as <code>dst.rLineTo(0, 0)</code>.</p> 123 public boolean getSegment(float startD, float stopD, Path dst, boolean startWithMoveTo) { argument 137 return native_getSegment(native_instance, startD, stopD, dst.mutateNI(), startWithMoveTo);
|