Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java40 private float mCenterX, mCenterY; field in CropView
94 rendererCenter[1] = mCenterY - initialCenterY; in getEdgesHelper()
139 mCenterY = mRenderer.centerY; in setTileSource()
211 mRenderer.centerY = Math.round(mCenterY); in updateCenter()
277 mCenterY += point[1]; in onTouchEvent()
312 mCenterY += adjustment[1]; in onTouchEvent()
/frameworks/base/core/java/android/content/res/
DGradientColor.java105 private float mCenterY = 0f; field in GradientColor
139 mCenterY = copy.mCenterY; in GradientColor()
199 mCenterY = a.getFloat( in updateRootElementState()
200 R.styleable.GradientColor_centerY, mCenterY); 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.java64 private int mCenterY; field in KeyguardAffordanceView
164 mCenterY = getHeight() / 2; in onLayout()
210 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
259 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
318 mHwCenterY = CanvasProperty.createFloat(mCenterY); in initHwProperties()
328 float height = mTempPoint[1] + mCenterY; in getMaxCircleSize()
390 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in setCircleRadius()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java108 protected int mCenterY; field in TiledImageRenderer
238 if (mCenterX == centerX && mCenterY == centerY in setPosition()
243 mCenterY = centerY; in setPosition()
274 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles()
276 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles()
282 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale); in layoutTiles()
290 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java542 return mGradientState.mCenterY; in getGradientCenterY()
1323 y0 = r.top + (r.bottom - r.top) * st.mCenterY;
1352 y0 = r.top + (r.bottom - r.top) * st.mCenterY;
1719 st.mCenterY = getFloatOrFraction(
1720 a, R.styleable.GradientDrawableGradient_centerY, st.mCenterY);
1762 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
2014 float mCenterY = 0.5f;
2074 mCenterY = orig.mCenterY;
2237 mCenterY = y;
/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.java1165 private float mCenterY; field in PhotoView.ScaleRunnable
1190 mCenterY = centerY; in start()
1222 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1226 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()