/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 427 long src = inputFp ? ftell(inputFp) : size; local 429 if (dst + (dst / 10) > src) { 430 ALOGD("insufficient compression (src=%ld dst=%ld), storing\n", 431 src, dst); 640 * Copy all of the bytes in "src" to "dst". 671 * Copy all of the bytes in "src" to "dst". 691 * Copy some of the bytes in "src" to "dst". 1046 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) argument 1048 if (dst == src || n <= 0) 1053 if (dst < src) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 453 /*package*/ static void nativeCopyPixelsFromBuffer(long nb, Buffer src) { argument
|
H A D | Matrix_Delegate.java | 137 public boolean mapRect(RectF dst, RectF src) { argument 140 src.left, src.top, 141 src.right, src.top, 142 src.right, src.bottom, 143 src.left, src.bottom, 242 Matrix_Delegate src 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...] |
H A D | Path_Delegate.java | 406 /*package*/ static void native_addPath(long nPath, long src, float dx, float dy) { argument 407 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy)); 411 /*package*/ static void native_addPath(long nPath, long src) { argument 412 addPath(nPath, src, null /*transform*/); 416 /*package*/ static void native_addPath(long nPath, long src, long matrix) { argument 422 addPath(nPath, src, matrixDelegate.getAffineTransform());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 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
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 852 private void mapRect(AffineTransform matrix, RectF dst, RectF src) { argument 855 src.left, src.top, 856 src.right, src.top, 857 src.right, src.bottom, 858 src.left, src.bottom,
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 98 public GpsData(GpsData src) { argument 99 this.latitude = src.latitude; 100 this.longitude = src.longitude; 101 this.altitude = src.altitude; 102 this.timeStamp = src.timeStamp; 103 this.processingMethod = src.processingMethod; 113 * @param src The source settings. 116 protected CameraSettings(CameraSettings src) { argument 117 mGeneralSetting.putAll(src.mGeneralSetting); 118 mMeteringAreas.addAll(src [all...] |
H A D | CameraCapabilities.java | 472 * @param src The source instance. 474 public CameraCapabilities(CameraCapabilities src) { argument 475 mSupportedPreviewFpsRange.addAll(src.mSupportedPreviewFpsRange); 476 mSupportedPreviewSizes.addAll(src.mSupportedPreviewSizes); 477 mSupportedPreviewFormats.addAll(src.mSupportedPreviewFormats); 478 mSupportedVideoSizes.addAll(src.mSupportedVideoSizes); 479 mSupportedPhotoSizes.addAll(src.mSupportedPhotoSizes); 480 mSupportedPhotoFormats.addAll(src.mSupportedPhotoFormats); 481 mSupportedSceneModes.addAll(src.mSupportedSceneModes); 482 mSupportedFlashModes.addAll(src [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 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)); 181 src += srcStride;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 338 void MonoTo2I_32( const LVM_INT32 *src, argument 343 src += (n-1); 348 *dst = *src; 351 *dst = *src; 353 src--; 367 void From2iToMono_32( const LVM_INT32 *src, argument 376 Temp = (*src>>1); 377 src++; 379 Temp +=(*src>>1); 380 src [all...] |
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels); 385 const int *const *src, 389 *dst++ = src[0][i] << 8; 395 const int *const *src, 399 *dst++ = src[0][i] << 8; 400 *dst++ = src[1][i] << 8; 404 static void copyMultiCh8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) argument 408 *dst++ = src[c][i] << 8; 415 const int *const *src, 419 *dst++ = src[ 383 copyMono8( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 393 copyStereo8( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 413 copyMono16( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 423 copyStereo16( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 434 copyMultiCh16(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) argument 445 copyMono24( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 455 copyStereo24( short *dst, const int *const *src, unsigned nSamples, unsigned ) argument 466 copyMultiCh24(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 1052 * @param src the view on which the resulting listener will be set 1055 public OnTouchListener createDragToOpenListener(View src) { argument 1056 return new ForwardingListener(src) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 69 const SkPath* src = reinterpret_cast<SkPath*>(srcHandle); local 70 *dst = *src; 209 const float* src = afa.ptr(); local 213 obj->addRoundRect(rect, src, dir); 218 SkPath* src = reinterpret_cast<SkPath*>(srcHandle); local 219 obj->addPath(*src, dx, dy); 224 SkPath* src = reinterpret_cast<SkPath*>(srcHandle); local 225 obj->addPath(*src); 230 SkPath* src = reinterpret_cast<SkPath*>(srcHandle); local 232 obj->addPath(*src, *matri [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_CameraMetadata.cpp | 323 static void CameraMetadata_writeValues(JNIEnv *env, jobject thiz, jint tag, jbyteArray src) { argument 338 if (src == NULL) { 349 ScopedByteArrayRO arrayReader(env, src);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 44 public void set(Matrix src) { 201 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { 207 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, 232 * Create a matrix that is a (deep) copy of src 233 * @param src The matrix to copy into this matrix 235 public Matrix(Matrix src) { argument 236 native_instance = native_create(src != null ? src.native_instance : 0); 267 * (deep) copy the src matrix into this matrix. If src i 270 set(Matrix src) argument 571 setRectToRect(RectF src, RectF dst, ScaleToFit stf) argument 579 checkPointArrays(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 603 setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 634 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument 656 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount) argument 671 mapPoints(float[] dst, float[] src) argument 689 mapVectors(float[] dst, float[] src) argument 728 mapRect(RectF dst, RectF src) argument 900 native_setRectToRect(long native_object, RectF src, RectF dst, int stf) argument 902 native_setPolyToPoly(long native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 906 native_mapPoints(long native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument 909 native_mapRect(long native_object, RectF dst, RectF src) argument [all...] |
H A D | Path.java | 53 * Create a new path, copying the contents from the src path. 55 * @param src The path to copy from when initializing the new path 57 public Path(Path src) { argument 59 if (src != null) { 60 valNative = src.mNativePath; 61 isSimplePath = src.isSimplePath; 62 if (src.rects != null) { 63 rects = new Region(src.rects); 95 /** Replace the contents of this with the contents of src. 97 public void set(@NonNull Path src) { argument 670 addPath(Path src, float dx, float dy) argument 680 addPath(Path src) argument 690 addPath(Path src, Matrix matrix) argument 851 native_addPath(long nPath, long src, float dx, float dy) argument 852 native_addPath(long nPath, long src) argument 853 native_addPath(long nPath, long src, long matrix) argument [all...] |
/frameworks/base/libs/common_time/ |
H A D | common_time_server.cpp | 586 static void hexDumpToString(const uint8_t* src, size_t src_len, argument 602 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]); 763 "src %s reqTID %016llx ourTID %016llx", 843 "src %s respTID %016llx respDID %016llx respPrio %u " 1015 "src %s srcDevID %lld srcPrio %u srcTID %016llx",
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 252 SkRect src; local 254 bitmap.getBounds(&src); 255 matrix.mapRect(&dst, src); 256 drawBitmap(bitmap, src.fLeft, src.fTop, src.fRight, src.fBottom, 287 // effectively calculates positions relative to src rect space
|
H A D | FontRenderer.cpp | 345 uint8_t* src = &bitmapBuffer[0 - srcStride]; local 355 memcpy(dst += dstStride, src += srcStride, rowSize); // glyph data
|
H A D | RecordingCanvas.cpp | 486 SkRect src; local 488 bitmap.getBounds(&src); 489 matrix.mapRect(&dst, src); 490 drawBitmap(bitmap, src.fLeft, src.fTop, src.fRight, src.fBottom,
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 524 SectionData::FragmentListType& src = local 528 SectionData::FragmentListType::iterator frag = src.begin(); 529 SectionData::FragmentListType::iterator fragEnd = src.end(); 537 dst.splice(dst.end(), src, frag++);
|
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 129 const char *src, 132 if ((src == nullptr) || (src[0] != '/') || strstr(src,"..")) { 136 size_t srclen = strlen(src); 158 src + 1, /* skip the leading / */ 128 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
|
H A D | otapreopt.cpp | 805 const char *src, 807 size_t srclen = strlen(src); 810 if ((src == 0) || (src[0] != '/') || strstr(src,"..")) { 818 std::string from_src = std::string(src + 1); 804 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 538 void invert(GLfloat* inverse, const GLfloat* src) argument 545 memcpy(tmp, src, sizeof(GLfloat)*16);
|
H A D | texture.cpp | 266 const GGLSurface& src, 269 if ((dst.format == src.format) && 270 (dst.stride == src.stride) && 271 (dst.width == src.width) && 272 (dst.height == src.height) && 278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); 279 const size_t size = src.height * src.stride * pixelFormat.size; 280 memcpy(dst.data, src.data, size); 292 ggl->bindTexture(ggl, &src); 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 [all...] |