Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accessibilityservice/
DMagnificationConfig.java81 private float mCenterX = Float.NaN; field in MagnificationConfig
92 mCenterX = parcel.readFloat(); in MagnificationConfig()
132 return mCenterX; in getCenterX()
171 parcel.writeFloat(mCenterX); in writeToParcel()
183 private float mCenterX = Float.NaN; field in MagnificationConfig.Builder
239 mCenterX = centerX; in setCenterX()
267 magnificationConfig.mCenterX = mCenterX; in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java219 (mState == STATE_ENABLING ? mEndSpec.mCenterX : currentCenterX); in setupEnableAnimationSpecs()
358 mStartSpec.mCenterX + (mEndSpec.mCenterX - mStartSpec.mCenterX) * fract; in onAnimationUpdate()
376 private float mCenterX = Float.NaN; field in WindowMagnificationAnimationController.AnimationSpec
390 return mScale == s.mScale && mCenterX == s.mCenterX && mCenterY == s.mCenterY; in equals()
396 result = 31 * result + (mCenterX != +0.0f ? Float.floatToIntBits(mCenterX) : 0); in hashCode()
403 mCenterX = centerX; in set()
411 + ", mCenterX=" + mCenterX in toString()
/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.java64 private int mCenterX; field in KeyguardAffordanceView
164 mCenterX = getWidth() / 2; in onLayout()
211 canvas.drawCircle(mCenterX, mCenterY, mCircleRadius, mCirclePaint); in drawBackgroundCircle()
260 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in finishAnimation()
318 mHwCenterX = CanvasProperty.createFloat(mCenterX); in initHwProperties()
327 float width = mTempPoint[0] + mCenterX; in getMaxCircleSize()
391 mPreviewView, getLeft() + mCenterX, getTop() + mCenterY, mCircleRadius, in setCircleRadius()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationProcessorTest.java503 private float mCenterX = 0; field in MagnificationProcessorTest.FullScreenMagnificationControllerStub
516 doAnswer(invocation -> mCenterX).when(mScreenMagnificationController).getCenterX( in stubMethods()
528 mCenterX = invocation.getArgument(2); in stubMethods()
565 mCenterX = 0; in deactivateIfNeed()
574 private float mCenterX = 0; field in MagnificationProcessorTest.MagnificationManagerStub
586 doAnswer(invocation -> mCenterX).when(mMagnificationConnectionManager).getCenterX( in stubMethods()
596 mCenterX = invocation.getArgument(2); in stubMethods()
626 mCenterX = Float.NaN; in deactivateIfNeed()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java107 protected int mCenterX; field in TiledImageRenderer
238 if (mCenterX == centerX && mCenterY == centerY in setPosition()
242 mCenterX = centerX; in setPosition()
274 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles()
275 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles()
281 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); in layoutTiles()
290 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java535 return mGradientState.mCenterX; in getGradientCenterX()
1342 x0 = r.left + (r.right - r.left) * st.mCenterX;
1371 x0 = r.left + (r.right - r.left) * st.mCenterX;
1745 st.mCenterX = getFloatOrFraction(
1746 a, R.styleable.GradientDrawableGradient_centerX, st.mCenterX);
1798 st.mPositions[1] = st.mCenterX != 0.5f ? st.mCenterX : st.mCenterY;
2051 float mCenterX = 0.5f;
2111 mCenterX = orig.mCenterX;
2282 mCenterX = x;
/frameworks/base/libs/hwui/
DAnimator.cpp443 : BaseRenderNodeAnimator(finalValue), mCenterX(centerX), mCenterY(centerY) { in RevealAnimator()
452 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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13765 Landroid/content/res/GradientColor;->mCenterX:F
16970 Landroid/graphics/drawable/GradientDrawable$GradientState;->mCenterX:F