/packages/apps/Launcher3/src/com/android/launcher3/util/ |
CircleRevealOutlineProvider.java | 26 private int mCenterY; 38 mCenterY = y; 53 mOutline.top = (int) (mCenterY - mOutlineRadius); 55 mOutline.bottom = (int) (mCenterY + mOutlineRadius);
|
PillRevealOutlineProvider.java | 33 private int mCenterY; 43 mCenterY = y; 61 mOutline.top = Math.max(mPillRect.top, mCenterY - currentSize); 63 mOutline.bottom = Math.min(mPillRect.bottom, mCenterY + currentSize);
|
/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...] |
/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/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...] |
/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/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();
|
/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...] |
ComplicationSimpleWatchFaceService.java | 104 private float mCenterY; 489 mCenterY = mHeight / 2f; 643 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 644 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 665 canvas.rotate(hoursRotation, mCenterX, mCenterY); 668 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 670 mCenterY - mHourHandLength, 673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 676 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 678 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...] |
ComplicationSimpleWatchFaceService.java | 104 private float mCenterY; 489 mCenterY = mHeight / 2f; 643 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 644 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 665 canvas.rotate(hoursRotation, mCenterX, mCenterY); 668 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 670 mCenterY - mHourHandLength, 673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 676 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 678 mCenterY - mMinuteHandLength [all...] |
/development/samples/browseable/WatchFace/Wearable/src/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...] |
ComplicationSimpleWatchFaceService.java | 104 private float mCenterY; 489 mCenterY = mHeight / 2f; 643 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, 644 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); 665 canvas.rotate(hoursRotation, mCenterX, mCenterY); 668 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 670 mCenterY - mHourHandLength, 673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); 676 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, 678 mCenterY - mMinuteHandLength [all...] |
/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));
|
IndicatorControlWheel.java | 75 private int mCenterX, mCenterY; 260 double dy = mCenterY - event.getY(); 339 mCenterY = (bottom - top) / 2; 361 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); 456 mBackgroundRect.set(mCenterX - innerR, mCenterY - innerR, 457 mCenterX + innerR, mCenterY + innerR); 460 mBackgroundRect.set(mCenterX - outerR, mCenterY - outerR, 461 mCenterX + outerR, mCenterY + outerR); 483 (float)(mCenterY - mShutterButtonRadius), 485 (float)(mCenterY + mShutterButtonRadius)) [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;
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
FocusRingRenderer.java | 58 private int mCenterY; 108 mCenterY = value; 112 return mCenterY;
|
/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);
|
/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/WallpaperPicker/src/com/android/wallpaperpicker/ |
CropView.java | 40 private float mCenterX, mCenterY; 94 rendererCenter[1] = mCenterY - initialCenterY; 139 mCenterY = mRenderer.centerY; 222 mRenderer.centerY = Math.round(mCenterY); 288 mCenterY += point[1]; 323 mCenterY += adjustment[1];
|