Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamHomeControlsComplicationTest.java68 private DreamHomeControlsComplication mComplication; field in DreamHomeControlsComplicationTest
134 new DreamHomeControlsComplication.Registrant(mComplication, in complicationAvailability_serviceNotAvailable_noFavorites_doNotAddComplication()
141 verify(mDreamOverlayStateController, never()).addComplication(mComplication); in complicationAvailability_serviceNotAvailable_noFavorites_doNotAddComplication()
147 new DreamHomeControlsComplication.Registrant(mComplication, in complicationAvailability_serviceAvailable_noFavorites_doNotAddComplication()
154 verify(mDreamOverlayStateController, never()).addComplication(mComplication); in complicationAvailability_serviceAvailable_noFavorites_doNotAddComplication()
160 new DreamHomeControlsComplication.Registrant(mComplication, in complicationAvailability_serviceAvailable_noFavorites_panel_addComplication()
167 verify(mDreamOverlayStateController).addComplication(mComplication); in complicationAvailability_serviceAvailable_noFavorites_panel_addComplication()
173 new DreamHomeControlsComplication.Registrant(mComplication, in complicationAvailability_serviceNotAvailable_haveFavorites_doNotAddComplication()
180 verify(mDreamOverlayStateController, never()).addComplication(mComplication); in complicationAvailability_serviceNotAvailable_haveFavorites_doNotAddComplication()
186 new DreamHomeControlsComplication.Registrant(mComplication, in complicationAvailability_serviceAvailable_haveFavorites_addComplication()
[all …]
DSmartSpaceComplicationTest.java65 private SmartSpaceComplication mComplication; field in SmartSpaceComplicationTest
92 verify(mDreamOverlayStateController, never()).addComplication(eq(mComplication)); in testRegistrantStart_doesNotAddComplication()
150 verify(mDreamOverlayStateController).addComplication(eq(mComplication)); in testOverlayActive_targetsNonEmpty_addsComplication()
171 verify(mDreamOverlayStateController).addComplication(eq(mComplication)); in testOverlayActive_targetsEmpty_addsComplication()
191 verify(mDreamOverlayStateController).addComplication(eq(mComplication)); in testOverlayInActive_removesTargetListener_removesComplication()
197 verify(mDreamOverlayStateController).removeComplication(eq(mComplication)); in testOverlayInActive_removesTargetListener_removesComplication()
212 mComplication, in getRegistrant()
DDreamClockTimeComplicationTest.java55 private DreamClockTimeComplication mComplication; field in DreamClockTimeComplicationTest
100 mComplication, in testComplicationAdded()
103 verify(mDreamOverlayStateController).addComplication(eq(mComplication)); in testComplicationAdded()
DComplicationHostViewControllerTest.java78 Complication mComplication; field in ComplicationHostViewControllerTest
109 when(mComplicationViewModel.getComplication()).thenReturn(mComplication); in setup()
110 when(mComplication.createView(eq(mComplicationViewModel))).thenReturn(mViewHolder); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationViewModel.java27 private final Complication mComplication; field in ComplicationViewModel
40 mComplication = complication; in ComplicationViewModel()
58 return mComplication; in getComplication()
70 return mId + "=" + mComplication.toString(); in toString()
DSmartSpaceComplication.java72 private final SmartSpaceComplication mComplication; field in SmartSpaceComplication.Registrant
82 mDreamOverlayStateController.removeComplication(mComplication);
91 mDreamOverlayStateController.addComplication(mComplication);
107 mComplication = smartSpaceComplication; in Registrant()
DDreamClockTimeComplication.java70 private final DreamClockTimeComplication mComplication; field in DreamClockTimeComplication.Registrant
82 mComplication = dreamClockTimeComplication; in Registrant()
87 mDreamOverlayStateController.addComplication(mComplication); in onStart()
DDreamHomeControlsComplication.java90 private final DreamHomeControlsComplication mComplication; field in DreamHomeControlsComplication.Registrant
124 mComplication = complication; in Registrant()
140 mDreamOverlayStateController.addComplication(mComplication); in updateHomeControlsComplication()
142 mDreamOverlayStateController.removeComplication(mComplication); in updateHomeControlsComplication()
DOpenHubComplication.java76 private final OpenHubComplication mComplication; field in OpenHubComplication.Registrant
102 mComplication = complication; in Registrant()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayStateControllerTest.java59 Complication mComplication; field in DreamOverlayStateControllerTest
104 stateController.addComplication(mComplication); in testCallback()
112 assertTrue(complications.contains(mComplication)); in testCallback()
117 stateController.removeComplication(mComplication); in testCallback()
127 stateController.addComplication(mComplication); in testNotifyOnCallbackAdd()
140 stateController.addComplication(mComplication); in testNotifyOnCallbackAddOverlayDisabled()