/frameworks/native/libs/ui/ |
H A D | Region.cpp | 78 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way 80 * First pass through, divideSpanRTL will be set because the 'previous span' (indexing into the dst 92 Vector<Rect>& dst, int spanDirection) { 93 dst.clear(); 100 dst.add(*current); 120 endLastSpan = dst.size() - 1; 129 const Rect* prev = &dst[prevIndex]; 135 dst.add(Rect(prev->right, top, right, bottom)); 140 dst.add(Rect(prev->left, top, right, bottom)); 154 dst 91 reverseRectsResolvingJunctions(const Rect* begin, const Rect* end, Vector<Rect>& dst, int spanDirection) argument 542 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 652 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 679 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument 685 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument 710 translate(Region& dst, const Region& reg, int dx, int dy) argument [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlend.cpp | 93 extern "C" void rsdIntrinsicBlendSrcOver_K(void *dst, const void *src, uint32_t count8); 94 extern "C" void rsdIntrinsicBlendDstOver_K(void *dst, const void *src, uint32_t count8); 95 extern "C" void rsdIntrinsicBlendSrcIn_K(void *dst, const void *src, uint32_t count8); 96 extern "C" void rsdIntrinsicBlendDstIn_K(void *dst, const void *src, uint32_t count8); 97 extern "C" void rsdIntrinsicBlendSrcOut_K(void *dst, const void *src, uint32_t count8); 98 extern "C" void rsdIntrinsicBlendDstOut_K(void *dst, const void *src, uint32_t count8); 99 extern "C" void rsdIntrinsicBlendSrcAtop_K(void *dst, const void *src, uint32_t count8); 100 extern "C" void rsdIntrinsicBlendDstAtop_K(void *dst, const void *src, uint32_t count8); 101 extern "C" void rsdIntrinsicBlendXor_K(void *dst, const void *src, uint32_t count8); 102 extern "C" void rsdIntrinsicBlendMultiply_K(void *dst, cons [all...] |
/frameworks/native/cmds/installd/ |
H A D | utils.c | 41 char *dst = path; local 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 46 || append_and_increment(&dst, postfix, &dst_size) < 0) { 77 char *dst = prefix; local 80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 81 || append_and_increment(&dst, userid_prefix, &dst_size) < 0) { 87 int ret = snprintf(dst, dst_size, "%d/", userid); 118 char *dst = path; local 121 if (append_and_increment(&dst, android_data_di 863 char *dst; local 887 copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) argument 953 append_and_increment(char** dst, const char* src, size_t* dst_size) argument [all...] |
H A D | installd.h | 178 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix); 182 int append_and_increment(char** dst, const char* src, size_t* dst_size); 200 int move_dex(const char *src, const char *dst);
|
/frameworks/av/include/media/stagefright/ |
H A D | SkipCutBuffer.h | 49 size_t read(char *dst, size_t num);
|
/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...] |
H A D | idct.cpp | 345 int *blk, uint8 *pred, uint8 *dst, int width) 540 *dst++ = res; 543 *dst++ = res; 546 *dst++ = res; 549 *dst++ = res; 552 *dst++ = res; 555 *dst++ = res; 558 *dst++ = res; 561 *dst++ = res; 564 dst 344 idct( int *blk, uint8 *pred, uint8 *dst, int width) argument [all...] |
/frameworks/compile/slang/tests/ |
H A D | test.py | 43 def UpdateFiles(src, dst): 44 """Update dst if it is different from src.""" 45 if not CompareFiles(src, dst): 46 print 'Copying from %s to %s' % (src, dst) 47 shutil.copyfile(src, dst)
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorThumbnailMain.cpp | 115 M4OSA_Int32* dst = pC->m_dst32; local 121 dst[i] = RGB565toSKCOLOR(src[i]); 125 dst[i] = 0; 128 dst += pC->m_width; 133 M4OSA_Int16* dst = pC->m_dst16; local 137 memcpy((void * )dst, (void * )src, pPlane->u_stride); 140 dst[i] = 0; 143 dst += pC->m_width;
|
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 31 char* dst = (char*)d; local 34 *dst++ = *src++;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 85 void *dst = env->GetDirectBufferAddress(byteBuf); local 90 if (dst == NULL) { 102 dst = env->GetByteArrayElements(byteArray, &isCopy); 113 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); 120 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, size); 125 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
|
H A D | android_media_MediaExtractor.cpp | 199 void *dst = env->GetDirectBufferAddress(byteBuf); local 204 if (dst == NULL) { 220 dst = env->GetByteArrayElements(byteArray, &isCopy); 229 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); 235 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset); 240 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); 567 jint *dst = env->GetIntArrayElements(numBytesOfEncryptedDataObj, &isCopy); local 569 dst[i] = ((const size_t *)data)[i]; 571 env->ReleaseIntArrayElements(numBytesOfEncryptedDataObj, dst, 0); 572 dst 584 jint *dst = env->GetIntArrayElements(numBytesOfPlainDataObj, &isCopy); local 601 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); local 616 jbyte *dst = env->GetByteArrayElements(ivObj, &isCopy); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1097 * @param dst The destination rectangle. 1102 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { argument 1103 patch.drawSoftware(this, dst, paint); 1110 * @param dst The destination rectangle. 1115 public void drawPatch(NinePatch patch, RectF dst, Paint paint) { argument 1116 patch.drawSoftware(this, dst, paint); 1162 * @param dst The rectangle that the bitmap will be scaled/translated 1166 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { argument 1167 if (dst == null) { 1171 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst, 1197 drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) argument 1669 drawPicture(Picture picture, RectF dst) argument 1682 drawPicture(Picture picture, Rect dst) argument 1789 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, RectF dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument 1794 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, Rect dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument [all...] |
H A D | Path.java | 633 * @param dst The translated path is written here. If this is null, then 636 public void offset(float dx, float dy, Path dst) { argument 638 if (dst != null) { 639 dstNative = dst.mNativePath; 640 dst.isSimplePath = false; 669 * into dst. If dst is null, then the the original path is modified. 672 * @param dst The transformed path is written here. If dst is null, 675 public void transform(Matrix matrix, Path dst) { argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Matrix.cpp | 227 static jboolean setRectToRect(JNIEnv* env, jobject clazz, SkMatrix* matrix, jobject src, jobject dst, SkMatrix::ScaleToFit stf) { argument 231 GraphicsJNI::jrectf_to_rect(env, dst, &dst_); 245 float* dst = autoDst.ptr() + dstIndex; local 253 dstPt[i].set(SkFloatToScalar(dst[x]), SkFloatToScalar(dst[y])); 257 return matrix->setPolyToPoly((const SkPoint*)src, (const SkPoint*)dst, 267 jfloatArray dst, int dstIndex, 272 AutoJavaFloatArray autoDst(env, dst, dstIndex + (ptCount << 1)); 277 // we allocate twice the count, 1 set for src, 1 for dst 308 static jboolean mapRect__RectFRectF(JNIEnv* env, jobject clazz, SkMatrix* matrix, jobjectArray dst, jobjec argument 266 mapPoints(JNIEnv* env, jobject clazz, SkMatrix* matrix, jfloatArray dst, int dstIndex, jfloatArray src, int srcIndex, int ptCount, bool isPts) argument 322 float* dst = autoValues.ptr(); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 960 static uint8_t *EncodeSize(uint8_t *dst, size_t x) { argument 962 *dst++ = (x & 0x7f) | 0x80; 965 *dst++ = x; 966 return dst; 975 uint8_t *dst = csd->data(); local 976 *dst++ = 0x03; 977 dst = EncodeSize(dst, len2 + 3); 978 *dst++ = 0x00; // ES_ID 979 *dst [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 154 void *dst; local 156 buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst)); 163 dst, 171 uint8_t *dst_y = (uint8_t *)dst; 203 uint8_t *dst_y = (uint8_t *)dst;
|
/frameworks/native/include/ui/ |
H A D | Region.h | 157 static void boolean_operation(int op, Region& dst, 159 static void boolean_operation(int op, Region& dst, 162 static void boolean_operation(int op, Region& dst, 164 static void boolean_operation(int op, Region& dst, 168 static void translate(Region& dst, const Region& reg, int dx, int dy);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.h | 179 float amount, uint8_t*& dst) const; 181 void mixBytes(GradientColor& start, GradientColor& end, float amount, uint8_t*& dst) const; 182 void mixFloats(GradientColor& start, GradientColor& end, float amount, uint8_t*& dst) const;
|
H A D | PathTessellator.h | 69 TYPE* dst = alloc<TYPE>(verticesToCopy); local 73 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Alpha8BitmapActivity.java | 87 Rect dst = new Rect(0, mBitmap1.getHeight() * 3, mBitmap1.getWidth(), 89 canvas.drawBitmap(mBitmap1, src, dst, mBitmapPaint);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | motion_est.cpp | 483 uint8 *src, *dst; local 502 dst = src - (pitch << 4); 504 *((uint32*)(dst - 16)) = temp1; 505 *((uint32*)(dst - 12)) = temp1; 506 *((uint32*)(dst - 8)) = temp1; 507 *((uint32*)(dst - 4)) = temp1; 509 memcpy(dst, src, width); 511 *((uint32*)(dst += width)) = temp2; 512 *((uint32*)(dst + 4)) = temp2; 513 *((uint32*)(dst [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 777 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { argument 785 dst.left, dst.top, dst.right, dst.bottom, nativePaint); 792 public void drawPatch(NinePatch patch, RectF dst, Paint paint) { argument 800 dst.left, dst.top, dst.right, dst 843 drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) argument 870 drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) argument 1096 drawPicture(Picture picture, Rect dst) argument 1111 drawPicture(Picture picture, RectF dst) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CallbackProcessor.h | 89 uint8_t *dst,
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 86 char* dst = (char*)malloc(320*480*2); 87 memset(dst, 0, 320*480*2); 91 memcpy(dst, texels, 320*480*2); 96 free(dst);
|