/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TrimVideoUtils.java | 44 public static void startTrim(File src, File dst, int startMs, int endMs) throws IOException { argument 105 if (!dst.exists()) { 106 dst.createNewFile(); 109 FileOutputStream fos = new FileOutputStream(dst);
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
H A D | TestSongs.java | 86 private void copy(File src, File dst) throws IOException { argument 88 OutputStream out = new FileOutputStream(dst);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | nj_str.c | 21 NJ_CHAR *nj_strcpy(NJ_CHAR *dst, NJ_CHAR *src) { argument 23 NJ_CHAR *ret = dst; 27 *dst++ = *src++; 29 *dst = *src; 33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { argument 35 NJ_CHAR *d = dst; 50 return dst; 122 NJ_CHAR *nj_charncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { argument 124 NJ_CHAR *d = dst; 132 return dst; 143 nj_memcpy(NJ_UINT8 *dst, NJ_UINT8 *src, NJ_UINT16 n) argument [all...] |
H A D | ndldic.c | 100 #define COPY_QUE(handle, src, dst) \ 101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle)) 148 #define COPY_UINT16(dst,src) (*(NJ_UINT16 *)(dst) = *(NJ_UINT16 *)(src)) 682 NJ_UINT8 *src, *dst; local 722 dst = (NJ_UINT8*)&(iwnn->learn_string_tmp[0]); 728 *dst++ = *src++; 758 *dst++ = *src++; 768 NJ_UINT8 *src, *dst; local 824 dst [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | utf16char.cpp | 123 char16* utf16_strcpy(char16 *dst, const char16 *src) { argument 124 if (NULL == src || NULL == dst) 127 char16* cp = dst; 137 return dst; 140 char16* utf16_strncpy(char16 *dst, const char16 *src, size_t size) { argument 141 if (NULL == src || NULL == dst || 0 == size) 144 if (src == dst) 145 return dst; 147 char16* cp = dst; 149 if (dst < sr 163 utf16_strcpy_tochar(char *dst, const char16 *src) argument [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities.cpp | 102 inline void db_WarpImageLutFast_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 105 assert(src && dst); 117 dst[j][i] = 0; 119 dst[j][i] = src[yd][xd]; 123 inline void db_WarpImageLutBilinear_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 126 assert(src && dst); 136 dst[j][i] = 0; 138 dst[j][i] = db_BilinearInterpolation(yd, xd, src); 143 void db_WarpImageLut_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 149 db_WarpImageLutFast_u(src,dst, [all...] |
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 64 void PgmImage::DeepCopy(const PgmImage& src, PgmImage& dst) argument 66 dst.m_data = src.m_data; 69 dst.m_w = src.m_w; 70 dst.m_h = src.m_h; 71 dst.m_format = src.m_format; 72 dst.m_colors = src.m_colors; 74 dst.m_comment = src.m_comment;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterGeometry.java | 56 Bitmap dst, int dstWidth, int dstHeight, int flip); 59 Bitmap dst, int dstWidth, int dstHeight, int rotate); 62 Bitmap dst, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight); 65 Bitmap dst, int dstWidth, int dstHeight, float straightenAngle); 55 nativeApplyFilterFlip(Bitmap src, int srcWidth, int srcHeight, Bitmap dst, int dstWidth, int dstHeight, int flip) argument 58 nativeApplyFilterRotate(Bitmap src, int srcWidth, int srcHeight, Bitmap dst, int dstWidth, int dstHeight, int rotate) argument 61 nativeApplyFilterCrop(Bitmap src, int srcWidth, int srcHeight, Bitmap dst, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight) argument 64 nativeApplyFilterStraighten(Bitmap src, int srcWidth, int srcHeight, Bitmap dst, int dstWidth, int dstHeight, float straightenAngle) argument
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities.cpp | 102 inline void db_WarpImageLutFast_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 105 assert(src && dst); 117 dst[j][i] = 0; 119 dst[j][i] = src[yd][xd]; 123 inline void db_WarpImageLutBilinear_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 126 assert(src && dst); 136 dst[j][i] = 0; 138 dst[j][i] = db_BilinearInterpolation(yd, xd, src); 143 void db_WarpImageLut_u(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 149 db_WarpImageLutFast_u(src,dst, [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 64 void PgmImage::DeepCopy(const PgmImage& src, PgmImage& dst) argument 66 dst.m_data = src.m_data; 69 dst.m_w = src.m_w; 70 dst.m_h = src.m_h; 71 dst.m_format = src.m_format; 72 dst.m_colors = src.m_colors; 74 dst.m_comment = src.m_comment;
|
/packages/apps/Gallery2/jni/filters/ |
H A D | geometry.c | 130 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHeight, jint flip) { argument 137 AndroidBitmap_lockPixels(env, dst, (void**) &destination); 139 AndroidBitmap_unlockPixels(env, dst); 143 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterRotate, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHeight, jint rotate) { argument 148 AndroidBitmap_lockPixels(env, dst, (void**) &destination); 150 AndroidBitmap_unlockPixels(env, dst); 154 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterCrop, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHeight, jint offsetWidth, jint offsetHeight) { argument 159 AndroidBitmap_lockPixels(env, dst, (void**) &destination); 161 AndroidBitmap_unlockPixels(env, dst); 165 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterStraighten, jobject src, jint srcWidth, jint srcHeight, jobject dst, jin argument [all...] |
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.c | 288 vp_copy_motion (const VP_MOTION *src, VP_MOTION *dst) 291 It is OK if src == dst. 297 dst is the destination motion 302 void vp_copy_motion (const VP_MOTION *src, VP_MOTION *dst) argument 306 memmove(dst, src, sizeof(VP_MOTION));
|
H A D | dbreg.h | 474 * \param dst destination image (w*3 by h) 480 inline void db_WarpImageLutFast_rgb(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 483 assert(src && dst); 494 dst[j][3*i ] = 0; 495 dst[j][3*i+1] = 0; 496 dst[j][3*i+2] = 0; 500 dst[j][3*i ] = src[yd][3*xd ]; 501 dst[j][3*i+1] = src[yd][3*xd+1]; 502 dst[j][3*i+2] = src[yd][3*xd+2]; 526 inline void db_WarpImageLutBilinear_rgb(const unsigned char * const * src, unsigned char ** dst, in argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ShortcutIntentBuilder.java | 316 private void drawBorder(Canvas canvas, Rect dst) { argument 324 canvas.drawRect(dst, workPaint); 338 Rect dst = new Rect(0,0, mIconSize, mIconSize); 339 canvas.drawBitmap(photo, src, dst, photoPaint); 341 drawBorder(canvas, dst); 346 overlay.setBounds(dst); 374 Rect dst = new Rect(0, 0, mIconSize, mIconSize); 375 canvas.drawBitmap(photo, src, dst, photoPaint); 377 drawBorder(canvas, dst); 397 dst [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.c | 288 vp_copy_motion (const VP_MOTION *src, VP_MOTION *dst) 291 It is OK if src == dst. 297 dst is the destination motion 302 void vp_copy_motion (const VP_MOTION *src, VP_MOTION *dst) argument 306 memmove(dst, src, sizeof(VP_MOTION));
|
H A D | dbreg.h | 474 * \param dst destination image (w*3 by h) 480 inline void db_WarpImageLutFast_rgb(const unsigned char * const * src, unsigned char ** dst, int w, int h, argument 483 assert(src && dst); 494 dst[j][3*i ] = 0; 495 dst[j][3*i+1] = 0; 496 dst[j][3*i+2] = 0; 500 dst[j][3*i ] = src[yd][3*xd ]; 501 dst[j][3*i+1] = src[yd][3*xd+1]; 502 dst[j][3*i+2] = src[yd][3*xd+2]; 526 inline void db_WarpImageLutBilinear_rgb(const unsigned char * const * src, unsigned char ** dst, in argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageCrop.java | 104 private boolean switchCropBounds(int moving_corner, RectF dst) { argument 159 dst.set(newCrop);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionary.java | 485 * with an offset in the dst string. 492 * @param dst the right-hand side string of the comparison. 496 private static int compareArrays(final int[] src, final int[] dst, int dstOffset) { argument 500 if (dstOffset + i >= dst.length) return i; 501 if (src[i] != dst[dstOffset + i]) return i; 503 if (dst.length > src.length) return src.length;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
H A D | OpenWnnDictionaryImplJni.c | 48 NJ_UINT8* dst; local 51 dst = ( NJ_UINT8* )&ret; 52 dst[ 0 ] = src[ 0 ]; 53 dst[ 1 ] = src[ 1 ]; 58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) argument 69 dst_tmp = ( NJ_UINT8* )&( dst[ o ] ); 127 dst[ o ] = NJ_CHAR_NUL; 138 char dst[ (NJ_MAX_LEN + NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) * 3 + 1 ]; local 150 dst[ o + 0 ] = src_tmp[ 1 ] & 0x007f; 156 dst[ 1357 char *dst = ( char* )malloc( maxBindsOfQuery * ( ( 1 + keyLength + 18 + 1 + 5 ) + local [all...] |
/packages/apps/Phone/src/com/android/phone/ |
H A D | PhoneUtils.java | 2417 * @param dst Intent where a copy of the extras will be added if applicable. 2419 /* package */ static void checkAndCopyPhoneProviderExtras(Intent src, Intent dst) { argument 2425 dst.putExtra(InCallScreen.EXTRA_GATEWAY_PROVIDER_PACKAGE, 2427 dst.putExtra(InCallScreen.EXTRA_GATEWAY_URI,
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 856 // of dst. That's the best we can do for now, since there's no other info 1017 * @param dst whether we're entering daylight time 1019 static String transitionMillisToVCalendarTime(long millis, TimeZone tz, boolean dst) { argument
|