640 lines
18 KiB
Smali
640 lines
18 KiB
Smali
.class public final Landroidx/core/graphics/RectKt;
|
|
.super Ljava/lang/Object;
|
|
.source "Rect.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final and(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CheckResult"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->intersect(Landroid/graphics/Rect;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final and(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"CheckResult"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->intersect(Landroid/graphics/RectF;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final component1(Landroid/graphics/RectF;)F
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/RectF;->left:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component1(Landroid/graphics/Rect;)I
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component2(Landroid/graphics/RectF;)F
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/RectF;->top:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component2(Landroid/graphics/Rect;)I
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component3(Landroid/graphics/RectF;)F
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/RectF;->right:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component3(Landroid/graphics/Rect;)I
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component4(Landroid/graphics/RectF;)F
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/RectF;->bottom:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final component4(Landroid/graphics/Rect;)I
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final contains(Landroid/graphics/Rect;Landroid/graphics/Point;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "p"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget v0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
invoke-virtual {p0, v0, p1}, Landroid/graphics/Rect;->contains(II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final contains(Landroid/graphics/RectF;Landroid/graphics/PointF;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "p"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget v0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-virtual {p0, v0, p1}, Landroid/graphics/RectF;->contains(FF)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;I)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
neg-int p0, p1
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;Landroid/graphics/Point;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "xy"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
neg-int p0, p0
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
neg-int p1, p1
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;F)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
neg-float p0, p1
|
|
|
|
invoke-virtual {v0, p0, p0}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;Landroid/graphics/PointF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "xy"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
neg-float p0, p0
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
neg-float p1, p1
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p0, Landroid/graphics/Region$Op;->DIFFERENCE:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p1, p0}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final minus(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
new-instance p0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p1, p0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p1, Landroid/graphics/Region$Op;->DIFFERENCE:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final or(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->union(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final or(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->union(Landroid/graphics/RectF;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;I)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;Landroid/graphics/Point;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "xy"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
iget p0, p1, Landroid/graphics/Point;->x:I
|
|
|
|
iget p1, p1, Landroid/graphics/Point;->y:I
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Rect;->offset(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/Rect;->union(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;F)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;Landroid/graphics/PointF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "xy"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
iget p0, p1, Landroid/graphics/PointF;->x:F
|
|
|
|
iget p1, p1, Landroid/graphics/PointF;->y:F
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/RectF;->offset(FF)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/RectF;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/RectF;->union(Landroid/graphics/RectF;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRect(Landroid/graphics/RectF;)Landroid/graphics/Rect;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRectF(Landroid/graphics/Rect;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/RectF;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/RectF;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRegion(Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toRegion(Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final transform(Landroid/graphics/RectF;Landroid/graphics/Matrix;)Landroid/graphics/RectF;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "m"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p0}, Landroid/graphics/Matrix;->mapRect(Landroid/graphics/RectF;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final xor(Landroid/graphics/Rect;Landroid/graphics/Rect;)Landroid/graphics/Region;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p0, Landroid/graphics/Region$Op;->XOR:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p1, p0}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final xor(Landroid/graphics/RectF;Landroid/graphics/RectF;)Landroid/graphics/Region;
|
|
.locals 2
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/Region;
|
|
|
|
new-instance v1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p0, v1}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
invoke-direct {v0, v1}, Landroid/graphics/Region;-><init>(Landroid/graphics/Rect;)V
|
|
|
|
new-instance p0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
invoke-virtual {p1, p0}, Landroid/graphics/RectF;->roundOut(Landroid/graphics/Rect;)V
|
|
|
|
sget-object p1, Landroid/graphics/Region$Op;->XOR:Landroid/graphics/Region$Op;
|
|
|
|
invoke-virtual {v0, p0, p1}, Landroid/graphics/Region;->op(Landroid/graphics/Rect;Landroid/graphics/Region$Op;)Z
|
|
|
|
return-object v0
|
|
.end method
|