/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | DreamHomeControlsComplicationTest.java | 68 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 …]
|
D | SmartSpaceComplicationTest.java | 65 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()
|
D | DreamClockTimeComplicationTest.java | 55 private DreamClockTimeComplication mComplication; field in DreamClockTimeComplicationTest 100 mComplication, in testComplicationAdded() 103 verify(mDreamOverlayStateController).addComplication(eq(mComplication)); in testComplicationAdded()
|
D | ComplicationHostViewControllerTest.java | 78 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/ |
D | ComplicationViewModel.java | 27 private final Complication mComplication; field in ComplicationViewModel 40 mComplication = complication; in ComplicationViewModel() 58 return mComplication; in getComplication() 70 return mId + "=" + mComplication.toString(); in toString()
|
D | SmartSpaceComplication.java | 72 private final SmartSpaceComplication mComplication; field in SmartSpaceComplication.Registrant 82 mDreamOverlayStateController.removeComplication(mComplication); 91 mDreamOverlayStateController.addComplication(mComplication); 107 mComplication = smartSpaceComplication; in Registrant()
|
D | DreamClockTimeComplication.java | 70 private final DreamClockTimeComplication mComplication; field in DreamClockTimeComplication.Registrant 82 mComplication = dreamClockTimeComplication; in Registrant() 87 mDreamOverlayStateController.addComplication(mComplication); in onStart()
|
D | DreamHomeControlsComplication.java | 90 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()
|
D | OpenHubComplication.java | 76 private final OpenHubComplication mComplication; field in OpenHubComplication.Registrant 102 mComplication = complication; in Registrant()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayStateControllerTest.java | 59 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()
|