Loading packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ import android.widget.FrameLayout import com.android.app.animation.Interpolators import com.android.internal.jank.InteractionJankMonitor import com.android.internal.jank.InteractionJankMonitor.CujType import com.android.systemui.animation.view.LaunchableFrameLayout import com.android.systemui.util.registerAnimationOnBackInvoked import kotlin.math.roundToInt Loading packages/SystemUI/animation/src/com/android/systemui/animation/LaunchableFrameLayout.kt→packages/SystemUI/animation/src/com/android/systemui/animation/view/LaunchableFrameLayout.kt +3 −1 Original line number Diff line number Diff line Loading @@ -14,11 +14,13 @@ * limitations under the License. */ package com.android.systemui.animation package com.android.systemui.animation.view import android.content.Context import android.util.AttributeSet import android.widget.FrameLayout import com.android.systemui.animation.LaunchableView import com.android.systemui.animation.LaunchableViewDelegate /** A [FrameLayout] that also implements [LaunchableView]. */ open class LaunchableFrameLayout : FrameLayout, LaunchableView { Loading packages/SystemUI/res/layout/keyguard_qs_user_switch.xml +2 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ android:layout_gravity="end"> <!-- We add a background behind the UserAvatarView with the same color and with a circular shape so that this view can be expanded into a Dialog or an Activity. --> <com.android.systemui.animation.LaunchableFrameLayout <com.android.systemui.animation.view.LaunchableFrameLayout android:id="@+id/kg_multi_user_avatar_with_background" android:layout_width="wrap_content" android:layout_height="wrap_content" Loading @@ -42,5 +42,5 @@ systemui:framePadding="0dp" systemui:frameWidth="0dp"> </com.android.systemui.statusbar.phone.UserAvatarView> </com.android.systemui.animation.LaunchableFrameLayout> </com.android.systemui.animation.view.LaunchableFrameLayout> </FrameLayout> No newline at end of file packages/SystemUI/src/com/android/systemui/privacy/OngoingPrivacyChip.kt +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ import android.widget.ImageView import android.widget.LinearLayout import com.android.settingslib.Utils import com.android.systemui.R import com.android.systemui.animation.LaunchableFrameLayout import com.android.systemui.animation.view.LaunchableFrameLayout import com.android.systemui.statusbar.events.BackgroundAnimatableView class OngoingPrivacyChip @JvmOverloads constructor( Loading packages/SystemUI/tests/src/com/android/systemui/animation/GhostedViewLaunchAnimatorControllerTest.kt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.testing.TestableLooper import android.widget.FrameLayout import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase import com.android.systemui.animation.view.LaunchableFrameLayout import org.junit.Assert.assertThrows import org.junit.Test import org.junit.runner.RunWith Loading Loading
packages/SystemUI/animation/src/com/android/systemui/animation/DialogLaunchAnimator.kt +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ import android.widget.FrameLayout import com.android.app.animation.Interpolators import com.android.internal.jank.InteractionJankMonitor import com.android.internal.jank.InteractionJankMonitor.CujType import com.android.systemui.animation.view.LaunchableFrameLayout import com.android.systemui.util.registerAnimationOnBackInvoked import kotlin.math.roundToInt Loading
packages/SystemUI/animation/src/com/android/systemui/animation/LaunchableFrameLayout.kt→packages/SystemUI/animation/src/com/android/systemui/animation/view/LaunchableFrameLayout.kt +3 −1 Original line number Diff line number Diff line Loading @@ -14,11 +14,13 @@ * limitations under the License. */ package com.android.systemui.animation package com.android.systemui.animation.view import android.content.Context import android.util.AttributeSet import android.widget.FrameLayout import com.android.systemui.animation.LaunchableView import com.android.systemui.animation.LaunchableViewDelegate /** A [FrameLayout] that also implements [LaunchableView]. */ open class LaunchableFrameLayout : FrameLayout, LaunchableView { Loading
packages/SystemUI/res/layout/keyguard_qs_user_switch.xml +2 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ android:layout_gravity="end"> <!-- We add a background behind the UserAvatarView with the same color and with a circular shape so that this view can be expanded into a Dialog or an Activity. --> <com.android.systemui.animation.LaunchableFrameLayout <com.android.systemui.animation.view.LaunchableFrameLayout android:id="@+id/kg_multi_user_avatar_with_background" android:layout_width="wrap_content" android:layout_height="wrap_content" Loading @@ -42,5 +42,5 @@ systemui:framePadding="0dp" systemui:frameWidth="0dp"> </com.android.systemui.statusbar.phone.UserAvatarView> </com.android.systemui.animation.LaunchableFrameLayout> </com.android.systemui.animation.view.LaunchableFrameLayout> </FrameLayout> No newline at end of file
packages/SystemUI/src/com/android/systemui/privacy/OngoingPrivacyChip.kt +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ import android.widget.ImageView import android.widget.LinearLayout import com.android.settingslib.Utils import com.android.systemui.R import com.android.systemui.animation.LaunchableFrameLayout import com.android.systemui.animation.view.LaunchableFrameLayout import com.android.systemui.statusbar.events.BackgroundAnimatableView class OngoingPrivacyChip @JvmOverloads constructor( Loading
packages/SystemUI/tests/src/com/android/systemui/animation/GhostedViewLaunchAnimatorControllerTest.kt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.testing.TestableLooper import android.widget.FrameLayout import androidx.test.filters.SmallTest import com.android.systemui.SysuiTestCase import com.android.systemui.animation.view.LaunchableFrameLayout import org.junit.Assert.assertThrows import org.junit.Test import org.junit.runner.RunWith Loading