Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp134 int64_t sumX = 0; in fit() local
153 sumX += x; in fit()
161 int64_t div = (int64_t)numSamplesToUse * sumXX - sumX * sumX; 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()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java289 float sumX = 0, sumY = 0; in onTouchEvent() local
306 sumX += event.getX(i); in onTouchEvent()
310 focusX = sumX / div; in onTouchEvent()
DGestureDetector.java537 float sumX = 0, sumY = 0; in onTouchEvent() local
541 sumX += ev.getX(i); in onTouchEvent()
545 final float focusX = sumX / div; in onTouchEvent()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java229 float sumX = 0, sumY = 0; in onTouchEvent() local
234 sumX += event.getX(i); in onTouchEvent()
238 float x = sumX / div; in onTouchEvent()