Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java45 import com.android.systemui.plugins.ClockPlugin;
92 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginConnected_showPluginClock()
108 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginConnected_showPluginBigClock()
122 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginConnected_nullView()
130 ClockPlugin plugin1 = mock(ClockPlugin.class); in onPluginConnected_showSecondPluginClock()
134 ClockPlugin plugin2 = mock(ClockPlugin.class); in onPluginConnected_showSecondPluginClock()
147 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginConnected_darkAmountInitialized()
155 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginDisconnected_showDefaultClock()
174 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginDisconnected_hidePluginBigClock()
190 ClockPlugin plugin = mock(ClockPlugin.class); in onPluginDisconnected_nullView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java38 import com.android.systemui.plugins.ClockPlugin;
62 private final List<Supplier<ClockPlugin>> mBuiltinClocks = new ArrayList<>();
172 mPluginManager.addPluginListener(availableClocks, ClockPlugin.class, true); in addOnClockChangedListener()
199 ClockPlugin getCurrentClock() { in getCurrentClock()
213 private void addBuiltinClock(Supplier<ClockPlugin> pluginSupplier) { in addBuiltinClock()
214 ClockPlugin plugin = pluginSupplier.get(); in addBuiltinClock()
220 mPluginManager.addPluginListener(mPreviewClocks, ClockPlugin.class, true); in register()
246 final ClockPlugin clock = clocks.getCurrentClock(); in reload()
265 void onClockChanged(ClockPlugin clock); in onClockChanged()
271 private final class AvailableClocks implements PluginListener<ClockPlugin> {
[all …]
DDefaultClockController.java31 import com.android.systemui.plugins.ClockPlugin;
38 public class DefaultClockController implements ClockPlugin {
DAnalogClockController.java31 import com.android.systemui.plugins.ClockPlugin;
38 public class AnalogClockController implements ClockPlugin {
DBubbleClockController.java31 import com.android.systemui.plugins.ClockPlugin;
38 public class BubbleClockController implements ClockPlugin {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockPlugin.java27 @ProvidesInterface(action = ClockPlugin.ACTION, version = ClockPlugin.VERSION)
28 public interface ClockPlugin extends Plugin { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java40 import com.android.systemui.plugins.ClockPlugin;
149 ArgumentCaptor<ClockPlugin> captor = ArgumentCaptor.forClass(ClockPlugin.class); in onClockChanged_customClock()
161 ArgumentCaptor<ClockPlugin> captor1 = ArgumentCaptor.forClass(ClockPlugin.class); in onClockChanged_uniqueInstances()
162 ArgumentCaptor<ClockPlugin> captor2 = ArgumentCaptor.forClass(ClockPlugin.class); in onClockChanged_uniqueInstances()
/frameworks/base/packages/SystemUI/docs/
Dplugin_hooks.md55 Expected interface: [ClockPlugin](/packages/SystemUI/plugin/src/com/android/systemui/plugins/ClockP…
Dclock-plugins.md6 customized via the ClockPlugin plugin interface.
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java35 import com.android.systemui.plugins.ClockPlugin;
87 private ClockPlugin mClockPlugin;
222 private void setClockPlugin(ClockPlugin plugin) { in setClockPlugin()