Searched refs:avg (Results 1 – 15 of 15) sorted by relevance
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);
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;
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);
56 float avg = getAvg(); in getStdevp() local58 float diff = time - avg; in getStdevp()
43 const float avg = total / numPixels; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local47 sum += (lumArray[i] - avg) * (lumArray[i] - avg); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
671 long avg = getPssAverage(type); in aggregatePss() local674 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() local721 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 …]
329 float avg = sum / mNumTemps; in logTemperatureStats() local330 Slog.i(TAG, "avg=" + avg + ",min=" + min + ",max=" + max); in logTemperatureStats()331 MetricsLogger.histogram(mContext, "device_skin_temp_avg", (int) avg); in logTemperatureStats()
119 int avg = (2*i + j)/3; in init_tables() local120 avg23tab[(i << 6) | j] = avg; in init_tables()
956 double avg; field in NotificationUsageStats.Aggregate965 final double delta = sample - avg; in addSample()966 avg += (1.0 / n) * delta; in addSample()976 ", avg=" + avg + in toString()
103 inline static float avg(float x, float y) { in avg() function3526 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()
45 static inline float avg(float x, float y) { in avg() function2846 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()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...