Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java195 final float[] curve = getCurve(colorChannel); in getPoint() local
197 final float pIn = curve[index * POINT_SIZE + OFFSET_POINT_IN]; in getPoint()
198 final float pOut = curve[index * POINT_SIZE + OFFSET_POINT_OUT]; in getPoint()
239 float[] curve = getCurve(colorChannel); in copyColorCurve() local
240 System.arraycopy(curve, /*srcPos*/0, destination, offset, curve.length); in copyColorCurve()
310 float[] curve = getCurve(colorChannel); in curveToString() local
311 int pointCount = curve.length / POINT_SIZE; in curveToString()
314 sb.append(curve[j]); in curveToString()
316 sb.append(curve[j+1]); in curveToString()
/frameworks/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/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java80 Pair<float[], float[]> curve = config.getCurve(); in testLoadingBrightnessConfigurations() local
83 assertArrayEquals(expectedLux, curve.first, "lux"); in testLoadingBrightnessConfigurations()
84 assertArrayEquals(expectedNits, curve.second, "nits"); in testLoadingBrightnessConfigurations()
88 curve = config.getCurve(); in testLoadingBrightnessConfigurations()
91 assertArrayEquals(expectedLux, curve.first, "lux"); in testLoadingBrightnessConfigurations()
92 assertArrayEquals(expectedNits, curve.second, "nits"); in testLoadingBrightnessConfigurations()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java426 Pair<float[], float[]> curve = insertControlPoint(newLux, newBrightness, userLux, in getAdjustedCurve() local
428 newLux = curve.first; in getAdjustedCurve()
429 newBrightness = curve.second; in getAdjustedCurve()
433 curve = insertControlPoint(lux, brightness, userLux, userBrightness); in getAdjustedCurve()
434 PLOG.logCurve("user adjusted curve", curve.first ,curve.second); in getAdjustedCurve()
586 Pair<float[], float[]> curve = getAdjustedCurve(mLux, mBrightness, mUserLux, in computeSpline() local
588 mSpline = Spline.createSpline(curve.first, curve.second); in computeSpline()
792 Pair<float[], float[]> curve = getAdjustedCurve(defaultLux, defaultBacklight, mUserLux, in computeSpline() local
794 float[] lux = curve.first; in computeSpline()
795 float[] backlight = curve.second; in computeSpline()
[all …]
DDisplayManagerService.java1130 Pair<float[], float[]> curve = config.getCurve(); in isBrightnessConfigurationTooDark() local
1131 float[] lux = curve.first; in isBrightnessConfigurationTooDark()
1132 float[] nits = curve.second; in isBrightnessConfigurationTooDark()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeGroup.cpp48 void VolumeGroup::add(const sp<VolumeCurve> &curve) in add() argument
50 mGroupVolumeCurves.add(curve); in add()
DEngineBase.cpp132 sp<VolumeCurve> curve = new VolumeCurve(deviceCat); in loadAudioPolicyEngineConfig() local
134 curve->add({point.index, point.attenuationInMb}); in loadAudioPolicyEngineConfig()
136 volumeGroup->add(curve); in loadAudioPolicyEngineConfig()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java55 Pair<float[], float[]> curve = config.getCurve(); in testSetCurveIsUnmodified() local
56 assertArrayEquals(LUX_LEVELS, curve.first, "lux"); in testSetCurveIsUnmodified()
57 assertArrayEquals(NITS_LEVELS, curve.second, "nits"); in testSetCurveIsUnmodified()
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeGroup.h38 void add(const sp<VolumeCurve> &curve);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java89 private static ScoredNetwork buildScoredNetwork(WifiKey key, RssiCurve curve) { in buildScoredNetwork() argument
90 return new ScoredNetwork(new NetworkKey(key), curve); in buildScoredNetwork()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java643 Curve curve = mDm.getMinimumBrightnessCurve(); in getMinimumBrightnessCurve() local
644 return Pair.create(curve.getX(), curve.getY()); in getMinimumBrightnessCurve()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1503 float[][] curve = new float[3][]; in setTonemapCurve() local
1506 curve[i] = new float[pointCount * TonemapCurve.POINT_SIZE]; in setTonemapCurve()
1507 tc.copyColorCurve(i, curve[i], 0); in setTonemapCurve()
1509 setBase(CaptureRequest.TONEMAP_CURVE_RED, curve[0]); in setTonemapCurve()
1510 setBase(CaptureRequest.TONEMAP_CURVE_GREEN, curve[1]); in setTonemapCurve()
1511 setBase(CaptureRequest.TONEMAP_CURVE_BLUE, curve[2]); in setTonemapCurve()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java1117 RssiCurve curve = list.get(0).getScore().attributes.getParcelable( in testScoredNetworkCacheBundling() local
1119 assertThat(curve).isEqualTo(FAST_BADGE_CURVE); in testScoredNetworkCacheBundling()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...