/packages/apps/Launcher3/src/com/android/launcher3/util/ |
RevealOutlineProvider.java | 14 private int mCenterY; 29 mCenterY = y; 40 mOval.top = mCenterY - mCurrentRadius; 42 mOval.bottom = mCenterY + mCurrentRadius;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ProgressOverlay.java | 34 private int mCenterY; 49 mCenterY = (bottom - top) / 2; 69 mProgressRenderer.onDraw(canvas, mCenterX, mCenterY);
|
PreviewOverlay.java | 298 private int mCenterY; 328 mCenterY = (b + t) / 2; 342 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), 344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); 346 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), 348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); 354 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), 356 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint); 358 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), 360 mCenterY + zoomRadius * (float) Math.sin(mFingerAngle), mPaint) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Rotate3dAnimation.java | 32 private final float mCenterY; 57 mCenterY = centerY; 74 final float centerY = mCenterY;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
OrientedBitmapDrawable.java | 38 private int mCenterY; 86 mCenterY = mDstRect.centerY(); 89 matrix.setRotate(mOrientationParams.rotation, mCenterX, mCenterY); 99 canvas.scale(mOrientationParams.scaleX, mOrientationParams.scaleY, mCenterX, mCenterY); 100 canvas.rotate(mOrientationParams.rotation, mCenterX, mCenterY);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomRenderer.java | 43 private int mCenterY; 101 mCenterY = (b - t) / 2; 113 canvas.drawCircle(mCenterX, mCenterY, mMinCircle, mPaint); 114 canvas.drawCircle(mCenterX, mCenterY, mMaxCircle, mPaint); 115 canvas.drawLine(mCenterX - mMinCircle, mCenterY, 116 mCenterX - mMaxCircle - 4, mCenterY, mPaint); 118 canvas.drawCircle((float) mCenterX, (float) mCenterY, 122 canvas.drawText(txt, mCenterX - mTextBounds.centerX(), mCenterY - mTextBounds.centerY(),
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
FocusRingRenderer.java | 58 private int mCenterY; 108 mCenterY = value; 112 return mCenterY;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
CircleView.java | 78 private float mCenterY; 97 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f); 128 canvas.drawCircle(mCenterX, mCenterY, mRadius, mCirclePaint); 185 invalidate(mCenterX, mCenterY, mRadius); 210 invalidate(oldCenterX, mCenterY, mRadius); 211 invalidate(centerX, mCenterY, mRadius); 224 return mCenterY; 235 final float oldCenterY = mCenterY; 237 mCenterY = centerY; 270 invalidate(mCenterX, mCenterY, oldRadius) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageTinyPlanet.java | 40 private float mCenterY = 0; 96 float dY1 = mTouchCenterY - mCenterY; 98 float dY2 = mCurrentY - mCenterY; 112 mCenterY = getHeight() / 2;
|
EclipseControl.java | 34 private float mCenterY = 0; 74 mCenterY = y; 302 paintRadius(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); 303 fillHandles(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); 304 paintPoint(canvas, mCenterX, mCenterY);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheelContainer.java | 44 private int mCenterX, mCenterY; 75 double dy = mCenterY - event.getY(); 107 mCenterY = (bottom - top) / 2; 109 mCenterY - shutterButtonHeight / 2, 111 mCenterY + shutterButtonHeight - shutterButtonHeight / 2);
|
ZoomControlWheel.java | 58 private int mCenterX, mCenterY; 92 double dy = mCenterY - event.getY(); 127 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); 148 mCenterY = (bottom - top) / 2; 162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius), 163 (float) (mCenterX + radius), (float) (mCenterY + radius));
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
SoundLevels.java | 45 private int mCenterY; 126 mCenterY = getWidth() / 2; 141 canvas.drawCircle(mCenterX, mCenterY, radius * mMaximumLevelSize, mPrimaryLevelPaint);
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 73 private float mCenterY = 0.0f; 100 mCenterY = 0.0f; 182 mCenterY = (obj.getBoundsMinY() + obj.getBoundsMaxY())/2.0f; 221 gl.glTranslatef(-mCenterX, -mCenterY, -mCenterZ);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 59 private float mCenterY; 109 mCenterY = height/2.0f; 180 c.translate(mCenterX, mCenterY);
|
/frameworks/base/libs/hwui/ |
Animator.h | 203 int mCenterX, mCenterY;
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
PointCloud.java | 35 private float mCenterY; 132 mCenterY = y; 206 canvas.scale(mScale, mScale, mCenterX, mCenterY); 212 final float py = point.y + mCenterY;
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 79 private float mCenterY; 173 mCenterY = height/2.0f; 242 c.translate(mCenterX, mCenterY);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 40 private float mCenterX, mCenterY; 94 rendererCenter[1] = mCenterY - initialCenterY; 139 mCenterY = mRenderer.centerY; 211 mRenderer.centerY = Math.round(mCenterY); 277 mCenterY += point[1]; 312 mCenterY += adjustment[1];
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterVignetteRepresentation.java | 34 private float mCenterY = .5f; 75 mCenterY = rep.mCenterY; 95 return getName() + " : " + mCenterX + ", " + mCenterY + " radius: " + mRadiusX; 114 mCenterY = centerY; 124 return mCenterY; 191 writer.value(mCenterY); 219 mCenterY = (float) sreader.nextDouble();
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 40 private float mCenterX, mCenterY; 94 rendererCenter[1] = mCenterY - initialCenterY; 139 mCenterY = mRenderer.centerY; 211 mRenderer.centerY = Math.round(mCenterY); 277 mCenterY += point[1]; 312 mCenterY += adjustment[1];
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 82 private float mCenterY; 304 mCenterY = height / 2f; 379 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 380 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 401 canvas.rotate(hoursRotation, mCenterX, mCenterY); 404 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 406 mCenterY - sHourHandLength, 409 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 412 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 414 mCenterY - sMinuteHandLength [all...] |
SweepWatchFaceService.java | 73 private float mCenterY; 269 mCenterY = height / 2f; 344 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 345 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 366 canvas.rotate(hoursRotation, mCenterX, mCenterY); 369 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 371 mCenterY - mHourHandLength, 374 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 377 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 379 mCenterY - mMinuteHandLength [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
AnalogWatchFaceService.java | 82 private float mCenterY; 304 mCenterY = height / 2f; 379 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 380 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 401 canvas.rotate(hoursRotation, mCenterX, mCenterY); 404 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 406 mCenterY - sHourHandLength, 409 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 412 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 414 mCenterY - sMinuteHandLength [all...] |
SweepWatchFaceService.java | 73 private float mCenterY; 269 mCenterY = height / 2f; 344 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 345 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 366 canvas.rotate(hoursRotation, mCenterX, mCenterY); 369 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 371 mCenterY - mHourHandLength, 374 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 377 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 379 mCenterY - mMinuteHandLength [all...] |