/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | bwfilter.rs | 34 float avg = (imageMin + imageMax)/2; 35 sb /= avg; 36 sg /= avg; 37 sr /= avg; 45 float localMin, localMax, avg; 50 avg = (localMin+localMax) * 0.5f; 51 out->r = out->g = out->b = rsClamp(avg, 0, 255);
|
D | wbalance.rs | 97 float avg = (minimum + maximum) / 2.f; 99 scale.r = avg / estimation.r; 100 scale.g = avg / estimation.g; 101 scale.b = avg / estimation.b;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | bwfilter.rs | 34 float avg = (imageMin + imageMax)/2; 35 sb /= avg; 36 sg /= avg; 37 sr /= avg; 45 float localMin, localMax, avg; 50 avg = (localMin+localMax) * 0.5f; 51 out->r = out->g = out->b = clamp((int) avg, 0, 255);
|
D | wbalance.rs | 97 float avg = (minimum + maximum) / 2.f; 99 scale.r = avg / estimation.r; 100 scale.g = avg / estimation.g; 101 scale.b = avg / estimation.b;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | bwfilter.rs | 34 float avg = (imageMin + imageMax)/2; 35 sb /= avg; 36 sg /= avg; 37 sr /= avg; 45 float localMin, localMax, avg; 50 avg = (localMin+localMax) * 0.5f; 51 out->r = out->g = out->b = clamp((int) avg, 0, 255);
|
D | wbalance.rs | 97 float avg = (minimum + maximum) / 2.f; 99 scale.r = avg / estimation.r; 100 scale.g = avg / estimation.g; 101 scale.b = avg / estimation.b;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | contrast.cpp | 43 const float avg = total / numPixels; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local 47 sum += (lumArray[i] - avg) * (lumArray[i] - avg); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 670 long avg = getPssAverage(type); in aggregatePss() local 673 fgPss.add(avg, samples); in aggregatePss() 675 bgPss.add(avg, samples); in aggregatePss() 677 cachedPss.add(avg, samples); in aggregatePss() 718 long avg; in aggregatePss() local 720 avg = getPssAverage(type); in aggregatePss() 723 avg = fgPss.pss; in aggregatePss() 726 avg = bgPss.pss; in aggregatePss() 729 avg = cachedPss.pss; in aggregatePss() 733 + (avg*(double)samples) in aggregatePss() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 316 float avg = sum / mNumTemps; in logTemperatureStats() local 317 Slog.i(TAG, "avg=" + avg + ",min=" + min + ",max=" + max); in logTemperatureStats() 318 MetricsLogger.histogram(mContext, "device_skin_temp_avg", (int) avg); in logTemperatureStats()
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 119 int avg = (2*i + j)/3; in init_tables() local 120 avg23tab[(i << 6) | j] = avg; in init_tables()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 956 double avg; field in NotificationUsageStats.Aggregate 965 final double delta = sample - avg; in addSample() 966 avg += (1.0 / n) * delta; in addSample() 976 ", avg=" + avg + in toString()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 102 inline static float avg(float x, float y) { in avg() function 3412 mGeometricScale = avg(mXScale, mYScale); in configureSurface() 3494 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, in configureSurface() 3496 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, in configureSurface() 4704 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor; in cookPointerData() 4710 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor; in cookPointerData() 4716 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor; in cookPointerData() 6975 float offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale; in configure()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 41 static inline float avg(float x, float y) { in avg() function 2539 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1), 4522 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; in TEST_F() 4568 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; in TEST_F()
|