Searched refs:dst (Results 76 - 100 of 219) sorted by relevance

123456789

/frameworks/base/libs/hwui/
H A DGradientCache.cpp197 uint8_t*& dst) const {
202 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
203 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
204 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
205 *dst++ = uint8_t(alpha);
209 uint8_t*& dst) const {
213 float* d = (float*) dst;
219 dst += 4 * sizeof(float);
249 uint8_t* dst = pixels; local
263 (this->*mix)(start, end, amount, dst);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java137 public boolean mapRect(RectF dst, RectF src) { argument
150 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6]));
151 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
153 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7]));
154 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7]));
528 RectF dst, int stf) {
539 if (dst.isEmpty()) {
544 float tx, sx = dst.width() / src.width();
545 float ty, sy = dst.height() / src.height();
557 tx = dst
527 native_setRectToRect(long native_object, RectF src, RectF dst, int stf) argument
592 native_setPolyToPoly(long native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
630 native_mapPoints(long native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument
645 native_mapRect(long native_object, RectF dst, RectF src) argument
854 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument
893 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp193 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...]
H A Dandroid_media_MediaMuxer.cpp84 void *dst = env->GetDirectBufferAddress(byteBuf); local
89 if (dst == NULL) {
101 dst = env->GetByteArrayElements(byteArray, &isCopy);
112 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
119 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, size);
124 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
H A Dandroid_media_MediaExtractor.cpp139 void *dst = env->GetDirectBufferAddress(byteBuf); local
147 if (dst == NULL) {
160 dst = env->GetByteArrayElements(byteArray, &isCopy);
169 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
175 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
180 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
525 jint *dst = env->GetIntArrayElements(numBytesOfEncryptedDataObj, &isCopy); local
527 dst[i] = ((const int32_t *)data)[i];
529 env->ReleaseIntArrayElements(numBytesOfEncryptedDataObj, dst, 0);
530 dst
542 jint *dst = env->GetIntArrayElements(numBytesOfPlainDataObj, &isCopy); local
559 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); local
574 jbyte *dst = env->GetByteArrayElements(ivObj, &isCopy); local
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp81 * 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
585 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument
695 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument
724 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument
730 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument
755 translate(Region& dst, const Region& reg, int dx, int dy) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlend.cpp98 extern void rsdIntrinsicBlendSrcOver_K(void *dst, const void *src, uint32_t count8);
99 extern void rsdIntrinsicBlendDstOver_K(void *dst, const void *src, uint32_t count8);
100 extern void rsdIntrinsicBlendSrcIn_K(void *dst, const void *src, uint32_t count8);
101 extern void rsdIntrinsicBlendDstIn_K(void *dst, const void *src, uint32_t count8);
102 extern void rsdIntrinsicBlendSrcOut_K(void *dst, const void *src, uint32_t count8);
103 extern void rsdIntrinsicBlendDstOut_K(void *dst, const void *src, uint32_t count8);
104 extern void rsdIntrinsicBlendSrcAtop_K(void *dst, const void *src, uint32_t count8);
105 extern void rsdIntrinsicBlendDstAtop_K(void *dst, const void *src, uint32_t count8);
106 extern void rsdIntrinsicBlendXor_K(void *dst, const void *src, uint32_t count8);
107 extern void rsdIntrinsicBlendMultiply_K(void *dst, cons
[all...]
H A DrsCpuIntrinsics_advsimd_3DLUT.S21 .macro lanepair dst, src0, src1, xr0, xr1, yr0, yr1, zr0, zr1
93 .ifc \dst, v20.16b
94 uqrshrn2 \dst, v14.8h, #8
95 .else ; .ifc \dst, v21.16b
96 uqrshrn2 \dst, v14.8h, #8
98 uqrshrn \dst, v14.8h, #8
103 * void *dst, // x0
135 /* x0 = dst
189 lanepair dst=v20.8b, src0=v6.s[0], src1=v6.s[1], xr0=v0.h[0], xr1=v0.h[1], yr0=v1.b[0], yr1=v1.b[1], zr0=v2.h[0], zr1=v2.h[1]
192 lanepair dst
[all...]
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h50 size_t read(char *dst, size_t num);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct_vca.cpp40 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 Didct.cpp345 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/av/services/audioflinger/
H A DBufferProviders.h74 // #frames in the *src pointer to the *dst pointer. It is public because
77 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
98 virtual void copyFrames(void *dst, const void *src, size_t frames);
125 virtual void copyFrames(void *dst, const void *src, size_t frames);
142 virtual void copyFrames(void *dst, const void *src, size_t frames);
/frameworks/compile/slang/tests/
H A Dtest.py43 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/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp409 //int copy_and_append(dir_rec_t* dst, dir_rec_t* src, char* suffix)
410 dir_rec_t dst; local
416 EXPECT_EQ(0, copy_and_append(&dst, &src, "app/"))
419 EXPECT_STREQ("/data/app/", dst.path)
422 EXPECT_EQ(10, (ssize_t) dst.len)
428 char dst[dst_size]; local
429 char *dstp = dst;
435 EXPECT_STREQ("FOO", dst)
441 EXPECT_STREQ("FOOFOO", dst)
447 char dst[dst_siz local
[all...]
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h54 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/graphics/java/android/graphics/
H A DCanvas.java1284 * @param dst The destination rectangle.
1289 public void drawPatch(@NonNull NinePatch patch, @NonNull Rect dst, @Nullable Paint paint) { argument
1294 dst.left, dst.top, dst.right, dst.bottom, nativePaint,
1302 * @param dst The destination rectangle.
1307 public void drawPatch(@NonNull NinePatch patch, @NonNull RectF dst, @Nullable Paint paint) { argument
1312 dst.left, dst
1363 drawBitmap(@onNull Bitmap bitmap, @Nullable Rect src, @NonNull RectF dst, @Nullable Paint paint) argument
1410 drawBitmap(@onNull Bitmap bitmap, @Nullable Rect src, @NonNull Rect dst, @Nullable Paint paint) argument
1944 drawPicture(@onNull Picture picture, @NonNull RectF dst) argument
1957 drawPicture(@onNull Picture picture, @NonNull Rect dst) argument
[all...]
H A DPathMeasure.java112 * 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);
H A DPath.java700 * @param dst The translated path is written here. If this is null, then
703 public void offset(float dx, float dy, @Nullable Path dst) { argument
704 if (dst != null) {
705 dst.set(this);
707 dst = this;
709 dst.offset(dx, dy);
744 * into dst. If dst is null, then the the original path is modified.
747 * @param dst The transformed path is written here. If dst i
750 transform(Matrix matrix, Path dst) argument
[all...]
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp31 char* dst = (char*)d; local
34 *dst++ = *src++;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java205 public void drawPatch(NinePatch patch, Rect dst, Paint paint) { argument
209 public void drawPatch(NinePatch patch, RectF dst, Paint paint) { argument
217 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { argument
221 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { argument
297 public void drawPicture(Picture picture, RectF dst) { argument
301 public void drawPicture(Picture picture, Rect dst) { argument
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java263 * @param dst socket to write the augmented request to.
269 private void sendAugmentedRequestToHost(Socket src, Socket dst, argument
272 sendRequestLineWithPath(dst, httpMethod, uri, httpVersion);
273 filterAndForwardRequestHeaders(src, dst);
278 sendLine(dst, "Connection: close");
281 sendLine(dst, "");
288 * @param dst destination socket to send the filtered headers to.
291 private void filterAndForwardRequestHeaders(Socket src, Socket dst) throws IOException { argument
296 sendLine(dst, line);
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp960 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/foundation/
H A DMetaData.cpp248 void *dst = allocateStorage(from.mSize); local
249 if (dst) {
250 memcpy(dst, from.storage(), mSize);
259 void *dst = allocateStorage(from.mSize); local
260 if (dst) {
261 memcpy(dst, from.storage(), mSize);
280 void *dst = allocateStorage(size); local
281 if (dst) {
282 memcpy(dst, data, size);
/frameworks/native/include/ui/
H A DRegion.h157 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/support/v7/appcompat/src/android/support/v7/widget/
H A DForwardingListener.java296 final DropDownListView dst = (DropDownListView) popup.getListView();
297 if (dst == null || !dst.isShown()) {
304 toLocalMotionEvent(dst, dstEvent);
307 final boolean handled = dst.onForwardedEvent(dstEvent, mActivePointerId);

Completed in 762 milliseconds

123456789