Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/audiopolicy/engineconfigurable/src/
DStream.cpp103 const VolumeCurvePoints curve = mVolumeProfiles[deviceCategory]; in volIndexToDb() local
104 if (curve.size() != Volume::VOLCNT) { in volIndexToDb()
111 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - in volIndexToDb()
112 curve[Volume::VOLMIN].mIndex; in volIndexToDb()
123 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds in volIndexToDb()
125 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { in volIndexToDb()
127 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { in volIndexToDb()
129 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { in volIndexToDb()
136 float decibels = curve[segment].mDBAttenuation + in volIndexToDb()
137 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()
[all …]
/frameworks/av/services/audiopolicy/enginedefault/src/
DGains.cpp204 const VolumeCurvePoint *curve = streamDesc.getVolumeCurvePoint(deviceCategory); in volIndexToDb() local
207 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - in volIndexToDb()
208 curve[Volume::VOLMIN].mIndex; in volIndexToDb()
214 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds in volIndexToDb()
216 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { in volIndexToDb()
218 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { in volIndexToDb()
220 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { in volIndexToDb()
227 float decibels = curve[segment].mDBAttenuation + in volIndexToDb()
228 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()
229 ( (curve[segment+1].mDBAttenuation - in volIndexToDb()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java194 final float[] curve = getCurve(colorChannel); in getPoint() local
196 final float pIn = curve[index * POINT_SIZE + OFFSET_POINT_IN]; in getPoint()
197 final float pOut = curve[index * POINT_SIZE + OFFSET_POINT_OUT]; in getPoint()
241 float[] curve = getCurve(colorChannel); in copyColorCurve() local
242 System.arraycopy(curve, /*srcPos*/0, destination, offset, curve.length); in copyColorCurve()
312 float[] curve = getCurve(colorChannel); in curveToString() local
313 int pointCount = curve.length / POINT_SIZE; in curveToString()
316 sb.append(curve[j]); in curveToString()
318 sb.append(curve[j+1]); in curveToString()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1050 float[][] curve = new float[3][]; in setTonemapCurve() local
1053 curve[i] = new float[pointCount * TonemapCurve.POINT_SIZE]; in setTonemapCurve()
1054 tc.copyColorCurve(i, curve[i], 0); in setTonemapCurve()
1056 setBase(CaptureRequest.TONEMAP_CURVE_RED, curve[0]); in setTonemapCurve()
1057 setBase(CaptureRequest.TONEMAP_CURVE_GREEN, curve[1]); in setTonemapCurve()
1058 setBase(CaptureRequest.TONEMAP_CURVE_BLUE, curve[2]); in setTonemapCurve()
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd78 …<li>What's the learning curve? Professional vector illustration tools may have a steep learning cu…
/frameworks/base/docs/html/training/material/
Danimations.jd350 Bézier curve or a {@link android.graphics.Path} object. This interpolator specifies a motion curve
/frameworks/base/docs/html/training/articles/
Dkeystore.jd451 using {@link android.security.KeyPairGeneratorSpec.Builder#setKeyType(String)}. EC curve
452 name cannot be specified using this method -- a NIST P-curve is automatically chosen based