Loading quickstep/testing/com/android/launcher3/taskbar/bubbles/testing/FakeBubbleViewFactory.kt +13 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,19 @@ object FakeBubbleViewFactory { val flags = if (suppressNotification) Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION else 0 val bubbleInfo = BubbleInfo(key, flags, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( key, flags, null, null, 0, context.packageName, null, null, false, true, null, ) val bubbleView = inflater.inflate(R.layout.bubblebar_item_view, parent, false) as BubbleView val dotPath = PathParser.createPathFromPathData( Loading quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/BubbleViewTest.kt +13 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,19 @@ class BubbleViewTest { overflowView.setOverflow(BubbleBarOverflow(overflowView), bitmap) val bubbleInfo = BubbleInfo("key", 0, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( "key", 0, null, null, 0, context.packageName, null, null, false, true, null, ) bubbleView = inflater.inflate(R.layout.bubblebar_item_view, null, false) as BubbleView bubble = BubbleBarBubble(bubbleInfo, bubbleView, bitmap, bitmap, Color.WHITE, Path(), "") Loading quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt +30 −18 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -135,7 +135,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -183,7 +183,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -228,7 +228,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -274,7 +274,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -311,7 +311,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -355,7 +355,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -405,7 +405,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -454,7 +454,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -504,7 +504,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -538,7 +538,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -577,7 +577,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -625,7 +625,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -666,7 +666,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -713,7 +713,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -760,7 +760,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -818,7 +818,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -870,7 +870,19 @@ class BubbleBarViewAnimatorTest { bubbleBarView.addView(overflowView) val bubbleInfo = BubbleInfo("key", 0, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( "key", 0, null, null, 0, context.packageName, null, null, false, true, null, ) bubbleView = inflater.inflate(R.layout.bubblebar_item_view, bubbleBarView, false) as BubbleView bubble = Loading Loading
quickstep/testing/com/android/launcher3/taskbar/bubbles/testing/FakeBubbleViewFactory.kt +13 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,19 @@ object FakeBubbleViewFactory { val flags = if (suppressNotification) Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION else 0 val bubbleInfo = BubbleInfo(key, flags, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( key, flags, null, null, 0, context.packageName, null, null, false, true, null, ) val bubbleView = inflater.inflate(R.layout.bubblebar_item_view, parent, false) as BubbleView val dotPath = PathParser.createPathFromPathData( Loading
quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/BubbleViewTest.kt +13 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,19 @@ class BubbleViewTest { overflowView.setOverflow(BubbleBarOverflow(overflowView), bitmap) val bubbleInfo = BubbleInfo("key", 0, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( "key", 0, null, null, 0, context.packageName, null, null, false, true, null, ) bubbleView = inflater.inflate(R.layout.bubblebar_item_view, null, false) as BubbleView bubble = BubbleBarBubble(bubbleInfo, bubbleView, bitmap, bitmap, Color.WHITE, Path(), "") Loading
quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/bubbles/animation/BubbleBarViewAnimatorTest.kt +30 −18 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -135,7 +135,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -183,7 +183,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -228,7 +228,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -274,7 +274,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -311,7 +311,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -355,7 +355,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -405,7 +405,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -454,7 +454,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -504,7 +504,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -538,7 +538,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -577,7 +577,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -625,7 +625,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -666,7 +666,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpandedNoOp, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -713,7 +713,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -760,7 +760,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -818,7 +818,7 @@ class BubbleBarViewAnimatorTest { bubbleBarView, bubbleStashController, onExpanded, animatorScheduler animatorScheduler, ) InstrumentationRegistry.getInstrumentation().runOnMainSync { Loading Loading @@ -870,7 +870,19 @@ class BubbleBarViewAnimatorTest { bubbleBarView.addView(overflowView) val bubbleInfo = BubbleInfo("key", 0, null, null, 0, context.packageName, null, null, false, true) BubbleInfo( "key", 0, null, null, 0, context.packageName, null, null, false, true, null, ) bubbleView = inflater.inflate(R.layout.bubblebar_item_view, bubbleBarView, false) as BubbleView bubble = Loading