/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 73 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 …]
|
D | AnalogWatchFaceService.java | 82 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 …]
|
D | ComplicationSimpleWatchFaceService.java | 102 private float mCenterY; field in ComplicationSimpleWatchFaceService.Engine 469 mCenterY = mHeight / 2f; in onSurfaceChanged() 616 canvas.drawLine(mCenterX + innerX, mCenterY + innerY, in drawWatchFace() 617 mCenterX + outerX, mCenterY + outerY, mTickAndCirclePaint); in drawWatchFace() 638 canvas.rotate(hoursRotation, mCenterX, mCenterY); in drawWatchFace() 641 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in drawWatchFace() 643 mCenterY - mHourHandLength, in drawWatchFace() 646 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in drawWatchFace() 649 mCenterY - CENTER_GAP_AND_CIRCLE_RADIUS, in drawWatchFace() 651 mCenterY - mMinuteHandLength, in drawWatchFace() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Rotate3dAnimation.java | 32 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/ |
D | OBJViewer.java | 73 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/ |
D | CubeWallpaper1.java | 59 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/ |
D | CubeWallpaper2.java | 79 private float mCenterY; field in CubeWallpaper2.CubeEngine 173 mCenterY = height/2.0f; in onSurfaceChanged() 242 c.translate(mCenterX, mCenterY); in drawCube()
|