| | | |
Offset 78, 138 lines modified | Offset 78, 148 lines modified |
| |
78 | ····move-result·p2 | 78 | ····move-result·p2 |
| |
79 | ····goto·:goto_0 | 79 | ····goto·:goto_0 |
| |
80 | ····.line·172 | 80 | ····.line·172 |
81 | ····:cond_0 | 81 | ····:cond_0 |
82 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getChildCount()I | 82 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
| 83 | ····move-result-object·p2 |
| |
| 84 | ····.line·173 |
| 85 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| |
83 | ····move-result·v2 | 86 | ····move-result·v2 |
| |
84 | ····add-int/lit8·v2,·v2,·-0x1 | 87 | ····add-int/lit8·v2,·v2,·-0x1 |
| |
85 | ····invoke-virtual·{p2,·v2},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 88 | ····invoke-virtual·{p2,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
86 | ····move-result-object·p2 | 89 | ····move-result-object·p2 |
| |
87 | ····.line·174 | 90 | ····.line·175 |
88 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; | 91 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; |
| |
89 | ····move-result-object·v2 | 92 | ····move-result-object·v2 |
| |
90 | ····check-cast·v2,·Landroidx/recyclerview/widget/RecyclerView$LayoutParams; | 93 | ····check-cast·v2,·Landroidx/recyclerview/widget/RecyclerView$LayoutParams; |
| |
91 | ····.line·175 | 94 | ····.line·176 |
92 | ····invoke-virtual·{p2},·Landroid/view/View;->getRight()I | 95 | ····invoke-virtual·{p2},·Landroid/view/View;->getRight()I |
| |
93 | ····move-result·p2 | 96 | ····move-result·p2 |
| |
94 | ····iget·v2,·v2,·Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I | 97 | ····iget·v2,·v2,·Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I |
| |
95 | ····add-int/2addr·p2,·v2 | 98 | ····add-int/2addr·p2,·v2 |
| |
96 | ····.line·177 | 99 | ····.line·178 |
97 | ····:goto_0 | 100 | ····:goto_0 |
98 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 101 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
99 | ····invoke-virtual·{v2},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I | 102 | ····invoke-virtual·{v2},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I |
| |
100 | ····move-result·v2 | 103 | ····move-result·v2 |
| |
101 | ····add-int/2addr·v2,·p2 | 104 | ····add-int/2addr·v2,·p2 |
| |
102 | ····.line·179 | 105 | ····.line·180 |
103 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 106 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
104 | ····invoke-virtual·{v3,·p2,·v0,·v2,·v1},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V | 107 | ····invoke-virtual·{v3,·p2,·v0,·v2,·v1},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V |
| |
105 | ····.line·180 | 108 | ····.line·181 |
106 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 109 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
107 | ····invoke-virtual·{p2,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V | 110 | ····invoke-virtual·{p2,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V |
| |
108 | ····return-void | 111 | ····return-void |
109 | .end·method | 112 | .end·method |
| |
110 | .method·private·drawOffsetVertical(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V | 113 | .method·private·drawOffsetVertical(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V |
111 | ····.locals·4 | 114 | ····.locals·4 |
| |
112 | ····.line·184 | 115 | ····.line·185 |
113 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingLeft()I | 116 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingLeft()I |
| |
114 | ····move-result·v0 | 117 | ····move-result·v0 |
| |
115 | ····.line·185 | 118 | ····.line·186 |
116 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getWidth()I | 119 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getWidth()I |
| |
117 | ····move-result·v1 | 120 | ····move-result·v1 |
| |
118 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingRight()I | 121 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingRight()I |
| |
119 | ····move-result·v2 | 122 | ····move-result·v2 |
| |
120 | ····sub-int/2addr·v1,·v2 | 123 | ····sub-int/2addr·v1,·v2 |
| |
121 | ····.line·190 | 124 | ····.line·191 |
122 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetPosition:I | 125 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetPosition:I |
| |
123 | ····if-nez·v2,·:cond_0 | 126 | ····if-nez·v2,·:cond_0 |
| |
124 | ····.line·191 | 127 | ····.line·192 |
125 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingTop()I | 128 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getPaddingTop()I |
| |
126 | ····move-result·p2 | 129 | ····move-result·p2 |
| |
127 | ····goto·:goto_0 | 130 | ····goto·:goto_0 |
| |
128 | ····.line·193 | 131 | ····.line·194 |
129 | ····:cond_0 | 132 | ····:cond_0 |
130 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getChildCount()I | 133 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
| 134 | ····move-result-object·p2 |
| |
| 135 | ····.line·195 |
| 136 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| |
131 | ····move-result·v2 | 137 | ····move-result·v2 |
| |
132 | ····add-int/lit8·v2,·v2,·-0x1 | 138 | ····add-int/lit8·v2,·v2,·-0x1 |
| |
133 | ····invoke-virtual·{p2,·v2},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 139 | ····invoke-virtual·{p2,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
134 | ····move-result-object·p2 | 140 | ····move-result-object·p2 |
| |
135 | ····.line·195 | 141 | ····.line·197 |
136 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; | 142 | ····invoke-virtual·{p2},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; |
| |
137 | ····move-result-object·v2 | 143 | ····move-result-object·v2 |
| |
138 | ····check-cast·v2,·Landroidx/recyclerview/widget/RecyclerView$LayoutParams; | 144 | ····check-cast·v2,·Landroidx/recyclerview/widget/RecyclerView$LayoutParams; |
| |
139 | ····.line·196 | 145 | ····.line·198 |
140 | ····invoke-virtual·{p2},·Landroid/view/View;->getBottom()I | 146 | ····invoke-virtual·{p2},·Landroid/view/View;->getBottom()I |
| |
141 | ····move-result·p2 | 147 | ····move-result·p2 |
| |
142 | ····iget·v2,·v2,·Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I | 148 | ····iget·v2,·v2,·Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I |
| |
143 | ····add-int/2addr·p2,·v2 | 149 | ····add-int/2addr·p2,·v2 |
| |
144 | ····.line·198 | 150 | ····.line·200 |
145 | ····:goto_0 | 151 | ····:goto_0 |
146 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 152 | ····iget-object·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
147 | ····invoke-virtual·{v2},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I | 153 | ····invoke-virtual·{v2},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I |
| |
148 | ····move-result·v2 | 154 | ····move-result·v2 |
| |
149 | ····add-int/2addr·v2,·p2 | 155 | ····add-int/2addr·v2,·p2 |
| |
150 | ····.line·200 | 156 | ····.line·202 |
151 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 157 | ····iget-object·v3,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
152 | ····invoke-virtual·{v3,·v0,·p2,·v1,·v2},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V | 158 | ····invoke-virtual·{v3,·v0,·p2,·v1,·v2},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V |
| |
153 | ····.line·201 | 159 | ····.line·203 |
154 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; | 160 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/linear/LinearOffsetItemDecoration;->mOffsetDrawable:Landroid/graphics/drawable/Drawable; |
| |
155 | ····invoke-virtual·{p2,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V | 161 | ····invoke-virtual·{p2,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V |
| |
156 | ····return-void | 162 | ····return-void |
157 | .end·method | 163 | .end·method |
| |