| | | |
Offset 11, 360 lines modified | Offset 11, 380 lines modified |
11 | .field·private·final·mVerticalDivider:Landroid/graphics/drawable/Drawable; | 11 | .field·private·final·mVerticalDivider:Landroid/graphics/drawable/Drawable; |
| |
| |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·public·constructor·<init>(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;I)V | 13 | .method·public·constructor·<init>(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;I)V |
14 | ····.locals·0 | 14 | ····.locals·0 |
| |
15 | ····.line·48 | 15 | ····.line·50 |
16 | ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$ItemDecoration;-><init>()V | 16 | ····invoke-direct·{p0},·Landroidx/recyclerview/widget/RecyclerView$ItemDecoration;-><init>()V |
| |
17 | ····.line·49 | 17 | ····.line·51 |
18 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 18 | ····iput-object·p1,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
19 | ····.line·50 | 19 | ····.line·52 |
20 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; | 20 | ····iput-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; |
| |
21 | ····.line·51 | 21 | ····.line·53 |
22 | ····iput·p3,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 22 | ····iput·p3,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
23 | ····return-void | 23 | ····return-void |
24 | .end·method | 24 | .end·method |
| |
25 | .method·private·drawHorizontalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V | 25 | .method·private·drawHorizontalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V |
26 | ····.locals·10 | 26 | ····.locals·11 |
| |
27 | ····.line·92 | 27 | ····.line·95 |
28 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getChildCount()I | 28 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
29 | ····move-result·v0 | 29 | ····move-result-object·v0 |
| |
30 | ····.line·93 | 30 | ····.line·94 |
31 | ····iget·v1,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 31 | ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
32 | ····div-int·v2,·v0,·v1 | 32 | ····check-cast·v0,·Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
33 | ····.line·94 | 33 | ····.line·96 |
34 | ····rem-int·v3,·v0,·v1 | 34 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| |
35 | ····.line·95 | 35 | ····move-result·v1 |
36 | ····invoke-static·{v0,·v1},·Ljava/lang/Math;->min(II)I | |
| 36 | ····.line·97 |
| 37 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
37 | ····move-result·v0 | 38 | ····div-int·v3,·v1,·v2 |
| |
38 | ····const/4·v1,·0x1 | 39 | ····.line·98 |
| 40 | ····rem-int·v4,·v1,·v2 |
| |
| 41 | ····.line·99 |
| 42 | ····invoke-static·{v1,·v2},·Ljava/lang/Math;->min(II)I |
| |
| 43 | ····move-result·v1 |
| |
| 44 | ····const/4·v2,·0x1 |
| |
39 | ····:goto_0 | 45 | ····:goto_0 |
40 | ····if-ge·v1,·v0,·:cond_1 | 46 | ····if-ge·v2,·v1,·:cond_1 |
| |
41 | ····if-ge·v1,·v3,·:cond_0 | 47 | ····if-ge·v2,·v4,·:cond_0 |
| |
42 | ····.line·100 | 48 | ····.line·104 |
43 | ····iget·v4,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 49 | ····iget·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
44 | ····mul-int/2addr·v4,·v2 | 50 | ····mul-int/2addr·v5,·v3 |
| |
45 | ····goto·:goto_1 | 51 | ····goto·:goto_1 |
| |
46 | ····:cond_0 | 52 | ····:cond_0 |
47 | ····add-int/lit8·v4,·v2,·-0x1 | 53 | ····add-int/lit8·v5,·v3,·-0x1 |
| |
48 | ····.line·102 | 54 | ····.line·106 |
49 | ····iget·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 55 | ····iget·v6,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
50 | ····mul-int/2addr·v4,·v5 | 56 | ····mul-int/2addr·v5,·v6 |
| |
51 | ····:goto_1 | 57 | ····:goto_1 |
52 | ····add-int/2addr·v4,·v1 | 58 | ····add-int/2addr·v5,·v2 |
| |
53 | ····.line·105 | 59 | ····.line·110 |
54 | ····invoke-virtual·{p2,·v1},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 60 | ····invoke-virtual·{v0,·v2},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
55 | ····move-result-object·v5 | 61 | ····move-result-object·v6 |
| |
56 | ····.line·106 | 62 | ····.line·111 |
57 | ····invoke-virtual·{p2,·v4},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 63 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
58 | ····move-result-object·v4 | 64 | ····move-result-object·v5 |
| |
59 | ····.line·109 | 65 | ····.line·114 |
60 | ····invoke-virtual·{v5},·Landroid/view/View;->getTop()I | 66 | ····invoke-virtual·{v6},·Landroid/view/View;->getTop()I |
| |
61 | ····move-result·v6 | 67 | ····move-result·v7 |
| |
62 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 68 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
63 | ····move-result-object·v7 | 69 | ····move-result-object·v8 |
| |
64 | ····invoke-virtual·{v7},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 70 | ····invoke-virtual·{v8},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
65 | ····move-result-object·v7 | 71 | ····move-result-object·v8 |
| |
66 | ····sget·v8,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_top_margin:I | 72 | ····sget·v9,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_top_margin:I |
| |
67 | ····invoke-virtual·{v7,·v8},·Landroid/content/res/Resources;->getDimension(I)F | 73 | ····invoke-virtual·{v8,·v9},·Landroid/content/res/Resources;->getDimension(I)F |
| |
68 | ····move-result·v7 | 74 | ····move-result·v8 |
| |
69 | ····float-to-int·v7,·v7 | 75 | ····float-to-int·v8,·v8 |
| |
70 | ····add-int/2addr·v6,·v7 | 76 | ····add-int/2addr·v7,·v8 |
| |
71 | ····.line·111 | 77 | ····.line·116 |
72 | ····invoke-virtual·{v5},·Landroid/view/View;->getLeft()I | 78 | ····invoke-virtual·{v6},·Landroid/view/View;->getLeft()I |
| |
73 | ····move-result·v5 | 79 | ····move-result·v6 |
| |
74 | ····.line·112 | 80 | ····.line·117 |
75 | ····iget-object·v7,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 81 | ····iget-object·v8,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
76 | ····invoke-virtual·{v7},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I | 82 | ····invoke-virtual·{v8},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I |
| |
77 | ····move-result·v7 | 83 | ····move-result·v8 |
| |
78 | ····sub-int·v7,·v5,·v7 | 84 | ····sub-int·v8,·v6,·v8 |
| |
79 | ····.line·113 | 85 | ····.line·118 |
80 | ····invoke-virtual·{v4},·Landroid/view/View;->getBottom()I | 86 | ····invoke-virtual·{v5},·Landroid/view/View;->getBottom()I |
| |
81 | ····move-result·v4 | 87 | ····move-result·v5 |
| |
82 | ····.line·114 | 88 | ····.line·119 |
83 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 89 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
84 | ····move-result-object·v8 | 90 | ····move-result-object·v9 |
| |
85 | ····invoke-virtual·{v8},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 91 | ····invoke-virtual·{v9},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
86 | ····move-result-object·v8 | 92 | ····move-result-object·v9 |
| |
87 | ····sget·v9,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_bottom_margin:I | 93 | ····sget·v10,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_bottom_margin:I |
| |
88 | ····invoke-virtual·{v8,·v9},·Landroid/content/res/Resources;->getDimension(I)F | 94 | ····invoke-virtual·{v9,·v10},·Landroid/content/res/Resources;->getDimension(I)F |
| |
89 | ····move-result·v8 | 95 | ····move-result·v9 |
| |
90 | ····float-to-int·v8,·v8 | 96 | ····float-to-int·v9,·v9 |
| |
91 | ····sub-int/2addr·v4,·v8 | 97 | ····sub-int/2addr·v5,·v9 |
| |
92 | ····.line·117 | 98 | ····.line·122 |
93 | ····iget-object·v8,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 99 | ····iget-object·v9,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
94 | ····invoke-virtual·{v8,·v7,·v6,·v5,·v4},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V | 100 | ····invoke-virtual·{v9,·v8,·v7,·v6,·v5},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V |
| |
95 | ····.line·118 | 101 | ····.line·123 |
96 | ····iget-object·v4,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 102 | ····iget-object·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
97 | ····invoke-virtual·{v4,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V | 103 | ····invoke-virtual·{v5,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V |
| |
98 | ····add-int/lit8·v1,·v1,·0x1 | 104 | ····add-int/lit8·v2,·v2,·0x1 |
| |
99 | ····goto·:goto_0 | 105 | ····goto·:goto_0 |
| |
100 | ····:cond_1 | 106 | ····:cond_1 |
101 | ····return-void | 107 | ····return-void |
102 | .end·method | 108 | .end·method |
| |
103 | .method·private·drawVerticalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V | 109 | .method·private·drawVerticalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V |
104 | ····.locals·10 | 110 | ····.locals·11 |
| |
105 | ····.line·133 | 111 | ····.line·139 |
106 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getChildCount()I | 112 | ····invoke-virtual·{p2},·Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
| |
107 | ····move-result·v0 | 113 | ····move-result-object·v0 |
| |
108 | ····int-to-double·v0,·v0 | 114 | ····.line·138 |
| 115 | ····invoke-static·{v0},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
109 | ····.line·134 | 116 | ····check-cast·v0,·Landroidx/recyclerview/widget/RecyclerView$LayoutManager; |
110 | ····iget·v2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | |
| |
111 | ····int-to-double·v2,·v2 | 117 | ····.line·140 |
| 118 | ····invoke-virtual·{v0},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildCount()I |
| |
112 | ····div-double/2addr·v0,·v2 | 119 | ····move-result·v1 |
| |
113 | ····invoke-static·{v0,·v1},·Ljava/lang/Math;->ceil(D)D | 120 | ····int-to-double·v1,·v1 |
| |
114 | ····move-result-wide·v0 | 121 | ····.line·141 |
| 122 | ····iget·v3,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
115 | ····const/4·v2,·0x1 | 123 | ····int-to-double·v3,·v3 |
| |
| 124 | ····div-double/2addr·v1,·v3 |
| |
116 | ····move·v3,·v2 | 125 | ····invoke-static·{v1,·v2},·Ljava/lang/Math;->ceil(D)D |
| |
| 126 | ····move-result-wide·v1 |
| |
| 127 | ····const/4·v3,·0x1 |
| |
| 128 | ····move·v4,·v3 |
| |
117 | ····:goto_0 | 129 | ····:goto_0 |
118 | ····int-to-double·v4,·v3 | 130 | ····int-to-double·v5,·v4 |
| |
119 | ····cmpg-double·v6,·v4,·v0 | 131 | ····cmpg-double·v7,·v5,·v1 |
| |
120 | ····if-gtz·v6,·:cond_2 | 132 | ····if-gtz·v7,·:cond_2 |
| |
121 | ····if-ne·v3,·v2,·:cond_0 | 133 | ····if-ne·v4,·v3,·:cond_0 |
| |
122 | ····goto·:goto_2 | 134 | ····goto·:goto_2 |
| |
123 | ····:cond_0 | 135 | ····:cond_0 |
124 | ····cmpl-double·v4,·v4,·v0 | 136 | ····cmpl-double·v5,·v5,·v1 |
| |
125 | ····if-nez·v4,·:cond_1 | 137 | ····if-nez·v5,·:cond_1 |
| |
126 | ····add-int/lit8·v4,·v3,·-0x1 | 138 | ····add-int/lit8·v5,·v4,·-0x1 |
| |
127 | ····.line·142 | 139 | ····.line·149 |
128 | ····iget·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 140 | ····iget·v6,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
129 | ····mul-int/2addr·v4,·v5 | 141 | ····mul-int/2addr·v5,·v6 |
| |
130 | ····goto·:goto_1 | 142 | ····goto·:goto_1 |
| |
131 | ····.line·144 | 143 | ····.line·151 |
132 | ····:cond_1 | 144 | ····:cond_1 |
133 | ····iget·v4,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 145 | ····iget·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
134 | ····mul-int/2addr·v4,·v3 | 146 | ····mul-int/2addr·v5,·v4 |
| |
135 | ····:goto_1 | 147 | ····:goto_1 |
136 | ····sub-int/2addr·v4,·v2 | 148 | ····sub-int/2addr·v5,·v3 |
| |
137 | ····.line·147 | 149 | ····.line·154 |
138 | ····iget·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 150 | ····iget·v6,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
139 | ····add-int/lit8·v6,·v3,·-0x1 | 151 | ····add-int/lit8·v7,·v4,·-0x1 |
| |
140 | ····mul-int/2addr·v5,·v6 | 152 | ····mul-int/2addr·v6,·v7 |
| |
141 | ····invoke-virtual·{p2,·v5},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 153 | ····invoke-virtual·{v0,·v6},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
142 | ····move-result-object·v5 | 154 | ····move-result-object·v6 |
| |
143 | ····.line·148 | 155 | ····.line·155 |
144 | ····invoke-virtual·{p2,·v4},·Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; | 156 | ····invoke-virtual·{v0,·v5},·Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->getChildAt(I)Landroid/view/View; |
| |
145 | ····move-result-object·v4 | 157 | ····move-result-object·v5 |
| |
146 | ····.line·152 | 158 | ····.line·159 |
147 | ····invoke-virtual·{v5},·Landroid/view/View;->getLeft()I | 159 | ····invoke-virtual·{v6},·Landroid/view/View;->getLeft()I |
| |
148 | ····move-result·v6 | 160 | ····move-result·v7 |
| |
149 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 161 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
150 | ····move-result-object·v7 | 162 | ····move-result-object·v8 |
| |
151 | ····invoke-virtual·{v7},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 163 | ····invoke-virtual·{v8},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
152 | ····move-result-object·v7 | 164 | ····move-result-object·v8 |
| |
153 | ····sget·v8,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_start_margin:I | 165 | ····sget·v9,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_start_margin:I |
| |
154 | ····invoke-virtual·{v7,·v8},·Landroid/content/res/Resources;->getDimension(I)F | 166 | ····invoke-virtual·{v8,·v9},·Landroid/content/res/Resources;->getDimension(I)F |
| |
155 | ····move-result·v7 | 167 | ····move-result·v8 |
| |
156 | ····float-to-int·v7,·v7 | 168 | ····float-to-int·v8,·v8 |
| |
157 | ····add-int/2addr·v6,·v7 | 169 | ····add-int/2addr·v7,·v8 |
| |
158 | ····.line·154 | 170 | ····.line·161 |
159 | ····invoke-virtual·{v5},·Landroid/view/View;->getTop()I | 171 | ····invoke-virtual·{v6},·Landroid/view/View;->getTop()I |
| |
160 | ····move-result·v5 | 172 | ····move-result·v6 |
| |
161 | ····.line·155 | 173 | ····.line·162 |
162 | ····iget-object·v7,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; | 174 | ····iget-object·v8,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; |
| |
163 | ····invoke-virtual·{v7},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I | 175 | ····invoke-virtual·{v8},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I |
| |
164 | ····move-result·v7 | 176 | ····move-result·v8 |
| |
165 | ····sub-int·v7,·v5,·v7 | 177 | ····sub-int·v8,·v6,·v8 |
| |
166 | ····.line·156 | 178 | ····.line·163 |
167 | ····invoke-virtual·{v4},·Landroid/view/View;->getRight()I | 179 | ····invoke-virtual·{v5},·Landroid/view/View;->getRight()I |
| |
168 | ····move-result·v4 | 180 | ····move-result·v5 |
| |
169 | ····.line·157 | 181 | ····.line·164 |
170 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 182 | ····invoke-virtual·{p2},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
| |
171 | ····move-result-object·v8 | 183 | ····move-result-object·v9 |
| |
172 | ····invoke-virtual·{v8},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 184 | ····invoke-virtual·{v9},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
173 | ····move-result-object·v8 | 185 | ····move-result-object·v9 |
| |
174 | ····sget·v9,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_end_margin:I | 186 | ····sget·v10,·Lcom/android/car/ui/R$dimen;->car_ui_recyclerview_divider_end_margin:I |
| |
175 | ····invoke-virtual·{v8,·v9},·Landroid/content/res/Resources;->getDimension(I)F | 187 | ····invoke-virtual·{v9,·v10},·Landroid/content/res/Resources;->getDimension(I)F |
| |
176 | ····move-result·v8 | 188 | ····move-result·v9 |
| |
177 | ····float-to-int·v8,·v8 | 189 | ····float-to-int·v9,·v9 |
| |
178 | ····sub-int/2addr·v4,·v8 | 190 | ····sub-int/2addr·v5,·v9 |
| |
179 | ····.line·160 | 191 | ····.line·167 |
180 | ····iget-object·v8,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; | 192 | ····iget-object·v9,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; |
| |
181 | ····invoke-virtual·{v8,·v6,·v7,·v4,·v5},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V | 193 | ····invoke-virtual·{v9,·v7,·v8,·v5,·v6},·Landroid/graphics/drawable/Drawable;->setBounds(IIII)V |
| |
182 | ····.line·161 | 194 | ····.line·168 |
183 | ····iget-object·v4,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; | 195 | ····iget-object·v5,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mVerticalDivider:Landroid/graphics/drawable/Drawable; |
| |
184 | ····invoke-virtual·{v4,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V | 196 | ····invoke-virtual·{v5,·p1},·Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V |
| |
185 | ····:goto_2 | 197 | ····:goto_2 |
186 | ····add-int/lit8·v3,·v3,·0x1 | 198 | ····add-int/lit8·v4,·v4,·0x1 |
| |
187 | ····goto·:goto_0 | 199 | ····goto·:goto_0 |
| |
188 | ····:cond_2 | 200 | ····:cond_2 |
189 | ····return-void | 201 | ····return-void |
190 | .end·method | 202 | .end·method |
| |
| |
191 | #·virtual·methods | 203 | #·virtual·methods |
192 | .method·public·getItemOffsets(Landroid/graphics/Rect;Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;)V | 204 | .method·public·getItemOffsets(Landroid/graphics/Rect;Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;)V |
193 | ····.locals·0 | 205 | ····.locals·0 |
| |
194 | ····.line·80 | 206 | ····.line·82 |
195 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 207 | ····iget-object·p2,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
196 | ····.line·81 | 208 | ····.line·83 |
197 | ····invoke-virtual·{p2},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I | 209 | ····invoke-virtual·{p2},·Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I |
| |
198 | ····move-result·p2 | 210 | ····move-result·p2 |
| |
199 | ····iget-object·p3,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; | 211 | ····iget-object·p3,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mHorizontalDivider:Landroid/graphics/drawable/Drawable; |
| |
200 | ····.line·82 | 212 | ····.line·84 |
201 | ····invoke-virtual·{p3},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I | 213 | ····invoke-virtual·{p3},·Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I |
| |
202 | ····move-result·p3 | 214 | ····move-result·p3 |
| |
203 | ····const/4·p4,·0x0 | 215 | ····const/4·p4,·0x0 |
| |
204 | ····.line·80 | 216 | ····.line·82 |
205 | ····invoke-virtual·{p1,·p4,·p4,·p2,·p3},·Landroid/graphics/Rect;->set(IIII)V | 217 | ····invoke-virtual·{p1,·p4,·p4,·p2,·p3},·Landroid/graphics/Rect;->set(IIII)V |
| |
206 | ····return-void | 218 | ····return-void |
207 | .end·method | 219 | .end·method |
| |
208 | .method·public·onDrawOver(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;)V | 220 | .method·public·onDrawOver(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;)V |
209 | ····.locals·0 | 221 | ····.locals·0 |
| |
210 | ····.line·64 | 222 | ····.line·66 |
211 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->drawVerticalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V | 223 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->drawVerticalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V |
| |
212 | ····.line·65 | 224 | ····.line·67 |
213 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->drawHorizontalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V | 225 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->drawHorizontalDividers(Landroid/graphics/Canvas;Landroidx/recyclerview/widget/RecyclerView;)V |
| |
214 | ····return-void | 226 | ····return-void |
215 | .end·method | 227 | .end·method |
| |
216 | .method·public·setNumOfColumns(I)V | 228 | .method·public·setNumOfColumns(I)V |
217 | ····.locals·0 | 229 | ····.locals·0 |
| |
218 | ····.line·123 | 230 | ····.line·128 |
219 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I | 231 | ····iput·p1,·p0,·Lcom/android/car/ui/recyclerview/decorations/grid/GridDividerItemDecoration;->mNumColumns:I |
| |
220 | ····return-void | 232 | ····return-void |
221 | .end·method | 233 | .end·method |