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.java104 private float mCenterX = 0f; field in GradientColor
138 mCenterX = copy.mCenterX; in GradientColor()
197 mCenterX = a.getFloat( in updateRootElementState()
198 R.styleable.GradientColor_centerX, mCenterX); in updateRootElementState()
477 mShader = new RadialGradient(mCenterX, mCenterY, mGradientRadius, tempColors, in onColorsChange()
480 mShader = new SweepGradient(mCenterX, mCenterY, tempColors, tempOffsets); in onColorsChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java63 private int mCenterX; field in KeyguardAffordanceView
162 mCenterX = getWidth() / 2; in onLayout()
209 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
258 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
316 mHwCenterX = CanvasProperty.createFloat(mCenterX); in initHwProperties()
325 float width = mTempPoint[0] + mCenterX; in getMaxCircleSize()
389 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.java520 return mGradientState.mCenterX; in getGradientCenterX()
1311 x0 = r.left + (r.right - r.left) * st.mCenterX;
1340 x0 = r.left + (r.right - r.left) * st.mCenterX;
1706 st.mCenterX = getFloatOrFraction(
1707 a, R.styleable.GradientDrawableGradient_centerX, st.mCenterX);
1751 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
1960 float mCenterX = 0.5f; field in GradientDrawable.GradientState
2020 mCenterX = orig.mCenterX; in GradientState()
2183 mCenterX = x; in setGradientCenter()
/frameworks/base/libs/hwui/
DAnimator.cpp445 : BaseRenderNodeAnimator(finalValue), mCenterX(centerX), mCenterY(centerY) { in RevealAnimator()
454 target->animatorProperties().mutableRevealClip().set(true, mCenterX, mCenterY, value); in setValue()
DAnimator.h269 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()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16652 Landroid/content/res/GradientColor;->mCenterX:F
19857 Landroid/graphics/drawable/GradientDrawable$GradientState;->mCenterX:F