static { mBackgroundThumbnailsListItems.add(null, R.string.use_default_setting); mBackgroundThumbnailsListItems.add(false, R.string.generate_immediately); mBackgroundThumbnailsListItems.add(true, R.string.use_background_thread); mBackgroundThumbnailsProperty.setWeight(100); mBackgroundThumbnailsProperty.setGlobal(true); }
static { mCacheThumbnailsListItems.add(null, R.string.use_default_setting); mCacheThumbnailsListItems.add(false, R.string.resize_each_time); mCacheThumbnailsListItems.add(true, R.string.cache_resized_thumbnails_for_later_use); mCacheThumbnailsProperty.setWeight(100); mCacheThumbnailsProperty.setGlobal(true); }
/** * Convenience Accessor. * * @return */ public static final boolean isBackgroundThumbnailsEnabled() { return mBackgroundThumbnailsProperty.getResolvedValue(); }
/** * Convenience Accessor. * * @return */ public static final boolean isThumbnailCacheEnabled() { return mCacheThumbnailsProperty.getResolvedValue(); }
/** * Convenience Accessor. * * @return */ public static final boolean isBackgroundFlat() { return mFlatBackgroundProperty.getResolvedValue(); }
static { mFlatBackgroundListItems.add(null, R.string.use_default_setting); mFlatBackgroundListItems.add(false, R.string.textured_backgroud); mFlatBackgroundListItems.add(true, R.string.plain_background_b_reduces_flicker_b); mFlatBackgroundProperty.setGlobal(true); }