Searched refs:distanceFromScreenCenterToViewCenter (Results 1 – 1 of 1) sorted by relevance
137 val distanceFromScreenCenterToViewCenter = screenSize.x / 2 - viewCenterX in createAnimatedView() constant138 startTranslationX = distanceFromScreenCenterToViewCenter * TRANSLATION_PERCENTAGE in createAnimatedView()141 val distanceFromScreenCenterToViewCenter = screenSize.y / 2 - viewCenterY in createAnimatedView() constant143 startTranslationY = distanceFromScreenCenterToViewCenter * TRANSLATION_PERCENTAGE in createAnimatedView()