Offset 47, 228 lines modifiedOffset 47, 261 lines modified
  
47 #·direct·methods47 #·direct·methods
48 .method·public·constructor·<init>(Landroid/content/Context;)V48 .method·public·constructor·<init>(Landroid/content/Context;)V
49 ····.locals·149 ····.locals·1
  
50 ····const/4·v0,·0x050 ····const/4·v0,·0x0
  
51 ····.line·7351 ····.line·74
52 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/SearchView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V52 ····invoke-direct·{p0,·p1,·v0},·Lcom/android/car/ui/toolbar/SearchView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
  
53 ····return-void53 ····return-void
54 .end·method54 .end·method
  
55 .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V55 .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
56 ····.locals·156 ····.locals·1
  
57 ····const/4·v0,·0x057 ····const/4·v0,·0x0
  
58 ····.line·7758 ····.line·78
59 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/toolbar/SearchView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V59 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/android/car/ui/toolbar/SearchView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
  
60 ····return-void60 ····return-void
61 .end·method61 .end·method
  
62 .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V62 .method·public·constructor·<init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
63 ····.locals·263 ····.locals·2
  
64 ····.line·8164 ····.line·82
65 ····invoke-direct·{p0,·p1,·p2,·p3},·Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V65 ····invoke-direct·{p0,·p1,·p2,·p3},·Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
  
66 ····.line·5266 ····.line·53
67 ····invoke-static·{},·Ljava/util/Collections;->emptySet()Ljava/util/Set;67 ····invoke-static·{},·Ljava/util/Collections;->emptySet()Ljava/util/Set;
  
68 ····move-result-object·p268 ····move-result-object·p2
  
69 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;69 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;
  
70 ····.line·5470 ····.line·55
71 ····invoke-static·{},·Ljava/util/Collections;->emptySet()Ljava/util/Set;71 ····invoke-static·{},·Ljava/util/Collections;->emptySet()Ljava/util/Set;
  
72 ····move-result-object·p272 ····move-result-object·p2
  
73 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;73 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;
  
74 ····.line·5574 ····.line·56
75 ····new-instance·p2,·Lcom/android/car/ui/toolbar/SearchView$1;75 ····new-instance·p2,·Lcom/android/car/ui/toolbar/SearchView$1;
  
76 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/SearchView$1;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V76 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/SearchView$1;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V
  
77 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mTextWatcher:Landroid/text/TextWatcher;77 ····iput-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mTextWatcher:Landroid/text/TextWatcher;
  
78 ····const/4·p2,·0x078 ····const/4·p2,·0x0
  
79 ····.line·7079 ····.line·71
80 ····iput-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z80 ····iput-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z
  
81 ····.line·12881 ····.line·151
82 ····iput-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z82 ····iput-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z
  
83 ····.line·8483 ····.line·85
84 ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context;84 ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
  
85 ····move-result-object·p385 ····move-result-object·p3
  
86 ····const-string·v0,·"input_method"86 ····const-string·v0,·"input_method"
  
87 ····invoke-virtual·{p3,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;87 ····invoke-virtual·{p3,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
  
88 ····move-result-object·p388 ····move-result-object·p3
  
89 ····check-cast·p3,·Landroid/view/inputmethod/InputMethodManager;89 ····check-cast·p3,·Landroid/view/inputmethod/InputMethodManager;
  
90 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;90 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
  
91 ····.line·8691 ····.line·87
92 ····invoke-static·{p1},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;92 ····invoke-static·{p1},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
  
93 ····move-result-object·p393 ····move-result-object·p3
  
94 ····.line·8794 ····.line·88
95 ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar_search_view:I95 ····sget·v0,·Lcom/android/car/ui/R$layout;->car_ui_toolbar_search_view:I
  
96 ····const/4·v1,·0x196 ····const/4·v1,·0x1
  
97 ····invoke-virtual·{p3,·v0,·p0,·v1},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;97 ····invoke-virtual·{p3,·v0,·p0,·v1},·Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
  
98 ····.line·8998 ····.line·90
99 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_bar:I99 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_bar:I
  
100 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;100 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
101 ····move-result-object·p3101 ····move-result-object·p3
  
102 ····check-cast·p3,·Landroid/widget/EditText;102 ····check-cast·p3,·Landroid/widget/EditText;
  
103 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;103 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
104 ····.line·90104 ····.line·91
105 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_icon:I105 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_icon:I
  
106 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;106 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
107 ····move-result-object·p3107 ····move-result-object·p3
  
108 ····check-cast·p3,·Landroid/widget/ImageView;108 ····check-cast·p3,·Landroid/widget/ImageView;
  
109 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;109 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
110 ····.line·91110 ····.line·92
111 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_close:I111 ····sget·p3,·Lcom/android/car/ui/R$id;->car_ui_toolbar_search_close:I
  
112 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;112 ····invoke-static·{p0,·p3},·Lcom/android/car/ui/utils/CarUiUtils;->requireViewByRefId(Landroid/view/View;I)Landroid/view/View;
  
113 ····move-result-object·p3113 ····move-result-object·p3
  
114 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;114 ····iput-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;
  
115 ····.line·93115 ····.line·94
116 ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X_FGZTNuIRv-v80Y2K7F5FfOzQE;116 ····new-instance·v0,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X_FGZTNuIRv-v80Y2K7F5FfOzQE;
  
117 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X_FGZTNuIRv-v80Y2K7F5FfOzQE;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V117 ····invoke-direct·{v0,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X_FGZTNuIRv-v80Y2K7F5FfOzQE;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V
  
118 ····invoke-virtual·{p3,·v0},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V118 ····invoke-virtual·{p3,·v0},·Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
  
119 ····.line·94119 ····.line·95
120 ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;120 ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;
  
121 ····const/16·v0,·0x8121 ····const/16·v0,·0x8
  
122 ····invoke-virtual·{p3,·v0},·Landroid/view/View;->setVisibility(I)V122 ····invoke-virtual·{p3,·v0},·Landroid/view/View;->setVisibility(I)V
  
123 ····.line·96123 ····.line·97
124 ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;124 ····iget-object·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
125 ····invoke-virtual·{p3},·Landroid/widget/EditText;->getPaddingStart()I125 ····invoke-virtual·{p3},·Landroid/widget/EditText;->getPaddingStart()I
  
126 ····move-result·p3126 ····move-result·p3
  
127 ····iput·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPaddingWithoutIcon:I127 ····iput·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPaddingWithoutIcon:I
  
128 ····.line·97128 ····.line·98
129 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;129 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
130 ····move-result-object·p3130 ····move-result-object·p3
  
131 ····sget·v0,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_search_search_icon_container_width:I131 ····sget·v0,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_search_search_icon_container_width:I
  
132 ····invoke-virtual·{p3,·v0},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I132 ····invoke-virtual·{p3,·v0},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I
  
133 ····move-result·p3133 ····move-result·p3
  
134 ····iput·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I134 ····iput·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I
  
135 ····.line·99135 ····.line·100
136 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;136 ····invoke-virtual·{p1},·Landroid/content/Context;->getResources()Landroid/content/res/Resources;
  
137 ····move-result-object·p1137 ····move-result-object·p1
  
138 ····sget·p3,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_search_close_icon_container_width:I138 ····sget·p3,·Lcom/android/car/ui/R$dimen;->car_ui_toolbar_search_close_icon_container_width:I
  
139 ····invoke-virtual·{p1,·p3},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I139 ····invoke-virtual·{p1,·p3},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I
  
140 ····move-result·p1140 ····move-result·p1
  
141 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I141 ····iput·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I
  
142 ····.line·102142 ····.line·103
143 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;143 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
144 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setSaveEnabled(Z)V144 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setSaveEnabled(Z)V
  
145 ····.line·103145 ····.line·104
146 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;146 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
147 ····iget·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I147 ····iget·p3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I
  
148 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I148 ····iget·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I
  
149 ····invoke-virtual·{p1,·p3,·p2,·v0,·p2},·Landroid/widget/EditText;->setPaddingRelative(IIII)V149 ····invoke-virtual·{p1,·p3,·p2,·v0,·p2},·Landroid/widget/EditText;->setPaddingRelative(IIII)V
  
150 ····.line·105150 ····.line·106
151 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;151 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
152 ····new-instance·p2,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X7fsaGo_U9eNegbbmVXAWpIsYEw;152 ····new-instance·p2,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X7fsaGo_U9eNegbbmVXAWpIsYEw;
  
153 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X7fsaGo_U9eNegbbmVXAWpIsYEw;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V153 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$X7fsaGo_U9eNegbbmVXAWpIsYEw;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V
  
154 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V154 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V
  
155 ····.line·114155 ····.line·115
156 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;156 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
157 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mTextWatcher:Landroid/text/TextWatcher;157 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mTextWatcher:Landroid/text/TextWatcher;
  
158 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V158 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V
  
159 ····.line·116159 ····.line·117
160 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;160 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
161 ····new-instance·p2,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$FG6VZSqwor2f82_F3UfmTiH0ZHc;161 ····new-instance·p2,·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$FG6VZSqwor2f82_F3UfmTiH0ZHc;
  
162 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$FG6VZSqwor2f82_F3UfmTiH0ZHc;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V162 ····invoke-direct·{p2,·p0},·Lcom/android/car/ui/toolbar/-$$Lambda$SearchView$FG6VZSqwor2f82_F3UfmTiH0ZHc;-><init>(Lcom/android/car/ui/toolbar/SearchView;)V
  
163 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V163 ····invoke-virtual·{p1,·p2},·Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V
  
164 ····return-void164 ····return-void
165 .end·method165 .end·method
  
166 .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/SearchView;Ljava/lang/String;)V166 .method·static·synthetic·access$000(Lcom/android/car/ui/toolbar/SearchView;Ljava/lang/String;)V
167 ····.locals·0167 ····.locals·0
  
168 ····.line·44168 ····.line·45
169 ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/SearchView;->onSearch(Ljava/lang/String;)V169 ····invoke-direct·{p0,·p1},·Lcom/android/car/ui/toolbar/SearchView;->onSearch(Ljava/lang/String;)V
  
170 ····return-void170 ····return-void
171 .end·method171 .end·method
  
 172 .method·private·isEnter(Landroid/view/KeyEvent;)Z
 173 ····.locals·2
  
 174 ····const/4·v0,·0x0
  
 175 ····if-eqz·p1,·:cond_1
  
 176 ····.line·136
 177 ····invoke-virtual·{p1},·Landroid/view/KeyEvent;->getKeyCode()I
  
 178 ····move-result·p1
  
 179 ····const/16·v1,·0x42
  
 180 ····if-eq·p1,·v1,·:cond_0
  
 181 ····const/16·v1,·0xa0
  
 182 ····if-eq·p1,·v1,·:cond_0
  
 183 ····const/16·v1,·0x54
  
 184 ····if-ne·p1,·v1,·:cond_1
  
 185 ····:cond_0
 186 ····const/4·p1,·0x1
  
 187 ····move·v0,·p1
  
 188 ····:cond_1
 189 ····return·v0
 190 .end·method
  
172 .method·private·synthetic·lambda$new$0(Landroid/view/View;)V191 .method·private·synthetic·lambda$new$0(Landroid/view/View;)V
173 ····.locals·0192 ····.locals·0
  
174 ····.line·93193 ····.line·94
175 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;194 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
176 ····invoke-virtual·{p1},·Landroid/widget/EditText;->getText()Landroid/text/Editable;195 ····invoke-virtual·{p1},·Landroid/widget/EditText;->getText()Landroid/text/Editable;
  
177 ····move-result-object·p1196 ····move-result-object·p1
  
178 ····invoke-interface·{p1},·Landroid/text/Editable;->clear()V197 ····invoke-interface·{p1},·Landroid/text/Editable;->clear()V
Offset 279, 22 lines modifiedOffset 312, 22 lines modified
279 .method·private·synthetic·lambda$new$1(Landroid/view/View;Z)V312 .method·private·synthetic·lambda$new$1(Landroid/view/View;Z)V
280 ····.locals·1313 ····.locals·1
  
281 ····const/4·v0,·0x0314 ····const/4·v0,·0x0
  
282 ····if-eqz·p2,·:cond_0315 ····if-eqz·p2,·:cond_0
  
283 ····.line·108316 ····.line·109
284 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;317 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
  
285 ····invoke-virtual·{p2,·p1,·v0},·Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z318 ····invoke-virtual·{p2,·p1,·v0},·Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z
  
286 ····goto·:goto_0319 ····goto·:goto_0
  
287 ····.line·110320 ····.line·111
288 ····:cond_0321 ····:cond_0
289 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;322 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
  
290 ····invoke-virtual·{p1},·Landroid/view/View;->getWindowToken()Landroid/os/IBinder;323 ····invoke-virtual·{p1},·Landroid/view/View;->getWindowToken()Landroid/os/IBinder;
  
291 ····move-result-object·p1324 ····move-result-object·p1
  
Offset 305, 61 lines modifiedOffset 338, 97 lines modified
305 .end·method338 .end·method
  
306 .method·private·synthetic·lambda$new$2(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z339 .method·private·synthetic·lambda$new$2(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
307 ····.locals·0340 ····.locals·0
  
308 ····const/4·p1,·0x6341 ····const/4·p1,·0x6
  
309 ····if-eq·p2,·p1,·:cond_0342 ····if-eq·p2,·p1,·:cond_2
  
310 ····const/4·p1,·0x3343 ····const/4·p1,·0x3
  
311 ····if-ne·p2,·p1,·:cond_1344 ····if-ne·p2,·p1,·:cond_0
  
 345 ····goto·:goto_0
  
312 ····.line·119346 ····.line·121
313 ····:cond_0347 ····:cond_0
314 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;348 ····invoke-direct·{p0,·p3},·Lcom/android/car/ui/toolbar/SearchView;->isEnter(Landroid/view/KeyEvent;)Z
  
315 ····invoke-virtual·{p1},·Landroid/widget/EditText;->clearFocus()V349 ····move-result·p1
  
 350 ····if-eqz·p1,·:cond_3
  
 351 ····.line·122
 352 ····invoke-virtual·{p3},·Landroid/view/KeyEvent;->getAction()I
  
 353 ····move-result·p1
  
 354 ····const/4·p2,·0x1
  
 355 ····if-ne·p1,·p2,·:cond_1
  
 356 ····.line·125
 357 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/SearchView;->notifyQuerySubmit()V
  
 358 ····:cond_1
 359 ····return·p2
  
316 ····.line·120360 ····.line·120
317 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;361 ····:cond_2
 362 ····:goto_0
 363 ····invoke-direct·{p0},·Lcom/android/car/ui/toolbar/SearchView;->notifyQuerySubmit()V
  
318 ····invoke-interface·{p1},·Ljava/util/Set;->iterator()Ljava/util/Iterator;364 ····:cond_3
 365 ····const/4·p1,·0x0
  
319 ····move-result-object·p1366 ····return·p1
 367 .end·method
  
 368 .method·private·notifyQuerySubmit()V
 369 ····.locals·2
  
 370 ····.line·145
 371 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
 372 ····invoke-virtual·{v0},·Landroid/widget/EditText;->clearFocus()V
  
 373 ····.line·146
 374 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;
  
 375 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
 376 ····move-result-object·v0
  
320 ····:goto_0377 ····:goto_0
321 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z378 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
322 ····move-result·p2379 ····move-result·v1
  
323 ····if-eqz·p2,·:cond_1380 ····if-eqz·v1,·:cond_0
  
324 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;381 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
325 ····move-result-object·p2382 ····move-result-object·v1
  
326 ····check-cast·p2,·Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;383 ····check-cast·v1,·Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;
  
327 ····.line·121384 ····.line·147
328 ····invoke-interface·{p2},·Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;->onSearchCompleted()V385 ····invoke-interface·{v1},·Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;->onSearchCompleted()V
  
329 ····goto·:goto_0386 ····goto·:goto_0
  
330 ····:cond_1387 ····:cond_0
331 ····const/4·p1,·0x0388 ····return-void
  
332 ····return·p1 
333 .end·method389 .end·method
  
334 .method·private·onSearch(Ljava/lang/String;)V390 .method·private·onSearch(Ljava/lang/String;)V
335 ····.locals·2391 ····.locals·2
  
336 ····.line·227392 ····.line·250
337 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;393 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;
  
338 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z394 ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
339 ····move-result·v1395 ····move-result·v1
  
340 ····if-eqz·v1,·:cond_0396 ····if-eqz·v1,·:cond_0
Offset 370, 15 lines modifiedOffset 439, 15 lines modified
  
370 ····:cond_0439 ····:cond_0
371 ····const/4·v1,·0x0440 ····const/4·v1,·0x0
  
372 ····:goto_0441 ····:goto_0
373 ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V442 ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V
  
374 ····.line·229443 ····.line·252
375 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;444 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;
  
376 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;445 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
377 ····move-result-object·v0446 ····move-result-object·v0
  
378 ····:goto_1447 ····:goto_1
Offset 390, 29 lines modifiedOffset 459, 29 lines modified
  
390 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;459 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
391 ····move-result-object·v1460 ····move-result-object·v1
  
392 ····check-cast·v1,·Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;461 ····check-cast·v1,·Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;
  
393 ····.line·230462 ····.line·253
394 ····invoke-interface·{v1,·p1},·Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;->onSearch(Ljava/lang/String;)V463 ····invoke-interface·{v1,·p1},·Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;->onSearch(Ljava/lang/String;)V
  
395 ····goto·:goto_1464 ····goto·:goto_1
  
396 ····:cond_1465 ····:cond_1
397 ····return-void466 ····return-void
398 .end·method467 .end·method
  
  
399 #·virtual·methods468 #·virtual·methods
400 .method·public·getHint()Ljava/lang/CharSequence;469 .method·public·getHint()Ljava/lang/CharSequence;
401 ····.locals·1470 ····.locals·1
  
402 ····.line·179471 ····.line·202
403 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;472 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
404 ····invoke-virtual·{v0},·Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;473 ····invoke-virtual·{v0},·Landroid/widget/EditText;->getHint()Ljava/lang/CharSequence;
  
405 ····move-result-object·v0474 ····move-result-object·v0
  
406 ····return-object·v0475 ····return-object·v0
Offset 443, 30 lines modifiedOffset 512, 30 lines modified
  
443 ····return·p1512 ····return·p1
444 .end·method513 .end·method
  
445 .method·public·onVisibilityChanged(Landroid/view/View;I)V514 .method·public·onVisibilityChanged(Landroid/view/View;I)V
446 ····.locals·2515 ····.locals·2
  
447 ····.line·132516 ····.line·155
448 ····invoke-super·{p0,·p1,·p2},·Landroid/view/ViewGroup;->onVisibilityChanged(Landroid/view/View;I)V517 ····invoke-super·{p0,·p1,·p2},·Landroid/view/ViewGroup;->onVisibilityChanged(Landroid/view/View;I)V
  
449 ····.line·134518 ····.line·157
450 ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->isShown()Z519 ····invoke-virtual·{p0},·Landroid/view/ViewGroup;->isShown()Z
  
451 ····move-result·p1520 ····move-result·p1
  
452 ····if-eqz·p1,·:cond_2521 ····if-eqz·p1,·:cond_2
  
453 ····.line·135522 ····.line·158
454 ····iget-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z523 ····iget-boolean·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z
  
455 ····if-nez·p2,·:cond_2524 ····if-nez·p2,·:cond_2
  
456 ····.line·136525 ····.line·159
457 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;526 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
458 ····invoke-virtual·{p2},·Landroid/widget/EditText;->getText()Landroid/text/Editable;527 ····invoke-virtual·{p2},·Landroid/widget/EditText;->getText()Landroid/text/Editable;
  
459 ····move-result-object·p2528 ····move-result-object·p2
  
460 ····invoke-interface·{p2},·Landroid/text/Editable;->length()I529 ····invoke-interface·{p2},·Landroid/text/Editable;->length()I
Offset 480, 174 lines modifiedOffset 549, 174 lines modified
480 ····const/4·p2,·0x1549 ····const/4·p2,·0x1
  
481 ····goto·:goto_0550 ····goto·:goto_0
  
482 ····:cond_0551 ····:cond_0
483 ····move·p2,·v0552 ····move·p2,·v0
  
484 ····.line·137553 ····.line·160
485 ····:goto_0554 ····:goto_0
486 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;555 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mCloseIcon:Landroid/view/View;
  
487 ····if-eqz·p2,·:cond_1556 ····if-eqz·p2,·:cond_1
  
488 ····goto·:goto_1557 ····goto·:goto_1
  
489 ····:cond_1558 ····:cond_1
490 ····const/16·v0,·0x8559 ····const/16·v0,·0x8
  
491 ····:goto_1560 ····:goto_1
492 ····invoke-virtual·{v1,·v0},·Landroid/view/View;->setVisibility(I)V561 ····invoke-virtual·{v1,·v0},·Landroid/view/View;->setVisibility(I)V
  
493 ····.line·138562 ····.line·161
494 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;563 ····iget-object·p2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
495 ····invoke-virtual·{p2},·Landroid/widget/EditText;->requestFocus()Z564 ····invoke-virtual·{p2},·Landroid/widget/EditText;->requestFocus()Z
  
496 ····.line·140565 ····.line·163
497 ····:cond_2566 ····:cond_2
498 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z567 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mWasShown:Z
  
499 ····return-void568 ····return-void
500 .end·method569 .end·method
  
501 .method·public·setHint(I)V570 .method·public·setHint(I)V
502 ····.locals·1571 ····.locals·1
  
503 ····.line·165572 ····.line·188
504 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;573 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
505 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setHint(I)V574 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setHint(I)V
  
506 ····return-void575 ····return-void
507 .end·method576 .end·method
  
508 .method·public·setHint(Ljava/lang/CharSequence;)V577 .method·public·setHint(Ljava/lang/CharSequence;)V
509 ····.locals·1578 ····.locals·1
  
510 ····.line·174579 ····.line·197
511 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;580 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
512 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V581 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
  
513 ····return-void582 ····return-void
514 .end·method583 .end·method
  
515 .method·public·setIcon(I)V584 .method·public·setIcon(I)V
516 ····.locals·1585 ····.locals·1
  
517 ····if-nez·p1,·:cond_0586 ····if-nez·p1,·:cond_0
  
518 ····.line·198587 ····.line·221
519 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;588 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
520 ····sget·v0,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I589 ····sget·v0,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I
  
521 ····invoke-virtual·{p1,·v0},·Landroid/widget/ImageView;->setImageResource(I)V590 ····invoke-virtual·{p1,·v0},·Landroid/widget/ImageView;->setImageResource(I)V
  
522 ····goto·:goto_0591 ····goto·:goto_0
  
523 ····.line·200592 ····.line·223
524 ····:cond_0593 ····:cond_0
525 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;594 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
526 ····invoke-virtual·{v0,·p1},·Landroid/widget/ImageView;->setImageResource(I)V595 ····invoke-virtual·{v0,·p1},·Landroid/widget/ImageView;->setImageResource(I)V
  
527 ····:goto_0596 ····:goto_0
528 ····return-void597 ····return-void
529 .end·method598 .end·method
  
530 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V599 .method·public·setIcon(Landroid/graphics/drawable/Drawable;)V
531 ····.locals·1600 ····.locals·1
  
532 ····if-nez·p1,·:cond_0601 ····if-nez·p1,·:cond_0
  
533 ····.line·187602 ····.line·210
534 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;603 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
535 ····sget·v0,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I604 ····sget·v0,·Lcom/android/car/ui/R$drawable;->car_ui_icon_search:I
  
536 ····invoke-virtual·{p1,·v0},·Landroid/widget/ImageView;->setImageResource(I)V605 ····invoke-virtual·{p1,·v0},·Landroid/widget/ImageView;->setImageResource(I)V
  
537 ····goto·:goto_0606 ····goto·:goto_0
  
538 ····.line·189607 ····.line·212
539 ····:cond_0608 ····:cond_0
540 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;609 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
541 ····invoke-virtual·{v0,·p1},·Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V610 ····invoke-virtual·{v0,·p1},·Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
  
542 ····:goto_0611 ····:goto_0
543 ····return-void612 ····return-void
544 .end·method613 .end·method
  
545 .method·public·setPlainText(Z)V614 .method·public·setPlainText(Z)V
546 ····.locals·4615 ····.locals·4
  
547 ····.line·209616 ····.line·232
548 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z617 ····iget-boolean·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z
  
549 ····if-eq·p1,·v0,·:cond_1618 ····if-eq·p1,·v0,·:cond_1
  
550 ····const/4·v0,·0x0619 ····const/4·v0,·0x0
  
551 ····if-eqz·p1,·:cond_0620 ····if-eqz·p1,·:cond_0
  
552 ····.line·211621 ····.line·234
553 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;622 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
554 ····iget·v2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPaddingWithoutIcon:I623 ····iget·v2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPaddingWithoutIcon:I
  
555 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I624 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I
  
556 ····invoke-virtual·{v1,·v2,·v0,·v3,·v0},·Landroid/widget/EditText;->setPaddingRelative(IIII)V625 ····invoke-virtual·{v1,·v2,·v0,·v3,·v0},·Landroid/widget/EditText;->setPaddingRelative(IIII)V
  
557 ····.line·212626 ····.line·235
558 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;627 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
559 ····const/4·v1,·0x6628 ····const/4·v1,·0x6
  
560 ····invoke-virtual·{v0,·v1},·Landroid/widget/EditText;->setImeOptions(I)V629 ····invoke-virtual·{v0,·v1},·Landroid/widget/EditText;->setImeOptions(I)V
  
561 ····.line·213630 ····.line·236
562 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;631 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
563 ····const/16·v1,·0x8632 ····const/16·v1,·0x8
  
564 ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setVisibility(I)V633 ····invoke-virtual·{v0,·v1},·Landroid/widget/ImageView;->setVisibility(I)V
  
565 ····goto·:goto_0634 ····goto·:goto_0
  
566 ····.line·215635 ····.line·238
567 ····:cond_0636 ····:cond_0
568 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;637 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
569 ····iget·v2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I638 ····iget·v2,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mStartPadding:I
  
570 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I639 ····iget·v3,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mEndPadding:I
  
571 ····invoke-virtual·{v1,·v2,·v0,·v3,·v0},·Landroid/widget/EditText;->setPaddingRelative(IIII)V640 ····invoke-virtual·{v1,·v2,·v0,·v3,·v0},·Landroid/widget/EditText;->setPaddingRelative(IIII)V
  
572 ····.line·216641 ····.line·239
573 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;642 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
574 ····const/4·v2,·0x3643 ····const/4·v2,·0x3
  
575 ····invoke-virtual·{v1,·v2},·Landroid/widget/EditText;->setImeOptions(I)V644 ····invoke-virtual·{v1,·v2},·Landroid/widget/EditText;->setImeOptions(I)V
  
576 ····.line·217645 ····.line·240
577 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;646 ····iget-object·v1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIcon:Landroid/widget/ImageView;
  
578 ····invoke-virtual·{v1,·v0},·Landroid/widget/ImageView;->setVisibility(I)V647 ····invoke-virtual·{v1,·v0},·Landroid/widget/ImageView;->setVisibility(I)V
  
579 ····.line·219648 ····.line·242
580 ····:goto_0649 ····:goto_0
581 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z650 ····iput-boolean·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mIsPlainText:Z
  
582 ····.line·222651 ····.line·245
583 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;652 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
  
584 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;653 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
585 ····invoke-virtual·{p1,·v0},·Landroid/view/inputmethod/InputMethodManager;->restartInput(Landroid/view/View;)V654 ····invoke-virtual·{p1,·v0},·Landroid/view/inputmethod/InputMethodManager;->restartInput(Landroid/view/View;)V
  
586 ····:cond_1655 ····:cond_1
Offset 661, 15 lines modifiedOffset 730, 15 lines modified
661 ············"(",730 ············"(",
662 ············"Ljava/util/Set<",731 ············"Ljava/util/Set<",
663 ············"Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;",732 ············"Lcom/android/car/ui/toolbar/Toolbar$OnSearchCompletedListener;",
664 ············">;)V"733 ············">;)V"
665 ········}734 ········}
666 ····.end·annotation735 ····.end·annotation
  
667 ····.line·156736 ····.line·179
668 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;737 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchCompletedListeners:Ljava/util/Set;
  
669 ····return-void738 ····return-void
670 .end·method739 .end·method
  
671 .method·public·setSearchListeners(Ljava/util/Set;)V740 .method·public·setSearchListeners(Ljava/util/Set;)V
672 ····.locals·0741 ····.locals·0
Offset 678, 29 lines modifiedOffset 747, 29 lines modified
678 ············"(",747 ············"(",
679 ············"Ljava/util/Set<",748 ············"Ljava/util/Set<",
680 ············"Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;",749 ············"Lcom/android/car/ui/toolbar/Toolbar$OnSearchListener;",
681 ············">;)V"750 ············">;)V"
682 ········}751 ········}
683 ····.end·annotation752 ····.end·annotation
  
684 ····.line·148753 ····.line·171
685 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;754 ····iput-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchListeners:Ljava/util/Set;
  
686 ····return-void755 ····return-void
687 .end·method756 .end·method
  
688 .method·public·setSearchQuery(Ljava/lang/String;)V757 .method·public·setSearchQuery(Ljava/lang/String;)V
689 ····.locals·1758 ····.locals·1
  
690 ····.line·238759 ····.line·261
691 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;760 ····iget-object·v0,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
692 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V761 ····invoke-virtual·{v0,·p1},·Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
  
693 ····.line·239762 ····.line·262
694 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;763 ····iget-object·p1,·p0,·Lcom/android/car/ui/toolbar/SearchView;->mSearchText:Landroid/widget/EditText;
  
695 ····invoke-virtual·{p1},·Landroid/widget/EditText;->getText()Landroid/text/Editable;764 ····invoke-virtual·{p1},·Landroid/widget/EditText;->getText()Landroid/text/Editable;
  
696 ····move-result-object·v0765 ····move-result-object·v0
  
697 ····invoke-interface·{v0},·Landroid/text/Editable;->length()I766 ····invoke-interface·{v0},·Landroid/text/Editable;->length()I