Searched refs:srcSize (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | BufferUtils.cpp | 20 static void copyToVector(std::vector<uint8_t>& dst, const void* src, size_t srcSize) { in copyToVector() argument 22 dst.resize(srcSize); in copyToVector() 23 memcpy(dst.data(), src, srcSize); in copyToVector()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 156 Size srcSize = new Size(src.getWidth(), src.getHeight()); in imageCopy() local 158 if (!srcSize.equals(dstSize)) { in imageCopy() 159 throw new IllegalArgumentException("source image size " + srcSize + " is different" in imageCopy()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AutoScrollHelper.java | 537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument 540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_tv_Tuner.cpp | 3476 jsize srcSize = env->GetArrayLength(jsrcIpAddress); in getDemuxIpAddress() local 3483 if (srcSize != dstSize) { in getDemuxIpAddress() 3486 "IP address lengths don't match. srcLength=%d, dstLength=%d", srcSize, dstSize); in getDemuxIpAddress() 3490 if (srcSize == IP_V4_LENGTH) { in getDemuxIpAddress() 3495 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress() 3499 } else if (srcSize == IP_V6_LENGTH) { in getDemuxIpAddress() 3504 env->GetByteArrayRegion(jsrcIpAddress, 0, srcSize, reinterpret_cast<jbyte *>(&srcAddr[0])); in getDemuxIpAddress() 3511 "Invalid IP address length %d", srcSize); in getDemuxIpAddress()
|