| | | | |
| Offset 3, 289 lines modified | Offset 3, 302 lines modified |
| 3 | .source·"CarUiPreference.java" | 3 | .source·"CarUiPreference.java" |
| | |
| 4 | #·interfaces | 4 | #·interfaces |
| 5 | .implements·Lcom/android/car/ui/preference/DisabledPreferenceCallback; | 5 | .implements·Lcom/android/car/ui/preference/DisabledPreferenceCallback; |
| | |
| | |
| 6 | #·instance·fields | 6 | #·instance·fields |
| 7 | .field·private·mBackground:Landroid/graphics/drawable/Drawable; | |
| | |
| 8 | .field·private·mContext:Landroid/content/Context; | |
| | |
| 9 | .field·private·mMessageToShowWhenDisabledPreferenceClicked:Ljava/lang/String; | |
| | |
| 10 | .field·private·mPreference:Landroid/view/View; | |
| | |
| 11 | .field·private·mShouldShowRippleOnDisabledPreference:Z | 7 | .field·private·mRestrictedClickListener:Ljava/util/function/Consumer; |
| | 8 | ····.annotation·system·Ldalvik/annotation/Signature; |
| | 9 | ········value·=·{ |
| | 10 | ············"Ljava/util/function/Consumer<", |
| | 11 | ············"Landroidx/preference/Preference;", |
| | 12 | ············">;" |
| | 13 | ········} |
| | 14 | ····.end·annotation |
| | 15 | .end·field |
| | |
| 12 | .field·private·mShowChevron:Z | 16 | .field·private·mShowChevron:Z |
| | |
| | 17 | .field·private·mUxRestricted:Z |
| | |
| | |
| 13 | #·direct·methods | 18 | #·direct·methods |
| 14 | .method·public·constructor·<init>(Landroid/content/Context;)V | 19 | .method·public·constructor·<init>(Landroid/content/Context;)V |
| 15 | ····.locals·1 | 20 | ····.locals·1 |
| | |
| 16 | ····const/4·v0,·0x0 | 21 | ····const/4·v0,·0x0 |
| | |
| 17 | ····.line·62 | 22 | ····.line·57 |
| 18 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 23 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
| | |
| 19 | ····return-void | 24 | ····return-void |
| 20 | .end·method | 25 | .end·method |
| | |
| 21 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V | 26 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V |
| 22 | ····.locals·1 | 27 | ····.locals·1 |
| | |
| 23 | ····.line·58 | 28 | ····.line·53 |
| 24 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiPreferenceStyle:I | 29 | ····sget·v0,·Lcom/android/car/ui/R$attr;->carUiPreferenceStyle:I |
| | |
| 25 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 30 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
| | |
| 26 | ····return-void | 31 | ····return-void |
| 27 | .end·method | 32 | .end·method |
| | |
| 28 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V | 33 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V |
| 29 | ····.locals·1 | 34 | ····.locals·1 |
| | |
| 30 | ····.line·54 | 35 | ····.line·49 |
| 31 | ····sget·v0,·Lcom/android/car/ui/R$style;->Preference_CarUi_Preference:I | 36 | ····sget·v0,·Lcom/android/car/ui/R$style;->Preference_CarUi_Preference:I |
| | |
| 32 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 37 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/android/car/ui/preference/CarUiPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| | |
| 33 | ····return-void | 38 | ····return-void |
| 34 | .end·method | 39 | .end·method |
| | |
| 35 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 40 | .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| 36 | ····.locals·0 | 41 | ····.locals·0 |
| | |
| 37 | ····.line·49 | 42 | ····.line·44 |
| 38 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V | 43 | ····invoke-direct·{p0,·p1,·p2,·p3,·p4},·Landroidx/preference/Preference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V |
| | |
| | 44 | ····const/4·p1,·0x0 |
| 39 | ····.line·50 | |
| 40 | ····invoke-virtual·{p0,·p1,·p2,·p3,·p4},·Lcom/android/car/ui/preference/CarUiPreference;->init(Landroid/content/Context;Landroid/util/AttributeSet;II)V | |
| | |
| 41 | ····return-void | |
| 42 | .end·method | 45 | ····.line·40 |
| | 46 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mUxRestricted:Z |
| | |
| | 47 | ····.line·45 |
| | 48 | ····invoke-direct·{p0,·p2,·p3,·p4},·Lcom/android/car/ui/preference/CarUiPreference;->init(Landroid/util/AttributeSet;II)V |
| | |
| | 49 | ····return-void |
| | 50 | .end·method |
| 43 | #·virtual·methods | |
| 44 | .method·public·init(Landroid/content/Context;Landroid/util/AttributeSet;II)V | |
| 45 | ····.locals·1 | |
| | |
| 46 | ····.line·66 | |
| 47 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mContext:Landroid/content/Context; | 51 | .method·private·init(Landroid/util/AttributeSet;II)V |
| | 52 | ····.locals·2 |
| | |
| 48 | ····.line·68 | 53 | ····.line·61 |
| 49 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; | 54 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; |
| | |
| 50 | ····move-result-object·p1 | 55 | ····move-result-object·v0 |
| | |
| 51 | ····sget-object·v0,·Lcom/android/car/ui/R$styleable;->CarUiPreference:[I | 56 | ····sget-object·v1,·Lcom/android/car/ui/R$styleable;->CarUiPreference:[I |
| | |
| 52 | ····invoke-virtual·{p1,·p2,·v0,·p3,·p4},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; | 57 | ····invoke-virtual·{v0,·p1,·v1,·p2,·p3},·Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray; |
| | |
| 53 | ····move-result-object·p1 | 58 | ····move-result-object·p1 |
| | |
| 54 | ····.line·74 | 59 | ····.line·67 |
| 55 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiPreference_showChevron:I | 60 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiPreference_showChevron:I |
| | |
| 56 | ····const/4·p3,·0x1 | 61 | ····const/4·p3,·0x1 |
| | |
| 57 | ····invoke-virtual·{p1,·p2,·p3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 62 | ····invoke-virtual·{p1,·p2,·p3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| | |
| 58 | ····move-result·p2 | 63 | ····move-result·p2 |
| | |
| 59 | ····iput-boolean·p2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z | 64 | ····iput-boolean·p2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z |
| | |
| 60 | ····.line·75 | 65 | ····.line·68 |
| 61 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiPreference_showRippleOnDisabledPreference:I | 66 | ····sget·p2,·Lcom/android/car/ui/R$styleable;->CarUiPreference_car_ui_ux_restricted:I |
| | |
| 62 | ····const/4·p3,·0x0 | 67 | ····const/4·p3,·0x0 |
| | |
| 63 | ····invoke-virtual·{p1,·p2,·p3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 68 | ····invoke-virtual·{p1,·p2,·p3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
| | |
| 64 | ····move-result·p2 | 69 | ····move-result·p2 |
| | |
| 65 | ····iput-boolean·p2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShouldShowRippleOnDisabledPreference:Z | 70 | ····iput-boolean·p2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mUxRestricted:Z |
| | |
| 66 | ····.line·78 | 71 | ····.line·70 |
| 67 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V | 72 | ····invoke-virtual·{p1},·Landroid/content/res/TypedArray;->recycle()V |
| | |
| 68 | ····return-void | 73 | ····return-void |
| 69 | .end·method | 74 | .end·method |
| | |
| | |
| | 75 | #·virtual·methods |
| | 76 | .method·public·getOnClickWhileRestrictedListener()Ljava/util/function/Consumer; |
| | 77 | ····.locals·1 |
| | 78 | ····.annotation·system·Ldalvik/annotation/Signature; |
| | 79 | ········value·=·{ |
| | 80 | ············"()", |
| | 81 | ············"Ljava/util/function/Consumer<", |
| | 82 | ············"Landroidx/preference/Preference;", |
| | 83 | ············">;" |
| | 84 | ········} |
| | 85 | ····.end·annotation |
| | |
| | 86 | ····.line·126 |
| | 87 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| | |
| | 88 | ····return-object·v0 |
| | 89 | .end·method |
| | |
| | 90 | .method·public·isUxRestricted()Z |
| | 91 | ····.locals·1 |
| | |
| | 92 | ····.line·115 |
| | 93 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mUxRestricted:Z |
| | |
| | 94 | ····return·v0 |
| | 95 | .end·method |
| | |
| 70 | .method·public·onAttached()V | 96 | .method·public·onAttached()V |
| 71 | ····.locals·2 | 97 | ····.locals·2 |
| | |
| 72 | ····.line·93 | 98 | ····.line·82 |
| 73 | ····invoke-super·{p0},·Landroidx/preference/Preference;->onAttached()V | 99 | ····invoke-super·{p0},·Landroidx/preference/Preference;->onAttached()V |
| | |
| 74 | ····.line·95 | 100 | ····.line·84 |
| 75 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mContext:Landroid/content/Context; | 101 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getContext()Landroid/content/Context; |
| | |
| | 102 | ····move-result-object·v0 |
| | |
| 76 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 103 | ····invoke-virtual·{v0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| | |
| 77 | ····move-result-object·v0 | 104 | ····move-result-object·v0 |
| | |
| 78 | ····sget·v1,·Lcom/android/car/ui/R$bool;->car_ui_preference_show_chevron:I | 105 | ····sget·v1,·Lcom/android/car/ui/R$bool;->car_ui_preference_show_chevron:I |
| | |
| 79 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 106 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
| | |
| 80 | ····move-result·v0 | 107 | ····move-result·v0 |
| | |
| 81 | ····if-eqz·v0,·:cond_2 | 108 | ····if-eqz·v0,·:cond_2 |
| | |
| 82 | ····.line·98 | 109 | ····.line·87 |
| 83 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z | 110 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z |
| | |
| 84 | ····if-nez·v0,·:cond_0 | 111 | ····if-nez·v0,·:cond_0 |
| | |
| 85 | ····goto·:goto_0 | 112 | ····goto·:goto_0 |
| | |
| 86 | ····.line·102 | 113 | ····.line·91 |
| 87 | ····:cond_0 | 114 | ····:cond_0 |
| 88 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getOnPreferenceClickListener()Landroidx/preference/Preference$OnPreferenceClickListener; | 115 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getOnPreferenceClickListener()Landroidx/preference/Preference$OnPreferenceClickListener; |
| | |
| 89 | ····move-result-object·v0 | 116 | ····move-result-object·v0 |
| | |
| 90 | ····if-nez·v0,·:cond_1 | 117 | ····if-nez·v0,·:cond_1 |
| | |
| 91 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getIntent()Landroid/content/Intent; | 118 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getIntent()Landroid/content/Intent; |
| | |
| 92 | ····move-result-object·v0 | 119 | ····move-result-object·v0 |
| | |
| 93 | ····if-nez·v0,·:cond_1 | 120 | ····if-nez·v0,·:cond_1 |
| | |
| 94 | ····.line·103 | 121 | ····.line·92 |
| 95 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getFragment()Ljava/lang/String; | 122 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->getFragment()Ljava/lang/String; |
| | |
| 96 | ····move-result-object·v0 | 123 | ····move-result-object·v0 |
| | |
| 97 | ····if-eqz·v0,·:cond_2 | 124 | ····if-eqz·v0,·:cond_2 |
| | |
| 98 | ····.line·104 | 125 | ····.line·93 |
| 99 | ····:cond_1 | 126 | ····:cond_1 |
| 100 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_preference_chevron:I | 127 | ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_preference_chevron:I |
| | |
| 101 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setWidgetLayoutResource(I)V | 128 | ····invoke-virtual·{p0,·v0},·Landroidx/preference/Preference;->setWidgetLayoutResource(I)V |
| | |
| 102 | ····:cond_2 | 129 | ····:cond_2 |
| 103 | ····:goto_0 | 130 | ····:goto_0 |
| 104 | ····return-void | 131 | ····return-void |
| 105 | .end·method | 132 | .end·method |
| | |
| 106 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 133 | .method·public·onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| 107 | ····.locals·3 | 134 | ····.locals·1 |
| | |
| 108 | ····.line·84 | 135 | ····.line·75 |
| 109 | ····invoke-super·{p0,·p1},·Landroidx/preference/Preference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V | 136 | ····invoke-super·{p0,·p1},·Landroidx/preference/Preference;->onBindViewHolder(Landroidx/preference/PreferenceViewHolder;)V |
| | |
| 110 | ····.line·85 | 137 | ····.line·77 |
| 111 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isEnabled()Z | |
| | |
| 112 | ····move-result·v0 | |
| | |
| 113 | ····.line·86 | |
| 114 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; | 138 | ····iget-object·p1,·p1,·Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View; |
| | |
| | 139 | ····invoke-virtual·{p0},·Lcom/android/car/ui/preference/CarUiPreference;->isUxRestricted()Z |
| 115 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mPreference:Landroid/view/View; | |
| | |
| 116 | ····.line·87 | |
| 117 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mBackground:Landroid/graphics/drawable/Drawable; | |
| | |
| 118 | ····iget-boolean·v2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShouldShowRippleOnDisabledPreference:Z | |
| | |
| | 140 | ····move-result·v0 |
| 119 | ····invoke-static·{v0,·p1,·v1,·v2},·Lcom/android/car/ui/utils/CarUiUtils;->setPreferenceViewEnabled(ZLandroid/view/View;Landroid/graphics/drawable/Drawable;Z)Landroid/graphics/drawable/Drawable; | |
| | |
| 120 | ····move-result-object·p1 | |
| | |
| 121 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mBackground:Landroid/graphics/drawable/Drawable; | 141 | ····invoke-static·{p1,·v0},·Lcom/android/car/ui/utils/ViewUtils;->makeAllViewsUxRestricted(Landroid/view/View;Z)V |
| | |
| 122 | ····return-void | 142 | ····return-void |
| 123 | .end·method | 143 | .end·method |
| | |
| 124 | .method·public·performClick()V | 144 | .method·public·performClick()V |
| 125 | ····.locals·3 | 145 | ····.locals·1 |
| | |
| 126 | ····.line·115 | 146 | ····.line·100 |
| 127 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isEnabled()Z | 147 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isEnabled()Z |
| | |
| 128 | ····move-result·v0 | 148 | ····move-result·v0 |
| | |
| 129 | ····if-eqz·v0,·:cond_0 | 149 | ····if-nez·v0,·:cond_0 |
| | |
| 130 | ····.line·116 | |
| 131 | ····invoke-super·{p0},·Landroidx/preference/Preference;->performClick()V | |
| | |
| 132 | ····goto·:goto_0 | 150 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isSelectable()Z |
| | |
| | 151 | ····move-result·v0 |
| 133 | ····.line·117 | |
| 134 | ····:cond_0 | |
| 135 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mMessageToShowWhenDisabledPreferenceClicked:Ljava/lang/String; | |
| | |
| 136 | ····if-eqz·v0,·:cond_1 | 152 | ····if-eqz·v0,·:cond_1 |
| | |
| 137 | ····.line·118 | |
| 138 | ····invoke-virtual·{v0},·Ljava/lang/String;->isEmpty()Z | 153 | ····:cond_0 |
| | 154 | ····invoke-virtual·{p0},·Lcom/android/car/ui/preference/CarUiPreference;->isUxRestricted()Z |
| | |
| 139 | ····move-result·v0 | 155 | ····move-result·v0 |
| | |
| 140 | ····if-nez·v0,·:cond_1 | 156 | ····if-eqz·v0,·:cond_1 |
| | |
| 141 | ····.line·119 | |
| 142 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mContext:Landroid/content/Context; | |
| | |
| 143 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mMessageToShowWhenDisabledPreferenceClicked:Ljava/lang/String; | |
| | |
| 144 | ····const/4·v2,·0x1 | 157 | ····.line·101 |
| | 158 | ····iget-object·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| | |
| 145 | ····invoke-static·{v0,·v1,·v2},·Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; | 159 | ····if-eqz·v0,·:cond_2 |
| | |
| 146 | ····move-result-object·v0 | 160 | ····.line·102 |
| | 161 | ····invoke-interface·{v0,·p0},·Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V |
| | |
| | 162 | ····goto·:goto_0 |
| 147 | ····.line·120 | |
| 148 | ····invoke-virtual·{v0},·Landroid/widget/Toast;->show()V | |
| | |
| | 163 | ····.line·105 |
| 149 | ····:cond_1 | 164 | ····:cond_1 |
| | 165 | ····invoke-super·{p0},·Landroidx/preference/Preference;->performClick()V |
| | |
| | 166 | ····:cond_2 |
| 150 | ····:goto_0 | 167 | ····:goto_0 |
| 151 | ····return-void | 168 | ····return-void |
| 152 | .end·method | 169 | .end·method |
| | |
| 153 | .method·public·setMessageToShowWhenDisabledPreferenceClicked(Ljava/lang/String;)V | 170 | .method·public·setOnClickWhileRestrictedListener(Ljava/util/function/Consumer;)V |
| 154 | ····.locals·0 | 171 | ····.locals·0 |
| | 172 | ····.annotation·system·Ldalvik/annotation/Signature; |
| | 173 | ········value·=·{ |
| | 174 | ············"(", |
| | 175 | ············"Ljava/util/function/Consumer<", |
| | 176 | ············"Landroidx/preference/Preference;", |
| | 177 | ············">;)V" |
| | 178 | ········} |
| | 179 | ····.end·annotation |
| | |
| 155 | ····.line·140 | 180 | ····.line·120 |
| 156 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mMessageToShowWhenDisabledPreferenceClicked:Ljava/lang/String; | 181 | ····iput-object·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mRestrictedClickListener:Ljava/util/function/Consumer; |
| | |
| 157 | ····return-void | 182 | ····return-void |
| 158 | .end·method | 183 | .end·method |
| | |
| 159 | .method·public·setShouldShowRippleOnDisabledPreference(Z)V | 184 | .method·public·setShowChevron(Z)V |
| 160 | ····.locals·3 | 185 | ····.locals·0 |
| | |
| 161 | ····.line·133 | |
| 162 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShouldShowRippleOnDisabledPreference:Z | |
| | |
| 163 | ····.line·134 | |
| 164 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->isEnabled()Z | |
| | |
| 165 | ····move-result·p1 | |
| | |
| 166 | ····iget-boolean·v0,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShouldShowRippleOnDisabledPreference:Z | |
| | |
| 167 | ····iget-object·v1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mBackground:Landroid/graphics/drawable/Drawable; | |
| | |
| 168 | ····iget-object·v2,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mPreference:Landroid/view/View; | |
| | |
| 169 | ····invoke-static·{p1,·v0,·v1,·v2},·Lcom/android/car/ui/utils/CarUiUtils;->updateRippleStateOnDisabledPreference(ZZLandroid/graphics/drawable/Drawable;Landroid/view/View;)V | 186 | ····.line·110 |
| | 187 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z |
| | |
| 170 | ····return-void | 188 | ····return-void |
| 171 | .end·method | 189 | .end·method |
| | |
| 172 | .method·public·setShowChevron(Z)V | 190 | .method·public·setUxRestricted(Z)V |
| 173 | ····.locals·0 | 191 | ····.locals·0 |
| | |
| | 192 | ····.line·131 |
| | 193 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mUxRestricted:Z |
| | |
| 174 | ····.line·125 | 194 | ····.line·132 |
| 175 | ····iput-boolean·p1,·p0,·Lcom/android/car/ui/preference/CarUiPreference;->mShowChevron:Z | 195 | ····invoke-virtual·{p0},·Landroidx/preference/Preference;->notifyChanged()V |
| | |
| 176 | ····return-void | 196 | ····return-void |
| 177 | .end·method | 197 | .end·method |