Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DMatrix.java214 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex,
578 private static void checkPointArrays(float[] src, int srcIndex, in checkPointArrays() argument
582 int srcStop = srcIndex + (pointCount << 1); in checkPointArrays()
584 if ((pointCount | srcIndex | dstIndex | srcStop | dstStop) < 0 || in checkPointArrays()
602 public boolean setPolyToPoly(float[] src, int srcIndex, in setPolyToPoly() argument
608 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount); in setPolyToPoly()
609 return nSetPolyToPoly(native_instance, src, srcIndex, in setPolyToPoly()
632 public void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, in mapPoints() argument
634 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount); in mapPoints()
635 nMapPoints(native_instance, dst, dstIndex, src, srcIndex, in mapPoints()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp108 for (size_t srcIndex = 0; srcIndex < patch->mPatch.num_sources && !skip; srcIndex++) { in listAudioPatches() local
109 if (patch->mPatch.sources[srcIndex].type == AUDIO_PORT_TYPE_DEVICE && in listAudioPatches()
110 patch->mPatch.sources[srcIndex].ext.device.type == AUDIO_DEVICE_IN_STUB) { in listAudioPatches()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp59 jfloatArray dst, jint dstIndex, jfloatArray src, jint srcIndex, in mapPoints() argument
63 AutoJavaFloatArray autoSrc(env, src, srcIndex + (ptCount << 1), in mapPoints()
67 float* srcArray = autoSrc.ptr() + srcIndex; in mapPoints()
99 jlong matrixHandle, jfloatArray jsrc, jint srcIndex, in setPolyToPoly() argument
102 SkASSERT(srcIndex >= 0); in setPolyToPoly()
106 AutoJavaFloatArray autoSrc(env, jsrc, srcIndex + (ptCount << 1), in setPolyToPoly()
110 float* src = autoSrc.ptr() + srcIndex; in setPolyToPoly()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java598 /*package*/ static boolean nSetPolyToPoly(long native_object, float[] src, int srcIndex, in nSetPolyToPoly() argument
642 float[] src, int srcIndex, int ptCount, boolean isPts) { in nMapPoints() argument
649 d.mapPoints(dst, dstIndex, src, srcIndex, ptCount); in nMapPoints()
651 d.mapVectors(dst, dstIndex, src, srcIndex, ptCount); in nMapPoints()
870 private void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, in mapPoints() argument
882 float x = mValues[0] * src[i + srcIndex] + in mapPoints()
883 mValues[1] * src[i + srcIndex + 1] + in mapPoints()
885 float y = mValues[3] * src[i + srcIndex] + in mapPoints()
886 mValues[4] * src[i + srcIndex + 1] + in mapPoints()
909 private void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) { in mapVectors() argument
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1492 int32_t srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile() local
1493 dst[dstIndex] = yuvBuffer.dataCb[srcIndex]; in copyOneYuvTile()
1499 srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
1500 dst[dstIndex] = yuvBuffer.dataCr[srcIndex]; in copyOneYuvTile()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5884 int AudioPolicyManager::rescaleVolumeIndex(int srcIndex, in rescaleVolumeIndex() argument
5889 return srcIndex; in rescaleVolumeIndex()
5899 if (srcIndex < minSrc) { in rescaleVolumeIndex()
5900 if (srcIndex == 0) { in rescaleVolumeIndex()
5903 srcIndex = minSrc; in rescaleVolumeIndex()
5904 } else if (srcIndex > maxSrc) { in rescaleVolumeIndex()
5905 srcIndex = maxSrc; in rescaleVolumeIndex()
5907 return (int)(minDst + ((srcIndex - minSrc) * (maxDst - minDst)) / (maxSrc - minSrc)); in rescaleVolumeIndex()
DAudioPolicyManager.h439 int rescaleVolumeIndex(int srcIndex,
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt28583 Landroid/icu/text/Edits$Iterator;->srcIndex:I