Home
last modified time | relevance | path

Searched refs:RippleShape (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
DRippleViewTest.kt37 rippleView.setupShader(RippleShader.RippleShape.CIRCLE) in testSetupShader_compilesCircle()
42 rippleView.setupShader(RippleShader.RippleShape.ROUNDED_BOX) in testSetupShader_compilesRoundedBox()
47 rippleView.setupShader(RippleShader.RippleShape.ELLIPSE) in testSetupShader_compilesEllipse()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt36 class RippleShader(rippleShape: RippleShape = RippleShape.CIRCLE) :
40 enum class RippleShape { class
158 private fun buildShader(rippleShape: RippleShape): String = in buildShader()
160 RippleShape.CIRCLE -> CIRCLE_SHADER in buildShader()
161 RippleShape.ROUNDED_BOX -> ROUNDED_BOX_SHADER in buildShader()
162 RippleShape.ELLIPSE -> ELLIPSE_SHADER in buildShader()
DRippleView.kt29 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape in <lambda>()
40 lateinit var rippleShape: RippleShape in <lambda>()
71 fun setupShader(rippleShape: RippleShape = RippleShape.CIRCLE) { in <lambda>()
233 if (rippleShape == RippleShape.CIRCLE) { in <lambda>()
236 } else if (rippleShape == RippleShape.ELLIPSE) { in <lambda>()
DRippleAnimationConfig.kt14 val rippleShape: RippleShader.RippleShape = RippleShader.RippleShape.CIRCLE,
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java38 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
56 boolean isDozing, RippleShape rippleShape) { in WirelessChargingLayout()
63 init(context, null, /* isDozing= */ false, RippleShape.CIRCLE); in WirelessChargingLayout()
68 init(context, attrs, /* isDozing= */false, RippleShape.CIRCLE); in WirelessChargingLayout()
71 private void init(Context c, AttributeSet attrs, boolean isDozing, RippleShape rippleShape) { in init()
76 int batteryLevel, boolean isDozing, RippleShape rippleShape) { in init()
142 scrimFadeOutAnimator.setStartDelay((rippleShape == RippleShape.CIRCLE in init()
154 if (mRippleView.getRippleShape() == RippleShape.ROUNDED_BOX) { in init()
274 if (mRippleView.getRippleShape() == RippleShape.ROUNDED_BOX) { in onLayout()
DWirelessChargingAnimation.java33 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
62 RippleShape rippleShape, UiEventLogger uiEventLogger) { in WirelessChargingAnimation()
75 Callback callback, boolean isDozing, RippleShape rippleShape, in makeWirelessChargingAnimation()
86 @NonNull Context context, RippleShape rippleShape, UiEventLogger uiEventLogger) { in makeChargingAnimationWithNoBatteryLevel()
126 boolean isDozing, RippleShape rippleShape, UiEventLogger uiEventLogger) { in WirelessChargingView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DReceiverChipRippleView.kt36 setupShader(RippleShader.RippleShape.CIRCLE) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt558 RippleShader.RippleShape.CIRCLE, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java230 import com.android.systemui.surfaceeffects.ripple.RippleShader.RippleShape;
1679 }, /* isDozing= */ false, RippleShape.CIRCLE, in showChargingAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1284 RippleShader.RippleShape.CIRCLE, in createTouchRippleAnimation()