[Galaxy S II Android Development] remuntada78:
opss I was looking in the lines with the number(3330) :p

now i try thanks:good:

---------- Post added at 08:21 PM ---------- Previous post was at 07:58 PM ----------

I'm sorry i'm confused , v4 is used for setVisibility

.method private setupContent(Landroid/widget/LinearLayout;)V
.registers 12
.parameter "contentPanel"

.prologue
const v5, 0x1020279

const/16 v4, 0x8

const/4 v3, 0x0

const/4 v2, -0x1

.line 490
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

invoke-virtual {v0, v5}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Landroid/widget/ScrollView;

iput-object v0, p0, Lcom/android/internal/app/AlertController;->mScrollView:Landroid/widget/ScrollView;

.line 491
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mScrollView:Landroid/widget/ScrollView;

invoke-virtual {v0, v3}, Landroid/widget/ScrollView;->setFocusable(Z)V

.line 494
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

const v1, 0x102000b

invoke-virtual {v0, v1}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v0

check-cast v0, Landroid/widget/TextView;

iput-object v0, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

.line 495
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

if-nez v0, :cond_28

.line 514
:goto_27
return-void

.line 499
:cond_28
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mMessage:Ljava/lang/CharSequence;

if-eqz v0, :cond_34

.line 500
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

iget-object v1, p0, Lcom/android/internal/app/AlertController;->mMessage:Ljava/lang/CharSequence;

invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"] iget-object v8, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

invoke-virtual {v8}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v8

invoke-virtual {v8}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v8

const-string v9, "checkbox_preference"

const v10, 0x1

invoke-static {v8, v9, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v8

if-eqz v8, :cond_skip4[/COLOR]

iget-object v8, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

invoke-virtual {v8}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v8

invoke-virtual {v8}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v8

const-string v9, "text_color"

const v10, -0x1

invoke-static {v8, v9, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v8

invoke-virtual {v0, v8}, Landroid/widget/TextView;->setTextColor(I)V

[COLOR="Red"]	:cond_skip4[/COLOR]

goto :goto_27

.line 502
:cond_34
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

.line 503
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mScrollView:Landroid/widget/ScrollView;

iget-object v1, p0, Lcom/android/internal/app/AlertController;->mMessageView:Landroid/widget/TextView;

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->removeView(Landroid/view/View;)V

.line 505
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mListView:Landroid/widget/ListView;

if-eqz v0, :cond_62

.line 506
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

invoke-virtual {v0, v5}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v0

invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->removeView(Landroid/view/View;)V

.line 507
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mListView:Landroid/widget/ListView;

new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

invoke-direct {v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

invoke-virtual {p1, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

.line 509
new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

const/high16 v1, 0x3f80

invoke-direct {v0, v2, v3, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

goto :goto_27

.line 511
:cond_62
invoke-virtual {p1, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

goto :goto_27
.end method