Searched refs:measuredSizes (Results 1 – 2 of 2) sorted by relevance
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 400 final Sizes measuredSizes = template.newSize(); in measure() local 409 measuredSizes.setClockFontSizePx(clockFontSize); in measure() 411 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx); in measure() 412 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure() 413 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure() 414 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx); in measure() 415 nextAlarmIcon.setPadding(measuredSizes.mIconPaddingPx, 0, measuredSizes.mIconPaddingPx, 0); in measure() 418 final int widthSize = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx); in measure() 419 final int heightSize = View.MeasureSpec.getSize(measuredSizes.mTargetHeightPx); in measure() 426 measuredSizes.mMeasuredWidthPx = sizer.getMeasuredWidth(); in measure() [all …]
|
D | DigitalAppWidgetProvider.kt | 469 val measuredSizes = template.newSize() in <lambda>() constant 478 measuredSizes.clockFontSizePx = clockFontSize in <lambda>() 480 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx.toFloat()) in <lambda>() 481 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>() 482 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>() 483 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx.toFloat()) in <lambda>() 485 .setPadding(measuredSizes.mIconPaddingPx, 0, measuredSizes.mIconPaddingPx, 0) in <lambda>() 488 val widthSize: Int = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx) in <lambda>() 489 val heightSize: Int = View.MeasureSpec.getSize(measuredSizes.mTargetHeightPx) in <lambda>() 496 measuredSizes.mMeasuredWidthPx = sizer.getMeasuredWidth() in <lambda>() [all …]
|