INNER CODE UNIT · Kotlin

y

FossifyOrg/Gallery · app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt:367

                    y = (height - bitmap.height) / 2f
                    requestLayout()
                }
            }
        } catch (e: Exception) {
            showErrorToast(e)
        }
    }

    private fun setOldExif() {
        oldExif = readExif(uri!!)
    }

    private fun startSaveFlow(overwrite: Boolean) {
        overwriteRequested = overwrite
        setOldExif()
        when {
            binding.cropImageView.isVisible() -> cropImage()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…