OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:yCenter
(Results
1 - 6
of
6
) sorted by null
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
ZoomedCropRegion.java
41
int
yCenter
= sensor.height() / 2;
44
return new Rect(xCenter - xDelta,
yCenter
- yDelta, xCenter + xDelta,
yCenter
+ yDelta);
/packages/apps/DeskClock/src/com/android/deskclock/
CircleTimerView.java
139
int
yCenter
= getHeight() / 2;
142
float radius = Math.min(xCenter,
yCenter
) - mRadiusOffset;
147
canvas.drawCircle (xCenter,
yCenter
, radius, mPaint);
149
drawRedDot(canvas, 0f, xCenter,
yCenter
, radius);
156
mArcRect.top =
yCenter
- radius;
157
mArcRect.bottom =
yCenter
+ radius;
193
drawRedDot(canvas, redPercent, xCenter,
yCenter
, radius);
201
Canvas canvas, float degrees, int xCenter, int
yCenter
, float radius) {
212
yCenter
+ (float) (radius * Math.sin(dotRadians)), mDotRadius, mFill);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialTextsView.java
235
private void calculateGridSizes(float numbersRadius, float xCenter, float
yCenter
,
247
yCenter
-= (mPaint.descent() + mPaint.ascent()) / 2;
249
textGridHeights[0] =
yCenter
- offset1;
251
textGridHeights[1] =
yCenter
- offset2;
253
textGridHeights[2] =
yCenter
- offset3;
255
textGridHeights[3] =
yCenter
;
257
textGridHeights[4] =
yCenter
+ offset3;
259
textGridHeights[5] =
yCenter
+ offset2;
261
textGridHeights[6] =
yCenter
+ offset1;
/packages/apps/Camera2/src/com/android/camera/one/v2/
AutoFocusHelper.java
214
int
yCenter
= sensor.height() / 2;
217
return new Rect(xCenter - xDelta,
yCenter
- yDelta, xCenter + xDelta,
yCenter
+ yDelta);
/frameworks/base/core/java/android/widget/
RadialTimePickerView.java
803
private static void calculatePositions(Paint paint, float radius, float xCenter, float
yCenter
,
805
// Adjust
yCenter
to account for the text's baseline.
807
yCenter
-= (paint.descent() + paint.ascent()) / 2;
811
y[i] =
yCenter
- radius * SIN_30[i];
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
CountingTimerView.java
621
int
yCenter
= getHeight() / 2;
624
float yTextStart =
yCenter
+ mTextHeight/2 - (mTextHeight * FONT_VERTICAL_OFFSET);
Completed in 83 milliseconds