• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.customization.testing;
2 
3 import com.android.customization.model.clock.Clockface;
4 import com.android.customization.model.grid.GridOption;
5 import com.android.customization.model.theme.ThemeBundle;
6 import com.android.customization.module.ThemesUserEventLogger;
7 import com.android.wallpaper.testing.TestUserEventLogger;
8 
9 /**
10  * Test implementation of {@link ThemesUserEventLogger}.
11  */
12 public class TestThemesUserEventLogger extends TestUserEventLogger
13         implements ThemesUserEventLogger {
14     @Override
logThemeSelected(ThemeBundle theme, boolean isCustomTheme)15     public void logThemeSelected(ThemeBundle theme, boolean isCustomTheme) {
16         // Do nothing.
17     }
18 
19     @Override
logThemeApplied(ThemeBundle theme, boolean isCustomTheme)20     public void logThemeApplied(ThemeBundle theme, boolean isCustomTheme) {
21         // Do nothing.
22     }
23 
24     @Override
logColorApplied(int action, int colorIndex)25     public void logColorApplied(int action, int colorIndex) {
26         // Do nothing.
27     }
28 
29     @Override
logClockSelected(Clockface clock)30     public void logClockSelected(Clockface clock) {
31         // Do nothing.
32     }
33 
34     @Override
logClockApplied(Clockface clock)35     public void logClockApplied(Clockface clock) {
36         // Do nothing.
37     }
38 
39     @Override
logGridSelected(GridOption grid)40     public void logGridSelected(GridOption grid) {
41         // Do nothing.
42     }
43 
44     @Override
logGridApplied(GridOption grid)45     public void logGridApplied(GridOption grid) {
46         // Do nothing.
47     }
48 }
49