Home
last modified time | relevance | path

Searched refs:mCenterY (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java73 private float mCenterY; field in SweepWatchFaceService.Engine
269 mCenterY = height / 2f; in onSurfaceChanged()
344 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, in onDraw()
345 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); in onDraw()
366 canvas.rotate(hoursRotation, mCenterX, mCenterY); in onDraw()
369 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in onDraw()
371 mCenterY - mHourHandLength, in onDraw()
374 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw()
377 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in onDraw()
379 mCenterY - mMinuteHandLength, in onDraw()
[all …]
DAnalogWatchFaceService.java82 private float mCenterY; field in AnalogWatchFaceService.Engine
304 mCenterY = height / 2f; in onSurfaceChanged()
379 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, in onDraw()
380 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); in onDraw()
401 canvas.rotate(hoursRotation, mCenterX, mCenterY); in onDraw()
404 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in onDraw()
406 mCenterY - sHourHandLength, in onDraw()
409 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw()
412 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in onDraw()
414 mCenterY - sMinuteHandLength, in onDraw()
[all …]
DComplicationSimpleWatchFaceService.java104 private float mCenterY; field in ComplicationSimpleWatchFaceService.Engine
489 mCenterY = mHeight / 2f; in onSurfaceChanged()
643 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, in drawWatchFace()
644 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); in drawWatchFace()
665 canvas.rotate(hoursRotation, mCenterX, mCenterY); in drawWatchFace()
668 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in drawWatchFace()
670 mCenterY - mHourHandLength, in drawWatchFace()
673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in drawWatchFace()
676 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in drawWatchFace()
678 mCenterY - mMinuteHandLength, in drawWatchFace()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java32 private final float mCenterY; field in Rotate3dAnimation
57 mCenterY = centerY; in Rotate3dAnimation()
74 final float centerY = mCenterY; in applyTransformation()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java73 private float mCenterY = 0.0f; field in OBJView
100 mCenterY = 0.0f; in reset()
182 mCenterY = (obj.getBoundsMinY() + obj.getBoundsMaxY())/2.0f; in onDraw()
221 gl.glTranslatef(-mCenterX, -mCenterY, -mCenterZ); in onDraw()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java59 private float mCenterY; field in CubeWallpaper1.CubeEngine
109 mCenterY = height/2.0f; in onSurfaceChanged()
180 c.translate(mCenterX, mCenterY); in drawCube()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java79 private float mCenterY; field in CubeWallpaper2.CubeEngine
173 mCenterY = height/2.0f; in onSurfaceChanged()
242 c.translate(mCenterX, mCenterY); in drawCube()