Beispiel #1
0
 @Provides
 @Singleton
 @ScalpelWireframeEnabled
 Preference<Boolean> provideScalpelWireframeEnabled(RxSharedPreferences preferences) {
   return preferences.getBoolean(
       "debug_scalpel_wireframe_drawer", DEFAULT_SCALPEL_WIREFRAME_ENABLED);
 }
Beispiel #2
0
 @Provides
 @Singleton
 @ScalpelEnabled
 Preference<Boolean> provideScalpelEnabled(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_scalpel_enabled", DEFAULT_SCALPEL_ENABLED);
 }
Beispiel #3
0
 @Provides
 @Singleton
 @SeenDebugDrawer
 Preference<Boolean> provideSeenDebugDrawer(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_seen_debug_drawer", DEFAULT_SEEN_DEBUG_DRAWER);
 }
Beispiel #4
0
 @Provides
 @Singleton
 @PixelRatioEnabled
 Preference<Boolean> providePixelRatioEnabled(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_pixel_ratio_enabled", DEFAULT_PIXEL_RATIO_ENABLED);
 }
Beispiel #5
0
 @Provides
 @Singleton
 @PixelGridEnabled
 Preference<Boolean> providePixelGridEnabled(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_pixel_grid_enabled", DEFAULT_PIXEL_GRID_ENABLED);
 }
Beispiel #6
0
 @Provides
 @Singleton
 @PicassoDebugging
 Preference<Boolean> providePicassoDebugging(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_picasso_debugging", DEFAULT_PICASSO_DEBUGGING);
 }
Beispiel #7
0
 @Provides
 @Singleton
 @CaptureIntents
 Preference<Boolean> provideCaptureIntentsPreference(RxSharedPreferences preferences) {
   return preferences.getBoolean("debug_capture_intents", DEFAULT_CAPTURE_INTENTS);
 }