mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 10:57:17 +01:00
13 lines
385 B
Java
13 lines
385 B
Java
package com.amazon.apl.android.image;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes20.dex */
|
|
public class ImagePositionUtil {
|
|
public static int center(int i, int i2) {
|
|
return Math.round((i - i2) * 0.5f);
|
|
}
|
|
|
|
public static int end(int i, int i2) {
|
|
return Math.max(i - i2, 0);
|
|
}
|
|
}
|