Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java92 float[] rendererCenter = mTempRendererCenter; in getEdgesHelper() local
93 rendererCenter[0] = mCenterX - initialCenterX; in getEdgesHelper()
94 rendererCenter[1] = mCenterY - initialCenterY; in getEdgesHelper()
95 mRotateMatrix.mapPoints(rendererCenter); in getEdgesHelper()
96 rendererCenter[0] += imageWidth / 2; in getEdgesHelper()
97 rendererCenter[1] += imageHeight / 2; in getEdgesHelper()
100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) in getEdgesHelper()
102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) in getEdgesHelper()