/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | InteractiveWatchFaceService.java | 57 private float mYOffset; field in InteractiveWatchFaceService.Engine 119 mYOffset = resources.getDimension( in onApplyWindowInsets() 205 mYOffset, in onDraw() 211 mYOffset + mTextSpacingHeight, in onDraw() 217 mYOffset + (mTextSpacingHeight * 2), in onDraw() 223 mYOffset + (mTextSpacingHeight * 3), in onDraw()
|
D | FitStepsWatchFaceService.java | 156 private float mYOffset; field in FitStepsWatchFaceService.Engine 206 mYOffset = resources.getDimension(R.dimen.fit_y_offset); in onCreate() 392 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw() 396 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 402 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw() 408 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 412 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local 416 mCalendar.get(Calendar.AM_PM)), x, mYOffset, mAmPmPaint); in onDraw() local 425 mYOffset + mLineHeight, in onDraw()
|
D | FitDistanceWatchFaceService.java | 160 private float mYOffset; field in FitDistanceWatchFaceService.Engine 209 mYOffset = resources.getDimension(R.dimen.fit_y_offset); in onCreate() 391 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw() 395 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 401 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw() 407 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 411 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() local 415 mCalendar.get(Calendar.AM_PM)), x, mYOffset, mAmPmPaint); in onDraw() local 424 mYOffset + mLineHeight, in onDraw()
|
D | DigitalWatchFaceService.java | 165 float mYOffset; field in DigitalWatchFaceService.Engine 197 mYOffset = resources.getDimension(R.dimen.digital_y_offset); in onCreate() 475 canvas.drawText(hourString, x, mYOffset, mHourPaint); in onDraw() 481 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 487 canvas.drawText(minuteString, x, mYOffset, mMinutePaint); in onDraw() 494 canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); in onDraw() 498 mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); in onDraw() 502 mCalendar.get(Calendar.AM_PM)), x, mYOffset, mAmPmPaint); in onDraw() 511 mXOffset, mYOffset + mLineHeight, mDatePaint); in onDraw() 515 mXOffset, mYOffset + mLineHeight * 2, mDatePaint); in onDraw()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | TileView.java | 46 private static int mYOffset; field in TileView 115 mYOffset + y * mTileSize, mPaint); in onDraw() 151 mYOffset = ((h - (mTileSize * mYTileCount)) / 2); in onSizeChanged()
|