Searched refs:targetRegion (Results 1 – 3 of 3) sorted by relevance
121 protected var targetRegion: Rect? = null variable150 override fun onTargetRegionChanged(targetRegion: Rect?) { in onTargetRegionChanged()151 this@DefaultClockFaceController.targetRegion = targetRegion in onTargetRegionChanged()152 recomputePadding(targetRegion) in onTargetRegionChanged()157 recomputePadding(targetRegion) in onFontSettingChanged()166 open fun recomputePadding(targetRegion: Rect?) {} in recomputePadding()209 override fun recomputePadding(targetRegion: Rect?) { in recomputePadding()223 if (targetRegion != null && parent is View && parent.isLaidOut()) in recomputePadding()224 targetRegion.centerY() - parent.height / 2f in recomputePadding()
274 Rect targetRegion = getSmallClockRegion(mSmallClockFrame); in updateClockTargetRegions() local275 mClock.getSmallClock().getEvents().onTargetRegionChanged(targetRegion); in updateClockTargetRegions()279 Rect targetRegion = getLargeClockRegion(mLargeClockFrame); in updateClockTargetRegions() local282 targetRegion); in updateClockTargetRegions()286 targetRegion.left, in updateClockTargetRegions()287 targetRegion.top - screenOffsetYPadding, in updateClockTargetRegions()288 targetRegion.right, in updateClockTargetRegions()289 targetRegion.bottom - screenOffsetYPadding)); in updateClockTargetRegions()
252 fun onTargetRegionChanged(targetRegion: Rect?) in onTimeTick()