Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java41 private float mCenterX, mCenterY; field in CropView
94 rendererCenter[0] = mCenterX - initialCenterX; in getEdgesHelper()
139 mCenterX = mRenderer.centerX; in setTileSource()
206 mCenterX += Math.ceil(edges.left / scale); in moveToLeft()
211 mRenderer.centerX = Math.round(mCenterX); in updateCenter()
277 mCenterX += point[0]; in onTouchEvent()
312 mCenterX += adjustment[0]; in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DPointCloud.java35 private float mCenterX; field in PointCloud
132 mCenterX = x; in setCenter()
205 canvas.scale(mScale, mScale, mCenterX, mCenterY); in draw()
210 final float px = point.x + mCenterX; in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java61 private int mCenterX; field in KeyguardAffordanceView
149 mCenterX = getWidth() / 2; in onLayout()
174 canvas.translate(mCenterX, mCenterY); in drawArrow()
198 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
235 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
247 float width = mTempPoint[0] + mCenterX; in getMaxCircleSize()
311 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in setCircleRadius()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java108 protected int mCenterX; field in TiledImageRenderer
241 if (mCenterX == centerX && mCenterY == centerY in setPosition()
245 mCenterX = centerX; in setPosition()
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles()
278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles()
284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); in layoutTiles()
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java941 x0 = r.left + (r.right - r.left) * st.mCenterX;
970 x0 = r.left + (r.right - r.left) * st.mCenterX;
1313 st.mCenterX = getFloatOrFraction(
1314 a, R.styleable.GradientDrawableGradient_centerX, st.mCenterX);
1341 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
1559 float mCenterX = 0.5f;
1616 mCenterX = state.mCenterX;
1667 mCenterX = x;
/frameworks/base/libs/hwui/
DAnimator.cpp306 , mCenterX(centerX) in RevealAnimator()
317 mCenterX, mCenterY, value); in setValue()
DAnimator.h201 int mCenterX, mCenterY;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1147 private float mCenterX; field in PhotoView.ScaleRunnable
1172 mCenterX = centerX; in start()
1205 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1209 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()