Home
last modified time | relevance | path

Searched refs:yCenter (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java884 private static void calculatePositions(Paint paint, float radius, float xCenter, float yCenter, in calculatePositions() argument
888 yCenter -= (paint.descent() + paint.ascent()) / 2; in calculatePositions()
892 y[i] = yCenter - radius * SIN_30[i]; in calculatePositions()
1354 final float yCenter = mYCenter - centerRadius * (float) Math.cos(radians); in getBoundsForVirtualView() local
1356 bounds.set((int) (xCenter - radius), (int) (yCenter - radius), in getBoundsForVirtualView()
1357 (int) (xCenter + radius), (int) (yCenter + radius)); in getBoundsForVirtualView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java579 float yCenter = MathUtils.lerp( in createScreenshotDropInAnimation()
581 mScreenshotPreview.setY(yCenter - mScreenshotPreview.getHeight() / 2f); in createScreenshotDropInAnimation()