| | | |
Offset 99, 116 lines modified | Offset 99, 71 lines modified |
| |
99 | ····move-result·p0 | 99 | ····move-result·p0 |
| |
100 | ····return·p0 | 100 | ····return·p0 |
101 | .end·method | 101 | .end·method |
| |
102 | .method·public·static·setSupportsDirectManipulation(Landroid/view/View;Z)V | 102 | .method·public·static·setSupportsDirectManipulation(Landroid/view/View;Z)V |
103 | ····.locals·6 | 103 | ····.locals·0 |
| 104 | ····.annotation·runtime·Ljava/lang/Deprecated; |
104 | ····.annotation·build·Landroid/annotation/TargetApi; | |
105 | ········value·=·0x1e | |
106 | ····.end·annotation | 105 | ····.end·annotation |
| |
107 | ····.line·96 | 106 | ····.line·121 |
| 107 | ····invoke-static·{p0,·p1},·Lcom/android/car/ui/utils/DirectManipulationHelper;->setSupportsRotateDirectly(Landroid/view/View;Z)V |
108 | ····:try_start_0 | |
109 | ····const-class·v0,·Landroid/view/View; | |
| |
110 | ····const-string·v1,·"setStateDescription" | |
| |
111 | ····const/4·v2,·0x1 | |
| |
112 | ····new-array·v3,·v2,·[Ljava/lang/Class; | |
| |
| 108 | ····return-void |
| 109 | .end·method |
113 | ····const-class·v4,·Ljava/lang/CharSequence; | |
| |
114 | ····const/4·v5,·0x0 | |
| |
115 | ····aput-object·v4,·v3,·v5 | |
| |
116 | ····.line·97 | |
117 | ····invoke-virtual·{v0,·v1,·v3},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | |
| |
118 | ····move-result-object·v0 | 110 | .method·public·static·setSupportsRotateDirectly(Landroid/view/View;Z)V |
| 111 | ····.locals·0 |
| 112 | ····.annotation·build·Landroid/annotation/TargetApi; |
| 113 | ········value·=·0x1e |
| 114 | ····.end·annotation |
| |
119 | ····if-eqz·p1,·:cond_0 | 115 | ····if-eqz·p1,·:cond_0 |
| |
120 | ····const-string·p1,·"com.android.car.ui.utils.DIRECT_MANIPULATION" | 116 | ····const-string·p1,·"com.android.car.ui.utils.DIRECT_MANIPULATION" |
| |
121 | ····goto·:goto_0 | 117 | ····goto·:goto_0 |
| |
122 | ····:cond_0 | 118 | ····:cond_0 |
123 | ····const/4·p1,·0x0 | 119 | ····const/4·p1,·0x0 |
| |
| 120 | ····.line·101 |
124 | ····:goto_0 | 121 | ····:goto_0 |
| 122 | ····invoke-virtual·{p0,·p1},·Landroid/view/View;->setStateDescription(Ljava/lang/CharSequence;)V |
125 | ····new-array·v1,·v2,·[Ljava/lang/Object; | |
| |
126 | ····aput-object·p1,·v1,·v5 | |
| |
127 | ····.line·99 | |
128 | ····invoke-virtual·{v0,·p0,·v1},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; | |
129 | ····:try_end_0 | |
130 | ····.catch·Ljava/lang/ReflectiveOperationException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
131 | ····return-void | 123 | ····return-void |
| 124 | .end·method |
| |
132 | ····:catch_0 | |
133 | ····move-exception·p0 | 125 | .method·public·static·supportDirectManipulation(Landroid/view/accessibility/AccessibilityNodeInfo;)Z |
| 126 | ····.locals·0 |
| 127 | ····.annotation·runtime·Ljava/lang/Deprecated; |
| 128 | ····.end·annotation |
| |
134 | ····.line·101 | 129 | ····.line·111 |
135 | ····new-instance·p1,·Ljava/lang/RuntimeException; | 130 | ····invoke-static·{p0},·Lcom/android/car/ui/utils/DirectManipulationHelper;->supportRotateDirectly(Landroid/view/accessibility/AccessibilityNodeInfo;)Z |
| |
136 | ····invoke-direct·{p1,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V | 131 | ····move-result·p0 |
| |
137 | ····throw·p1 | 132 | ····return·p0 |
138 | .end·method | 133 | .end·method |
| |
139 | .method·public·static·supportDirectManipulation(Landroid/view/accessibility/AccessibilityNodeInfo;)Z | 134 | .method·public·static·supportRotateDirectly(Landroid/view/accessibility/AccessibilityNodeInfo;)Z |
140 | ····.locals·4 | 135 | ····.locals·1 |
141 | ····.annotation·build·Landroid/annotation/TargetApi; | 136 | ····.annotation·build·Landroid/annotation/TargetApi; |
142 | ········value·=·0x1e | 137 | ········value·=·0x1e |
143 | ····.end·annotation | 138 | ····.end·annotation |
| |
144 | ····.line·82 | 139 | ····.line·80 |
| 140 | ····invoke-virtual·{p0},·Landroid/view/accessibility/AccessibilityNodeInfo;->getStateDescription()Ljava/lang/CharSequence; |
145 | ····:try_start_0 | |
146 | ····const-class·v0,·Landroid/view/accessibility/AccessibilityNodeInfo; | |
| |
147 | ····const-string·v1,·"getStateDescription" | |
| |
148 | ····const/4·v2,·0x0 | |
| |
149 | ····new-array·v3,·v2,·[Ljava/lang/Class; | |
| |
150 | ····.line·83 | |
151 | ····invoke-virtual·{v0,·v1,·v3},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | |
| |
152 | ····move-result-object·v0 | |
| |
153 | ····new-array·v1,·v2,·[Ljava/lang/Object; | |
| |
154 | ····.line·84 | |
155 | ····invoke-virtual·{v0,·p0,·v1},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; | |
| |
156 | ····move-result-object·p0 | 141 | ····move-result-object·p0 |
| |
157 | ····check-cast·p0,·Ljava/lang/CharSequence; | |
| |
158 | ····const-string·v0,·"com.android.car.ui.utils.DIRECT_MANIPULATION" | 142 | ····const-string·v0,·"com.android.car.ui.utils.DIRECT_MANIPULATION" |
| |
159 | ····.line·85 | |
160 | ····invoke-static·{v0,·p0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 143 | ····invoke-static·{v0,·p0},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
| |
161 | ····move-result·p0 | 144 | ····move-result·p0 |
162 | ····:try_end_0 | |
163 | ····.catch·Ljava/lang/ReflectiveOperationException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
164 | ····return·p0 | 145 | ····return·p0 |
| |
165 | ····:catch_0 | |
166 | ····move-exception·p0 | |
| |
167 | ····.line·87 | |
168 | ····new-instance·v0,·Ljava/lang/RuntimeException; | |
| |
169 | ····invoke-direct·{v0,·p0},·Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V | |
| |
170 | ····throw·v0 | |
171 | .end·method | 146 | .end·method |