Home
last modified time | relevance | path

Searched refs:bubbles (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt40 import com.android.wm.shell.bubbles.Bubbles
61 @Mock lateinit var bubbles: Bubbles variable in com.android.systemui.notetask.NoteTaskInitializerTest
79 bubbles: Bubbles?, in createUnderTest()
84 optionalBubbles = Optional.ofNullable(bubbles), in createUnderTest()
104 createUnderTest(isEnabled = true, bubbles = bubbles).initialize() in createUnderTest()
116 createUnderTest(isEnabled = true, bubbles = bubbles).initialize() in initialize_withUserLocked()
127 val underTest = createUnderTest(isEnabled = false, bubbles = bubbles) in initialize_flagDisabled()
133 bubbles, in initialize_flagDisabled()
143 val underTest = createUnderTest(isEnabled = true, bubbles = null) in initialize_bubblesNotPresent()
149 bubbles, in initialize_bubblesNotPresent()
[all …]
DNoteTaskBubblesServiceTest.kt27 import com.android.wm.shell.bubbles.Bubbles
42 @Mock private lateinit var bubbles: Bubbles variable in com.android.systemui.notetask.NoteTaskBubblesServiceTest
44 private fun createServiceBinder(bubbles: Bubbles? = this.bubbles) = in createServiceBinder()
45 NoteTaskBubblesService(Optional.ofNullable(bubbles)).onBind(Intent()) in createServiceBinder()
60 assertThat(createServiceBinder(bubbles = null).areBubblesAvailable()).isFalse() in areBubblesAvailable_bubblesNull_shouldReturnFalse()
71 verify(bubbles).showOrHideAppBubble(intent, user, icon) in showOrHideAppBubble()
DFakeNoteTaskBubbleController.kt23 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
42 { bubbles -> bubbles.showOrHideAppBubble(intent, userHandle, icon) }, in <lambda>() method
DNoteTaskControllerTest.kt68 import com.android.wm.shell.bubbles.Bubble in <lambda>()
69 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
101 @Mock private lateinit var bubbles: Bubbles in <lambda>() variable in com.android.systemui.notetask.NoteTaskControllerTest
147 bubbles: Bubbles? = this.bubbles, in <lambda>()
163 FakeNoteTaskBubbleController(context, testDispatcher, Optional.ofNullable(bubbles)), in <lambda>()
181 verifyZeroInteractions(bubbles, keyguardManager, userManager) in <lambda>()
196 verifyZeroInteractions(bubbles, keyguardManager, userManager) in <lambda>()
210 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>()
224 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>()
235 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepository.kt16 package com.android.wm.shell.bubbles.storage in <lambda>()
23 import com.android.wm.shell.bubbles.ShortcutKey in <lambda>()
47 val bubbles: SparseArray<List<BubbleEntity>> in <lambda>() constant in com.android.wm.shell.bubbles.storage.BubbleVolatileRepository
78 fun addBubbles(userId: Int, bubbles: List<BubbleEntity>) { in <lambda>()
79 if (bubbles.isEmpty()) return in <lambda>()
83 val bubblesInRange = bubbles.takeLast(capacity) in <lambda>()
99 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<BubbleEntity>) = in <lambda>()
100 uncache(bubbles.filter { b: BubbleEntity -> in <lambda>()
161 private fun cache(bubbles: List<BubbleEntity>) { in <lambda>()
162 bubbles.groupBy { ShortcutKey(it.userId, it.packageName) }.forEach { (key, bubbles) -> in <lambda>() method
[all …]
DBubbleXmlHelper.kt16 package com.android.wm.shell.bubbles.storage in <lambda>()
52 fun writeXml(stream: OutputStream, bubbles: SparseArray<List<BubbleEntity>>) { in <lambda>()
58 for (i in 0 until bubbles.size()) { in <lambda>()
59 val k = bubbles.keyAt(i) in <lambda>()
60 val v = bubbles.valueAt(i) in <lambda>()
99 val bubbles = SparseArray<List<BubbleEntity>>() in readXml() constant
104 val version = parser.getAttributeWithName(ATTR_VERSION)?.toInt() ?: return bubbles in readXml()
114 bubbles.put(uid.toInt(), userBubbles.toList()) in readXml()
130 bubbles.put(UserHandle.USER_SYSTEM, userBubbles.toList()) in readXml()
133 return bubbles in readXml()
DBubblePersistentRepository.kt16 package com.android.wm.shell.bubbles.storage
31 fun persistsToDisk(bubbles: SparseArray<List<BubbleEntity>>): Boolean { in persistsToDisk()
39 writeXml(stream, bubbles) in persistsToDisk()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt16 package com.android.wm.shell.bubbles in <lambda>()
29 import com.android.wm.shell.bubbles.Bubbles.BubbleMetadataFlagListener in <lambda>()
30 import com.android.wm.shell.bubbles.storage.BubbleEntity in <lambda>()
31 import com.android.wm.shell.bubbles.storage.BubblePersistentRepository in <lambda>()
32 import com.android.wm.shell.bubbles.storage.BubbleVolatileRepository in <lambda>()
69 fun addBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
71 val entities = transform(bubbles).also { in <lambda>()
79 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
81 val entities = transform(bubbles).also { in <lambda>()
140 private fun transform(bubbles: List<Bubble>): List<BubbleEntity> { in <lambda>()
[all …]
DBubbleDebugConfig.java17 package com.android.wm.shell.bubbles;
68 static String formatBubblesString(List<Bubble> bubbles, BubbleViewProvider selected) { in formatBubblesString() argument
70 for (int i = 0; i < bubbles.size(); i++) { in formatBubblesString()
71 Bubble bubble = bubbles.get(i); in formatBubblesString()
86 if (i != bubbles.size() - 1) { in formatBubblesString()
DBubbleEducationController.kt16 package com.android.wm.shell.bubbles
21 import com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_USER_EDUCATION
22 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES
23 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME
DBubblesNavBarGestureTracker.java17 package com.android.wm.shell.bubbles;
19 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
20 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
33 import com.android.wm.shell.bubbles.BubblesNavBarMotionEventHandler.MotionEventListener;
DIBubbles.aidl17 package com.android.wm.shell.bubbles;
21 import com.android.wm.shell.bubbles.IBubblesListener;
22 import com.android.wm.shell.common.bubbles.BubbleBarLocation;
DBubblePopupViewExt.kt16 package com.android.wm.shell.bubbles
20 import com.android.wm.shell.common.bubbles.BubblePopupDrawable
21 import com.android.wm.shell.common.bubbles.BubblePopupView
DIBubblesListener.aidl17 package com.android.wm.shell.bubbles;
20 import com.android.wm.shell.common.bubbles.BubbleBarLocation;
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
DBubblePersistentRepositoryTest.kt17 package com.android.wm.shell.bubbles.storage
55 private val bubbles = SparseArray<List<BubbleEntity>>() constant in com.android.wm.shell.bubbles.storage.BubblePersistentRepositoryTest
62 bubbles.put(0, user0Bubbles) in setup()
63 bubbles.put(1, user1Bubbles) in setup()
79 repository.persistsToDisk(bubbles) in testReadWriteOperation()
80 assertTrue(bubbles.contentEquals(repository.readFromDisk())) in testReadWriteOperation()
DBubbleXmlHelperTest.kt17 package com.android.wm.shell.bubbles.storage
54 private val bubbles = SparseArray<List<BubbleEntity>>() constant in com.android.wm.shell.bubbles.storage.BubbleXmlHelperTest
58 bubbles.put(0, user0Bubbles) in setup()
59 bubbles.put(1, user1Bubbles) in setup()
77 writeXml(it, bubbles) in testWriteXml()
102 assertTrue("failed parsing bubbles from xml\n$src", bubbles.contentEquals(actual)) in testReadXml()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarLayerView.java17 package com.android.wm.shell.bubbles.bar;
21 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_USER_GESTURE;
38 import com.android.wm.shell.bubbles.Bubble;
39 import com.android.wm.shell.bubbles.BubbleController;
40 import com.android.wm.shell.bubbles.BubbleData;
41 import com.android.wm.shell.bubbles.BubbleOverflow;
42 import com.android.wm.shell.bubbles.BubblePositioner;
43 import com.android.wm.shell.bubbles.BubbleViewProvider;
44 import com.android.wm.shell.bubbles.DeviceConfig;
45 import com.android.wm.shell.bubbles.DismissViewUtils;
[all …]
DBubbleEducationViewController.kt16 package com.android.wm.shell.bubbles.bar
31 import com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_USER_EDUCATION
32 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES
33 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME
34 import com.android.wm.shell.bubbles.BubbleEducationController
35 import com.android.wm.shell.bubbles.BubbleViewProvider
36 import com.android.wm.shell.bubbles.setup
37 import com.android.wm.shell.common.bubbles.BubblePopupDrawable
38 import com.android.wm.shell.common.bubbles.BubblePopupView
DBubbleExpandedViewPinController.kt17 package com.android.wm.shell.bubbles.bar in <lambda>()
27 import com.android.wm.shell.bubbles.BubblePositioner in <lambda>()
28 import com.android.wm.shell.common.bubbles.BaseBubblePinController in <lambda>()
29 import com.android.wm.shell.common.bubbles.BubbleBarLocation in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/bubbles/
DBubbleBarLocationTest.kt16 package com.android.wm.shell.common.bubbles
21 import com.android.wm.shell.common.bubbles.BubbleBarLocation.DEFAULT
22 import com.android.wm.shell.common.bubbles.BubbleBarLocation.LEFT
23 import com.android.wm.shell.common.bubbles.BubbleBarLocation.RIGHT
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/wm/shell/bubbles/
DBubblesKosmos.kt17 package com.android.wm.shell.bubbles
23 var Kosmos.bubblesOptional by Kosmos.Fixture { Optional.of(bubbles) } in <lambda>()
24 var Kosmos.bubbles by Kosmos.Fixture { mock<Bubbles> {} } in <lambda>() variable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DTestableBubbleController.java29 import com.android.wm.shell.bubbles.BubbleController;
30 import com.android.wm.shell.bubbles.BubbleData;
31 import com.android.wm.shell.bubbles.BubbleDataRepository;
32 import com.android.wm.shell.bubbles.BubbleLogger;
33 import com.android.wm.shell.bubbles.BubblePositioner;
34 import com.android.wm.shell.bubbles.properties.BubbleProperties;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorTest.kt46 import com.android.wm.shell.bubbles.Bubbles
59 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.NotificationIconsInteractorTest
76 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create()
98 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles()
158 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.AlwaysOnDisplayNotificationIconsInteractorTest
183 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create()
198 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles()
270 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.StatusBarNotificationIconsInteractorTest
289 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create()
304 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles()
/frameworks/base/libs/WindowManager/Shell/aconfig/
Dmultitasking.aconfig45 description: "Enables new animations for expand and collapse for bubbles"
73 description: "Hides the bubble overflow if there aren't any overflowed bubbles"
80 description: "Allow opening bubbles overflow UI without bubbles being visible"
108 description: "Allow reusing bubbled tasks for new activities only when launching from bubbles"
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestUtil.kt35 import com.android.wm.shell.bubbles.Bubbles
60 bubbles: Optional<Bubbles>, in createProviderByFlag()
82 bubbles in createProviderByFlag()
103 bubbles in createProviderByFlag()

1234567