Home
last modified time | relevance | path

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

1234

/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>()
28 import com.android.wm.shell.bubbles.Bubbles.BubbleMetadataFlagListener in <lambda>()
29 import com.android.wm.shell.bubbles.storage.BubbleEntity in <lambda>()
30 import com.android.wm.shell.bubbles.storage.BubblePersistentRepository in <lambda>()
31 import com.android.wm.shell.bubbles.storage.BubbleVolatileRepository in <lambda>()
68 fun addBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
70 val entities = transform(bubbles).also { in <lambda>()
78 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>()
80 val entities = transform(bubbles).also { in <lambda>()
101 private fun transform(bubbles: List<Bubble>): List<BubbleEntity> { in <lambda>()
[all …]
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;
32 import com.android.wm.shell.bubbles.BubblesNavBarMotionEventHandler.MotionEventListener;
DBubbleDebugConfig.java17 package com.android.wm.shell.bubbles;
66 static String formatBubblesString(List<Bubble> bubbles, BubbleViewProvider selected) { in formatBubblesString() argument
68 for (Bubble bubble : bubbles) { in formatBubblesString()
DBubblesNavBarMotionEventHandler.java17 package com.android.wm.shell.bubbles;
19 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_GESTURE;
20 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
21 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
DBubbleViewInfoTask.java17 package com.android.wm.shell.bubbles;
19 import static com.android.wm.shell.bubbles.BadgedImageView.DEFAULT_PATH_SIZE;
20 import static com.android.wm.shell.bubbles.BadgedImageView.WHITE_SCRIM_ALPHA;
21 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
22 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
DBubbleController.java17 package com.android.wm.shell.bubbles;
27 import static com.android.wm.shell.bubbles.Bubble.KEY_APP_BUBBLE;
28 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_CONTROLLER;
29 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_GESTURE;
30 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
31 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
32 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_BLOCKED;
33 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_GROUP_CANCELLED;
34 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_INVALID_INTENT;
35 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_NOTIF_CANCEL;
[all …]
DBubbleStackView.java17 package com.android.wm.shell.bubbles;
24 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_GESTURE;
25 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_BUBBLE_STACK_VIEW;
26 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
27 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
28 import static com.android.wm.shell.bubbles.BubblePositioner.NUM_VISIBLE_WHEN_RESTING;
81 import com.android.wm.shell.bubbles.BubblesNavBarMotionEventHandler.MotionEventListener;
82 import com.android.wm.shell.bubbles.animation.AnimatableScaleMatrix;
83 import com.android.wm.shell.bubbles.animation.ExpandedAnimationController;
84 import com.android.wm.shell.bubbles.animation.ExpandedViewAnimationController;
[all …]
/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/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt36 import com.android.wm.shell.bubbles.Bubbles in <lambda>()
60 @Mock lateinit var bubbles: Bubbles in <lambda>() variable in com.android.systemui.notetask.NoteTaskControllerTest
74 whenever(optionalBubbles.orElse(null)).thenReturn(bubbles) in <lambda>()
111 verifyZeroInteractions(bubbles) in <lambda>()
132 verify(bubbles).showOrHideAppBubble(capture(intentCaptor)) in <lambda>()
155 verify(bubbles).showOrHideAppBubble(capture(intentCaptor)) in <lambda>()
183 verifyZeroInteractions(bubbles) in <lambda>()
198 verifyZeroInteractions(context, bubbles, uiEventLogger) in <lambda>()
211 verifyZeroInteractions(context, bubbles, uiEventLogger) in <lambda>()
224 verifyZeroInteractions(context, bubbles, uiEventLogger) in <lambda>()
[all …]
DNoteTaskInitializerTest.kt27 import com.android.wm.shell.bubbles.Bubbles
50 @Mock lateinit var bubbles: Bubbles variable in com.android.systemui.notetask.NoteTaskInitializerTest
59 whenever(optionalBubbles.orElse(null)).thenReturn(bubbles) in setUp()
/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;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedViewAnimationControllerImpl.java16 package com.android.wm.shell.bubbles.animation;
18 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_COLLAPSE_ANIMATOR;
19 import static com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_EXPANDED_VIEW_DRAGGING;
20 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
21 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
22 import static com.android.wm.shell.bubbles.BubbleExpandedView.BACKGROUND_ALPHA;
23 import static com.android.wm.shell.bubbles.BubbleExpandedView.BOTTOM_CLIP_PROPERTY;
24 import static com.android.wm.shell.bubbles.BubbleExpandedView.CONTENT_ALPHA;
25 import static com.android.wm.shell.bubbles.BubbleExpandedView.MANAGE_BUTTON_ALPHA;
46 import com.android.wm.shell.bubbles.BubbleExpandedView;
[all …]
DExpandedViewAnimationController.java16 package com.android.wm.shell.bubbles.animation;
18 import com.android.wm.shell.bubbles.BubbleExpandedView;
DOneTimeEndListener.java17 package com.android.wm.shell.bubbles.animation;
DExpandedAnimationController.java17 package com.android.wm.shell.bubbles.animation;
21 import static com.android.wm.shell.bubbles.BubblePositioner.NUM_VISIBLE_WHEN_RESTING;
22 import static com.android.wm.shell.bubbles.BubbleStackView.ENABLE_FLING_TO_DISMISS_BUBBLE;
38 import com.android.wm.shell.bubbles.BubblePositioner;
39 import com.android.wm.shell.bubbles.BubbleStackView;
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DBubbleOverflowTest.java30 import com.android.wm.shell.bubbles.BubbleController;
31 import com.android.wm.shell.bubbles.BubbleOverflow;
32 import com.android.wm.shell.bubbles.BubbleStackView;
33 import com.android.wm.shell.bubbles.TestableBubblePositioner;
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt32 import com.android.wm.shell.bubbles.Bubbles
76 val bubbles = optionalBubbles.getOrNull() ?: return in showNoteTask() constant
93 bubbles.showOrHideAppBubble(intent) in showNoteTask()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedViewAnimationControllerTest.java16 package com.android.wm.shell.bubbles.animation;
36 import com.android.wm.shell.bubbles.BubbleExpandedView;
37 import com.android.wm.shell.bubbles.TestableBubblePositioner;
DExpandedAnimationControllerTest.java17 package com.android.wm.shell.bubbles.animation;
41 import com.android.wm.shell.bubbles.BubblePositioner;
42 import com.android.wm.shell.bubbles.BubbleStackView;
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
DMultiBubblesScreen.kt69 val bubbles = device.wait(Until.findObjects( in <lambda>() constant
71 for (entry in bubbles) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java28 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES;
29 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME;
72 import com.android.wm.shell.bubbles.Bubble;
73 import com.android.wm.shell.bubbles.BubbleEntry;
74 import com.android.wm.shell.bubbles.Bubbles;
160 Bubbles bubbles, in BubblesManager() argument
177 mBubbles = bubbles; in BubblesManager()
201 bubbles.onStatusBarStateChanged(isUnlockedShade); in BubblesManager()

1234