Home
last modified time | relevance | path

Searched refs:avg (Results 1 – 15 of 15) sorted by relevance

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dbwfilter.rs34 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);
Dwbalance.rs97 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dbwfilter.rs34 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);
Dwbalance.rs97 float avg = (minimum + maximum) / 2.f;
99 scale.r = avg / estimation.r;
100 scale.g = avg / estimation.g;
101 scale.b = avg / estimation.b;
DResult.java56 float avg = getAvg(); in getStdevp() local
58 float diff = time - avg; in getStdevp()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dbwfilter.rs34 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);
Dwbalance.rs97 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/
Dcontrast.cpp43 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/
DProcessState.java671 long avg = getPssAverage(type); in aggregatePss() local
674 fgPss.add(avg, samples); in aggregatePss()
676 bgPss.add(avg, samples); in aggregatePss()
678 cachedPss.add(avg, samples); in aggregatePss()
719 long avg; in aggregatePss() local
721 avg = getPssAverage(type); in aggregatePss()
724 avg = fgPss.pss; in aggregatePss()
727 avg = bgPss.pss; in aggregatePss()
730 avg = cachedPss.pss; in aggregatePss()
734 + (avg*(double)samples) in aggregatePss()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java329 float avg = sum / mNumTemps; in logTemperatureStats() local
330 Slog.i(TAG, "avg=" + avg + ",min=" + min + ",max=" + max); in logTemperatureStats()
331 MetricsLogger.histogram(mContext, "device_skin_temp_avg", (int) avg); in logTemperatureStats()
/frameworks/native/opengl/libagl/
Ddxt.cpp119 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/
DNotificationUsageStats.java956 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/
DInputReader.cpp103 inline static float avg(float x, float y) { in avg() function
3526 mGeometricScale = avg(mXScale, mYScale); in configureSurface()
3608 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, in configureSurface()
3610 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, in configureSurface()
4818 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor; in cookPointerData()
4824 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor; in cookPointerData()
4830 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor; in cookPointerData()
7074 float offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale; in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp45 static inline float avg(float x, float y) { in avg() function
2846 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1),
5024 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; in TEST_F()
5070 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; in TEST_F()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...