/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | EncodedStringValue.java | 230 public static EncodedStringValue[] extract(String src) { argument 231 String[] values = src.split(";");
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix3f.java | 101 * @param src matrix to load the values from 103 public void load(Matrix3f src) { argument 104 System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length);
|
/frameworks/av/cmds/screenrecord/ |
H A D | Program.cpp | 137 status_t Program::compileShader(GLenum shaderType, const char* src, argument 145 glShaderSource(shader, 1, &src, NULL);
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 170 uint8_t* src = (uint8_t *)mValues.getEntry(i); local 171 int len = strlen((char *)src); 172 uint8_t* dest = src;
|
H A D | MediaCodecInfo.cpp | 222 const CodecProfileLevel &src = caps.mProfileLevels.itemAt(i); local 225 profileLevel.mProfile = src.mProfile; 226 profileLevel.mLevel = src.mLevel;
|
/frameworks/av/media/libstagefright/ |
H A D | DRMExtractor.cpp | 135 char *src = (char *)(*buffer)->data() + (*buffer)->range_offset(); local 137 DrmBuffer encryptedDrmBuffer(src, len); 159 uint8_t *dstData = (uint8_t*)src; 217 memcpy(src, decryptedDrmBuffer.data, decryptedDrmBuffer.length);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 220 UChar *src, *dst; local 230 src = refVop->yChan; 232 temp1 = *src; /* top-left corner */ 233 temp2 = src[width-1]; /* top-right corner */ 239 dst = src - (pitch << 4); 246 M4VENC_MEMCPY(dst, src, width); 264 src = dst; 268 temp1 = *src; 269 temp2 = src[width-1]; 285 src [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 89 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument 90 memcpy(dest, src, count);
|
H A D | TestBenchMultipleInstance.c | 436 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument 438 memcpy(dest, src, count);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CallbackProcessor.cpp | 454 const CpuConsumer::LockedBuffer &src, 466 const uint8_t *ySrc = src.data; 468 for (size_t row = 0; row < src.height; row++) { 469 memcpy(yDst, ySrc, src.width); 470 ySrc += src.stride; 475 const uint8_t *cbSrc = src.dataCb; 476 const uint8_t *crSrc = src.dataCr; 477 size_t chromaHeight = src.height / 2; 478 size_t chromaWidth = src.width / 2; 479 ssize_t chromaGap = src 452 convertFromFlexibleYuv(int32_t previewFormat, uint8_t *dst, const CpuConsumer::LockedBuffer &src, uint32_t dstYStride, uint32_t dstCStride) const argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 358 AssetFileDescriptor(Parcel src) { argument 359 mFd = ParcelFileDescriptor.CREATOR.createFromParcel(src); 360 mStartOffset = src.readLong(); 361 mLength = src.readLong(); 362 if (src.readInt() != 0) { 363 mExtras = src.readBundle();
|
/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionSpan.java | 194 public SuggestionSpan(Parcel src) { argument 195 mSuggestions = src.readStringArray(); 196 mFlags = src.readInt(); 197 mLocaleString = src.readString(); 198 mNotificationTargetClassName = src.readString(); 199 mNotificationTargetPackageName = src.readString(); 200 mHashCode = src.readInt(); 201 mEasyCorrectUnderlineColor = src.readInt(); 202 mEasyCorrectUnderlineThickness = src.readFloat(); 203 mMisspelledUnderlineColor = src [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 315 * @return Whether rect1 is a better candidate than rect2 by virtue of it being in src's 322 // if rect1 isn't exclusively in the src beam, it doesn't win 411 boolean isToDirectionOf(int direction, Rect src, Rect dest) { argument 414 return src.left >= dest.right; 416 return src.right <= dest.left; 418 return src.top >= dest.bottom; 420 return src.bottom <= dest.top;
|
H A D | WindowInsets.java | 76 * @param src Source to copy insets from 78 public WindowInsets(WindowInsets src) { argument 79 mSystemWindowInsets = src.mSystemWindowInsets; 80 mWindowDecorInsets = src.mWindowDecorInsets; 81 mStableInsets = src.mStableInsets; 82 mSystemWindowInsetsConsumed = src.mSystemWindowInsetsConsumed; 83 mWindowDecorInsetsConsumed = src.mWindowDecorInsetsConsumed; 84 mStableInsetsConsumed = src.mStableInsetsConsumed; 85 mIsRound = src.mIsRound;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 70 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, argument 78 } else if (src.width() == 1 && src.height() == 1) { 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { 91 canvas->drawBitmapRect(bitmap, &src, dst, &paint); 174 SkIRect src; local 213 src.fTop = 0; 232 j <= numYDivs && src.fTop < bitmapHeight; 234 src [all...] |
H A D | PathMeasure.cpp | 86 static void convertTwoElemFloatArray(JNIEnv* env, jfloatArray array, const SkScalar src[2]) { argument 89 ptr[0] = SkScalarToFloat(src[0]); 90 ptr[1] = SkScalarToFloat(src[1]);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom) 48 final Rect src = new Rect(0, 30, 10, 40); 50 final Rect dest = new Rect(src); 51 dest.offset(0, -src.height()); 52 assertEquals(src.top, dest.bottom); 54 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); 184 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom) 186 Rect directlyAbove = new Rect(src); 187 directlyAbove.offset(0, -(1 + src 522 assertIsNotCandidate(int direction, Rect src, Rect dest) argument 543 assertDirectionIsCandidate(int direction, Rect src, Rect dest) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Picture.java | 45 * src. The contents of src are unchanged, and if src changes later, those 48 public Picture(Picture src) { argument 49 this(nativeConstructor(src != null ? src.mNativePicture : 0)); 182 // return empty picture if src is 0, or a copy of the native src
|
H A D | Rect.java | 267 * Copy the coordinates from src into this rectangle. 269 * @param src The rectangle whose coordinates are copied into this 272 public void set(Rect src) { argument 273 this.left = src.left; 274 this.top = src.top; 275 this.right = src.right; 276 this.bottom = src.bottom;
|
H A D | RectF.java | 206 * Copy the coordinates from src into this rectangle. 208 * @param src The rectangle whose coordinates are copied into this 211 public void set(RectF src) { argument 212 this.left = src.left; 213 this.top = src.top; 214 this.right = src.right; 215 this.bottom = src.bottom; 219 * Copy the coordinates from src into this rectangle. 221 * @param src The rectangle whose coordinates are copied into this 224 public void set(Rect src) { argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 97 TYPE* src = (TYPE*)srcBuffer.getBuffer(); local 100 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 222 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); local 226 env->SetIntField(profileLevelObj, profileField, src.mProfile); 227 env->SetIntField(profileLevelObj, levelField, src.mLevel);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 108 * @param src matrix to load the values from 110 public void load(Matrix4f src) { argument 111 System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length); 117 * @param src matrix to load the values from 120 public void load(Matrix3f src) { argument 121 mMat[0] = src.mMat[0]; 122 mMat[1] = src.mMat[1]; 123 mMat[2] = src.mMat[2]; 126 mMat[4] = src.mMat[3]; 127 mMat[5] = src [all...] |
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 304 static bool compileShader(GLenum shaderType, const char* src, argument 312 glShaderSource(shader, 1, &src, NULL); 335 static void printShaderSource(const char* const* src) { argument 336 for (size_t i = 0; i < MAX_SHADER_LINES && src[i] != NULL; i++) { 337 fprintf(stderr, "%3zu: %s\n", i+1, src[i]); 341 static const char* makeShaderString(const char* const* src) { argument 343 for (size_t i = 0; i < MAX_SHADER_LINES && src[i] != NULL; i++) { 345 len += strlen(src[i]) + 1; 350 for (size_t i = 0; i < MAX_SHADER_LINES && src[i] != NULL; i++) { 351 strcpy(end, src[ 363 const char* src = makeShaderString(lines); local [all...] |
/frameworks/native/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 431 //int copy_and_append(dir_rec_t* dst, dir_rec_t* src, char* suffix) 433 dir_rec_t src; local 435 src.path = "/data/"; 436 src.len = strlen(src.path); 438 EXPECT_EQ(0, copy_and_append(&dst, &src, "app/")) 452 const char* src = "FOO"; local 454 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 460 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 471 const char* src local [all...] |