Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–2823 unchanged (2823 lines)
2824 Log_OC.d(TAG, "User returned from settings activity, skipping reset content logic")
2825 return
2826 }
2827
2828 initFile()
2829 }
2830
2831 private fun initFile() {
2832 val userOpt = user
2833 if (userOpt.isEmpty) {
2834 Log_OC.w(TAG, "user is not available, cannot init file")
2835 return
2836 }
…lines 2837–3181 unchanged (345 lines)

After

…lines 1–2824 unchanged (2824 lines)
2825 return
2826 }
2827
2828 initFile()
2829 }
2830
2831 @Suppress("LongMethod")
2832 private fun initFile() {
2833 val userOpt = user
2834 if (userOpt.isEmpty) {
2835 Log_OC.w(TAG, "user is not available, cannot init file")
2836 return
2837 }
…lines 2838–3182 unchanged (345 lines)

Before

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "activity"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "accounts"
. "."
identifier "AuthenticatorException"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "annotation"
. "."
identifier "SuppressLint"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "BroadcastReceiver"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "ComponentName"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Context"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "DialogInterface"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Intent"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "IntentFilter"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "ServiceConnection"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "pm"
. "."
identifier "PackageManager"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Configuration"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Resources"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "net"
. "."
identifier "Uri"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Build"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Bundle"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Environment"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Handler"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "IBinder"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Looper"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Parcelable"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "text"
. "."
identifier "TextUtils"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "Menu"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "MenuItem"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "View"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "ViewTreeObserver"
. "."
identifier "OnGlobalLayoutListener"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "WindowManager"
. "."
identifier "BadTokenException"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "inputmethod"
. "."
identifier "InputMethodManager"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "activity"
. "."
identifier "OnBackPressedCallback"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "annotation"
. "."
identifier "VisibleForTesting"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "appcompat"
. "."
identifier "widget"
. "."
identifier "SearchView"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "util"
. "."
identifier "Function"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "view"
. "."
identifier "MenuItemCompat"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "view"
. "."
identifier "isVisible"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "fragment"
. "."
identifier "app"
. "."
identifier "Fragment"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "lifecycle"
. "."
identifier "lifecycleScope"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "localbroadcastmanager"
. "."
identifier "content"
. "."
identifier "LocalBroadcastManager"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "appbar"
. "."
identifier "AppBarLayout"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "dialog"
. "."
identifier "MaterialAlertDialogBuilder"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "snackbar"
. "."
identifier "Snackbar"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "android"
. "."
identifier "common"
. "."
identifier "core"
. "."
identifier "utils"
. "."
identifier "ecosystem"
. "."
identifier "AccountReceiverCallback"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "appReview"
. "."
identifier "InAppReviewHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "account"
. "."
identifier "User"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "appinfo"
. "."
identifier "AppInfo"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "core"
. "."
identifier "AsyncRunner"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "core"
. "."
identifier "Clock"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "di"
. "."
identifier "Injectable"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "editimage"
. "."
identifier "EditImageActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "files"
. "."
identifier "DeepLinkHandler"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "folderDownload"
. "."
identifier "FolderDownloadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "media"
. "."
identifier "PlayerServiceConnection"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "network"
. "."
identifier "ClientFactory"
. "."
identifier "CreationException"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "preferences"
. "."
identifier "AppPreferences"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "utils"
. "."
identifier "IntentUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "model"
. "."
identifier "WorkerState"
. "."
identifier "OfflineOperationsCompleted"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "ui"
. "."
identifier "composeActivity"
. "."
identifier "ComposeProcessTextAlias"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "getParcelableArgument"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "isActive"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "lastFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "logFileSize"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "navigateToAllFiles"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "observeWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "fileNameValidator"
. "."
identifier "FileNameValidator"
. "."
identifier "checkFolderPath"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "view"
. "."
identifier "FastScrollUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "MainApp"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "databinding"
. "."
identifier "FilesBinding"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "FileDataStorageManager"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "OCFile"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "SyncedFolderProvider"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "VirtualFolderType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "files"
. "."
identifier "services"
. "."
identifier "NameCollisionPolicy"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "OwnCloudClient"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "operations"
. "."
identifier "RemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "operations"
. "."
identifier "RemoteOperationResult"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "utils"
. "."
identifier "Log_OC"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "files"
. "."
identifier "RestoreFileVersionRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "files"
. "."
identifier "SearchRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "notifications"
. "."
identifier "GetNotificationsRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "CopyFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "CreateFolderOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "DownloadType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "MoveFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RefreshFolderOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RemoveFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RenameFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "SynchronizeFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "UploadFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "syncadapter"
. "."
identifier "FileSyncAdapter"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "CompletionCallback"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "CheckAvailableSpaceTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "CheckAvailableSpaceTask"
. "."
identifier "CheckAvailableSpaceListener"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "FetchRemoteFileTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "GetRemoteFileTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "DeleteBatchTracker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "SendShareDialog"
. "."
identifier "SendShareDialogDownloader"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "SortingOrderDialogFragment"
. "."
identifier "OnSortingOrderListener"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "StoragePermissionDialogFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "TermsOfServiceDialog"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "SearchEvent"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "SyncEventFinished"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "TokenPushEvent"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "EmptyListState"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "FileDetailFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "FileFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "GalleryFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "GroupfolderListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "OCFileListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "SearchType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "SharedListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "TaskRetainerFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "UnifiedSearchFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "helpers"
. "."
identifier "FileOperationsHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "helpers"
. "."
identifier "UriUploader"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "interfaces"
. "."
identifier "TransactionInterface"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewImageActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewImageFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaFragment"
. "."
identifier "Companion"
. "."
identifier "newInstance"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextFileFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextStringFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "pdf"
. "."
identifier "PreviewPdfFragment"
. "."
identifier "Companion"
. "."
identifier "newInstance"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "DataHolderUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "DisplayUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "ErrorMessageAdapter"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "FileSortOrder"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "MimeTypeUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
. "."
identifier "requestNotificationPermission"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
. "."
identifier "requestStoragePermissionIfNeeded"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PushUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "StringUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "UriUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "theme"
. "."
identifier "CapabilityUtils"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "Dispatchers"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "launch"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "withContext"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "io"
. "."
identifier "FilenameUtils"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "EventBus"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "Subscribe"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "ThreadMode"
import
import "import"
qualified_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "File"
import
import "import"
qualified_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "function"
. "."
identifier "Supplier"
import
import "import"
qualified_identifier
identifier "javax"
. "."
identifier "inject"
. "."
identifier "Inject"
block_comment "/**\n * Displays, what files the user has available in his Ne"...
class_declaration
modifiers (+50 nodes collapsed)
class "class"
identifier "FileDisplayActivity"
: ":"
delegation_specifiers (+34 nodes collapsed)
class_body
{ "{"
property_declaration
modifiers
visibility_modifier
private "private"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "binding"
: ":"
user_type
identifier "FilesBinding"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "syncReceiver"
= "="
call_expression
identifier "SyncReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileUploadCompletedReceiver"
= "="
call_expression
identifier "FileUploadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileDownloadStartedReceiver"
= "="
call_expression
identifier "FileDownloadStartedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileDownloadCompletedReceiver"
= "="
call_expression
identifier "FileDownloadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "folderDownloadStartedReceiver"
= "="
call_expression
identifier "FolderDownloadStartedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "folderDownloadCompletedReceiver"
= "="
call_expression
identifier "FolderDownloadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mLastSslUntrustedServerResult"
: ":"
nullable_type
user_type
identifier "RemoteOperationResult"
type_arguments
< "<"
type_projection
* "*"
> ">"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mWaitingToPreview"
: ":"
nullable_type
user_type
identifier "OCFile"
? "?"
= "="
identifier "null"
property_declaration (+30 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mWaitingToSend"
: ":"
nullable_type
user_type
identifier "OCFile"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mDrawerMenuItemstoShowHideList"
: ":"
nullable_type
user_type
identifier "MutableCollection"
type_arguments
< "<"
type_projection
user_type
identifier "MenuItem"
> ">"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchQuery"
: ":"
nullable_type
user_type
identifier "String"
? "?"
= "="
string_literal
" "\""
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchOpen"
= "="
identifier "false"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchView"
: ":"
nullable_type
user_type
identifier "SearchView"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mPlayerConnection"
: ":"
nullable_type
user_type
identifier "PlayerServiceConnection"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "lastDisplayedAccountName"
: ":"
nullable_type
user_type
identifier "String"
? "?"
= "="
identifier "null"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "localBroadcastManager"
: ":"
user_type
identifier "LocalBroadcastManager"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "composeProcessTextAlias"
: ":"
user_type
identifier "ComposeProcessTextAlias"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "preferences"
: ":"
user_type
identifier "AppPreferences"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "appInfo"
: ":"
user_type
identifier "AppInfo"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "inAppReviewHelper"
: ":"
user_type
identifier "InAppReviewHelper"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "fastScrollUtils"
: ":"
user_type
identifier "FastScrollUtils"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "asyncRunner"
: ":"
user_type
identifier "AsyncRunner"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "clock"
: ":"
user_type
identifier "Clock"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "syncedFolderProvider"
: ":"
user_type
identifier "SyncedFolderProvider"
block_comment "/**\n * Indicates whether the downloaded file should be p"...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "fileIDForImmediatePreview"
: ":"
user_type
identifier "Long"
= "="
unary_expression
- "-"
number_literal "1"
function_declaration (+23 nodes collapsed)
function_declaration (+193 nodes collapsed)
block_comment "/**\n * Determines which navigation drawer item should be"...
function_declaration (+37 nodes collapsed)
function_declaration (+133 nodes collapsed)
function_declaration (+41 nodes collapsed)
function_declaration (+126 nodes collapsed)
function_declaration (+94 nodes collapsed)
function_declaration (+287 nodes collapsed)
function_declaration (+153 nodes collapsed)
function_declaration (+142 nodes collapsed)
block_comment "/**\n * For Android 7+. Opens a pop up info for the new i"...
function_declaration (+232 nodes collapsed)
function_declaration (+102 nodes collapsed)
function_declaration (+161 nodes collapsed)
function_declaration (+216 nodes collapsed)
function_declaration (+171 nodes collapsed)
function_declaration (+134 nodes collapsed)
function_declaration (+100 nodes collapsed)
line_comment "// region Handle Intents"
function_declaration (+77 nodes collapsed)
function_declaration (+245 nodes collapsed)
function_declaration (+68 nodes collapsed)
function_declaration (+59 nodes collapsed)
function_declaration (+239 nodes collapsed)
line_comment "// endregion"
function_declaration (+228 nodes collapsed)
function_declaration (+101 nodes collapsed)
function_declaration (+60 nodes collapsed)
function_declaration (+131 nodes collapsed)
function_declaration (+243 nodes collapsed)
function_declaration (+76 nodes collapsed)
property_declaration (+48 nodes collapsed)
property_declaration (+66 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+37 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+403 nodes collapsed)
function_declaration (+73 nodes collapsed)
function_declaration (+537 nodes collapsed)
function_declaration (+50 nodes collapsed)
block_comment "/**\n * Called, when the user selected something for uplo"...
function_declaration (+538 nodes collapsed)
function_declaration (+31 nodes collapsed)
function_declaration (+77 nodes collapsed)
function_declaration (+98 nodes collapsed)
function_declaration (+373 nodes collapsed)
function_declaration (+390 nodes collapsed)
function_declaration (+81 nodes collapsed)
block_comment "/**\n * Sets up a custom back-press handler for this acti"...
function_declaration (+81 nodes collapsed)
function_declaration (+138 nodes collapsed)
function_declaration (+87 nodes collapsed)
function_declaration (+110 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+222 nodes collapsed)
block_comment "/**\n * Use this method when want to pop the fragment on "...
function_declaration (+54 nodes collapsed)
function_declaration (+158 nodes collapsed)
function_declaration (+405 nodes collapsed)
function_declaration (+72 nodes collapsed)
line_comment "// region local broadcast manager receivers"
function_declaration (+236 nodes collapsed)
function_declaration (+80 nodes collapsed)
line_comment "// endregion"
function_declaration (+43 nodes collapsed)
function_declaration (+40 nodes collapsed)
function_declaration (+72 nodes collapsed)
line_comment "// region SyncBroadcastReceiver"
class_declaration (+309 nodes collapsed)
line_comment "// avoid app crashes after changing the serial id of RemoteO"...
line_comment "// with broadcast notifications pending to process"
function_declaration (+83 nodes collapsed)
function_declaration (+237 nodes collapsed)
function_declaration (+64 nodes collapsed)
function_declaration (+48 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+74 nodes collapsed)
function_declaration (+87 nodes collapsed)
function_declaration (+50 nodes collapsed)
function_declaration (+152 nodes collapsed)
function_declaration (+50 nodes collapsed)
function_declaration (+77 nodes collapsed)
function_declaration (+87 nodes collapsed)
line_comment "// endregion"
block_comment "/**\n * Once the file upload has finished -> update view\n"...
class_declaration (+532 nodes collapsed)
class_declaration (+48 nodes collapsed)
function_declaration (+43 nodes collapsed)
line_comment "// region FolderDownloadWorker receivers"
function_declaration (+139 nodes collapsed)
class_declaration (+89 nodes collapsed)
class_declaration (+89 nodes collapsed)
line_comment "// endregion"
line_comment "// region FileDownloadWorker receivers"
function_declaration (+64 nodes collapsed)
class_declaration (+93 nodes collapsed)
class_declaration (+697 nodes collapsed)
line_comment "// endregion"
function_declaration (+99 nodes collapsed)
function_declaration (+44 nodes collapsed)
block_comment "/**\n * Shows the information of the [OCFile] received as"...
function_declaration (+30 nodes collapsed)
block_comment "/**\n * Shows the information of the [OCFile] received as"...
function_declaration (+99 nodes collapsed)
block_comment "/**\n * Prevents content scrolling and toolbar collapse\n "...
function_declaration (+84 nodes collapsed)
block_comment "/**\n * Resets content scrolling and toolbar collapse\n "...
function_declaration (+106 nodes collapsed)
function_declaration (+55 nodes collapsed)
function_declaration (+25 nodes collapsed)
function_declaration (+49 nodes collapsed)
function_declaration (+98 nodes collapsed)
function_declaration (+208 nodes collapsed)
function_declaration (+124 nodes collapsed)
function_declaration (+80 nodes collapsed)
function_declaration
modifiers
member_modifier
override "override"
fun "fun"
identifier "newTransferenceServiceConnection"
function_value_parameters
( "("
) ")"
: ":"
user_type
identifier "ServiceConnection"
function_body
= "="
call_expression
identifier "ListServiceConnection"
value_arguments
( "("
) ")"
block_comment "/**\n * Defines callbacks for service binding, passed to "...
class_declaration (+109 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+188 nodes collapsed)
property_declaration (+42 nodes collapsed)
function_declaration (+48 nodes collapsed)
function_declaration (+117 nodes collapsed)
property_declaration (+46 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+334 nodes collapsed)
function_declaration (+235 nodes collapsed)
function_declaration (+65 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+114 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+126 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+431 nodes collapsed)
function_declaration (+82 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+271 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n */"
function_declaration (+158 nodes collapsed)
function_declaration (+67 nodes collapsed)
function_declaration (+27 nodes collapsed)
block_comment "/**\n * Starts an operation to refresh the requested fold"...
function_declaration (+240 nodes collapsed)
function_declaration (+161 nodes collapsed)
function_declaration (+134 nodes collapsed)
function_declaration (+138 nodes collapsed)
block_comment "/**\n * Requests the download of the received [OCFile] , "...
function_declaration (+64 nodes collapsed)
function_declaration (+206 nodes collapsed)
block_comment "/**\n * Stars the preview of an already down media [OCFil"...
function_declaration (+285 nodes collapsed)
function_declaration (+145 nodes collapsed)
function_declaration (+29 nodes collapsed)
block_comment "/**\n * Starts the preview of a text file [OCFile].\n "...
function_declaration (+182 nodes collapsed)
block_comment "/**\n * Starts rich workspace preview for a folder.\n "...
function_declaration (+87 nodes collapsed)
function_declaration (+59 nodes collapsed)
function_declaration (+86 nodes collapsed)
block_comment "/**\n * Requests the download of the received [OCFile] , "...
function_declaration (+117 nodes collapsed)
block_comment "/**\n * Opens EditImageActivity with given file loaded. I"...
function_declaration (+119 nodes collapsed)
block_comment "/**\n * Request stopping the upload/download operation in"...
function_declaration (+92 nodes collapsed)
block_comment "/**\n * Request stopping all upload/download operations i"...
function_declaration (+39 nodes collapsed)
function_declaration (+30 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+79 nodes collapsed)
function_declaration (+43 nodes collapsed)
function_declaration (+78 nodes collapsed)
function_declaration (+147 nodes collapsed)
function_declaration (+260 nodes collapsed)
function_declaration (+84 nodes collapsed)
function_declaration (+63 nodes collapsed)
function_declaration
modifiers
visibility_modifier
private "private"
fun "fun"
identifier "initFile"
function_value_parameters
( "("
) ")"
function_body (+507 nodes collapsed)
function_declaration (+29 nodes collapsed)
function_declaration (+29 nodes collapsed)
function_declaration (+21 nodes collapsed)
function_declaration (+289 nodes collapsed)
function_declaration (+173 nodes collapsed)
function_declaration (+220 nodes collapsed)
function_declaration (+119 nodes collapsed)
function_declaration (+217 nodes collapsed)
function_declaration (+70 nodes collapsed)
function_declaration (+71 nodes collapsed)
function_declaration (+63 nodes collapsed)
function_declaration (+44 nodes collapsed)
function_declaration (+165 nodes collapsed)
function_declaration
modifiers
member_modifier
override "override"
fun "fun"
identifier "onFilesRemoved"
function_value_parameters
( "("
) ")"
function_body
block
{ "{"
call_expression
identifier "refreshCurrentDirectory"
value_arguments
( "("
) ")"
} "}"
function_declaration (+174 nodes collapsed)
line_comment "// region MetadataSyncJob"
function_declaration (+26 nodes collapsed)
function_declaration (+36 nodes collapsed)
line_comment "// endregion"
companion_object (+566 nodes collapsed)
} "}"

After

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "activity"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "accounts"
. "."
identifier "AuthenticatorException"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "annotation"
. "."
identifier "SuppressLint"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "BroadcastReceiver"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "ComponentName"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Context"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "DialogInterface"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "Intent"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "IntentFilter"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "ServiceConnection"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "pm"
. "."
identifier "PackageManager"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Configuration"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "content"
. "."
identifier "res"
. "."
identifier "Resources"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "net"
. "."
identifier "Uri"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Build"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Bundle"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Environment"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Handler"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "IBinder"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Looper"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "os"
. "."
identifier "Parcelable"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "text"
. "."
identifier "TextUtils"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "Menu"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "MenuItem"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "View"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "ViewTreeObserver"
. "."
identifier "OnGlobalLayoutListener"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "WindowManager"
. "."
identifier "BadTokenException"
import
import "import"
qualified_identifier
identifier "android"
. "."
identifier "view"
. "."
identifier "inputmethod"
. "."
identifier "InputMethodManager"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "activity"
. "."
identifier "OnBackPressedCallback"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "annotation"
. "."
identifier "VisibleForTesting"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "appcompat"
. "."
identifier "widget"
. "."
identifier "SearchView"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "util"
. "."
identifier "Function"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "view"
. "."
identifier "MenuItemCompat"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "core"
. "."
identifier "view"
. "."
identifier "isVisible"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "fragment"
. "."
identifier "app"
. "."
identifier "Fragment"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "lifecycle"
. "."
identifier "lifecycleScope"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "localbroadcastmanager"
. "."
identifier "content"
. "."
identifier "LocalBroadcastManager"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "appbar"
. "."
identifier "AppBarLayout"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "dialog"
. "."
identifier "MaterialAlertDialogBuilder"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "google"
. "."
identifier "android"
. "."
identifier "material"
. "."
identifier "snackbar"
. "."
identifier "Snackbar"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "android"
. "."
identifier "common"
. "."
identifier "core"
. "."
identifier "utils"
. "."
identifier "ecosystem"
. "."
identifier "AccountReceiverCallback"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "appReview"
. "."
identifier "InAppReviewHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "account"
. "."
identifier "User"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "appinfo"
. "."
identifier "AppInfo"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "core"
. "."
identifier "AsyncRunner"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "core"
. "."
identifier "Clock"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "di"
. "."
identifier "Injectable"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "editimage"
. "."
identifier "EditImageActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "files"
. "."
identifier "DeepLinkHandler"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "download"
. "."
identifier "FileDownloadWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "folderDownload"
. "."
identifier "FolderDownloadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadEventBroadcaster"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "jobs"
. "."
identifier "upload"
. "."
identifier "FileUploadWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "media"
. "."
identifier "PlayerServiceConnection"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "network"
. "."
identifier "ClientFactory"
. "."
identifier "CreationException"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "preferences"
. "."
identifier "AppPreferences"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "utils"
. "."
identifier "IntentUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "model"
. "."
identifier "WorkerState"
. "."
identifier "OfflineOperationsCompleted"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "ui"
. "."
identifier "composeActivity"
. "."
identifier "ComposeProcessTextAlias"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "getParcelableArgument"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "isActive"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "lastFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "logFileSize"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "navigateToAllFiles"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "observeWorker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "fileNameValidator"
. "."
identifier "FileNameValidator"
. "."
identifier "checkFolderPath"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "view"
. "."
identifier "FastScrollUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "MainApp"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "databinding"
. "."
identifier "FilesBinding"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "FileDataStorageManager"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "OCFile"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "SyncedFolderProvider"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "datamodel"
. "."
identifier "VirtualFolderType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "files"
. "."
identifier "services"
. "."
identifier "NameCollisionPolicy"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "OwnCloudClient"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "operations"
. "."
identifier "RemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "operations"
. "."
identifier "RemoteOperationResult"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "common"
. "."
identifier "utils"
. "."
identifier "Log_OC"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "files"
. "."
identifier "RestoreFileVersionRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "files"
. "."
identifier "SearchRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "notifications"
. "."
identifier "GetNotificationsRemoteOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "CopyFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "CreateFolderOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "DownloadType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "MoveFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RefreshFolderOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RemoveFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "RenameFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "SynchronizeFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "operations"
. "."
identifier "UploadFileOperation"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "syncadapter"
. "."
identifier "FileSyncAdapter"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "CompletionCallback"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "CheckAvailableSpaceTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "CheckAvailableSpaceTask"
. "."
identifier "CheckAvailableSpaceListener"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "FetchRemoteFileTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "asynctasks"
. "."
identifier "GetRemoteFileTask"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "DeleteBatchTracker"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "SendShareDialog"
. "."
identifier "SendShareDialogDownloader"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "SortingOrderDialogFragment"
. "."
identifier "OnSortingOrderListener"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "StoragePermissionDialogFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "dialog"
. "."
identifier "TermsOfServiceDialog"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "SearchEvent"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "SyncEventFinished"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "events"
. "."
identifier "TokenPushEvent"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "EmptyListState"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "FileDetailFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "FileFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "GalleryFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "GroupfolderListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "OCFileListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "SearchType"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "SharedListFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "TaskRetainerFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "fragment"
. "."
identifier "UnifiedSearchFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "helpers"
. "."
identifier "FileOperationsHelper"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "helpers"
. "."
identifier "UriUploader"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "interfaces"
. "."
identifier "TransactionInterface"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewImageActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewImageFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaActivity"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewMediaFragment"
. "."
identifier "Companion"
. "."
identifier "newInstance"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextFileFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "PreviewTextStringFragment"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "ui"
. "."
identifier "preview"
. "."
identifier "pdf"
. "."
identifier "PreviewPdfFragment"
. "."
identifier "Companion"
. "."
identifier "newInstance"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "DataHolderUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "DisplayUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "ErrorMessageAdapter"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "FileSortOrder"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "MimeTypeUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
. "."
identifier "requestNotificationPermission"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PermissionUtil"
. "."
identifier "requestStoragePermissionIfNeeded"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "PushUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "StringUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "UriUtils"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "utils"
. "."
identifier "theme"
. "."
identifier "CapabilityUtils"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "Dispatchers"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "launch"
import
import "import"
qualified_identifier
identifier "kotlinx"
. "."
identifier "coroutines"
. "."
identifier "withContext"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "io"
. "."
identifier "FilenameUtils"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "EventBus"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "Subscribe"
import
import "import"
qualified_identifier
identifier "org"
. "."
identifier "greenrobot"
. "."
identifier "eventbus"
. "."
identifier "ThreadMode"
import
import "import"
qualified_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "File"
import
import "import"
qualified_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "function"
. "."
identifier "Supplier"
import
import "import"
qualified_identifier
identifier "javax"
. "."
identifier "inject"
. "."
identifier "Inject"
block_comment "/**\n * Displays, what files the user has available in his Ne"...
class_declaration
modifiers (+50 nodes collapsed)
class "class"
identifier "FileDisplayActivity"
: ":"
delegation_specifiers (+34 nodes collapsed)
class_body
{ "{"
property_declaration
modifiers
visibility_modifier
private "private"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "binding"
: ":"
user_type
identifier "FilesBinding"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "syncReceiver"
= "="
call_expression
identifier "SyncReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileUploadCompletedReceiver"
= "="
call_expression
identifier "FileUploadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileDownloadStartedReceiver"
= "="
call_expression
identifier "FileDownloadStartedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "fileDownloadCompletedReceiver"
= "="
call_expression
identifier "FileDownloadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "folderDownloadStartedReceiver"
= "="
call_expression
identifier "FolderDownloadStartedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "folderDownloadCompletedReceiver"
= "="
call_expression
identifier "FolderDownloadCompletedReceiver"
value_arguments
( "("
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mLastSslUntrustedServerResult"
: ":"
nullable_type
user_type
identifier "RemoteOperationResult"
type_arguments
< "<"
type_projection
* "*"
> ">"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mWaitingToPreview"
: ":"
nullable_type
user_type
identifier "OCFile"
? "?"
= "="
identifier "null"
property_declaration (+30 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mWaitingToSend"
: ":"
nullable_type
user_type
identifier "OCFile"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mDrawerMenuItemstoShowHideList"
: ":"
nullable_type
user_type
identifier "MutableCollection"
type_arguments
< "<"
type_projection
user_type
identifier "MenuItem"
> ">"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchQuery"
: ":"
nullable_type
user_type
identifier "String"
? "?"
= "="
string_literal
" "\""
" "\""
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchOpen"
= "="
identifier "false"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "searchView"
: ":"
nullable_type
user_type
identifier "SearchView"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "mPlayerConnection"
: ":"
nullable_type
user_type
identifier "PlayerServiceConnection"
? "?"
= "="
identifier "null"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "lastDisplayedAccountName"
: ":"
nullable_type
user_type
identifier "String"
? "?"
= "="
identifier "null"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "localBroadcastManager"
: ":"
user_type
identifier "LocalBroadcastManager"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "composeProcessTextAlias"
: ":"
user_type
identifier "ComposeProcessTextAlias"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "preferences"
: ":"
user_type
identifier "AppPreferences"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "appInfo"
: ":"
user_type
identifier "AppInfo"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "inAppReviewHelper"
: ":"
user_type
identifier "InAppReviewHelper"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "fastScrollUtils"
: ":"
user_type
identifier "FastScrollUtils"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "asyncRunner"
: ":"
user_type
identifier "AsyncRunner"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "clock"
: ":"
user_type
identifier "Clock"
property_declaration
modifiers
annotation
@ "@"
user_type
identifier "Inject"
member_modifier
lateinit "lateinit"
var "var"
variable_declaration
identifier "syncedFolderProvider"
: ":"
user_type
identifier "SyncedFolderProvider"
block_comment "/**\n * Indicates whether the downloaded file should be p"...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "fileIDForImmediatePreview"
: ":"
user_type
identifier "Long"
= "="
unary_expression
- "-"
number_literal "1"
function_declaration (+23 nodes collapsed)
function_declaration (+193 nodes collapsed)
block_comment "/**\n * Determines which navigation drawer item should be"...
function_declaration (+37 nodes collapsed)
function_declaration (+133 nodes collapsed)
function_declaration (+41 nodes collapsed)
function_declaration (+126 nodes collapsed)
function_declaration (+94 nodes collapsed)
function_declaration (+287 nodes collapsed)
function_declaration (+153 nodes collapsed)
function_declaration (+142 nodes collapsed)
block_comment "/**\n * For Android 7+. Opens a pop up info for the new i"...
function_declaration (+232 nodes collapsed)
function_declaration (+102 nodes collapsed)
function_declaration (+161 nodes collapsed)
function_declaration (+216 nodes collapsed)
function_declaration (+171 nodes collapsed)
function_declaration (+134 nodes collapsed)
function_declaration (+100 nodes collapsed)
line_comment "// region Handle Intents"
function_declaration (+77 nodes collapsed)
function_declaration (+245 nodes collapsed)
function_declaration (+68 nodes collapsed)
function_declaration (+59 nodes collapsed)
function_declaration (+239 nodes collapsed)
line_comment "// endregion"
function_declaration (+228 nodes collapsed)
function_declaration (+101 nodes collapsed)
function_declaration (+60 nodes collapsed)
function_declaration (+131 nodes collapsed)
function_declaration (+243 nodes collapsed)
function_declaration (+76 nodes collapsed)
property_declaration (+48 nodes collapsed)
property_declaration (+66 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+37 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+403 nodes collapsed)
function_declaration (+73 nodes collapsed)
function_declaration (+537 nodes collapsed)
function_declaration (+50 nodes collapsed)
block_comment "/**\n * Called, when the user selected something for uplo"...
function_declaration (+538 nodes collapsed)
function_declaration (+31 nodes collapsed)
function_declaration (+77 nodes collapsed)
function_declaration (+98 nodes collapsed)
function_declaration (+373 nodes collapsed)
function_declaration (+390 nodes collapsed)
function_declaration (+81 nodes collapsed)
block_comment "/**\n * Sets up a custom back-press handler for this acti"...
function_declaration (+81 nodes collapsed)
function_declaration (+138 nodes collapsed)
function_declaration (+87 nodes collapsed)
function_declaration (+110 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+222 nodes collapsed)
block_comment "/**\n * Use this method when want to pop the fragment on "...
function_declaration (+54 nodes collapsed)
function_declaration (+158 nodes collapsed)
function_declaration (+405 nodes collapsed)
function_declaration (+72 nodes collapsed)
line_comment "// region local broadcast manager receivers"
function_declaration (+236 nodes collapsed)
function_declaration (+80 nodes collapsed)
line_comment "// endregion"
function_declaration (+43 nodes collapsed)
function_declaration (+40 nodes collapsed)
function_declaration (+72 nodes collapsed)
line_comment "// region SyncBroadcastReceiver"
class_declaration (+309 nodes collapsed)
line_comment "// avoid app crashes after changing the serial id of RemoteO"...
line_comment "// with broadcast notifications pending to process"
function_declaration (+83 nodes collapsed)
function_declaration (+237 nodes collapsed)
function_declaration (+64 nodes collapsed)
function_declaration (+48 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+74 nodes collapsed)
function_declaration (+87 nodes collapsed)
function_declaration (+50 nodes collapsed)
function_declaration (+152 nodes collapsed)
function_declaration (+50 nodes collapsed)
function_declaration (+77 nodes collapsed)
function_declaration (+87 nodes collapsed)
line_comment "// endregion"
block_comment "/**\n * Once the file upload has finished -> update view\n"...
class_declaration (+532 nodes collapsed)
class_declaration (+48 nodes collapsed)
function_declaration (+43 nodes collapsed)
line_comment "// region FolderDownloadWorker receivers"
function_declaration (+139 nodes collapsed)
class_declaration (+89 nodes collapsed)
class_declaration (+89 nodes collapsed)
line_comment "// endregion"
line_comment "// region FileDownloadWorker receivers"
function_declaration (+64 nodes collapsed)
class_declaration (+93 nodes collapsed)
class_declaration (+697 nodes collapsed)
line_comment "// endregion"
function_declaration (+99 nodes collapsed)
function_declaration (+44 nodes collapsed)
block_comment "/**\n * Shows the information of the [OCFile] received as"...
function_declaration (+30 nodes collapsed)
block_comment "/**\n * Shows the information of the [OCFile] received as"...
function_declaration (+99 nodes collapsed)
block_comment "/**\n * Prevents content scrolling and toolbar collapse\n "...
function_declaration (+84 nodes collapsed)
block_comment "/**\n * Resets content scrolling and toolbar collapse\n "...
function_declaration (+106 nodes collapsed)
function_declaration (+55 nodes collapsed)
function_declaration (+25 nodes collapsed)
function_declaration (+49 nodes collapsed)
function_declaration (+98 nodes collapsed)
function_declaration (+208 nodes collapsed)
function_declaration (+124 nodes collapsed)
function_declaration (+80 nodes collapsed)
function_declaration
modifiers
member_modifier
override "override"
fun "fun"
identifier "newTransferenceServiceConnection"
function_value_parameters
( "("
) ")"
: ":"
user_type
identifier "ServiceConnection"
function_body
= "="
call_expression
identifier "ListServiceConnection"
value_arguments
( "("
) ")"
block_comment "/**\n * Defines callbacks for service binding, passed to "...
class_declaration (+109 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+188 nodes collapsed)
property_declaration (+42 nodes collapsed)
function_declaration (+48 nodes collapsed)
function_declaration (+117 nodes collapsed)
property_declaration (+46 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+334 nodes collapsed)
function_declaration (+235 nodes collapsed)
function_declaration (+65 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+114 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+126 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+431 nodes collapsed)
function_declaration (+82 nodes collapsed)
block_comment "/**\n * Updates the view associated to the activity after"...
function_declaration (+271 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n */"
function_declaration (+158 nodes collapsed)
function_declaration (+67 nodes collapsed)
function_declaration (+27 nodes collapsed)
block_comment "/**\n * Starts an operation to refresh the requested fold"...
function_declaration (+240 nodes collapsed)
function_declaration (+161 nodes collapsed)
function_declaration (+134 nodes collapsed)
function_declaration (+138 nodes collapsed)
block_comment "/**\n * Requests the download of the received [OCFile] , "...
function_declaration (+64 nodes collapsed)
function_declaration (+206 nodes collapsed)
block_comment "/**\n * Stars the preview of an already down media [OCFil"...
function_declaration (+285 nodes collapsed)
function_declaration (+145 nodes collapsed)
function_declaration (+29 nodes collapsed)
block_comment "/**\n * Starts the preview of a text file [OCFile].\n "...
function_declaration (+182 nodes collapsed)
block_comment "/**\n * Starts rich workspace preview for a folder.\n "...
function_declaration (+87 nodes collapsed)
function_declaration (+59 nodes collapsed)
function_declaration (+86 nodes collapsed)
block_comment "/**\n * Requests the download of the received [OCFile] , "...
function_declaration (+117 nodes collapsed)
block_comment "/**\n * Opens EditImageActivity with given file loaded. I"...
function_declaration (+119 nodes collapsed)
block_comment "/**\n * Request stopping the upload/download operation in"...
function_declaration (+92 nodes collapsed)
block_comment "/**\n * Request stopping all upload/download operations i"...
function_declaration (+39 nodes collapsed)
function_declaration (+30 nodes collapsed)
function_declaration (+27 nodes collapsed)
function_declaration (+79 nodes collapsed)
function_declaration (+43 nodes collapsed)
function_declaration (+78 nodes collapsed)
function_declaration (+147 nodes collapsed)
function_declaration (+260 nodes collapsed)
function_declaration (+84 nodes collapsed)
function_declaration (+63 nodes collapsed)
function_declaration
modifiers
annotation
@ "@"
constructor_invocation
user_type
identifier "Suppress"
value_arguments
( "("
value_argument
string_literal
" "\""
string_content "LongMethod"
" "\""
) ")"
visibility_modifier
private "private"
fun "fun"
identifier "initFile"
function_value_parameters
( "("
) ")"
function_body (+507 nodes collapsed)
function_declaration (+29 nodes collapsed)
function_declaration (+29 nodes collapsed)
function_declaration (+21 nodes collapsed)
function_declaration (+289 nodes collapsed)
function_declaration (+173 nodes collapsed)
function_declaration (+220 nodes collapsed)
function_declaration (+119 nodes collapsed)
function_declaration (+217 nodes collapsed)
function_declaration (+70 nodes collapsed)
function_declaration (+71 nodes collapsed)
function_declaration (+63 nodes collapsed)
function_declaration (+44 nodes collapsed)
function_declaration (+165 nodes collapsed)
function_declaration
modifiers
member_modifier
override "override"
fun "fun"
identifier "onFilesRemoved"
function_value_parameters
( "("
) ")"
function_body
block
{ "{"
call_expression
identifier "refreshCurrentDirectory"
value_arguments
( "("
) ")"
} "}"
function_declaration (+174 nodes collapsed)
line_comment "// region MetadataSyncJob"
function_declaration (+26 nodes collapsed)
function_declaration (+36 nodes collapsed)
line_comment "// endregion"
companion_object (+566 nodes collapsed)
} "}"