Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java40 private float mCenterX, mCenterY; field in CropView
93 rendererCenter[0] = mCenterX - initialCenterX; in getEdgesHelper()
138 mCenterX = mRenderer.centerX; in setTileSource()
205 mCenterX += Math.ceil(edges.left / scale); in moveToLeft()
210 mRenderer.centerX = Math.round(mCenterX); in updateCenter()
276 mCenterX += point[0]; in onTouchEvent()
311 mCenterX += adjustment[0]; in onTouchEvent()
/frameworks/base/core/java/android/content/res/
DGradientColor.java99 private float mCenterX = 0f; field in GradientColor
133 mCenterX = copy.mCenterX; in GradientColor()
192 mCenterX = a.getFloat( in updateRootElementState()
193 R.styleable.GradientColor_centerX, mCenterX); in updateRootElementState()
472 mShader = new RadialGradient(mCenterX, mCenterY, mGradientRadius, tempColors, in onColorsChange()
475 mShader = new SweepGradient(mCenterX, mCenterY, tempColors, tempOffsets); in onColorsChange()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java389 mDots[i].mCenterX = mDotSelectedPrevX[i]; in adjustDotPosition()
393 mDots[mCurrentPage].mCenterX = mDotSelectedX[mCurrentPage]; in adjustDotPosition()
397 mDots[i].mCenterX = mDotSelectedNextX[i]; in adjustDotPosition()
428 float mCenterX;
437 mCenterX = 0.0f;
447 mCenterX = 0.0f;
494 float centerX = mCenterX + mTranslationX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java62 private int mCenterX; field in KeyguardAffordanceView
143 mCenterX = getWidth() / 2; in onLayout()
186 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
235 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
293 mHwCenterX = CanvasProperty.createFloat(mCenterX); in initHwProperties()
302 float width = mTempPoint[0] + mCenterX; in getMaxCircleSize()
366 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.java509 return mGradientState.mCenterX; in getGradientCenterX()
1133 x0 = r.left + (r.right - r.left) * st.mCenterX;
1162 x0 = r.left + (r.right - r.left) * st.mCenterX;
1531 st.mCenterX = getFloatOrFraction(
1532 a, R.styleable.GradientDrawableGradient_centerX, st.mCenterX);
1559 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
1792 float mCenterX = 0.5f;
1852 mCenterX = orig.mCenterX;
2011 mCenterX = x;
/frameworks/base/libs/hwui/
DAnimator.cpp452 , mCenterX(centerX) in RevealAnimator()
463 mCenterX, mCenterY, value); in setValue()
DAnimator.h275 int mCenterX, mCenterY;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1164 private float mCenterX; field in PhotoView.ScaleRunnable
1189 mCenterX = centerX; in start()
1222 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1226 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()