Searched refs:chipBounds (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 59 @VisibleForTesting var chipBounds = Rect() variable in com.android.systemui.statusbar.events.SystemEventChipAnimationController 60 private val chipWidth get() = chipBounds.width() 61 private val chipRight get() = chipBounds.right 62 private val chipLeft get() = chipBounds.left 168 val chipVerticalCenter = chipBounds.top + chipBounds.height() / 2 in createMoveOutAnimationForDot() 169 val height1 = ValueAnimator.ofInt(chipBounds.height(), keyFrame1Height).apply { in createMoveOutAnimationForDot() 307 chipBounds = Rect(chipLeft, chipTop, chipRight, chipBottom) in updateChipBounds() 308 animRect.set(chipBounds) in updateChipBounds() 317 private fun initializeAnimRect() = animRect.set(chipBounds) in initializeAnimRect()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProviderTest.kt | 104 var chipBounds = getPrivacyChipBoundingRectForInsets(bounds, dotWidth, chipWidth, isRtl) in testGetBoundingRectForPrivacyChipForRotation_noCutout() variable 112 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 114 chipBounds = getPrivacyChipBoundingRectForInsets(bounds, dotWidth, chipWidth, isRtl) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 122 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 141 chipBounds = getPrivacyChipBoundingRectForInsets(bounds, dotWidth, chipWidth, isRtl) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 149 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 151 chipBounds = getPrivacyChipBoundingRectForInsets(bounds, dotWidth, chipWidth, isRtl) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 159 assertRects(expected, chipBounds, currentRotation, targetRotation) in testGetBoundingRectForPrivacyChipForRotation_noCutout() 170 val chipBounds = in privacyChipBoundingRectForInsets_usesTopInset() constant 173 assertThat(chipBounds.top).isEqualTo(contentRect.top) in privacyChipBoundingRectForInsets_usesTopInset()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationControllerTest.kt | 113 val chipRect = controller.chipBounds in prepareChipAnimation_positionsChip() 133 val chipRect = controller.chipBounds in prepareChipAnimation_rotation_repositionsChip() 171 val chipRect = controller.chipBounds in fullScreenStatusBar_positionsChipAtTop_withTopGravity()
|