alexandroid/decompiled/jadx/sources/com/facebook/react/modules/dialog/DialogTitle.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

53 lines
3.4 KiB
Java

package com.facebook.react.modules.dialog;
import android.content.Context;
import android.text.Layout;
import android.util.AttributeSet;
import android.widget.TextView;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0000\u0018\u00002\u00020\u0001B)\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007¢\u0006\u0004\b\t\u0010\nB!\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0004\b\t\u0010\u000bB\u0019\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0004\b\t\u0010\fB\u0011\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\t\u0010\rJ\u0018\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u00072\u0006\u0010\u0011\u001a\u00020\u0007H\u0014¨\u0006\u0012"}, d2 = {"Lcom/facebook/react/modules/dialog/DialogTitle;", "Landroid/widget/TextView;", "context", "Landroid/content/Context;", "attrs", "Landroid/util/AttributeSet;", "defStyleAttr", "", "defStyleRes", "<init>", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "(Landroid/content/Context;)V", "onMeasure", "", "widthMeasureSpec", "heightMeasureSpec", "ReactAndroid_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
/* loaded from: classes6.dex */
public final class DialogTitle extends TextView {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DialogTitle(@NotNull Context context, @NotNull AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i, i2);
context.getClass();
attributeSet.getClass();
}
@Override // android.widget.TextView, android.view.View
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
int lineCount;
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
Layout layout = getLayout();
if (layout == null || (lineCount = layout.getLineCount()) <= 0 || layout.getEllipsisCount(lineCount - 1) <= 0) {
return;
}
setSingleLine(false);
setMaxLines(2);
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DialogTitle(@NotNull Context context, @NotNull AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
context.getClass();
attributeSet.getClass();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DialogTitle(@NotNull Context context, @NotNull AttributeSet attributeSet) {
super(context, attributeSet);
context.getClass();
attributeSet.getClass();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DialogTitle(@NotNull Context context) {
super(context);
context.getClass();
}
}