Searched defs:dst (Results 126 - 150 of 165) sorted by relevance

1234567

/frameworks/base/core/jni/android/graphics/
H A DPath.cpp61 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); local
63 *dst = *src;
220 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); local
221 obj->transform(*matrix, dst);
H A DBitmap.cpp317 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width,
320 static void FromColor_F16(void* dst, const SkColor src[], int width, argument
322 uint64_t* d = (uint64_t*)dst;
329 static void FromColor_F16_Raw(void* dst, const SkColor src[], int width, argument
331 uint64_t* d = (uint64_t*)dst;
342 static void FromColor_D32(void* dst, const SkColor src[], int width, argument
344 SkPMColor* d = (SkPMColor*)dst;
351 static void FromColor_D32_Raw(void* dst, const SkColor src[], int width, argument
358 memcpy(dst, src, width * sizeof(SkColor));
363 SkPMColor* d = (SkPMColor*)dst;
371 FromColor_D565(void* dst, const SkColor src[], int width, int x, int y) argument
383 FromColor_D4444(void* dst, const SkColor src[], int width, int x, int y) argument
395 FromColor_D4444_Raw(void* dst, const SkColor src[], int width, int x, int y) argument
411 FromColor_DA8(void* dst, const SkColor src[], int width, int x, int y) argument
442 void* dst = dstBitmap.getPixels(); local
494 ToColor_F16_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument
503 ToColor_F16_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument
512 ToColor_S32_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument
521 ToColor_S32_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument
532 ToColor_S32_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument
543 ToColor_S4444_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument
552 ToColor_S4444_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument
563 ToColor_S4444_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument
574 ToColor_S565(SkColor dst[], const void* src, int width, SkColorTable*) argument
585 ToColor_SI8_Alpha(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
595 ToColor_SI8_Raw(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
607 ToColor_SI8_Opaque(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
619 ToColor_SA8(SkColor dst[], const void* src, int width, SkColorTable*) argument
688 ToF16_SA8(void* dst, const void* src, int width) argument
756 bitmapCopyTo(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src, SkBitmap::Allocator* alloc) argument
1281 SkBitmap dst; local
1369 SkColor dst[1]; local
1402 jint* dst = env->GetIntArrayElements(pixelArray, NULL); local
1492 void* dst = bitmap.getPixels(); local
[all...]
H A DGraphics.cpp701 void* dst = recycledPixels->pixels(); local
708 memcpy(dst, mSkiaBitmap->getAddr(0, y), bytesToCopy);
709 dst = SkTAddOffset<void>(dst, dstRowBytes);
H A DPaint.cpp647 Paint* dst = reinterpret_cast<Paint*>(dstPaintHandle); local
649 *dst = *src;
808 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); local
809 return obj->getFillPath(*src, dst) ? JNI_TRUE : JNI_FALSE;
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java115 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull Rect dst, argument
117 if (dst == null) {
137 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity,
141 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull RectF dst, argument
143 if (dst == null) {
163 dst.left, dst
273 drawPatch(@onNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) argument
283 drawPatch(@onNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) argument
[all...]
H A DMatrix.java205 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
211 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex,
524 * Controlls how the src rect should align into the dst rect for setRectToRect().
528 * Scale in X and Y independently, so that src matches dst exactly. This may change the
534 * that src fits entirely inside dst. At least one axis (X or Y) will fit exactly. START
535 * aligns the result to the left and top edges of dst.
540 * that src fits entirely inside dst. At least one axis (X or Y) will fit exactly. The
541 * result is centered inside dst.
546 * that src fits entirely inside dst. At least one axis (X or Y) will fit exactly. END
547 * aligns the result to the right and bottom edges of dst
568 setRectToRect(RectF src, RectF dst, ScaleToFit stf) argument
576 checkPointArrays(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
600 setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
630 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument
650 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount) argument
665 mapPoints(float[] dst, float[] src) argument
682 mapVectors(float[] dst, float[] src) argument
719 mapRect(RectF dst, RectF src) argument
855 nSetRectToRect(long nObject, RectF src, RectF dst, int stf) argument
858 nSetPolyToPoly(long nObject, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
861 nMapPoints(long nObject, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument
865 nMapRect(long nObject, RectF dst, RectF src) argument
[all...]
H A DPath.java705 * @param dst The translated path is written here. If this is null, then
708 public void offset(float dx, float dy, @Nullable Path dst) { argument
709 if (dst != null) {
710 dst.set(this);
712 dst = this;
714 dst.offset(dx, dy);
749 * into dst. If dst is null, then the the original path is modified.
752 * @param dst The transformed path is written here. If dst i
755 transform(Matrix matrix, Path dst) argument
[all...]
H A DBitmap.java531 public void copyPixelsToBuffer(Buffer dst) { argument
534 int elements = dst.remaining();
536 if (dst instanceof ByteBuffer) {
538 } else if (dst instanceof ShortBuffer) {
540 } else if (dst instanceof IntBuffer) {
553 nativeCopyPixelsToBuffer(mNativePtr, dst);
556 int position = dst.position();
558 dst.position(position);
1948 Buffer dst);
1947 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument
H A DCanvas.java1155 * Draw the picture, stretched to fit into the dst rectangle.
1157 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { argument
1159 translate(dst.left, dst.top);
1161 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight());
1168 * Draw the picture, stretched to fit into the dst rectangle.
1170 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { argument
1172 translate(dst.left, dst
1408 drawBitmap(@onNull Bitmap bitmap, @Nullable Rect src, @NonNull RectF dst, @Nullable Paint paint) argument
1432 drawBitmap(@onNull Bitmap bitmap, @Nullable Rect src, @NonNull Rect dst, @Nullable Paint paint) argument
1628 drawPatch(@onNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) argument
1640 drawPatch(@onNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) argument
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_time_server.cpp587 char* dst, size_t dst_len) {
594 res = snprintf(dst + offset, dst_len - offset, "\n%04zx :", i);
602 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]);
608 dst[dst_len - 1] = 0;
586 hexDumpToString(const uint8_t* src, size_t src_len, char* dst, size_t dst_len) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp332 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)]; local
334 uint8_t* dstL = dst - borderSize;
335 uint8_t* dstR = dst + rowSize;
339 while (dst < dstEnd) {
341 memcpy(dst += dstStride, src += srcStride, rowSize); // glyph data
H A DRecordingCanvas.cpp484 SkRect dst; local
486 matrix.mapRect(&dst, src);
488 dst.fLeft, dst.fTop, dst.fRight, dst.fBottom, paint);
H A DSkiaCanvasProxy.cpp137 const SkRect& dst, const SkPaint* paint, SrcRectConstraint) {
142 dst.fLeft, dst.fTop, dst.fRight, dst.fBottom, paint);
146 const SkRect& dst, const SkPaint*) {
159 void SkiaCanvasProxy::onDrawImageRect(const SkImage* image, const SkRect* srcPtr, const SkRect& dst, argument
166 dst.fLeft, dst.fTop, dst
136 onDrawBitmapRect(const SkBitmap& skBitmap, const SkRect* srcPtr, const SkRect& dst, const SkPaint* paint, SrcRectConstraint) argument
145 onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint*) argument
170 onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, const SkPaint*) argument
175 onDrawImageLattice(const SkImage* image, const Lattice& lattice, const SkRect& dst, const SkPaint* paint) argument
[all...]
H A DSkiaCanvas.cpp676 SkRect dst = SkRect::MakeLTRB(dstLeft, dstTop, dstRight, dstBottom); local
677 mCanvas->drawBitmapLattice(bitmap, lattice, dst, paint);
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp145 void *dst = env->GetDirectBufferAddress(byteBuf); local
153 if (dst == NULL) {
166 dst = env->GetByteArrayElements(byteArray, &isCopy);
175 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
181 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
186 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
538 jint *dst = env->GetIntArrayElements(numBytesOfEncryptedDataObj, &isCopy); local
540 dst[i] = ((const int32_t *)data)[i];
542 env->ReleaseIntArrayElements(numBytesOfEncryptedDataObj, dst, 0);
543 dst
555 jint *dst = env->GetIntArrayElements(numBytesOfPlainDataObj, &isCopy); local
572 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); local
587 jbyte *dst = env->GetByteArrayElements(ivObj, &isCopy); local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java870 * into dst. If dst is null, then the the original path is modified.
873 * @param dst The transformed path is written here. If dst is null,
876 public void transform(Matrix_Delegate matrix, Path_Delegate dst) { argument
890 if (dst != null) {
891 dst.mPath = newPath;
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp526 SectionData::FragmentListType& dst = local
537 dst.splice(dst.end(), src, frag++);
/frameworks/native/cmds/installd/
H A Dutils.cpp846 char *dst; local
856 dst = rec->path;
858 if (append_and_increment(&dst, path, &dst_size) < 0
859 || append_and_increment(&dst, "/", &dst_size)) {
864 rec->len = dst - rec->path;
870 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) { argument
871 dst->len = src->len + strlen(suffix);
872 const size_t dstSize = dst->len + 1;
873 dst->path = (char*) malloc(dstSize);
875 if (dst
921 append_and_increment(char** dst, const char* src, size_t* dst_size) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp264 const GGLSurface& dst,
269 if ((dst.format == src.format) &&
270 (dst.stride == src.stride) &&
271 (dst.width == src.width) &&
272 (dst.height == src.height) &&
273 (dst.stride > 0) &&
280 memcpy(dst.data, src.data, size);
291 ggl->colorBuffer(ggl, &dst);
262 copyPixels( ogles_context_t* c, const GGLSurface& dst, GLint xoffset, GLint yoffset, const GGLSurface& src, GLint x, GLint y, GLsizei w, GLsizei h) argument
/frameworks/native/vulkan/libvulkan/
H A Dapi.cpp204 char* dst = arr.name_pool + offset; local
206 std::copy(name, name + len, dst);
207 dst[len] = '\0';
/frameworks/rs/driver/
H A DrsdAllocation.cpp715 void *dst = nullptr; local
718 fenceID, NULL, &dst);
723 alloc->mHal.drvState.lod[0].mallocPtr = dst;
849 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local
850 if (dst == src) {
860 alloc->decRefs(dst, w);
862 memcpy(dst, src, lineSize);
864 dst += alloc->mHal.drvState.lod[lod].stride;
879 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local
882 memcpy(dst, sr
914 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, z, lod, local
959 uint8_t *dst = static_cast<uint8_t *>(data); local
989 uint8_t *dst = static_cast<uint8_t *>(data); local
[all...]
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp350 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local
355 alloc->decRefs(dst, w);
357 memcpy(dst, src, lineSize);
359 dst += alloc->mHal.drvState.lod[lod].stride;
375 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local
378 memcpy(dst, src, clineSize);
382 dst += alloc->mHal.drvState.lod[lod].stride;
403 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, z, lod, local
408 alloc->decRefs(dst, w);
410 memcpy(dst, sr
442 uint8_t *dst = static_cast<uint8_t *>(data); local
471 uint8_t *dst = static_cast<uint8_t *>(data); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES31Ext.cpp810 /* void glBlendFunciEXT ( GLuint buf, GLenum src, GLenum dst ) */
813 (JNIEnv *_env, jobject _this, jint buf, jint src, jint dst) {
817 (GLenum)dst
812 android_glBlendFunciEXT__III(JNIEnv *_env, jobject _this, jint buf, jint src, jint dst) argument
H A Dandroid_opengl_GLES32.cpp813 /* void glBlendFunci ( GLuint buf, GLenum src, GLenum dst ) */
816 (JNIEnv *_env, jobject _this, jint buf, jint src, jint dst) {
820 (GLenum)dst
815 android_glBlendFunci__III(JNIEnv *_env, jobject _this, jint buf, jint src, jint dst) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1598 * @param dst The destination image to be copied to.
1602 public static void imageCopy(Image src, Image dst) { argument
1603 if (src == null || dst == null) {
1606 if (src.getFormat() != dst.getFormat()) {
1607 throw new IllegalArgumentException("Src and dst images should have the same format");
1610 dst.getFormat() == ImageFormat.PRIVATE) {
1614 // TODO: check the owner of the dst image, it must be from ImageWriter, other source may
1618 Plane[] dstPlanes = dst.getPlanes();

Completed in 363 milliseconds

1234567