今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.7 KiB

.class Lcom/afollestad/materialdialogs/internal/a;
.super Ljava/lang/Object;
.source "AllCapsTransformationMethod.java"
# interfaces
.implements Landroid/text/method/TransformationMethod;
# instance fields
.field private a:Ljava/util/Locale;
# direct methods
.method constructor <init>(Landroid/content/Context;)V
.locals 1
.prologue
.line 14
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 15
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v0
invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object v0
iget-object v0, v0, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;
iput-object v0, p0, Lcom/afollestad/materialdialogs/internal/a;->a:Ljava/util/Locale;
.line 16
return-void
.end method
# virtual methods
.method public getTransformation(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;
.locals 2
.prologue
.line 20
if-eqz p1, :cond_0
invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object v0
iget-object v1, p0, Lcom/afollestad/materialdialogs/internal/a;->a:Ljava/util/Locale;
invoke-virtual {v0, v1}, Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object v0
:goto_0
return-object v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public onFocusChanged(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V
.locals 0
.prologue
.line 29
return-void
.end method