├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md └── workflows │ └── gradle-wrapper-validation.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── adaptive.png ├── app ├── build.gradle ├── proguard-rules.pro └── src │ ├── debug │ └── res │ │ ├── drawable │ │ └── ic_launcher.png │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── mipmap-xxxhdpi │ │ └── ic_launcher.png │ ├── main │ ├── AndroidManifest.xml │ ├── aidl │ │ └── com │ │ │ └── android │ │ │ └── vending │ │ │ └── billing │ │ │ └── IInAppBillingService.aidl │ ├── ic_launcher-web.png │ ├── java │ │ ├── me │ │ │ └── ccrama │ │ │ │ └── redditslide │ │ │ │ ├── ActionStates.java │ │ │ │ ├── Activities │ │ │ │ ├── Album.java │ │ │ │ ├── AlbumPager.java │ │ │ │ ├── Announcement.java │ │ │ │ ├── BaseActivity.java │ │ │ │ ├── BaseActivityAnim.java │ │ │ │ ├── CancelSubNotifs.java │ │ │ │ ├── CommentSearch.java │ │ │ │ ├── CommentsScreen.java │ │ │ │ ├── CommentsScreenSingle.java │ │ │ │ ├── CreateMulti.java │ │ │ │ ├── Crosspost.java │ │ │ │ ├── DeleteFile.java │ │ │ │ ├── Discover.java │ │ │ │ ├── Draw.java │ │ │ │ ├── ForceTouchLink.java │ │ │ │ ├── FullScreenActivity.java │ │ │ │ ├── FullscreenVideo.java │ │ │ │ ├── Gallery.java │ │ │ │ ├── GalleryImage.java │ │ │ │ ├── Inbox.java │ │ │ │ ├── LiveThread.java │ │ │ │ ├── Loader.java │ │ │ │ ├── Login.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MakeExternal.java │ │ │ │ ├── MediaView.java │ │ │ │ ├── ModQueue.java │ │ │ │ ├── MultiredditOverview.java │ │ │ │ ├── NewsActivity.java │ │ │ │ ├── OpenContent.java │ │ │ │ ├── PostReadLater.java │ │ │ │ ├── Profile.java │ │ │ │ ├── ReaderMode.java │ │ │ │ ├── Reauthenticate.java │ │ │ │ ├── RedditGallery.java │ │ │ │ ├── RedditGalleryPager.java │ │ │ │ ├── Related.java │ │ │ │ ├── Search.java │ │ │ │ ├── SendMessage.java │ │ │ │ ├── SetupWidget.java │ │ │ │ ├── Shadowbox.java │ │ │ │ ├── ShadowboxComments.java │ │ │ │ ├── Shortcut.java │ │ │ │ ├── Slide.java │ │ │ │ ├── Submit.java │ │ │ │ ├── SubredditSearch.java │ │ │ │ ├── SubredditView.java │ │ │ │ ├── SwipeTutorial.java │ │ │ │ ├── Tumblr.java │ │ │ │ ├── TumblrPager.java │ │ │ │ ├── Tutorial.java │ │ │ │ ├── Website.java │ │ │ │ └── Wiki.java │ │ │ │ ├── Adapters │ │ │ │ ├── AlbumView.java │ │ │ │ ├── AsyncSave.java │ │ │ │ ├── BaseAdapter.java │ │ │ │ ├── CommentAdapter.java │ │ │ │ ├── CommentAdapterHelper.java │ │ │ │ ├── CommentAdapterSearch.java │ │ │ │ ├── CommentItem.java │ │ │ │ ├── CommentNavType.java │ │ │ │ ├── CommentObject.java │ │ │ │ ├── CommentUrlObject.java │ │ │ │ ├── CommentViewHolder.java │ │ │ │ ├── ContributionAdapter.java │ │ │ │ ├── ContributionPosts.java │ │ │ │ ├── ContributionPostsSaved.java │ │ │ │ ├── ErrorAdapter.java │ │ │ │ ├── GalleryView.java │ │ │ │ ├── GeneralPosts.java │ │ │ │ ├── HistoryPosts.java │ │ │ │ ├── ImageGridAdapter.java │ │ │ │ ├── ImageGridAdapterTumblr.java │ │ │ │ ├── InboxAdapter.java │ │ │ │ ├── InboxMessages.java │ │ │ │ ├── MarkAsReadService.java │ │ │ │ ├── MessageViewHolder.java │ │ │ │ ├── ModLogAdapter.java │ │ │ │ ├── ModLogPosts.java │ │ │ │ ├── ModeratorAdapter.java │ │ │ │ ├── ModeratorPosts.java │ │ │ │ ├── MoreChildItem.java │ │ │ │ ├── MoreCommentViewHolder.java │ │ │ │ ├── MultiredditAdapter.java │ │ │ │ ├── MultiredditPosts.java │ │ │ │ ├── NewsViewHolder.java │ │ │ │ ├── OfflineSubAdapter.java │ │ │ │ ├── ProfileCommentViewHolder.java │ │ │ │ ├── RedditGalleryView.java │ │ │ │ ├── SideArrayAdapter.java │ │ │ │ ├── SubChooseAdapter.java │ │ │ │ ├── SubmissionAdapter.java │ │ │ │ ├── SubmissionComments.java │ │ │ │ ├── SubmissionDisplay.java │ │ │ │ ├── SubmissionNewsAdapter.java │ │ │ │ ├── SubmissionViewHolder.java │ │ │ │ ├── SubredditAdapter.java │ │ │ │ ├── SubredditNames.java │ │ │ │ ├── SubredditPosts.java │ │ │ │ ├── SubredditPostsRealm.java │ │ │ │ ├── SubredditSearchPosts.java │ │ │ │ ├── SubredditViewHolder.java │ │ │ │ └── TumblrView.java │ │ │ │ ├── Authentication.java │ │ │ │ ├── Autocache │ │ │ │ ├── AutoCacheScheduler.java │ │ │ │ └── CacheAll.java │ │ │ │ ├── CaseInsensitiveArrayList.java │ │ │ │ ├── CheckInstall.java │ │ │ │ ├── ClickableText.java │ │ │ │ ├── CommentCacheAsync.java │ │ │ │ ├── Constants.java │ │ │ │ ├── ContentGrabber.java │ │ │ │ ├── ContentType.java │ │ │ │ ├── DataShare.java │ │ │ │ ├── Drafts.java │ │ │ │ ├── Flair │ │ │ │ ├── RichFlair.java │ │ │ │ └── Richtext.java │ │ │ │ ├── ForceTouch │ │ │ │ ├── PeekView.java │ │ │ │ ├── PeekViewActivity.java │ │ │ │ ├── builder │ │ │ │ │ ├── Peek.java │ │ │ │ │ └── PeekViewOptions.java │ │ │ │ ├── callback │ │ │ │ │ ├── OnButtonUp.java │ │ │ │ │ ├── OnPeek.java │ │ │ │ │ ├── OnPop.java │ │ │ │ │ ├── OnRemove.java │ │ │ │ │ └── SimpleOnPeek.java │ │ │ │ └── util │ │ │ │ │ ├── DensityUtils.java │ │ │ │ │ └── NavigationUtils.java │ │ │ │ ├── Fragments │ │ │ │ ├── AlbumFull.java │ │ │ │ ├── AlbumFullComments.java │ │ │ │ ├── BlankFragment.java │ │ │ │ ├── CommentPage.java │ │ │ │ ├── ContributionsView.java │ │ │ │ ├── DrawerItemsDialog.java │ │ │ │ ├── FolderChooserDialogCreate.java │ │ │ │ ├── HistoryView.java │ │ │ │ ├── Image.java │ │ │ │ ├── InboxPage.java │ │ │ │ ├── MediaFragment.java │ │ │ │ ├── MediaFragmentComment.java │ │ │ │ ├── ModLog.java │ │ │ │ ├── ModPage.java │ │ │ │ ├── MultiredditView.java │ │ │ │ ├── NewsView.java │ │ │ │ ├── OnFlingGestureListener.java │ │ │ │ ├── ReadLaterView.java │ │ │ │ ├── SelftextFull.java │ │ │ │ ├── SubmissionsView.java │ │ │ │ ├── SubredditListView.java │ │ │ │ ├── TitleFull.java │ │ │ │ ├── TumblrFull.java │ │ │ │ └── WikiPage.java │ │ │ │ ├── HasSeen.java │ │ │ │ ├── Hidden.java │ │ │ │ ├── ImageFlairs.java │ │ │ │ ├── ImgurAlbum │ │ │ │ ├── AlbumImage.java │ │ │ │ ├── AlbumUtils.java │ │ │ │ ├── Data.java │ │ │ │ ├── Image.java │ │ │ │ ├── SingleAlbumImage.java │ │ │ │ ├── SingleImage.java │ │ │ │ ├── UploadImgur.java │ │ │ │ └── UploadImgurAlbum.java │ │ │ │ ├── LastComments.java │ │ │ │ ├── Notifications │ │ │ │ ├── CheckForMail.java │ │ │ │ ├── CheckForMailSingle.java │ │ │ │ ├── ImageDownloadNotificationService.java │ │ │ │ ├── NotificationJobScheduler.java │ │ │ │ ├── NotificationPiggyback.java │ │ │ │ └── StartOnBoot.java │ │ │ │ ├── OfflineSubreddit.java │ │ │ │ ├── OpenRedditLink.java │ │ │ │ ├── PostLoader.java │ │ │ │ ├── PostMatch.java │ │ │ │ ├── Reddit.java │ │ │ │ ├── SecretConstants.java │ │ │ │ ├── SettingValues.java │ │ │ │ ├── SpoilerRobotoTextView.java │ │ │ │ ├── StackRemoteViewsFactory.java │ │ │ │ ├── StackWidgetService.java │ │ │ │ ├── SubmissionCache.java │ │ │ │ ├── SubmissionViews │ │ │ │ ├── HeaderImageLinkView.java │ │ │ │ ├── OpenVRedditTask.java │ │ │ │ ├── PopulateBase.java │ │ │ │ ├── PopulateNewsViewHolder.java │ │ │ │ ├── PopulateShadowboxInfo.java │ │ │ │ ├── PopulateSubmissionViewHolder.java │ │ │ │ └── ReadLater.java │ │ │ │ ├── SwipeLayout │ │ │ │ ├── SwipeBackLayout.java │ │ │ │ ├── Utils.java │ │ │ │ ├── ViewDragHelper.java │ │ │ │ └── app │ │ │ │ │ ├── SwipeBackActivity.java │ │ │ │ │ ├── SwipeBackActivityBase.java │ │ │ │ │ └── SwipeBackActivityHelper.java │ │ │ │ ├── Synccit │ │ │ │ ├── MySynccitReadTask.java │ │ │ │ ├── MySynccitUpdateTask.java │ │ │ │ ├── SynccitRead.java │ │ │ │ ├── SynccitReadTask.java │ │ │ │ ├── SynccitResponse.java │ │ │ │ ├── SynccitTask.java │ │ │ │ ├── SynccitUpdateTask.java │ │ │ │ └── http │ │ │ │ │ ├── HttpClientFactory.java │ │ │ │ │ └── HttpPostTask.java │ │ │ │ ├── Toolbox │ │ │ │ ├── RemovalReasons.java │ │ │ │ ├── Toolbox.java │ │ │ │ ├── ToolboxConfig.java │ │ │ │ ├── ToolboxUI.java │ │ │ │ ├── Usernote.java │ │ │ │ └── Usernotes.java │ │ │ │ ├── Tumblr │ │ │ │ ├── AltSize.java │ │ │ │ ├── Blog.java │ │ │ │ ├── Blog_.java │ │ │ │ ├── Meta.java │ │ │ │ ├── OriginalSize.java │ │ │ │ ├── Photo.java │ │ │ │ ├── Post.java │ │ │ │ ├── Post_.java │ │ │ │ ├── Reblog.java │ │ │ │ ├── Response.java │ │ │ │ ├── Theme.java │ │ │ │ ├── Trail.java │ │ │ │ ├── TumblrPost.java │ │ │ │ └── TumblrUtils.java │ │ │ │ ├── UserSubscriptions.java │ │ │ │ ├── UserTags.java │ │ │ │ ├── Views │ │ │ │ ├── AutoHideFAB.java │ │ │ │ ├── AutoMarkupTextView.java │ │ │ │ ├── CanvasView.java │ │ │ │ ├── CatchStaggeredGridLayoutManager.java │ │ │ │ ├── CommentOverflow.java │ │ │ │ ├── CreateCardView.java │ │ │ │ ├── CustomQuoteSpan.java │ │ │ │ ├── DoEditorActions.java │ │ │ │ ├── ExoVideoView.java │ │ │ │ ├── ImageInsertEditText.java │ │ │ │ ├── ImageSource.java │ │ │ │ ├── MaxHeightImageView.java │ │ │ │ ├── NestedWebView.java │ │ │ │ ├── PeekMediaView.java │ │ │ │ ├── PreCachingLayoutManager.java │ │ │ │ ├── PreCachingLayoutManagerComments.java │ │ │ │ ├── RapidImageRegionDecoder.java │ │ │ │ ├── RedditItemView.java │ │ │ │ ├── RevealRelativeLayout.java │ │ │ │ ├── RoundImageTriangleView.java │ │ │ │ ├── RoundedBackgroundSpan.java │ │ │ │ ├── SidebarLayout.java │ │ │ │ ├── SubsamplingScaleImageView.java │ │ │ │ ├── TitleTextView.java │ │ │ │ ├── ToggleSwipeViewPager.java │ │ │ │ ├── ToolbarColorizeHelper.java │ │ │ │ ├── TransparentTagTextView.java │ │ │ │ └── WebViewOverScrollDecoratorAdapter.java │ │ │ │ ├── Visuals │ │ │ │ ├── ColorPreferences.java │ │ │ │ ├── FontPreferences.java │ │ │ │ ├── GetClosestColor.java │ │ │ │ └── Palette.java │ │ │ │ ├── Vote.java │ │ │ │ ├── Widget │ │ │ │ ├── ListViewRemoteViewsFactory.java │ │ │ │ ├── ListViewWidgetService.java │ │ │ │ └── SubredditWidgetProvider.java │ │ │ │ ├── handler │ │ │ │ ├── TextViewLinkHandler.java │ │ │ │ └── ToolbarScrollHideHandler.java │ │ │ │ ├── ui │ │ │ │ └── settings │ │ │ │ │ ├── DonateView.java │ │ │ │ │ ├── EditCardsLayout.java │ │ │ │ │ ├── ManageOfflineContent.java │ │ │ │ │ ├── ManageOfflineContentFragment.java │ │ │ │ │ ├── RestartActivity.java │ │ │ │ │ ├── SettingsAbout.java │ │ │ │ │ ├── SettingsActivity.java │ │ │ │ │ ├── SettingsComments.java │ │ │ │ │ ├── SettingsCommentsFragment.java │ │ │ │ │ ├── SettingsData.java │ │ │ │ │ ├── SettingsDataFragment.java │ │ │ │ │ ├── SettingsFilter.java │ │ │ │ │ ├── SettingsFont.java │ │ │ │ │ ├── SettingsFontFragment.java │ │ │ │ │ ├── SettingsGeneral.java │ │ │ │ │ ├── SettingsGeneralFragment.java │ │ │ │ │ ├── SettingsHandling.java │ │ │ │ │ ├── SettingsHandlingFragment.java │ │ │ │ │ ├── SettingsHistory.java │ │ │ │ │ ├── SettingsHistoryFragment.java │ │ │ │ │ ├── SettingsLibs.java │ │ │ │ │ ├── SettingsModeration.java │ │ │ │ │ ├── SettingsModerationFragment.java │ │ │ │ │ ├── SettingsReddit.java │ │ │ │ │ ├── SettingsRedditFragment.java │ │ │ │ │ ├── SettingsSubAdapter.java │ │ │ │ │ ├── SettingsSubreddit.java │ │ │ │ │ ├── SettingsSynccit.java │ │ │ │ │ ├── SettingsTheme.java │ │ │ │ │ ├── SettingsThemeFragment.java │ │ │ │ │ ├── SettingsViewType.java │ │ │ │ │ └── dragSort │ │ │ │ │ ├── DragSortRecycler.java │ │ │ │ │ └── ReorderSubreddits.java │ │ │ │ └── util │ │ │ │ ├── AdBlocker.java │ │ │ │ ├── AnimatorUtil.java │ │ │ │ ├── BlendModeUtil.java │ │ │ │ ├── ClipboardUtil.java │ │ │ │ ├── CompatUtil.java │ │ │ │ ├── CustomTabsHelper.java │ │ │ │ ├── DialogUtil.java │ │ │ │ ├── DisplayUtil.java │ │ │ │ ├── DrawableUtil.java │ │ │ │ ├── EditTextValidator.java │ │ │ │ ├── FileUtil.java │ │ │ │ ├── GifCache.java │ │ │ │ ├── GifUtils.java │ │ │ │ ├── HttpUtil.java │ │ │ │ ├── ImageExtractor.java │ │ │ │ ├── ImageLoaderUnescape.java │ │ │ │ ├── ImageLoaderUtils.java │ │ │ │ ├── ImageUtil.java │ │ │ │ ├── ImgurUtils.java │ │ │ │ ├── JsonUtil.java │ │ │ │ ├── KeyboardUtil.java │ │ │ │ ├── LayoutUtils.java │ │ │ │ ├── LinkUtil.java │ │ │ │ ├── LogUtil.java │ │ │ │ ├── MiscUtil.java │ │ │ │ ├── NetworkStateReceiver.java │ │ │ │ ├── NetworkUtil.java │ │ │ │ ├── OkHttpImageDownloader.java │ │ │ │ ├── OnSingleClickListener.java │ │ │ │ ├── PhotoLoader.java │ │ │ │ ├── ProUtil.java │ │ │ │ ├── ProgressRequestBody.java │ │ │ │ ├── ShareUtil.java │ │ │ │ ├── SoftKeyboardStateWatcher.java │ │ │ │ ├── SortingUtil.java │ │ │ │ ├── StringUtil.java │ │ │ │ ├── SubmissionParser.java │ │ │ │ ├── TimeUtils.java │ │ │ │ ├── TitleExtractor.java │ │ │ │ ├── TwitterObject.java │ │ │ │ ├── UpgradeUtil.java │ │ │ │ ├── billing │ │ │ │ ├── Base64.java │ │ │ │ ├── Base64DecoderException.java │ │ │ │ ├── IabException.java │ │ │ │ ├── IabHelper.java │ │ │ │ ├── IabResult.java │ │ │ │ ├── Inventory.java │ │ │ │ ├── Purchase.java │ │ │ │ ├── Security.java │ │ │ │ └── SkuDetails.java │ │ │ │ └── stubs │ │ │ │ └── SimpleTextWatcher.java │ │ └── uz │ │ │ └── shift │ │ │ └── colorpicker │ │ │ ├── LineColorPicker.java │ │ │ ├── OnColorChangedListener.java │ │ │ └── Palette.java │ └── res │ │ ├── anim-v21 │ │ ├── slide_in.xml │ │ └── slide_out.xml │ │ ├── anim │ │ ├── fade_in_real.xml │ │ ├── fade_out.xml │ │ ├── fading_out_real.xml │ │ ├── fast_out_slow_in.xml │ │ ├── pop_in.xml │ │ ├── pop_out.xml │ │ ├── slide_down_fade_out.xml │ │ ├── slide_in.xml │ │ ├── slide_out.xml │ │ ├── slide_up_fade_in.xml │ │ └── slideright.xml │ │ ├── drawable-hdpi │ │ ├── chameleon.jpg │ │ └── slogo.png │ │ ├── drawable-mdpi │ │ ├── chameleon.jpg │ │ └── slogo.png │ │ ├── drawable-v21 │ │ ├── commentback.xml │ │ └── cursor.xml │ │ ├── drawable-xhdpi │ │ ├── chameleon.jpg │ │ └── slogo.png │ │ ├── drawable-xxhdpi │ │ ├── chameleon.jpg │ │ └── slogo.png │ │ ├── drawable-xxxhdpi │ │ ├── chameleon.jpg │ │ └── slogo.png │ │ ├── drawable │ │ ├── backdrop_welcome.xml │ │ ├── blackandwhite.png │ │ ├── circle.xml │ │ ├── commentback.xml │ │ ├── cursor.xml │ │ ├── flairback.xml │ │ ├── gold.png │ │ ├── ic_account_circle.xml │ │ ├── ic_add.xml │ │ ├── ic_alternate_email.xml │ │ ├── ic_announcement.xml │ │ ├── ic_arrow_back.xml │ │ ├── ic_arrow_downward.xml │ │ ├── ic_arrow_upward.xml │ │ ├── ic_backup.xml │ │ ├── ic_book.xml │ │ ├── ic_bookmark_border.xml │ │ ├── ic_card_giftcard.xml │ │ ├── ic_check_circle.xml │ │ ├── ic_close.xml │ │ ├── ic_cloud.xml │ │ ├── ic_cloud_download.xml │ │ ├── ic_cloud_off.xml │ │ ├── ic_cloud_upload.xml │ │ ├── ic_colorize.xml │ │ ├── ic_comment.xml │ │ ├── ic_content_copy.xml │ │ ├── ic_crown.xml │ │ ├── ic_dark_mode.xml │ │ ├── ic_dashboard.xml │ │ ├── ic_delete.xml │ │ ├── ic_done.xml │ │ ├── ic_done_all.xml │ │ ├── ic_download.xml │ │ ├── ic_drag_handle.xml │ │ ├── ic_edit.xml │ │ ├── ic_email.xml │ │ ├── ic_explore.xml │ │ ├── ic_filter_list.xml │ │ ├── ic_flag.xml │ │ ├── ic_folder.xml │ │ ├── ic_folder_open.xml │ │ ├── ic_format_bold.xml │ │ ├── ic_format_italic.xml │ │ ├── ic_format_list_bulleted.xml │ │ ├── ic_format_list_numbered.xml │ │ ├── ic_format_quote.xml │ │ ├── ic_format_strikethrough.xml │ │ ├── ic_forum.xml │ │ ├── ic_forward.xml │ │ ├── ic_gavel.xml │ │ ├── ic_gesture.xml │ │ ├── ic_high_quality.xml │ │ ├── ic_history.xml │ │ ├── ic_image.xml │ │ ├── ic_info.xml │ │ ├── ic_invert_colors.xml │ │ ├── ic_keyboard_arrow_down.xml │ │ ├── ic_keyboard_arrow_up.xml │ │ ├── ic_launcher.png │ │ ├── ic_link.xml │ │ ├── ic_local_offer.xml │ │ ├── ic_lock.xml │ │ ├── ic_more_vert.xml │ │ ├── ic_note.xml │ │ ├── ic_notifications.xml │ │ ├── ic_notifications_active.xml │ │ ├── ic_notifications_off.xml │ │ ├── ic_open_in_browser.xml │ │ ├── ic_open_in_new.xml │ │ ├── ic_palette.xml │ │ ├── ic_person.xml │ │ ├── ic_photo_library.xml │ │ ├── ic_play_arrow.xml │ │ ├── ic_public.xml │ │ ├── ic_push_pin.xml │ │ ├── ic_refresh.xml │ │ ├── ic_remove_circle.xml │ │ ├── ic_reply.xml │ │ ├── ic_report.xml │ │ ├── ic_save.xml │ │ ├── ic_search.xml │ │ ├── ic_send.xml │ │ ├── ic_settings.xml │ │ ├── ic_share.xml │ │ ├── ic_sort.xml │ │ ├── ic_sort_by_alpha.xml │ │ ├── ic_star.xml │ │ ├── ic_stars.xml │ │ ├── ic_sync.xml │ │ ├── ic_text_fields.xml │ │ ├── ic_thumb_up.xml │ │ ├── ic_undo.xml │ │ ├── ic_verified_user.xml │ │ ├── ic_view_agenda.xml │ │ ├── ic_view_array.xml │ │ ├── ic_view_carousel.xml │ │ ├── ic_view_day.xml │ │ ├── ic_view_module.xml │ │ ├── ic_visibility.xml │ │ ├── ic_visibility_off.xml │ │ ├── ic_volume_off.xml │ │ ├── matiasduarte.png │ │ ├── notif.png │ │ ├── nsfw.png │ │ ├── platinum.png │ │ ├── reddit.png │ │ ├── roundedback.xml │ │ ├── settingsbg.xml │ │ ├── shadow_bottom.png │ │ ├── shadow_left.png │ │ ├── shadow_right.png │ │ ├── shadow_top.png │ │ ├── silver.png │ │ ├── spoiler.png │ │ ├── swipe.xml │ │ ├── synccit.png │ │ └── web.png │ │ ├── layout │ │ ├── account_pop.xml │ │ ├── account_textview.xml │ │ ├── account_textview_white.xml │ │ ├── activity_createmulti.xml │ │ ├── activity_crosspost.xml │ │ ├── activity_donate.xml │ │ ├── activity_draw.xml │ │ ├── activity_filtercomments.xml │ │ ├── activity_force_touch_content.xml │ │ ├── activity_fragmentinner.xml │ │ ├── activity_inbox.xml │ │ ├── activity_livethread.xml │ │ ├── activity_loading.xml │ │ ├── activity_login.xml │ │ ├── activity_manage_history.xml │ │ ├── activity_manage_history_child.xml │ │ ├── activity_media.xml │ │ ├── activity_multireddits.xml │ │ ├── activity_news.xml │ │ ├── activity_overview.xml │ │ ├── activity_overview_tabs.xml │ │ ├── activity_profile.xml │ │ ├── activity_read_later.xml │ │ ├── activity_reader.xml │ │ ├── activity_search.xml │ │ ├── activity_sendmessage.xml │ │ ├── activity_settings.xml │ │ ├── activity_settings_about.xml │ │ ├── activity_settings_child.xml │ │ ├── activity_settings_comments.xml │ │ ├── activity_settings_comments_child.xml │ │ ├── activity_settings_datasaving.xml │ │ ├── activity_settings_datasaving_child.xml │ │ ├── activity_settings_filters.xml │ │ ├── activity_settings_font.xml │ │ ├── activity_settings_font_child.xml │ │ ├── activity_settings_general.xml │ │ ├── activity_settings_general_child.xml │ │ ├── activity_settings_handling.xml │ │ ├── activity_settings_handling_child.xml │ │ ├── activity_settings_history.xml │ │ ├── activity_settings_history_child.xml │ │ ├── activity_settings_libs.xml │ │ ├── activity_settings_moderation.xml │ │ ├── activity_settings_moderation_child.xml │ │ ├── activity_settings_reddit.xml │ │ ├── activity_settings_reddit_child.xml │ │ ├── activity_settings_subreddit.xml │ │ ├── activity_settings_synccit.xml │ │ ├── activity_settings_theme.xml │ │ ├── activity_settings_theme_card.xml │ │ ├── activity_settings_theme_child.xml │ │ ├── activity_settings_viewtype.xml │ │ ├── activity_setup_widget.xml │ │ ├── activity_singlesubreddit.xml │ │ ├── activity_slide.xml │ │ ├── activity_slide_popup.xml │ │ ├── activity_slidetabs.xml │ │ ├── activity_sort.xml │ │ ├── activity_submit.xml │ │ ├── activity_tutorial.xml │ │ ├── activity_video.xml │ │ ├── activity_web.xml │ │ ├── album.xml │ │ ├── album_grid_dialog.xml │ │ ├── album_image.xml │ │ ├── album_image_pager.xml │ │ ├── album_pager.xml │ │ ├── blank_fragment.xml │ │ ├── chooseaccent.xml │ │ ├── choosemain.xml │ │ ├── choosethemesmall.xml │ │ ├── clear.xml │ │ ├── colorprofile.xml │ │ ├── colorsub.xml │ │ ├── comment.xml │ │ ├── comment_menu.xml │ │ ├── comment_menu_right_handed.xml │ │ ├── commenttime.xml │ │ ├── dialog_drawer_items.xml │ │ ├── drawer_loggedin.xml │ │ ├── drawer_loggedout.xml │ │ ├── drawer_offline.xml │ │ ├── edit_comment.xml │ │ ├── editor_items.xml │ │ ├── errorloadingcontent.xml │ │ ├── exo_player_control_view.xml │ │ ├── fab.xml │ │ ├── fragment_personalize.xml │ │ ├── fragment_verticalalbum.xml │ │ ├── fragment_verticalcontent.xml │ │ ├── fragment_verticalcontenttoolbar.xml │ │ ├── fragment_welcome.xml │ │ ├── gallery.xml │ │ ├── gallery_image.xml │ │ ├── gilded.xml │ │ ├── header_image_title_view.xml │ │ ├── image.xml │ │ ├── image_sheet_dialog.xml │ │ ├── inboxfrequency.xml │ │ ├── insert_link.xml │ │ ├── justtext.xml │ │ ├── live_list_item.xml │ │ ├── loadingmore.xml │ │ ├── message_reply.xml │ │ ├── mod_action.xml │ │ ├── morecomment.xml │ │ ├── nightmode.xml │ │ ├── nointernet.xml │ │ ├── nomoreposts.xml │ │ ├── parent_comment_dialog.xml │ │ ├── peek_media_view.xml │ │ ├── peek_view.xml │ │ ├── peek_view_submission.xml │ │ ├── postmenu.xml │ │ ├── profile_comment.xml │ │ ├── report_dialog.xml │ │ ├── settings_toolbar.xml │ │ ├── shortcut_header.xml │ │ ├── spacer.xml │ │ ├── spacer_post.xml │ │ ├── subfordiscover.xml │ │ ├── subforsublist.xml │ │ ├── subforsublistdrag.xml │ │ ├── subforsublisteditor.xml │ │ ├── subinfo.xml │ │ ├── submission_albumcard.xml │ │ ├── submission_dialog.xml │ │ ├── submission_fullscreen.xml │ │ ├── submission_gifcard_album.xml │ │ ├── submission_imagecard.xml │ │ ├── submission_largecard.xml │ │ ├── submission_largecard_middle.xml │ │ ├── submission_list.xml │ │ ├── submission_list_desktop.xml │ │ ├── submission_mediacard.xml │ │ ├── submission_news.xml │ │ ├── submission_textcard.xml │ │ ├── submission_titlecard.xml │ │ ├── submission_widget.xml │ │ ├── submission_widget_compact.xml │ │ ├── submission_widget_compact_light.xml │ │ ├── submission_widget_light.xml │ │ ├── subreddit_pop.xml │ │ ├── swipe_tutorial.xml │ │ ├── swipeback_layout.xml │ │ ├── tabletui.xml │ │ ├── toolbox_removal_dialog.xml │ │ ├── top_level_message.xml │ │ ├── trophy.xml │ │ ├── usernote_list_item.xml │ │ ├── widget.xml │ │ ├── widget_dark.xml │ │ ├── widget_header.xml │ │ └── widget_light.xml │ │ ├── menu │ │ ├── actionbar_mode.xml │ │ ├── album_pager.xml │ │ ├── album_vertical.xml │ │ ├── back_button_behavior_settings.xml │ │ ├── card_mode_settings.xml │ │ ├── color_tinting_mode_settings.xml │ │ ├── draw_menu.xml │ │ ├── fab_settings.xml │ │ ├── imagequality_mode.xml │ │ ├── imagequality_settings.xml │ │ ├── link_menu.xml │ │ ├── menu_comment_items.xml │ │ ├── menu_create_multi.xml │ │ ├── menu_discover.xml │ │ ├── menu_edit.xml │ │ ├── menu_inbox.xml │ │ ├── menu_multireddits.xml │ │ ├── menu_profile.xml │ │ ├── menu_reader.xml │ │ ├── menu_search.xml │ │ ├── menu_single_subreddit.xml │ │ ├── menu_single_subreddit_expanded.xml │ │ ├── menu_subreddit_overview.xml │ │ ├── menu_subreddit_overview_expanded.xml │ │ ├── menu_subreddit_overview_offline.xml │ │ ├── menu_website.xml │ │ ├── pic_mode_settings.xml │ │ ├── removal_reason_setings.xml │ │ ├── reorder_subs.xml │ │ ├── settings.xml │ │ ├── settings_info.xml │ │ ├── settings_toolbox_message.xml │ │ ├── share_menu.xml │ │ ├── subreddit_search_settings.xml │ │ └── view_type_settings.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ ├── ic_launcher_round.png │ │ ├── icon_amber.png │ │ ├── icon_blue.png │ │ ├── icon_blue_grey.png │ │ ├── icon_brown.png │ │ ├── icon_cyan.png │ │ ├── icon_deep_orange.png │ │ ├── icon_deep_purple.png │ │ ├── icon_green.png │ │ ├── icon_grey.png │ │ ├── icon_indigo.png │ │ ├── icon_light_blue.png │ │ ├── icon_light_green.png │ │ ├── icon_lime.png │ │ ├── icon_orange.png │ │ ├── icon_pink.png │ │ ├── icon_purple.png │ │ ├── icon_red.png │ │ ├── icon_teal.png │ │ └── icon_yellow.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ ├── ic_launcher_round.png │ │ ├── icon_amber.png │ │ ├── icon_blue.png │ │ ├── icon_blue_grey.png │ │ ├── icon_brown.png │ │ ├── icon_cyan.png │ │ ├── icon_deep_orange.png │ │ ├── icon_deep_purple.png │ │ ├── icon_green.png │ │ ├── icon_grey.png │ │ ├── icon_indigo.png │ │ ├── icon_light_blue.png │ │ ├── icon_light_green.png │ │ ├── icon_lime.png │ │ ├── icon_orange.png │ │ ├── icon_pink.png │ │ ├── icon_purple.png │ │ ├── icon_red.png │ │ ├── icon_teal.png │ │ └── icon_yellow.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ ├── ic_launcher_round.png │ │ ├── icon_amber.png │ │ ├── icon_blue.png │ │ ├── icon_blue_grey.png │ │ ├── icon_brown.png │ │ ├── icon_cyan.png │ │ ├── icon_deep_orange.png │ │ ├── icon_deep_purple.png │ │ ├── icon_green.png │ │ ├── icon_grey.png │ │ ├── icon_indigo.png │ │ ├── icon_light_blue.png │ │ ├── icon_light_green.png │ │ ├── icon_lime.png │ │ ├── icon_orange.png │ │ ├── icon_pink.png │ │ ├── icon_purple.png │ │ ├── icon_red.png │ │ ├── icon_teal.png │ │ └── icon_yellow.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ ├── ic_launcher_round.png │ │ ├── icon_amber.png │ │ ├── icon_blue.png │ │ ├── icon_blue_grey.png │ │ ├── icon_brown.png │ │ ├── icon_cyan.png │ │ ├── icon_deep_orange.png │ │ ├── icon_deep_purple.png │ │ ├── icon_green.png │ │ ├── icon_grey.png │ │ ├── icon_indigo.png │ │ ├── icon_light_blue.png │ │ ├── icon_light_green.png │ │ ├── icon_lime.png │ │ ├── icon_orange.png │ │ ├── icon_pink.png │ │ ├── icon_purple.png │ │ ├── icon_red.png │ │ ├── icon_teal.png │ │ └── icon_yellow.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── raw │ │ └── adblocksources.txt │ │ ├── values-af-rZA │ │ └── strings.xml │ │ ├── values-ar-rSA │ │ └── strings.xml │ │ ├── values-ca-rES │ │ └── strings.xml │ │ ├── values-cs-rCZ │ │ └── strings.xml │ │ ├── values-da-rDK │ │ └── strings.xml │ │ ├── values-de-rDE │ │ └── strings.xml │ │ ├── values-el-rGR │ │ └── strings.xml │ │ ├── values-eo-rUY │ │ └── strings.xml │ │ ├── values-es-rES │ │ └── strings.xml │ │ ├── values-fi-rFI │ │ └── strings.xml │ │ ├── values-fil-rPH │ │ └── strings.xml │ │ ├── values-fr-rFR │ │ └── strings.xml │ │ ├── values-ga-rIE │ │ └── strings.xml │ │ ├── values-gl-rES │ │ └── strings.xml │ │ ├── values-hr-rHR │ │ └── strings.xml │ │ ├── values-hu-rHU │ │ └── strings.xml │ │ ├── values-in-rID │ │ └── strings.xml │ │ ├── values-it-rIT │ │ └── strings.xml │ │ ├── values-iw-rIL │ │ └── strings.xml │ │ ├── values-ja-rJP │ │ └── strings.xml │ │ ├── values-lv-rLV │ │ └── strings.xml │ │ ├── values-nl-rNL │ │ └── strings.xml │ │ ├── values-no-rNO │ │ └── strings.xml │ │ ├── values-pl-rPL │ │ └── strings.xml │ │ ├── values-pt-rBR │ │ └── strings.xml │ │ ├── values-pt-rPT │ │ └── strings.xml │ │ ├── values-ro-rRO │ │ └── strings.xml │ │ ├── values-ru-rRU │ │ └── strings.xml │ │ ├── values-sq-rAL │ │ └── strings.xml │ │ ├── values-sr-rSP │ │ └── strings.xml │ │ ├── values-sv-rSE │ │ └── strings.xml │ │ ├── values-tr-rTR │ │ └── strings.xml │ │ ├── values-uk-rUA │ │ └── strings.xml │ │ ├── values-v19 │ │ └── styles.xml │ │ ├── values-v21 │ │ └── styles.xml │ │ ├── values-vi-rVN │ │ └── strings.xml │ │ ├── values-w820dp │ │ └── dimens.xml │ │ ├── values-xlarge │ │ └── bools.xml │ │ ├── values-zh-rCN │ │ └── strings.xml │ │ ├── values-zh-rTW │ │ └── strings.xml │ │ ├── values │ │ ├── array_night_mode_state.xml │ │ ├── attrs.xml │ │ ├── bools.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── donottranslate.xml │ │ ├── strings.xml │ │ └── styles.xml │ │ └── xml │ │ ├── filepaths.xml │ │ └── widget_info.xml │ ├── noGPlay │ ├── java │ │ └── me │ │ │ └── ccrama │ │ │ └── redditslide │ │ │ └── ui │ │ │ └── settings │ │ │ └── SettingsBackup.java │ └── res │ │ └── layout │ │ └── activity_settings_sync.xml │ ├── test │ ├── java │ │ └── me │ │ │ └── ccrama │ │ │ └── redditslide │ │ │ └── test │ │ │ ├── ContentTypeTest.java │ │ │ ├── OpenRedditLinkTest.java │ │ │ ├── SpoilerTextTest.java │ │ │ ├── TestUtils.java │ │ │ └── UserSubscriptionsTest.java │ └── resources │ │ └── submissions │ │ ├── doubleStrikethrough.html │ │ ├── everything.html │ │ ├── multipleCodeBlocks.html │ │ ├── spoiler.html │ │ └── table.html │ └── withGPlay │ ├── java │ └── me │ │ └── ccrama │ │ └── redditslide │ │ └── ui │ │ └── settings │ │ └── SettingsBackup.java │ └── res │ └── layout │ └── activity_settings_sync.xml ├── build.gradle ├── fastlane └── metadata │ └── android │ └── en-US │ ├── changelogs │ ├── 323.txt │ ├── 324.txt │ └── 326.txt │ ├── full_description.txt │ └── short_description.txt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── scripts ├── .gitignore └── crowdin.sh └── settings.gradle /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [ccrama, timawesomeness, TacoTheDank] #If any contributor wants to add themselves here, please let me know! 4 | custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=56FKCCYLX7L72 5 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Slide version: 2 | Android version: 3 | -------------------------------------------------------------------------------- /.github/workflows/gradle-wrapper-validation.yml: -------------------------------------------------------------------------------- 1 | name: "Validate Gradle Wrapper" 2 | on: [push, pull_request] 3 | 4 | jobs: 5 | validation: 6 | name: "Validation" 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/checkout@v2 10 | - uses: gradle/wrapper-validation-action@v1 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | build/ 3 | *.apk 4 | 5 | # Local configuration file (sdk path, etc) 6 | local.properties 7 | 8 | # Gradle generated files 9 | .gradle/ 10 | 11 | # Signing files 12 | .signing/ 13 | 14 | # User-specific configurations 15 | .idea/ 16 | *.iml 17 | projectFilesBackup/ 18 | 19 | # OS-specific files 20 | .DS_Store 21 | .DS_Store? 22 | ._* 23 | .Spotlight-V100 24 | .Trashes 25 | ehthumbs.db 26 | Thumbs.db 27 | cd 28 | *.log 29 | 30 | # trace files 31 | captures 32 | 33 | crowdin.properties 34 | app/src/main/assets/secretconstants.properties 35 | app/noGPlay/ 36 | app/withGPlay/ 37 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: android 2 | 3 | sudo: true 4 | 5 | env: 6 | global: 7 | - MALLOC_ARENA_MAX=2 8 | 9 | android: 10 | components: 11 | - tools 12 | - platform-tools 13 | - tools 14 | - build-tools-29.0.3 15 | - android-28 16 | 17 | - extra-android-m2repository 18 | - extra-google-m2repository 19 | - extra-google-google_play_services 20 | 21 | licenses: 22 | - 'android-sdk-license-.+' 23 | - 'android-sdk-preview-license-.+' 24 | 25 | notifications: 26 | email: false 27 | 28 | script: 29 | - ./gradlew assemble lint{With,No}GPlay{Debug,Release} test{With,No}GPlay{Debug,Release}UnitTest 30 | -------------------------------------------------------------------------------- /adaptive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/adaptive.png -------------------------------------------------------------------------------- /app/src/debug/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Activities/BaseActivityAnim.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Activities; 2 | 3 | import android.os.Bundle; 4 | 5 | import me.ccrama.redditslide.R; 6 | import me.ccrama.redditslide.Reddit; 7 | import me.ccrama.redditslide.SwipeLayout.app.SwipeBackActivityBase; 8 | 9 | 10 | /** 11 | * Used as the base if an enter or exit animation is required (if the user can swipe out of the 12 | * activity) 13 | */ 14 | 15 | public class BaseActivityAnim extends BaseActivity implements SwipeBackActivityBase { 16 | @Override 17 | public void finish() { 18 | super.finish(); 19 | overridePendingTransition(0, R.anim.slide_out); 20 | } 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | if (Reddit.peek) { 26 | overridePendingTransition(R.anim.pop_in, 0); 27 | } else { 28 | overridePendingTransition(R.anim.slide_in, 0); 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Activities/GalleryImage.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Activities; 2 | 3 | 4 | import com.fasterxml.jackson.databind.JsonNode; 5 | 6 | import org.apache.commons.text.StringEscapeUtils; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * Created by ccrama on 09/22/2020. 12 | */ 13 | public class GalleryImage implements Serializable { 14 | public String url; 15 | public int width; 16 | public int height; 17 | 18 | public GalleryImage(JsonNode data) { 19 | if(data.has("u")) { 20 | url = StringEscapeUtils.unescapeHtml4(data.get("u").asText()); 21 | } else if(data.has("gif")) { 22 | url = StringEscapeUtils.unescapeHtml4(data.get("gif").asText()); 23 | } 24 | width = data.get("x").asInt(); 25 | height = data.get("y").asInt(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Activities/Loader.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Activities; 2 | 3 | /** 4 | * Created by carlo_000 on 1/20/2016. 5 | */ 6 | 7 | import android.os.Bundle; 8 | 9 | import me.ccrama.redditslide.R; 10 | 11 | /** 12 | * Created by ccrama on 9/17/2015. 13 | */ 14 | public class Loader extends BaseActivity { 15 | 16 | 17 | @Override 18 | public void onCreate(Bundle savedInstance) { 19 | disableSwipeBackLayout(); 20 | super.onCreate(savedInstance); 21 | applyColorTheme(); 22 | setContentView(R.layout.activity_loading); 23 | MainActivity.loader = this; 24 | } 25 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Activities/Slide.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Activities; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | 7 | /** 8 | * Created by ccrama on 9/28/2015. 9 | */ 10 | public class Slide extends Activity { 11 | 12 | public static boolean hasStarted; 13 | 14 | @Override 15 | public void onCreate(Bundle savedInstance) { 16 | super.onCreate(savedInstance); 17 | if (!hasStarted) { 18 | hasStarted = true; 19 | Intent i = new Intent(this, MainActivity.class); 20 | startActivity(i); 21 | } 22 | finish(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Activities/SwipeTutorial.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Activities; 2 | 3 | import android.os.Bundle; 4 | import android.widget.TextView; 5 | 6 | import me.ccrama.redditslide.R; 7 | 8 | 9 | /** 10 | * Created by ccrama on 3/5/2015. 11 | */ 12 | 13 | public class SwipeTutorial extends BaseActivity { 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | setContentView(R.layout.swipe_tutorial); 18 | if(getIntent().hasExtra("subtitle")){ 19 | ((TextView)findViewById(R.id.subtitle)).setText(getIntent().getStringExtra("subtitle")); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/BaseAdapter.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | /** 4 | * Created by carlo_000 on 10/30/2015. 5 | */ 6 | public interface BaseAdapter { 7 | void setError(Boolean b); 8 | 9 | void undoSetError(); 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/CommentItem.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import net.dean.jraw.models.CommentNode; 4 | 5 | /** 6 | * Created by carlo_000 on 10/27/2015. 7 | */ 8 | public class CommentItem extends CommentObject { 9 | public CommentItem(CommentNode node) { 10 | comment = node; 11 | this.name = comment.getComment().getFullName(); 12 | } 13 | 14 | @Override 15 | public boolean isComment() { 16 | return true; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/CommentNavType.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | /** 4 | * Created by carlo_000 on 4/24/2016. 5 | */ 6 | public enum CommentNavType { 7 | PARENTS,CHILDREN,TIME,GILDED,OP,LINK,YOU; 8 | CommentNavType(){ 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/CommentObject.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import net.dean.jraw.models.CommentNode; 4 | 5 | /** 6 | * Created by carlo_000 on 10/27/2015. 7 | */ 8 | public class CommentObject { 9 | public String name = ""; 10 | 11 | public boolean isComment() { 12 | return false; 13 | } 14 | 15 | public String getName() { 16 | return name; 17 | } 18 | 19 | public CommentNode comment; 20 | } 21 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/CommentUrlObject.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import net.dean.jraw.models.CommentNode; 4 | 5 | /** 6 | * Created by carlo_000 on 10/27/2015. 7 | */ 8 | public class CommentUrlObject { 9 | public String url; 10 | String subredditName; 11 | 12 | public CommentNode comment; 13 | 14 | public CommentUrlObject(CommentNode comment, String url, String subredditName) { 15 | this.comment = comment; 16 | this.subredditName = subredditName; 17 | this.url = url; 18 | } 19 | 20 | public String getSubredditName(){ 21 | return subredditName; 22 | } 23 | 24 | public String getUrl() { 25 | return url; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/ErrorAdapter.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | /** 4 | * Created by ccrama on 10/30/2015. 5 | */ 6 | 7 | import android.view.LayoutInflater; 8 | import android.view.View; 9 | import android.view.ViewGroup; 10 | 11 | import androidx.recyclerview.widget.RecyclerView; 12 | 13 | import me.ccrama.redditslide.R; 14 | 15 | 16 | public class ErrorAdapter extends RecyclerView.Adapter { 17 | 18 | 19 | @Override 20 | public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 21 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.nointernet, parent, false); 22 | return new ViewHolder(v); 23 | } 24 | 25 | @Override 26 | public void onBindViewHolder(ViewHolder holder, int position) { 27 | 28 | } 29 | 30 | @Override 31 | public int getItemCount() { 32 | return 1; 33 | } 34 | 35 | public static class ViewHolder extends RecyclerView.ViewHolder { 36 | 37 | public ViewHolder(View itemView) { 38 | super(itemView); 39 | 40 | } 41 | } 42 | 43 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/GeneralPosts.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import net.dean.jraw.models.Contribution; 4 | 5 | import java.util.ArrayList; 6 | 7 | /** 8 | * Created by carlo_000 on 12/3/2015. 9 | */ 10 | public class GeneralPosts { 11 | public ArrayList posts ; 12 | public boolean nomore; 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/MoreChildItem.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import net.dean.jraw.models.CommentNode; 4 | import net.dean.jraw.models.MoreChildren; 5 | 6 | /** 7 | * Created by carlo_000 on 1/23/2016. 8 | */ 9 | public class MoreChildItem extends CommentObject { 10 | public MoreChildren children; 11 | 12 | @Override 13 | public boolean isComment() { 14 | return false; 15 | } 16 | 17 | public MoreChildItem(CommentNode node, MoreChildren children) { 18 | comment = node; 19 | this.children = children; 20 | this.name = comment.getComment().getFullName() + "more"; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Adapters/MoreCommentViewHolder.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Adapters; 2 | 3 | import android.view.View; 4 | import android.widget.TextView; 5 | 6 | import androidx.recyclerview.widget.RecyclerView; 7 | 8 | import me.ccrama.redditslide.R; 9 | 10 | /** 11 | * Created by ccrama on 9/17/2015. 12 | */ 13 | public class MoreCommentViewHolder extends RecyclerView.ViewHolder { 14 | public final TextView content; 15 | public final View loading; 16 | public final View dots; 17 | 18 | public MoreCommentViewHolder(View v) { 19 | super(v); 20 | dots = v.findViewById(R.id.dot); 21 | content = v.findViewById(R.id.content); 22 | loading = v.findViewById(R.id.loading); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Autocache/CacheAll.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Autocache; 2 | 3 | /** 4 | * Created by carlo_000 on 10/13/2015. 5 | */ 6 | 7 | import android.content.BroadcastReceiver; 8 | import android.content.Context; 9 | import android.content.Intent; 10 | import android.os.AsyncTask; 11 | 12 | import me.ccrama.redditslide.CommentCacheAsync; 13 | import me.ccrama.redditslide.Reddit; 14 | import me.ccrama.redditslide.util.NetworkUtil; 15 | 16 | public class CacheAll extends BroadcastReceiver { 17 | 18 | @Override 19 | public void onReceive(Context context, Intent intent) { 20 | if (NetworkUtil.isConnectedNoOverride(context)) { 21 | if (Reddit.cachedData.getBoolean("wifiOnly", false) && !NetworkUtil.isConnectedWifi(context)) 22 | return; 23 | new CommentCacheAsync(context, Reddit.cachedData.getString("toCache", "").split(",")).executeOnExecutor( 24 | AsyncTask.THREAD_POOL_EXECUTOR); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/CaseInsensitiveArrayList.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | /** 7 | * Created by Carlos on 10/19/2016. 8 | */ 9 | 10 | public class CaseInsensitiveArrayList extends ArrayList { 11 | 12 | public CaseInsensitiveArrayList() { 13 | super(); 14 | } 15 | 16 | public CaseInsensitiveArrayList(CaseInsensitiveArrayList strings) { 17 | super(strings); 18 | } 19 | 20 | public CaseInsensitiveArrayList(List strings) { 21 | super(strings); 22 | } 23 | 24 | @Override 25 | public boolean contains(Object o) { 26 | String parameter = (String)o; 27 | for (String s : this) { 28 | if (parameter.equalsIgnoreCase(s)) return true; 29 | } 30 | return false; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/CheckInstall.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide; 2 | 3 | /** 4 | * Created by carlo_000 on 10/13/2015. 5 | */ 6 | 7 | import android.content.BroadcastReceiver; 8 | import android.content.Context; 9 | import android.content.Intent; 10 | 11 | import com.jakewharton.processphoenix.ProcessPhoenix; 12 | 13 | public class CheckInstall extends BroadcastReceiver { 14 | 15 | @Override 16 | public void onReceive(Context context, Intent intent) { 17 | String packageName = intent.getDataString(); 18 | if (packageName.equals(context.getString(R.string.youtube_plugin_package)) 19 | || packageName.equals(context.getString(R.string.ui_unlock_package))) { 20 | ProcessPhoenix.triggerRebirth(context.getApplicationContext()); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ClickableText.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide; 2 | 3 | import android.text.style.URLSpan; 4 | import android.view.MotionEvent; 5 | 6 | public interface ClickableText { 7 | /** 8 | * Callback for when a link is clicked 9 | * 10 | * @param url the url link (e.g. #s for some spoilers) 11 | * @param xOffset the last index of the url text (not the link) 12 | * @param subreddit 13 | */ 14 | void onLinkClick(String url, int xOffset, String subreddit, URLSpan span); 15 | 16 | void onLinkLongClick(String url, MotionEvent event); 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/DataShare.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide; 2 | 3 | import net.dean.jraw.models.PrivateMessage; 4 | import net.dean.jraw.models.Submission; 5 | 6 | import java.util.ArrayList; 7 | 8 | import me.ccrama.redditslide.Adapters.CommentObject; 9 | 10 | /** 11 | * Created by ccrama on 9/19/2015. 12 | */ 13 | public class DataShare { 14 | public static Submission sharedSubmission; 15 | // public static Submission notifs; 16 | public static PrivateMessage sharedMessage; 17 | public static ArrayList sharedComments; 18 | public static String subAuthor; 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Flair/Richtext.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Flair; 2 | 3 | 4 | import com.google.gson.annotations.Expose; 5 | import com.google.gson.annotations.SerializedName; 6 | 7 | public class Richtext { 8 | 9 | @SerializedName("e") 10 | @Expose 11 | private String e; 12 | @SerializedName("t") 13 | @Expose 14 | private String t; 15 | @SerializedName("a") 16 | @Expose 17 | private String a; 18 | @SerializedName("u") 19 | @Expose 20 | private String u; 21 | 22 | public String getE() { 23 | return e; 24 | } 25 | 26 | public void setE(String e) { 27 | this.e = e; 28 | } 29 | 30 | public String getT() { 31 | return t; 32 | } 33 | 34 | public void setT(String t) { 35 | this.t = t; 36 | } 37 | 38 | public String getA() { 39 | return a; 40 | } 41 | 42 | public void setA(String a) { 43 | this.a = a; 44 | } 45 | 46 | public String getU() { 47 | return u; 48 | } 49 | 50 | public void setU(String u) { 51 | this.u = u; 52 | } 53 | 54 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/callback/OnButtonUp.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.callback; 2 | 3 | /** 4 | * Provides callbacks for the lifecycle events of the PeekView 5 | */ 6 | public interface OnButtonUp { 7 | void onButtonUp(); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/callback/OnPeek.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.callback; 2 | 3 | import android.view.View; 4 | 5 | import me.ccrama.redditslide.ForceTouch.PeekView; 6 | 7 | /** 8 | * Provides callbacks for the lifecycle events of the PeekView 9 | */ 10 | public interface OnPeek { 11 | 12 | void onInflated(PeekView rootView, View contentView); 13 | void shown(); 14 | void dismissed(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/callback/OnPop.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.callback; 2 | 3 | /** 4 | * Provides callbacks for the lifecycle events of the PeekView 5 | */ 6 | public interface OnPop { 7 | void onPop(); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/callback/OnRemove.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.callback; 2 | 3 | /** 4 | * Provides callbacks for the lifecycle events of the PeekView 5 | */ 6 | public interface OnRemove { 7 | void onRemove(); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/callback/SimpleOnPeek.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.callback; 2 | 3 | /** 4 | * Wrapper class for if you only need to implement the initialization method 5 | */ 6 | public abstract class SimpleOnPeek implements OnPeek { 7 | 8 | @Override public void shown() { } 9 | @Override public void dismissed() { } 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ForceTouch/util/DensityUtils.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ForceTouch.util; 2 | 3 | import android.content.Context; 4 | import android.content.res.Resources; 5 | import android.util.TypedValue; 6 | 7 | /** 8 | * Convert between DP and PX 9 | */ 10 | public class DensityUtils { 11 | public static int toPx(Context context, int dp) { 12 | return convert(context, dp, TypedValue.COMPLEX_UNIT_DIP); 13 | } 14 | 15 | public static int toDp(Context context, int px) { 16 | return convert(context, px, TypedValue.COMPLEX_UNIT_PX); 17 | } 18 | 19 | private static int convert(Context context, int amount, int conversionUnit) { 20 | if (amount < 0) { 21 | throw new IllegalArgumentException("px should not be less than zero"); 22 | } 23 | 24 | Resources r = context.getResources(); 25 | return (int) TypedValue.applyDimension(conversionUnit, amount, r.getDisplayMetrics()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Fragments/BlankFragment.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Fragments; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | import android.widget.RelativeLayout; 8 | 9 | import androidx.fragment.app.Fragment; 10 | 11 | import me.ccrama.redditslide.R; 12 | 13 | public class BlankFragment extends Fragment { 14 | public View v2; 15 | public View realBack; 16 | @Override 17 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 18 | View v = inflater.inflate(R.layout.blank_fragment, container, false); 19 | v2 = v.findViewById(R.id.back); 20 | realBack = v; 21 | return v; 22 | } 23 | 24 | public void doOffset(float percent) { 25 | RelativeLayout.LayoutParams params = (RelativeLayout.LayoutParams) v2.getLayoutParams(); 26 | params.setMargins(0, 0, (int) (-v2.getWidth()*((1f -percent) * 1.25)), 0); 27 | v2.setLayoutParams(params); 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/StackWidgetService.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide; 2 | 3 | import android.content.Intent; 4 | import android.widget.RemoteViewsService; 5 | 6 | /** 7 | * Created by ccrama on 10/2/2015. 8 | */ 9 | public class StackWidgetService extends RemoteViewsService { 10 | @Override 11 | public RemoteViewsFactory onGetViewFactory(Intent intent) { 12 | 13 | return new StackRemoteViewsFactory(this.getApplicationContext(), intent); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/SubmissionViews/ReadLater.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.SubmissionViews; 2 | 3 | import com.lusfold.androidkeyvaluestore.KVStore; 4 | 5 | import net.dean.jraw.models.Submission; 6 | 7 | /** 8 | * Created by ccrama on 7/19/2015. 9 | */ 10 | public class ReadLater { 11 | 12 | public static void setReadLater(Submission s, boolean readLater) { 13 | if (readLater) { 14 | KVStore.getInstance() 15 | .insert("readLater" + s.getFullName(), String.valueOf(System.currentTimeMillis())); 16 | } else { 17 | if (isToBeReadLater(s)) { 18 | KVStore.getInstance().delete("readLater" + s.getFullName()); 19 | } 20 | } 21 | } 22 | 23 | public static boolean isToBeReadLater(Submission s) { 24 | return !KVStore.getInstance().getByContains("readLater" + s.getFullName()).isEmpty(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/SwipeLayout/app/SwipeBackActivityBase.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.SwipeLayout.app; 2 | 3 | import me.ccrama.redditslide.SwipeLayout.SwipeBackLayout; 4 | 5 | /** 6 | * @author Yrom 7 | */ 8 | public interface SwipeBackActivityBase { 9 | /** 10 | * @return the SwipeBackLayout associated with this activity. 11 | */ 12 | SwipeBackLayout getSwipeBackLayout(); 13 | 14 | void setSwipeBackEnable(boolean enable); 15 | 16 | /** 17 | * Scroll out contentView and finish the activity 18 | */ 19 | void scrollToFinishActivity(); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Synccit/MySynccitUpdateTask.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Synccit; 2 | 3 | import me.ccrama.redditslide.SettingValues; 4 | 5 | /** 6 | * Created by carlo_000 on 2/16/2016. 7 | */ 8 | public class MySynccitUpdateTask extends SynccitUpdateTask { 9 | 10 | private static final String MY_DEV_NAME = "slide_for_reddit"; 11 | 12 | public MySynccitUpdateTask() { 13 | super(MY_DEV_NAME); 14 | } 15 | 16 | @Override 17 | protected String getUsername() { 18 | return SettingValues.synccitName; 19 | } 20 | 21 | @Override 22 | protected String getAuth() { 23 | return SettingValues.synccitAuth; 24 | } 25 | 26 | @Override 27 | protected String getUserAgent() { 28 | return "slide_for_reddit"; 29 | } 30 | 31 | } -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Synccit/SynccitRead.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Synccit; 2 | 3 | import java.util.ArrayList; 4 | 5 | /** 6 | * Created by carlo_000 on 2/16/2016. 7 | */ 8 | public class SynccitRead { 9 | public static ArrayList visitedIds = new ArrayList<>(); 10 | public static ArrayList newVisited = new ArrayList<>(); 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Synccit/SynccitResponse.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Synccit; 2 | 3 | /** 4 | * https://github.com/drakeapps/synccit#example-json-update-call 5 | */ 6 | class SynccitResponse { 7 | 8 | private String key; 9 | private String value; 10 | 11 | SynccitResponse(String key, String value) { 12 | this.key = key; 13 | this.value = value; 14 | } 15 | 16 | public boolean isSuccess() { 17 | return "success".equals(key); 18 | } 19 | 20 | public boolean isError() { 21 | return "error".equals(key); 22 | } 23 | 24 | public String getMessage() { 25 | return value; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Synccit/SynccitUpdateTask.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Synccit; 2 | 3 | import org.json.JSONObject; 4 | 5 | /** 6 | * https://github.com/drakeapps/synccit#example-json-update-call 7 | */ 8 | abstract class SynccitUpdateTask extends SynccitTask { 9 | 10 | @SuppressWarnings("unused") 11 | private static final String TAG = SynccitUpdateTask.class.getSimpleName(); 12 | 13 | private static final String UPDATE_MODE = "update"; 14 | 15 | SynccitUpdateTask(String devName) { 16 | super(devName); 17 | } 18 | 19 | @Override 20 | protected String getMode() { 21 | return UPDATE_MODE; 22 | } 23 | 24 | @Override 25 | protected SynccitResponse onInput(String in) throws Exception { 26 | JSONObject obj = new JSONObject(in); 27 | String key = obj.has("success") ? "success" : "error"; 28 | return new SynccitResponse(key, obj.get(key).toString()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Views/WebViewOverScrollDecoratorAdapter.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Views; 2 | 3 | import android.view.View; 4 | import android.webkit.WebView; 5 | 6 | import me.everything.android.ui.overscroll.adapters.IOverScrollDecoratorAdapter; 7 | 8 | /** 9 | * Created by Carlos on 8/19/2016. 10 | */ 11 | public class WebViewOverScrollDecoratorAdapter implements IOverScrollDecoratorAdapter { 12 | 13 | protected final WebView mView; 14 | 15 | public WebViewOverScrollDecoratorAdapter(WebView view) { 16 | mView = view; 17 | } 18 | 19 | @Override 20 | public View getView() { 21 | return mView; 22 | } 23 | 24 | @Override 25 | public boolean isInAbsoluteStart() { 26 | return !mView.canScrollHorizontally(-1); 27 | } 28 | 29 | @Override 30 | public boolean isInAbsoluteEnd() { 31 | return !mView.canScrollHorizontally(1); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/Widget/ListViewWidgetService.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.Widget; 2 | 3 | import android.appwidget.AppWidgetManager; 4 | import android.content.Intent; 5 | import android.widget.RemoteViewsService; 6 | 7 | /** 8 | * Created by carlo_000 on 5/4/2016. 9 | */ 10 | public class ListViewWidgetService extends RemoteViewsService { 11 | public RemoteViewsFactory onGetViewFactory(Intent intent) { 12 | return new ListViewRemoteViewsFactory(this.getApplicationContext(), intent, "android", 13 | intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 0)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/ManageOfflineContent.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | 10 | /** 11 | * Created by l3d00m on 11/13/2015. 12 | */ 13 | public class ManageOfflineContent extends BaseActivityAnim { 14 | 15 | ManageOfflineContentFragment fragment = new ManageOfflineContentFragment(this); 16 | 17 | public void onCreate(Bundle savedInstanceState) { 18 | super.onCreate(savedInstanceState); 19 | applyColorTheme(); 20 | setContentView(R.layout.activity_manage_history); 21 | setupAppBar(R.id.toolbar, R.string.manage_offline_content, true, true); 22 | 23 | ((ViewGroup) findViewById(R.id.manage_history)).addView( 24 | getLayoutInflater().inflate(R.layout.activity_manage_history_child, null)); 25 | 26 | fragment.Bind(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/RestartActivity.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | public interface RestartActivity { 4 | void restartActivity(); 5 | } 6 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsComments.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | public class SettingsComments extends BaseActivityAnim { 10 | 11 | private SettingsCommentsFragment fragment = new SettingsCommentsFragment(this); 12 | 13 | public void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | applyColorTheme(); 16 | setContentView(R.layout.activity_settings_comments); 17 | setupAppBar(R.id.toolbar, R.string.settings_title_comments, true, true); 18 | 19 | ((ViewGroup) findViewById(R.id.settings_comments)).addView( 20 | getLayoutInflater().inflate(R.layout.activity_settings_comments_child, null)); 21 | 22 | fragment.Bind(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsData.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | 10 | /** 11 | * Created by ccrama on 3/5/2015. 12 | */ 13 | public class SettingsData extends BaseActivityAnim { 14 | 15 | private SettingsDataFragment fragment = new SettingsDataFragment(this); 16 | 17 | public void onCreate(Bundle savedInstanceState) { 18 | super.onCreate(savedInstanceState); 19 | applyColorTheme(); 20 | setContentView(R.layout.activity_settings_datasaving); 21 | setupAppBar(R.id.toolbar, R.string.settings_data, true, true); 22 | 23 | ((ViewGroup) findViewById(R.id.settings_datasaving)).addView( 24 | getLayoutInflater().inflate(R.layout.activity_settings_datasaving_child, null)); 25 | 26 | fragment.Bind(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsFont.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | 10 | /** 11 | * Created by l3d00m on 11/13/2015. 12 | */ 13 | public class SettingsFont extends BaseActivityAnim { 14 | 15 | private SettingsFontFragment fragment = new SettingsFontFragment(this); 16 | 17 | public void onCreate(Bundle savedInstanceState) { 18 | super.onCreate(savedInstanceState); 19 | applyColorTheme(); 20 | setContentView(R.layout.activity_settings_font); 21 | setupAppBar(R.id.toolbar, R.string.settings_title_font, true, true); 22 | 23 | ((ViewGroup) findViewById(R.id.settings_font)).addView( 24 | getLayoutInflater().inflate(R.layout.activity_settings_font_child, null)); 25 | 26 | fragment.Bind(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsHistory.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | public class SettingsHistory extends BaseActivityAnim { 10 | 11 | private SettingsHistoryFragment fragment = new SettingsHistoryFragment(this); 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | applyColorTheme(); 17 | setContentView(R.layout.activity_settings_history); 18 | setupAppBar(R.id.toolbar, R.string.settings_title_history, true, true); 19 | 20 | ((ViewGroup) findViewById(R.id.settings_history)).addView( 21 | getLayoutInflater().inflate(R.layout.activity_settings_history_child, null)); 22 | 23 | fragment.Bind(); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsLibs.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | 5 | import com.mikepenz.aboutlibraries.LibsBuilder; 6 | import com.mikepenz.aboutlibraries.ui.LibsSupportFragment; 7 | 8 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 9 | import me.ccrama.redditslide.R; 10 | 11 | public class SettingsLibs extends BaseActivityAnim { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | applyColorTheme(); 17 | setContentView(R.layout.activity_settings_libs); 18 | setupAppBar(R.id.toolbar, R.string.settings_about_libs, true, true); 19 | 20 | LibsSupportFragment fragment = new LibsBuilder() 21 | .supportFragment(); 22 | if (savedInstanceState == null) { 23 | getSupportFragmentManager() 24 | .beginTransaction() 25 | .replace(R.id.root_fragment, fragment) 26 | .commit(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsModeration.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | public class SettingsModeration extends BaseActivityAnim { 10 | private SettingsModerationFragment fragment = new SettingsModerationFragment(this); 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | applyColorTheme(); 16 | setContentView(R.layout.activity_settings_moderation); 17 | setupAppBar(R.id.toolbar, R.string.settings_moderation, true, true); 18 | 19 | ((ViewGroup) findViewById(R.id.settings_moderation)).addView(getLayoutInflater().inflate( 20 | R.layout.activity_settings_moderation_child, null)); 21 | 22 | fragment.Bind(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/ui/settings/SettingsReddit.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.ui.settings; 2 | 3 | import android.os.Bundle; 4 | import android.view.ViewGroup; 5 | 6 | import me.ccrama.redditslide.Activities.BaseActivityAnim; 7 | import me.ccrama.redditslide.R; 8 | 9 | 10 | /** 11 | * Created by l3d00m on 11/13/2015. 12 | */ 13 | public class SettingsReddit extends BaseActivityAnim { 14 | 15 | SettingsRedditFragment fragment = new SettingsRedditFragment(this); 16 | 17 | @Override 18 | public void onCreate(Bundle savedInstanceState) { 19 | super.onCreate(savedInstanceState); 20 | applyColorTheme(); 21 | setContentView(R.layout.activity_settings_reddit); 22 | setupAppBar(R.id.toolbar, R.string.settings_reddit_prefs, true, true); 23 | 24 | ((ViewGroup) findViewById(R.id.settings_reddit)).addView( 25 | getLayoutInflater().inflate(R.layout.activity_settings_reddit_child, null)); 26 | 27 | fragment.Bind(); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/ClipboardUtil.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util; 2 | 3 | import android.content.ClipData; 4 | import android.content.ClipboardManager; 5 | import android.content.Context; 6 | 7 | import androidx.core.content.ContextCompat; 8 | 9 | /** 10 | * Created by TacoTheDank on 01/29/2021. 11 | */ 12 | public class ClipboardUtil { 13 | 14 | /** 15 | * Copies the text to the clipboard. 16 | * 17 | * @param context The context to pass. 18 | * @param label User-visible label for the clip data. 19 | * @param text The actual text in the clip. 20 | */ 21 | public static void copyToClipboard(final Context context, final CharSequence label, 22 | final CharSequence text) { 23 | final ClipboardManager clipboard = ContextCompat.getSystemService(context, ClipboardManager.class); 24 | if (clipboard != null) { 25 | final ClipData data = ClipData.newPlainText(label, text); 26 | clipboard.setPrimaryClip(data); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/CompatUtil.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util; 2 | 3 | import android.text.Spanned; 4 | 5 | import androidx.annotation.NonNull; 6 | import androidx.core.text.HtmlCompat; 7 | 8 | /** 9 | * Created by TacoTheDank on 04/22/2021. 10 | */ 11 | public class CompatUtil { 12 | public static Spanned fromHtml(@NonNull String source) { 13 | return HtmlCompat.fromHtml(source, HtmlCompat.FROM_HTML_MODE_LEGACY); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/DisplayUtil.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util; 2 | 3 | import android.content.res.Resources; 4 | import android.util.DisplayMetrics; 5 | 6 | /** 7 | * Created by TacoTheDank on 03/15/2021. 8 | */ 9 | public class DisplayUtil { 10 | private static int dpToPx(int dp, float xy) { 11 | return Math.round(dp * xy / DisplayMetrics.DENSITY_DEFAULT); 12 | } 13 | 14 | public static int dpToPxVertical(int dp) { 15 | return dpToPx(dp, Resources.getSystem().getDisplayMetrics().ydpi); 16 | } 17 | 18 | public static int dpToPxHorizontal(int dp) { 19 | return dpToPx(dp, Resources.getSystem().getDisplayMetrics().xdpi); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/JsonUtil.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util; 2 | 3 | import com.fasterxml.jackson.databind.JsonNode; 4 | 5 | import java.util.ArrayList; 6 | 7 | import me.ccrama.redditslide.Activities.GalleryImage; 8 | 9 | /** 10 | * Created by TacoTheDank on 04/04/2021. 11 | */ 12 | public class JsonUtil { 13 | public static void getGalleryData(final JsonNode data, final ArrayList urls) { 14 | for (JsonNode identifier : data.get("gallery_data").get("items")) { 15 | if (data.has("media_metadata") && data.get( 16 | "media_metadata") 17 | .has(identifier.get("media_id").asText()) 18 | ) { 19 | urls.add(new GalleryImage(data.get("media_metadata") 20 | .get(identifier.get("media_id").asText()) 21 | .get("s"))); 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/ProUtil.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.annotation.StringRes; 6 | import androidx.appcompat.app.AlertDialog; 7 | 8 | import me.ccrama.redditslide.R; 9 | 10 | /** 11 | * Created by TacoTheDank on 04/04/2021. 12 | */ 13 | public class ProUtil { 14 | public static AlertDialog.Builder proUpgradeMsg(final Context context, final @StringRes int titleId) { 15 | return new AlertDialog.Builder(context) 16 | .setTitle(titleId) 17 | .setMessage(R.string.pro_upgrade_msg) 18 | .setPositiveButton(R.string.btn_yes_exclaim, (dialog, whichButton) -> 19 | LinkUtil.launchMarketUri(context, R.string.ui_unlock_package) 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/me/ccrama/redditslide/util/stubs/SimpleTextWatcher.java: -------------------------------------------------------------------------------- 1 | package me.ccrama.redditslide.util.stubs; 2 | 3 | import android.text.Editable; 4 | import android.text.TextWatcher; 5 | 6 | /** 7 | * Base class for scenarios where user wants to implement only one method of 8 | * {@link TextWatcher}. 9 | */ 10 | public class SimpleTextWatcher implements TextWatcher { 11 | @Override 12 | public void beforeTextChanged(CharSequence s, int start, int count, int after) { 13 | } 14 | 15 | @Override 16 | public void onTextChanged(CharSequence s, int start, int before, int count) { 17 | } 18 | 19 | @Override 20 | public void afterTextChanged(Editable s) { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/uz/shift/colorpicker/OnColorChangedListener.java: -------------------------------------------------------------------------------- 1 | package uz.shift.colorpicker; 2 | 3 | public interface OnColorChangedListener { 4 | void onColorChanged(int c); 5 | } 6 | -------------------------------------------------------------------------------- /app/src/main/java/uz/shift/colorpicker/Palette.java: -------------------------------------------------------------------------------- 1 | package uz.shift.colorpicker; 2 | 3 | import android.graphics.Color; 4 | 5 | public class Palette { 6 | 7 | public static int[] DEFAULT; 8 | 9 | static { 10 | DEFAULT = new int[]{Color.parseColor("#b8c847"), 11 | Color.parseColor("#67bb43"), Color.parseColor("#41b691"), 12 | Color.parseColor("#4182b6"), Color.parseColor("#4149b6"), 13 | Color.parseColor("#7641b6"), Color.parseColor("#b741a7"), 14 | Color.parseColor("#c54657"), Color.parseColor("#d1694a"), 15 | Color.parseColor("#d1904a"), Color.parseColor("#d1c54a")}; 16 | 17 | } 18 | 19 | private Palette() { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/anim-v21/slide_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/anim-v21/slide_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fade_in_real.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fade_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fading_out_real.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fast_out_slow_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/anim/pop_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/anim/pop_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_down_fade_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slide_up_fade_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/slideright.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/chameleon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-hdpi/chameleon.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/slogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-hdpi/slogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/chameleon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-mdpi/chameleon.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/slogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-mdpi/slogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/commentback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v21/cursor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/chameleon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xhdpi/chameleon.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/slogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xhdpi/slogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/chameleon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xxhdpi/chameleon.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/slogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xxhdpi/slogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/chameleon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xxxhdpi/chameleon.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/slogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable-xxxhdpi/slogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/backdrop_welcome.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/blackandwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/blackandwhite.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/commentback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/cursor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/flairback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/gold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/gold.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_account_circle.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_alternate_email.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_announcement.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_arrow_back.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_arrow_downward.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_arrow_upward.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_backup.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_book.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_bookmark_border.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_card_giftcard.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_check_circle.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_close.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cloud.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cloud_download.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cloud_off.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cloud_upload.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_colorize.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_comment.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_content_copy.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_crown.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dark_mode.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dashboard.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_delete.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_done.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_done_all.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_download.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_drag_handle.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_edit.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_email.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_explore.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_filter_list.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_flag.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_folder.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_folder_open.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_bold.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_italic.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_list_bulleted.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_list_numbered.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_quote.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_format_strikethrough.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_forum.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_forward.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_gavel.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_gesture.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_high_quality.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_history.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_image.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_info.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_invert_colors.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_keyboard_arrow_down.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_keyboard_arrow_up.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_link.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_local_offer.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_lock.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_more_vert.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_note.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_active.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_off.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_open_in_browser.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_open_in_new.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_palette.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_person.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_photo_library.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_play_arrow.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_public.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_push_pin.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_refresh.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_remove_circle.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_reply.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_report.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_save.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_search.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_send.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_sort.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_sort_by_alpha.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_star.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_stars.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_sync.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_text_fields.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_thumb_up.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_undo.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_verified_user.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_view_agenda.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_view_array.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_view_carousel.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_view_day.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_view_module.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_visibility.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_visibility_off.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_volume_off.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/matiasduarte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/matiasduarte.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/notif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/notif.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/nsfw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/nsfw.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/platinum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/platinum.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/reddit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/reddit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/roundedback.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/settingsbg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/shadow_bottom.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/shadow_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/shadow_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shadow_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/shadow_top.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/silver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/silver.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/spoiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/spoiler.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/swipe.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/synccit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/synccit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/drawable/web.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_force_touch_content.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | 19 | 20 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_loading.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 18 | 19 | 20 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_login.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_overview_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_comments.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 13 | 14 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_datasaving.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_font.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_general.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_history.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_libs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_moderation.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_settings_reddit.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_setup_widget.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_slide.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_slide_popup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_tutorial.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_video.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/album.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/album_grid_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/blank_fragment.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/clear.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fab.xml: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/gallery.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/gilded.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/image.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/image_sheet_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 20 | 21 | 22 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/insert_link.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/justtext.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/loadingmore.xml: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/nointernet.xml: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/shortcut_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spacer.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spacer_post.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/swipeback_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/trophy.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/menu/actionbar_mode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/menu/album_pager.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 16 | 17 | 21 | 25 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/res/menu/album_vertical.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 12 | 17 | 18 | 22 | 26 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/res/menu/back_button_behavior_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/menu/card_mode_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/menu/color_tinting_mode_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/menu/draw_menu.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/menu/fab_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/menu/imagequality_mode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/menu/imagequality_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/menu/link_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_create_multi.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_discover.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_edit.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_inbox.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 17 | 18 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | 17 | 18 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_reader.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 13 | 14 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_search.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 17 | 18 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_subreddit_overview_offline.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 15 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/menu/pic_mode_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/menu/removal_reason_setings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/menu/reorder_subs.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 16 | 21 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/menu/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/menu/settings_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/menu/settings_toolbox_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/menu/share_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/menu/subreddit_search_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/menu/view_type_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_amber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_amber.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_blue_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_blue_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_brown.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_cyan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_cyan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_deep_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_deep_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_deep_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_deep_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_indigo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_indigo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_light_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_light_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_light_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_light_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_lime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_lime.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_pink.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_red.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_teal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_teal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/icon_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-hdpi/icon_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_amber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_amber.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_blue_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_blue_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_brown.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_cyan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_cyan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_deep_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_deep_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_deep_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_deep_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_indigo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_indigo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_light_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_light_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_light_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_light_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_lime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_lime.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_pink.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_red.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_teal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_teal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/icon_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-mdpi/icon_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_amber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_amber.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_blue_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_blue_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_brown.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_cyan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_cyan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_deep_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_deep_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_deep_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_deep_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_indigo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_indigo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_light_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_light_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_light_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_light_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_lime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_lime.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_pink.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_red.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_teal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_teal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xhdpi/icon_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_amber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_amber.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_blue_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_blue_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_brown.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_cyan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_cyan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_deep_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_deep_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_deep_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_deep_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_indigo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_indigo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_light_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_light_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_light_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_light_green.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_lime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_lime.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_orange.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_pink.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_purple.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_red.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_teal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_teal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxhdpi/icon_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-v19/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 24dp 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values-xlarge/bools.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/array_night_mode_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | @string/disabled 5 | @string/manual 6 | @string/automatic 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values/bools.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | false 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | 632.0dip 7 | 8 | 598.0dip 9 | 10 | 632.0dip 11 | 12 | 598.0dip 13 | 56dp 14 | 15 | 16 | 56dp 17 | 18 | 19 | 100dp 20 | 70dp 21 | 22 | 23 | 65dp 24 | 65dp 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/xml/filepaths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/xml/widget_info.xml: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/test/resources/submissions/doubleStrikethrough.html: -------------------------------------------------------------------------------- 1 |
[[d[64GB*]d]]
2 | 3 |
[[d[FTFY]d]]
4 |
-------------------------------------------------------------------------------- /app/src/test/resources/submissions/multipleCodeBlocks.html: -------------------------------------------------------------------------------- 1 |
Hi Rustaceans! I've recently written this:
2 | 3 |
for byte in buffer[..read].iter() {
 4 |     result[*byte as usize] += 1;
 5 |     }
 6 | 
7 | 8 |
And then changed it to this, which also works:
9 | 10 |
for &byte in buffer[..read].iter() {
11 |     result[byte as usize] += 1;
12 |     }
13 | 
14 | 15 |
Is one of those preferred? If so, why?
16 | 17 |
The nice thing about the second one is that it shows that we're dealing with a reference right where the loop variable is defined. In the first one, that only becomes apparent when the variable is used.
18 | 19 |
On the other hand, if this were using iter_mut, then we'd need to use the first form in order to mutate the value using *byte = value.
20 |
-------------------------------------------------------------------------------- /app/src/test/resources/submissions/spoiler.html: -------------------------------------------------------------------------------- 1 |
Hey is no joke
2 |
-------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | maven { url "https://jitpack.io" } 7 | maven { url "https://oss.sonatype.org/content/repositories/snapshots" } 8 | } 9 | 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:7.1.2' 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | mavenCentral() 22 | maven { url "https://jitpack.io" } 23 | maven { url "https://oss.sonatype.org/content/repositories/snapshots" } 24 | } 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/323.txt: -------------------------------------------------------------------------------- 1 | - Reduce data usage on metered connections 2 | - Option to hide the download button in media views 3 | - New back button behavior option to go to first subreddit 4 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/324.txt: -------------------------------------------------------------------------------- 1 | - Support for a... ahem... new video site 2 | - Banner images in subreddit sidebars (thank you YusefOuda) 3 | - Fixes to Imgur upload process 4 | - Translation updates (thank you Alexendoo) 5 | - Updated accessibility labels (thank you nebeker) 6 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/326.txt: -------------------------------------------------------------------------------- 1 | - Huge Video rewrite, thank you to @timawesomeness! Contains support for DASH videos, uses newer ExoPlayer code, and cleans up some older video sites 2 | - Support for mod locking of individual comments 3 | - Added option to save photos to a manual folder (thanks to @Archeidos) 4 | - Updated Fastlane metadata for F-Droid builds (thanks to @obar) 5 | - Fixed offline mode crash when no subreddits were cached 6 | - Fixed posting to profiles with more than 20 characters (thanks to @LostGhost1) 7 | - Added an always show FAB option in Settings (thanks to @darshan099) 8 | - Graceful handling of submission loading errors with new "try again" button (thanks to @ctbur) 9 | - Fix OnePlus and Huawei media scanner intents, will show images in gallery on these devices (thanks to @Rexee) 10 | - Fixed handling of intent links in internal browser 11 | - Fix toolbox encoded chars in removal reason text 12 | - Fixed startup issue on some devices 13 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | Slide is an open source, ad free Reddit browser. 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | android.enableJetifier=true 14 | android.useAndroidX=true 15 | org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 16 | 17 | # When configured, Gradle will run in incubating parallel mode. 18 | # This option should only be used with decoupled projects. More details, visit 19 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 20 | # org.gradle.parallel=true 21 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Haptic-Apps/Slide/fde3f45e99342905a71ee960b115b399f4f5205a/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /scripts/.gitignore: -------------------------------------------------------------------------------- 1 | *.key 2 | -------------------------------------------------------------------------------- /scripts/crowdin.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | depends() { 4 | type $* >/dev/null || exit 1 5 | } 6 | 7 | depends git curl unzip 8 | 9 | basedir=$(git rev-parse --show-toplevel) 10 | apikey=$(tr -d ' \r\n' < "$basedir/scripts/crowdin.key") 11 | apiurl="https://api.crowdin.com/api/project/slide-for-reddit" 12 | location='app/src/main/res' 13 | branch=${1:-application} 14 | 15 | if [[ -z "$basedir" || -z "$apikey" ]]; then 16 | echo 'API key missing' 17 | exit 1 18 | fi 19 | 20 | if [[ -n "$(git status --porcelain $basedir/$location)" ]]; then 21 | echo 'Outstanding changes:' 22 | git status --short "$basedir/$location" 23 | exit 1 24 | fi 25 | 26 | response=$(curl -sS "$apiurl/export?key=$apikey&branch=$branch" | grep '