Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9c1b450 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Move PunchHole.kt to the animation/scene/ directory

This CL moves PunchHole.kt out of the transformation/ directory. This is
a pure move to improve the diff of the parent CL http://ag/25382493.

Test: PunchHoleTest
Bug: 291071158
Flag: NA
Change-Id: Ia70d7d8df72a14685ab4c46b4615c91edaf54641
parent fe810dc2
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.compose.animation.scene.transformation
package com.android.compose.animation.scene

import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.drawWithContent
@@ -34,11 +34,7 @@ import androidx.compose.ui.graphics.drawscope.translate
import androidx.compose.ui.graphics.withSaveLayer
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.toSize
import com.android.compose.animation.scene.Element
import com.android.compose.animation.scene.ElementKey
import com.android.compose.animation.scene.ElementMatcher
import com.android.compose.animation.scene.Scene
import com.android.compose.animation.scene.SceneTransitionLayoutImpl
import com.android.compose.animation.scene.transformation.ModifierTransformation

/** Punch a hole in an element using the bounds of another element and a given [shape]. */
internal class PunchHole(
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ import com.android.compose.animation.scene.transformation.DrawScale
import com.android.compose.animation.scene.transformation.EdgeTranslate
import com.android.compose.animation.scene.transformation.Fade
import com.android.compose.animation.scene.transformation.PropertyTransformation
import com.android.compose.animation.scene.transformation.PunchHole
import com.android.compose.animation.scene.transformation.RangedPropertyTransformation
import com.android.compose.animation.scene.transformation.ScaleSize
import com.android.compose.animation.scene.transformation.SharedElementTransformation