Offset 59, 138 lines modifiedOffset 59, 138 lines modified
59 .end·field59 .end·field
  
  
60 #·direct·methods60 #·direct·methods
61 .method·static·constructor·<clinit>()V61 .method·static·constructor·<clinit>()V
62 ····.locals·262 ····.locals·2
  
63 ····.line·20763 ····.line·204
64 ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;64 ····new-instance·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;
  
65 ····const/4·v1,·0x065 ····const/4·v1,·0x0
  
66 ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V66 ····invoke-direct·{v0,·v1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder$PersonEquivalence;-><init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V
  
67 ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence;67 ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence;
  
68 ····.line·20868 ····.line·205
69 ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person;69 ····sget-object·v1,·Landroid/view/textclassifier/ConversationActions$Message;->PERSON_USER_SELF:Landroid/app/Person;
  
70 ····.line·20970 ····.line·206
71 ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper;71 ····invoke-virtual·{v0,·v1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper;
  
72 ····move-result-object·v072 ····move-result-object·v0
  
73 ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper;73 ····sput-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper;
  
74 ····return-void74 ····return-void
75 .end·method75 .end·method
  
76 .method·private·constructor·<init>()V76 .method·private·constructor·<init>()V
77 ····.locals·177 ····.locals·1
  
78 ····.line·20678 ····.line·203
79 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V79 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
80 ····.line·21180 ····.line·208
81 ····new-instance·v0,·Landroid/util/ArrayMap;81 ····new-instance·v0,·Landroid/util/ArrayMap;
  
82 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V82 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
83 ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;83 ····iput-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;
  
84 ····const/4·v0,·0x184 ····const/4·v0,·0x1
  
85 ····.line·21285 ····.line·209
86 ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I86 ····iput·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
87 ····return-void87 ····return-void
88 .end·method88 .end·method
  
89 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V89 .method·synthetic·constructor·<init>(Lcom/android/textclassifier/ActionsSuggestionsHelper$1;)V
90 ····.locals·090 ····.locals·0
  
91 ····.line·20691 ····.line·203
92 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V92 ····invoke-direct·{p0},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;-><init>()V
  
93 ····return-void93 ····return-void
94 .end·method94 .end·method
  
95 .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I95 .method·static·synthetic·access$100(Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;Landroid/app/Person;)I
96 ····.locals·096 ····.locals·0
  
97 ····.line·20697 ····.line·203
98 ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I98 ····invoke-direct·{p0,·p1},·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->encode(Landroid/app/Person;)I
  
99 ····move-result·p099 ····move-result·p0
  
100 ····return·p0100 ····return·p0
101 .end·method101 .end·method
  
102 .method·private·encode(Landroid/app/Person;)I102 .method·private·encode(Landroid/app/Person;)I
103 ····.locals·2103 ····.locals·2
  
104 ····.line·215104 ····.line·212
105 ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence;105 ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->EQUIVALENCE:Lcom/google/common/base/Equivalence;
  
106 ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper;106 ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence;->wrap(Ljava/lang/Object;)Lcom/google/common/base/Equivalence$Wrapper;
  
107 ····move-result-object·p1107 ····move-result-object·p1
  
108 ····.line·216108 ····.line·213
109 ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper;109 ····sget-object·v0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->PERSON_USER_SELF:Lcom/google/common/base/Equivalence$Wrapper;
  
110 ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z110 ····invoke-virtual·{v0,·p1},·Lcom/google/common/base/Equivalence$Wrapper;->equals(Ljava/lang/Object;)Z
  
111 ····move-result·v0111 ····move-result·v0
  
112 ····if-eqz·v0,·:cond_0112 ····if-eqz·v0,·:cond_0
  
113 ····const/4·p0,·0x0113 ····const/4·p0,·0x0
  
114 ····return·p0114 ····return·p0
  
115 ····.line·219115 ····.line·216
116 ····:cond_0116 ····:cond_0
117 ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;117 ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;
  
118 ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;118 ····invoke-interface·{v0,·p1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
119 ····move-result-object·v0119 ····move-result-object·v0
  
120 ····check-cast·v0,·Ljava/lang/Integer;120 ····check-cast·v0,·Ljava/lang/Integer;
  
121 ····if-nez·v0,·:cond_1121 ····if-nez·v0,·:cond_1
  
122 ····.line·221122 ····.line·218
123 ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;123 ····iget-object·v0,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->personToUserIdMap:Ljava/util/Map;
  
124 ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I124 ····iget·v1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
125 ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;125 ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  
126 ····move-result-object·v1126 ····move-result-object·v1
  
127 ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;127 ····invoke-interface·{v0,·p1,·v1},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
128 ····.line·222128 ····.line·219
129 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I129 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
130 ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;130 ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
  
131 ····move-result-object·v0131 ····move-result-object·v0
  
132 ····.line·223132 ····.line·220
133 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I133 ····iget·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
134 ····add-int/lit8·p1,·p1,·0x1134 ····add-int/lit8·p1,·p1,·0x1
  
135 ····iput·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I135 ····iput·p1,·p0,·Lcom/android/textclassifier/ActionsSuggestionsHelper$PersonEncoder;->nextUserId:I
  
136 ····.line·225136 ····.line·222
137 ····:cond_1137 ····:cond_1
138 ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I138 ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I
  
139 ····move-result·p0139 ····move-result·p0
  
140 ····return·p0140 ····return·p0
141 .end·method141 .end·method