Home
last modified time | relevance | path

Searched refs:sumY (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp138 int64_t sumY = 0; in fit() local
154 sumY += y; in fit()
166 int64_t a_nom = (int64_t)numSamplesToUse * sumXY - sumX * sumY; in fit()
167 int64_t b_nom = sumXX * sumY - sumX * sumXY; in fit()
171 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div); in fit()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java289 float sumX = 0, sumY = 0; in onTouchEvent() local
307 sumY += event.getY(i); in onTouchEvent()
311 focusY = sumY / div; in onTouchEvent()
DGestureDetector.java537 float sumX = 0, sumY = 0; in onTouchEvent() local
542 sumY += ev.getY(i); in onTouchEvent()
546 final float focusY = sumY / div; in onTouchEvent()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java229 float sumX = 0, sumY = 0; in onTouchEvent() local
235 sumY += event.getY(i); in onTouchEvent()
239 float y = sumY / div; in onTouchEvent()