Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DGains.cpp200 float Gains::volIndexToDb(const VolumeCurvePoint *curve, int indexMin, int indexMax, int indexInUi) in volIndexToDb() argument
203 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - curve[Volume::VOLMIN].mIndex; in volIndexToDb()
208 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds in volIndexToDb()
210 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { in volIndexToDb()
212 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { in volIndexToDb()
214 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { in volIndexToDb()
221 float decibels = curve[segment].mDBAttenuation + in volIndexToDb()
222 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()
223 ( (curve[segment+1].mDBAttenuation - in volIndexToDb()
224 curve[segment].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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java256 float[] curve = new float[8]; in getPointAtLength() local
259 System.arraycopy(coords, 0, curve, 2, coords.length); in getPointAtLength()
260 curve[0] = lastX; in getPointAtLength()
261 curve[1] = lastY; in getPointAtLength()
263 cubicCurveSegment(curve, 0f, t); in getPointAtLength()
265 quadCurveSegment(curve, 0f, t); in getPointAtLength()
268 point[0] = curve[2 + lastPointIndex]; in getPointAtLength()
269 point[1] = curve[2 + lastPointIndex + 1]; in getPointAtLength()
457 float[] curve = new float[8]; in currentSegment() local
458 curve[0] = mLastPoint[0]; in currentSegment()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1062 float[][] curve = new float[3][]; in setTonemapCurve() local
1065 curve[i] = new float[pointCount * TonemapCurve.POINT_SIZE]; in setTonemapCurve()
1066 tc.copyColorCurve(i, curve[i], 0); in setTonemapCurve()
1068 setBase(CaptureRequest.TONEMAP_CURVE_RED, curve[0]); in setTonemapCurve()
1069 setBase(CaptureRequest.TONEMAP_CURVE_GREEN, curve[1]); in setTonemapCurve()
1070 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/articles/
Dkeystore.jd453 using {@link android.security.KeyPairGeneratorSpec.Builder#setKeyType(String)}. EC curve
454 name cannot be specified using this method -- a NIST P-curve is automatically chosen based
/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-intl/intl/zh-tw/training/material/
Danimations.jd348 <p>{@link android.view.animation.PathInterpolator} 類別是根據貝茲曲線 (Bézier curve) 或 {@link android.graphi…
/frameworks/base/docs/html/preview/features/
Dkey-attestation.jd425 The set of parameters used to generate an elliptic curve (EC) key pair,