44 lines
2.0 KiB
Java
44 lines
2.0 KiB
Java
package com.discord.widgets.guilds.invite;
|
|
|
|
import android.view.ViewGroup;
|
|
import android.widget.RelativeLayout;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetInviteInfo.kt */
|
|
public final class WidgetInviteInfo$parseAttributeSet$1 implements Runnable {
|
|
public final /* synthetic */ int $size;
|
|
public final /* synthetic */ int $userSize;
|
|
public final /* synthetic */ WidgetInviteInfo this$0;
|
|
|
|
public WidgetInviteInfo$parseAttributeSet$1(WidgetInviteInfo widgetInviteInfo, int i, int i2) {
|
|
this.this$0 = widgetInviteInfo;
|
|
this.$size = i;
|
|
this.$userSize = i2;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
if (this.$size != 0) {
|
|
RelativeLayout relativeLayout = WidgetInviteInfo.access$getBinding$p(this.this$0).f;
|
|
m.checkNotNullExpressionValue(relativeLayout, "binding.inviteAvatarWrap");
|
|
RelativeLayout relativeLayout2 = WidgetInviteInfo.access$getBinding$p(this.this$0).f;
|
|
m.checkNotNullExpressionValue(relativeLayout2, "binding.inviteAvatarWrap");
|
|
ViewGroup.LayoutParams layoutParams = relativeLayout2.getLayoutParams();
|
|
int i = this.$size;
|
|
layoutParams.height = i;
|
|
layoutParams.width = i;
|
|
relativeLayout.setLayoutParams(layoutParams);
|
|
}
|
|
if (this.$userSize != 0) {
|
|
RelativeLayout relativeLayout3 = WidgetInviteInfo.access$getBinding$p(this.this$0).e;
|
|
m.checkNotNullExpressionValue(relativeLayout3, "binding.inviteAvatarSmallWrap");
|
|
RelativeLayout relativeLayout4 = WidgetInviteInfo.access$getBinding$p(this.this$0).e;
|
|
m.checkNotNullExpressionValue(relativeLayout4, "binding.inviteAvatarSmallWrap");
|
|
ViewGroup.LayoutParams layoutParams2 = relativeLayout4.getLayoutParams();
|
|
int i2 = this.$userSize;
|
|
layoutParams2.height = i2;
|
|
layoutParams2.width = i2;
|
|
relativeLayout3.setLayoutParams(layoutParams2);
|
|
}
|
|
}
|
|
}
|