Home
last modified time | relevance | path

Searched refs:targetRegion (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt121 protected var targetRegion: Rect? = null variable
150 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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java274 Rect targetRegion = getSmallClockRegion(mSmallClockFrame); in updateClockTargetRegions() local
275 mClock.getSmallClock().getEvents().onTargetRegionChanged(targetRegion); in updateClockTargetRegions()
279 Rect targetRegion = getLargeClockRegion(mLargeClockFrame); in updateClockTargetRegions() local
282 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()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt252 fun onTargetRegionChanged(targetRegion: Rect?) in onTimeTick()