| | | |
Offset 7, 172 lines modified | Offset 7, 233 lines modified |
7 | .field·private·mIsActionShown:Z | 7 | .field·private·mIsActionShown:Z |
| |
| |
8 | #·direct·methods | 8 | #·direct·methods |
9 | .method·public·constructor·<init>(Landroid/content/Context;)V | 9 | .method·public·constructor·<init>(Landroid/content/Context;)V |
10 | ····.locals·0 | 10 | ····.locals·0 |
| |
11 | ····.line·55 | 11 | ····.line·59 |
12 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;)V | 12 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;)V |
| |
13 | ····const/4·p1,·0x0 | 13 | ····const/4·p1,·0x0 |
| |
14 | ····.line·56 | 14 | ····.line·60 |
15 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V | 15 | ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V |
| |
16 | ····return-void | 16 | ····return-void |
17 | .end·method | 17 | .end·method |
| |
18 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 18 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
19 | ····.locals·0 | 19 | ····.locals·0 |
| |
20 | ····.line·50 | 20 | ····.line·54 |
21 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 21 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
| |
22 | ····.line·51 | 22 | ····.line·55 |
23 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V | 23 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V |
| |
24 | ····return-void | 24 | ····return-void |
25 | .end·method | 25 | .end·method |
| |
26 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 26 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
| |
28 | ····.line·45 | 28 | ····.line·49 |
29 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 29 | ····invoke-direct·{p0,·p1,·p2,·p3},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
| |
30 | ····.line·46 | 30 | ····.line·50 |
31 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V | 31 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V |
| |
32 | ····return-void | 32 | ····return-void |
33 | .end·method | 33 | .end·method |
| |
34 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 34 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
35 | ····.locals·0 | 35 | ····.locals·0 |
| |
36 | ····.line·40 | 36 | ····.line·44 |
37 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 37 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| |
38 | ····.line·41 | 38 | ····.line·45 |
39 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V | 39 | ····invoke-direct·{p0,·p2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->init(Landroid/util/AttributeSet;)V |
| |
40 | ····return-void | 40 | ····return-void |
41 | .end·method | 41 | .end·method |
| |
42 | .method·private·init(Landroid/util/AttributeSet;)V | 42 | .method·private·init(Landroid/util/AttributeSet;)V |
43 | ····.locals·2 | 43 | ····.locals·2 |
| |
44 | ····.line·64 | 44 | ····.line·68 |
45 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_two_action_preference:I | 45 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_two_action_preference:I |
| |
46 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setLayoutResource(I)V | 46 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setLayoutResource(I)V |
| |
47 | ····.line·65 | 47 | ····.line·69 |
48 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; | 48 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; |
| |
49 | ····move-result-object·v0 | 49 | ····move-result-object·v0 |
| |
50 | ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiTwoActionPreference:[I | 50 | ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiTwoActionPreference:[I |
| |
51 | ····invoke-virtual·{v0,·p1,·v1},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; | 51 | ····invoke-virtual·{v0,·p1,·v1},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray; |
| |
52 | ····move-result-object·p1 | 52 | ····move-result-object·p1 |
| |
53 | ····.line·67 | 53 | ····.line·71 |
54 | ····sget·v0,·Lcom/android/car/ui/R$styleable;->CarUiTwoActionPreference_actionShown:I | 54 | ····sget·v0,·Lcom/android/car/ui/R$styleable;->CarUiTwoActionPreference_actionShown:I |
| |
55 | ····const/4·v1,·0x1 | 55 | ····const/4·v1,·0x1 |
| |
56 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 56 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| |
57 | ····move-result·v0 | 57 | ····move-result·v0 |
| |
58 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z | 58 | ····iput-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
59 | ····const/4·v0,·0x0 | 59 | ····const/4·v0,·0x0 |
| |
60 | ····.line·69 | 60 | ····.line·73 |
61 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/CarUiPreference;->setShowChevron(Z)V | 61 | ····invoke-virtual·{p0,·v0},·Lcom/android/car/ui/preference/CarUiPreference;->setShowChevron(Z)V |
| |
62 | ····.line·70 | 62 | ····.line·74 |
63 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V | 63 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V |
| |
64 | ····return-void | 64 | ····return-void |
65 | .end·method | 65 | .end·method |
| |
| 66 | .method·public·static·synthetic·lambda$8DJAUHOTU3R_fmOeFNGTBUp16OQ(Lcom/android/car/ui/preference/CarUiTwoActionPreference;Landroid/view/View;)V |
| 67 | ····.locals·0 |
| |
| 68 | ····invoke-virtual·{p0,·p1},·Landroidx/preference/Preference;->performClick(Landroid/view/View;)V |
| |
| 69 | ····return-void |
| 70 | .end·method |
| |
| |
66 | #·virtual·methods | 71 | #·virtual·methods |
67 | .method·public·isActionShown()Z | 72 | .method·public·isActionShown()Z |
68 | ····.locals·1 | 73 | ····.locals·1 |
| |
69 | ····.line·85 | 74 | ····.line·89 |
70 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z | 75 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
71 | ····return·v0 | 76 | ····return·v0 |
72 | .end·method | 77 | .end·method |
| |
73 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 78 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
74 | ····.locals·2 | 79 | ····.locals·4 |
| |
75 | ····.line·90 | 80 | ····.line·94 |
76 | ····invoke-super·{p0,·p1},·Lcom/android/car/ui/preference/CarUiPreference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 81 | ····invoke-super·{p0,·p1},·Lcom/android/car/ui/preference/CarUiPreference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| |
77 | ····.line·91 | 82 | ····.line·95 |
78 | ····iget-object·v0,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; | 83 | ····iget-object·v0,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
79 | ····sget·v1,·Lcom/android/car/ui/R$id;->action_widget_container:I | 84 | ····sget·v1,·Lcom/android/car/ui/R$id;->car_ui_preference_container_without_widget:I |
| |
80 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 85 | ····invoke-static·{v0,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
81 | ····move-result-object·v0 | 86 | ····move-result-object·v0 |
| |
82 | ····.line·93 | 87 | ····.line·97 |
83 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; | 88 | ····iget-object·v1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
84 | ····const·v1,·0x1020018 | 89 | ····sget·v2,·Lcom/android/car/ui/R$id;->action_widget_container:I |
| |
85 | ····invoke-static·{p1,·v1},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; | 90 | ····invoke-static·{v1,·v2},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
86 | ····move-result-object·p1 | 91 | ····move-result-object·v1 |
| |
87 | ····.line·94 | 92 | ····.line·99 |
88 | ····iget-boolean·v1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z | 93 | ····iget-object·v2,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
89 | ····if-eqz·v1,·:cond_0 | 94 | ····const·v3,·0x1020018 |
| |
90 | ····const/4·v1,·0x0 | 95 | ····invoke-static·{v2,·v3},·Lcom/android/car/ui/utils/CarUiUtils;->findViewByRefId(Landroid/view/View;I)Landroid/view/View; |
| |
| 96 | ····move-result-object·v2 |
| |
91 | ····.line·95 | 97 | ····.line·100 |
92 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V | 98 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| |
| 99 | ····iget-boolean·v3,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 100 | ····xor-int/lit8·v3,·v3,·0x1 |
| |
| 101 | ····invoke-virtual·{p1,·v3},·Landroid/view/View;->setFocusable(Z)V |
| |
93 | ····.line·96 | 102 | ····.line·102 |
94 | ····invoke-virtual·{p0,·p1},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->onBindWidgetFrame(Landroid/view/View;)V | 103 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 104 | ····if-eqz·p1,·:cond_0 |
| |
| 105 | ····new-instance·p1,·Lcom/android/car/ui/preference/-$$Lambda$CarUiTwoActionPreference$8DJAUHOTU3R_fmOeFNGTBUp16OQ; |
| |
| 106 | ····invoke-direct·{p1,·p0},·Lcom/android/car/ui/preference/-$$Lambda$CarUiTwoActionPreference$8DJAUHOTU3R_fmOeFNGTBUp16OQ;-><init>(Lcom/android/car/ui/preference/CarUiTwoActionPreference;)V |
| |
95 | ····goto·:goto_0 | 107 | ····goto·:goto_0 |
| |
96 | ····:cond_0 | 108 | ····:cond_0 |
| 109 | ····const/4·p1,·0x0 |
| |
| 110 | ····.line·101 |
| 111 | ····:goto_0 |
| 112 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V |
| |
| 113 | ····.line·103 |
| 114 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 115 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setClickable(Z)V |
| |
| 116 | ····.line·104 |
| 117 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 118 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setFocusable(Z)V |
| |
| 119 | ····.line·105 |
| 120 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 121 | ····if-eqz·p1,·:cond_1 |
| |
| 122 | ····const/4·p1,·0x0 |
| |
| 123 | ····goto·:goto_1 |
| |
| 124 | ····:cond_1 |
97 | ····const/16·p1,·0x8 | 125 | ····const/16·p1,·0x8 |
| |
98 | ····.line·98 | 126 | ····:goto_1 |
99 | ····invoke-virtual·{v0,·p1},·Landroid/view/View;->setVisibility(I)V | 127 | ····invoke-virtual·{v1,·p1},·Landroid/view/View;->setVisibility(I)V |
| |
100 | ····:goto_0 | 128 | ····.line·106 |
| 129 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 130 | ····invoke-virtual·{v2,·p1},·Landroid/view/View;->setFocusable(Z)V |
| |
| 131 | ····.line·107 |
| 132 | ····iget-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
| 133 | ····if-eqz·p1,·:cond_2 |
| |
| 134 | ····.line·108 |
| 135 | ····invoke-virtual·{p0,·v2},·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->onBindWidgetFrame(Landroid/view/View;)V |
| |
| 136 | ····:cond_2 |
101 | ····return-void | 137 | ····return-void |
102 | .end·method | 138 | .end·method |
| |
103 | .method·protected·onBindWidgetFrame(Landroid/view/View;)V | 139 | .method·protected·onBindWidgetFrame(Landroid/view/View;)V |
104 | ····.locals·0 | 140 | ····.locals·0 |
| |
105 | ····return-void | 141 | ····return-void |
106 | .end·method | 142 | .end·method |
| |
107 | .method·public·showAction(Z)V | 143 | .method·public·showAction(Z)V |
108 | ····.locals·0 | 144 | ····.locals·0 |
| |
109 | ····.line·79 | 145 | ····.line·83 |
110 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z | 146 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiTwoActionPreference;->mIsActionShown:Z |
| |
111 | ····.line·80 | 147 | ····.line·84 |
112 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V | 148 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V |
| |
113 | ····return-void | 149 | ····return-void |
114 | .end·method | 150 | .end·method |