LinearLayoutCompat.java
46.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
package android.support.v7.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.os.Build.VERSION;
import android.support.annotation.RestrictTo;
import android.support.v4.view.GravityCompat;
import android.support.v4.view.ViewCompat;
import android.support.v7.appcompat.R.styleable;
import android.util.AttributeSet;
import android.view.View;
import android.view.View.MeasureSpec;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.view.ViewGroup.MarginLayoutParams;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public class LinearLayoutCompat
extends ViewGroup
{
public static final int HORIZONTAL = 0;
public static final int SHOW_DIVIDER_BEGINNING = 1;
public static final int SHOW_DIVIDER_END = 4;
public static final int SHOW_DIVIDER_MIDDLE = 2;
public static final int SHOW_DIVIDER_NONE = 0;
public static final int VERTICAL = 1;
private boolean a = true;
private int b = -1;
private int c = 0;
private int d;
private int e = 8388659;
private int f;
private float g;
private boolean h;
private int[] i;
private int[] j;
private Drawable k;
private int l;
private int m;
private int n;
private int o;
public LinearLayoutCompat(Context paramContext)
{
this(paramContext, null);
}
public LinearLayoutCompat(Context paramContext, AttributeSet paramAttributeSet)
{
this(paramContext, paramAttributeSet, 0);
}
public LinearLayoutCompat(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
{
super(paramContext, paramAttributeSet, paramInt);
paramContext = TintTypedArray.obtainStyledAttributes(paramContext, paramAttributeSet, R.styleable.LinearLayoutCompat, paramInt, 0);
paramInt = paramContext.getInt(R.styleable.LinearLayoutCompat_android_orientation, -1);
if (paramInt >= 0) {
setOrientation(paramInt);
}
paramInt = paramContext.getInt(R.styleable.LinearLayoutCompat_android_gravity, -1);
if (paramInt >= 0) {
setGravity(paramInt);
}
boolean bool = paramContext.getBoolean(R.styleable.LinearLayoutCompat_android_baselineAligned, true);
if (!bool) {
setBaselineAligned(bool);
}
this.g = paramContext.getFloat(R.styleable.LinearLayoutCompat_android_weightSum, -1.0F);
this.b = paramContext.getInt(R.styleable.LinearLayoutCompat_android_baselineAlignedChildIndex, -1);
this.h = paramContext.getBoolean(R.styleable.LinearLayoutCompat_measureWithLargestChild, false);
setDividerDrawable(paramContext.getDrawable(R.styleable.LinearLayoutCompat_divider));
this.n = paramContext.getInt(R.styleable.LinearLayoutCompat_showDividers, 0);
this.o = paramContext.getDimensionPixelSize(R.styleable.LinearLayoutCompat_dividerPadding, 0);
paramContext.recycle();
}
private void a(int paramInt1, int paramInt2)
{
int i2 = View.MeasureSpec.makeMeasureSpec(getMeasuredWidth(), 1073741824);
int i1 = 0;
while (i1 < paramInt1)
{
View localView = getChildAt(i1);
if (localView.getVisibility() != 8)
{
LayoutParams localLayoutParams = (LayoutParams)localView.getLayoutParams();
if (localLayoutParams.width == -1)
{
int i3 = localLayoutParams.height;
localLayoutParams.height = localView.getMeasuredHeight();
measureChildWithMargins(localView, i2, 0, paramInt2, 0);
localLayoutParams.height = i3;
}
}
i1 += 1;
}
}
private void a(Canvas paramCanvas, int paramInt)
{
this.k.setBounds(getPaddingLeft() + this.o, paramInt, getWidth() - getPaddingRight() - this.o, this.m + paramInt);
this.k.draw(paramCanvas);
}
private void a(View paramView, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
measureChildWithMargins(paramView, paramInt1, paramInt2, paramInt3, paramInt4);
}
private void b(int paramInt1, int paramInt2)
{
this.f = 0;
int i6 = 0;
int i4 = 0;
int i3 = 0;
int i8 = 0;
int i5 = 1;
float f1 = 0.0F;
int i15 = getVirtualChildCount();
int i17 = View.MeasureSpec.getMode(paramInt1);
int i16 = View.MeasureSpec.getMode(paramInt2);
int i7 = 0;
int i2 = 0;
if ((this.i == null) || (this.j == null))
{
this.i = new int[4];
this.j = new int[4];
}
Object localObject1 = this.i;
Object localObject2 = this.j;
localObject1[3] = -1;
localObject1[2] = -1;
localObject1[1] = -1;
localObject1[0] = -1;
localObject2[3] = -1;
localObject2[2] = -1;
localObject2[1] = -1;
localObject2[0] = -1;
boolean bool1 = this.a;
boolean bool2 = this.h;
if (i17 == 1073741824) {}
int i1;
int i9;
Object localObject3;
int i12;
int i11;
for (int i10 = 1;; i10 = 0)
{
i1 = Integer.MIN_VALUE;
for (i9 = 0;; i9 = i12)
{
if (i9 >= i15) {
break label894;
}
localObject3 = getChildAt(i9);
if (localObject3 != null) {
break;
}
this.f += 0;
i12 = i9;
i11 = i4;
i9 = i3;
i4 = i8;
i3 = i5;
i12 += 1;
i5 = i3;
i8 = i4;
i3 = i9;
i4 = i11;
}
}
LayoutParams localLayoutParams;
label340:
label361:
label386:
int i13;
int i14;
if (((View)localObject3).getVisibility() != 8)
{
if (hasDividerBeforeChildAt(i9)) {
this.f += this.l;
}
localLayoutParams = (LayoutParams)((View)localObject3).getLayoutParams();
f1 += localLayoutParams.weight;
if ((i17 == 1073741824) && (localLayoutParams.width == 0) && (localLayoutParams.weight > 0.0F)) {
if (i10 != 0)
{
this.f += localLayoutParams.leftMargin + localLayoutParams.rightMargin;
if (!bool1) {
break label643;
}
i11 = View.MeasureSpec.makeMeasureSpec(0, 0);
((View)localObject3).measure(i11, i11);
i11 = 0;
if ((i16 == 1073741824) || (localLayoutParams.height != -1)) {
break label2320;
}
i7 = 1;
i11 = 1;
i12 = localLayoutParams.topMargin + localLayoutParams.bottomMargin;
i13 = ((View)localObject3).getMeasuredHeight() + i12;
i14 = ViewUtils.combineMeasuredStates(i4, ViewCompat.getMeasuredState((View)localObject3));
if (bool1)
{
int i18 = ((View)localObject3).getBaseline();
if (i18 != -1)
{
if (localLayoutParams.gravity >= 0) {
break label823;
}
i4 = this.e;
label453:
i4 = ((i4 & 0x70) >> 4 & 0xFFFFFFFE) >> 1;
localObject1[i4] = Math.max(localObject1[i4], i18);
localObject2[i4] = Math.max(localObject2[i4], i13 - i18);
}
}
i6 = Math.max(i6, i13);
if ((i5 == 0) || (localLayoutParams.height != -1)) {
break label833;
}
i4 = 1;
label526:
if (localLayoutParams.weight <= 0.0F) {
break label846;
}
if (i11 == 0) {
break label839;
}
label541:
i5 = Math.max(i8, i12);
i11 = i4;
i4 = i5;
i12 = i1;
i8 = i14;
i5 = i3;
i3 = i11;
i1 = i2;
i2 = i12;
}
}
}
for (;;)
{
i12 = i9 + 0;
i9 = i1;
i1 = i2;
i2 = i9;
i9 = i5;
i11 = i8;
break;
i11 = this.f;
this.f = Math.max(i11, localLayoutParams.leftMargin + i11 + localLayoutParams.rightMargin);
break label340;
label643:
i2 = 1;
break label361;
i12 = Integer.MIN_VALUE;
i11 = i12;
if (localLayoutParams.width == 0)
{
i11 = i12;
if (localLayoutParams.weight > 0.0F)
{
i11 = 0;
localLayoutParams.width = -2;
}
}
if (f1 == 0.0F)
{
i12 = this.f;
label701:
a((View)localObject3, paramInt1, i12, paramInt2, 0);
if (i11 != Integer.MIN_VALUE) {
localLayoutParams.width = i11;
}
i11 = ((View)localObject3).getMeasuredWidth();
if (i10 == 0) {
break label786;
}
this.f += localLayoutParams.leftMargin + i11 + localLayoutParams.rightMargin + 0;
}
for (;;)
{
if (bool2)
{
i1 = Math.max(i11, i1);
break;
i12 = 0;
break label701;
label786:
i12 = this.f;
this.f = Math.max(i12, i12 + i11 + localLayoutParams.leftMargin + localLayoutParams.rightMargin + 0);
continue;
label823:
i4 = localLayoutParams.gravity;
break label453;
label833:
i4 = 0;
break label526;
label839:
i12 = i13;
break label541;
label846:
if (i11 != 0) {}
for (;;)
{
i5 = Math.max(i3, i12);
i3 = i4;
i11 = i2;
i4 = i8;
i2 = i1;
i1 = i11;
i8 = i14;
break;
i12 = i13;
}
label894:
if ((this.f > 0) && (hasDividerBeforeChildAt(i15))) {
this.f += this.l;
}
if ((localObject1[1] != -1) || (localObject1[0] != -1) || (localObject1[2] != -1) || (localObject1[3] != -1)) {}
for (i9 = Math.max(i6, Math.max(localObject1[3], Math.max(localObject1[0], Math.max(localObject1[1], localObject1[2]))) + Math.max(localObject2[3], Math.max(localObject2[0], Math.max(localObject2[1], localObject2[2]))));; i9 = i6)
{
if ((bool2) && ((i17 == Integer.MIN_VALUE) || (i17 == 0)))
{
this.f = 0;
i6 = 0;
if (i6 < i15)
{
localObject3 = getChildAt(i6);
if (localObject3 == null) {
this.f += 0;
}
for (;;)
{
i6 += 1;
break;
if (((View)localObject3).getVisibility() == 8)
{
i6 += 0;
}
else
{
localObject3 = (LayoutParams)((View)localObject3).getLayoutParams();
if (i10 != 0)
{
i11 = this.f;
i12 = ((LayoutParams)localObject3).leftMargin;
this.f = (((LayoutParams)localObject3).rightMargin + (i12 + i1) + 0 + i11);
}
else
{
i11 = this.f;
i12 = ((LayoutParams)localObject3).leftMargin;
this.f = Math.max(i11, ((LayoutParams)localObject3).rightMargin + (i11 + i1 + i12) + 0);
}
}
}
}
}
this.f += getPaddingLeft() + getPaddingRight();
i13 = ViewCompat.resolveSizeAndState(Math.max(this.f, getSuggestedMinimumWidth()), paramInt1, 0);
i6 = (0xFFFFFF & i13) - this.f;
if ((i2 != 0) || ((i6 != 0) && (f1 > 0.0F)))
{
if (this.g > 0.0F) {
f1 = this.g;
}
localObject1[3] = -1;
localObject1[2] = -1;
localObject1[1] = -1;
localObject1[0] = -1;
localObject2[3] = -1;
localObject2[2] = -1;
localObject2[1] = -1;
localObject2[0] = -1;
this.f = 0;
i8 = 0;
i2 = i5;
i5 = -1;
i1 = i4;
i4 = i5;
i5 = i6;
if (i8 < i15)
{
localObject3 = getChildAt(i8);
if ((localObject3 == null) || (((View)localObject3).getVisibility() == 8)) {
break label2282;
}
localLayoutParams = (LayoutParams)((View)localObject3).getLayoutParams();
float f2 = localLayoutParams.weight;
if (f2 <= 0.0F) {
break label2267;
}
i9 = (int)(i5 * f2 / f1);
i12 = getChildMeasureSpec(paramInt2, getPaddingTop() + getPaddingBottom() + localLayoutParams.topMargin + localLayoutParams.bottomMargin, localLayoutParams.height);
if ((localLayoutParams.width != 0) || (i17 != 1073741824))
{
i11 = i9 + ((View)localObject3).getMeasuredWidth();
i6 = i11;
if (i11 < 0) {
i6 = 0;
}
label1468:
((View)localObject3).measure(View.MeasureSpec.makeMeasureSpec(i6, 1073741824), i12);
i1 = ViewUtils.combineMeasuredStates(i1, ViewCompat.getMeasuredState((View)localObject3) & 0xFF000000);
f1 -= f2;
i6 = i5 - i9;
i5 = i1;
i1 = i6;
label1518:
if (i10 == 0) {
break label1791;
}
this.f += ((View)localObject3).getMeasuredWidth() + localLayoutParams.leftMargin + localLayoutParams.rightMargin + 0;
label1551:
if ((i16 == 1073741824) || (localLayoutParams.height != -1)) {
break label1831;
}
i6 = 1;
label1570:
i12 = localLayoutParams.topMargin + localLayoutParams.bottomMargin;
i11 = ((View)localObject3).getMeasuredHeight() + i12;
i9 = Math.max(i4, i11);
if (i6 == 0) {
break label1837;
}
i4 = i12;
label1611:
i4 = Math.max(i3, i4);
if ((i2 == 0) || (localLayoutParams.height != -1)) {
break label1844;
}
i2 = 1;
label1637:
if (bool1)
{
i6 = ((View)localObject3).getBaseline();
if (i6 != -1)
{
if (localLayoutParams.gravity >= 0) {
break label1850;
}
i3 = this.e;
label1669:
i3 = ((i3 & 0x70) >> 4 & 0xFFFFFFFE) >> 1;
localObject1[i3] = Math.max(localObject1[i3], i6);
localObject2[i3] = Math.max(localObject2[i3], i11 - i6);
}
}
i6 = i5;
i5 = i2;
i3 = i9;
i2 = i6;
}
}
}
for (;;)
{
i9 = i8 + 1;
i6 = i5;
i8 = i3;
i5 = i1;
i1 = i2;
i2 = i6;
i3 = i4;
i4 = i8;
i8 = i9;
break;
if (i9 > 0)
{
i6 = i9;
break label1468;
}
i6 = 0;
break label1468;
label1791:
i6 = this.f;
this.f = Math.max(i6, ((View)localObject3).getMeasuredWidth() + i6 + localLayoutParams.leftMargin + localLayoutParams.rightMargin + 0);
break label1551;
label1831:
i6 = 0;
break label1570;
label1837:
i4 = i11;
break label1611;
label1844:
i2 = 0;
break label1637;
label1850:
i3 = localLayoutParams.gravity;
break label1669;
this.f += getPaddingLeft() + getPaddingRight();
if ((localObject1[1] == -1) && (localObject1[0] == -1) && (localObject1[2] == -1))
{
i5 = i4;
if (localObject1[3] == -1) {}
}
else
{
i5 = Math.max(i4, Math.max(localObject1[3], Math.max(localObject1[0], Math.max(localObject1[1], localObject1[2]))) + Math.max(localObject2[3], Math.max(localObject2[0], Math.max(localObject2[1], localObject2[2]))));
}
i4 = i1;
i6 = i2;
i2 = i5;
i1 = i3;
for (;;)
{
if ((i6 == 0) && (i16 != 1073741824)) {}
for (;;)
{
setMeasuredDimension(0xFF000000 & i4 | i13, ViewCompat.resolveSizeAndState(Math.max(i1 + (getPaddingTop() + getPaddingBottom()), getSuggestedMinimumHeight()), paramInt2, i4 << 16));
if (i7 != 0)
{
i1 = View.MeasureSpec.makeMeasureSpec(getMeasuredHeight(), 1073741824);
paramInt2 = 0;
while (paramInt2 < i15)
{
localObject1 = getChildAt(paramInt2);
if (((View)localObject1).getVisibility() != 8)
{
localObject2 = (LayoutParams)((View)localObject1).getLayoutParams();
if (((LayoutParams)localObject2).height == -1)
{
i2 = ((LayoutParams)localObject2).width;
((LayoutParams)localObject2).width = ((View)localObject1).getMeasuredWidth();
measureChildWithMargins((View)localObject1, paramInt1, 0, i1, 0);
((LayoutParams)localObject2).width = i2;
}
}
paramInt2 += 1;
continue;
i3 = Math.max(i3, i8);
if ((!bool2) || (i17 == 1073741824)) {
break label2252;
}
i2 = 0;
while (i2 < i15)
{
localObject1 = getChildAt(i2);
if ((localObject1 != null) && (((View)localObject1).getVisibility() != 8) && (((LayoutParams)((View)localObject1).getLayoutParams()).weight > 0.0F)) {
((View)localObject1).measure(View.MeasureSpec.makeMeasureSpec(i1, 1073741824), View.MeasureSpec.makeMeasureSpec(((View)localObject1).getMeasuredHeight(), 1073741824));
}
i2 += 1;
}
}
}
return;
i1 = i2;
}
label2252:
i1 = i3;
i2 = i9;
i6 = i5;
}
label2267:
i6 = i1;
i1 = i5;
i5 = i6;
break label1518;
label2282:
i9 = i2;
i2 = i1;
i6 = i4;
i1 = i5;
i5 = i9;
i4 = i3;
i3 = i6;
}
}
label2320:
break label386;
}
}
break label361;
i12 = i2;
i11 = i3;
i13 = i4;
i2 = i1;
i1 = i12;
i3 = i5;
i4 = i8;
i5 = i11;
i8 = i13;
}
}
private void b(Canvas paramCanvas, int paramInt)
{
this.k.setBounds(paramInt, getPaddingTop() + this.o, this.l + paramInt, getHeight() - getPaddingBottom() - this.o);
this.k.draw(paramCanvas);
}
private static void b(View paramView, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
paramView.layout(paramInt1, paramInt2, paramInt1 + paramInt3, paramInt2 + paramInt4);
}
private static int getChildrenSkipCount$5359dca7()
{
return 0;
}
private static int getLocationOffset$3c7ec8d0()
{
return 0;
}
private static int getNextLocationOffset$3c7ec8d0()
{
return 0;
}
protected boolean checkLayoutParams(ViewGroup.LayoutParams paramLayoutParams)
{
return paramLayoutParams instanceof LayoutParams;
}
protected LayoutParams generateDefaultLayoutParams()
{
if (this.d == 0) {
return new LayoutParams(-2, -2);
}
if (this.d == 1) {
return new LayoutParams(-1, -2);
}
return null;
}
public LayoutParams generateLayoutParams(AttributeSet paramAttributeSet)
{
return new LayoutParams(getContext(), paramAttributeSet);
}
protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams paramLayoutParams)
{
return new LayoutParams(paramLayoutParams);
}
public int getBaseline()
{
int i1 = -1;
if (this.b < 0) {
i1 = super.getBaseline();
}
View localView;
int i2;
do
{
return i1;
if (getChildCount() <= this.b) {
throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout set to an index that is out of bounds.");
}
localView = getChildAt(this.b);
i2 = localView.getBaseline();
if (i2 != -1) {
break;
}
} while (this.b == 0);
throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout points to a View that doesn't know how to get its baseline.");
i1 = this.c;
if (this.d == 1)
{
int i3 = this.e & 0x70;
if (i3 != 48) {
switch (i3)
{
}
}
}
for (;;)
{
return ((LayoutParams)localView.getLayoutParams()).topMargin + i1 + i2;
i1 = getBottom() - getTop() - getPaddingBottom() - this.f;
continue;
i1 += (getBottom() - getTop() - getPaddingTop() - getPaddingBottom() - this.f) / 2;
}
}
public int getBaselineAlignedChildIndex()
{
return this.b;
}
public Drawable getDividerDrawable()
{
return this.k;
}
public int getDividerPadding()
{
return this.o;
}
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public int getDividerWidth()
{
return this.l;
}
public int getGravity()
{
return this.e;
}
public int getOrientation()
{
return this.d;
}
public int getShowDividers()
{
return this.n;
}
int getVirtualChildCount()
{
return getChildCount();
}
public float getWeightSum()
{
return this.g;
}
protected boolean hasDividerBeforeChildAt(int paramInt)
{
if (paramInt == 0) {
if ((this.n & 0x1) == 0) {}
}
do
{
return true;
return false;
if (paramInt != getChildCount()) {
break;
}
} while ((this.n & 0x4) != 0);
return false;
if ((this.n & 0x2) != 0)
{
paramInt -= 1;
for (;;)
{
if (paramInt < 0) {
break label75;
}
if (getChildAt(paramInt).getVisibility() != 8) {
break;
}
paramInt -= 1;
}
}
return false;
label75:
return false;
}
public boolean isBaselineAligned()
{
return this.a;
}
public boolean isMeasureWithLargestChildEnabled()
{
return this.h;
}
protected void onDraw(Canvas paramCanvas)
{
if (this.k == null) {}
int i1;
LayoutParams localLayoutParams;
int i3;
boolean bool;
label259:
do
{
int i2;
do
{
return;
if (this.d != 1) {
break;
}
i2 = getVirtualChildCount();
i1 = 0;
while (i1 < i2)
{
localView = getChildAt(i1);
if ((localView != null) && (localView.getVisibility() != 8) && (hasDividerBeforeChildAt(i1)))
{
localLayoutParams = (LayoutParams)localView.getLayoutParams();
a(paramCanvas, localView.getTop() - localLayoutParams.topMargin - this.m);
}
i1 += 1;
}
} while (!hasDividerBeforeChildAt(i2));
localView = getChildAt(i2 - 1);
if (localView == null) {}
for (i1 = getHeight() - getPaddingBottom() - this.m;; i1 = localLayoutParams.bottomMargin + i1)
{
a(paramCanvas, i1);
return;
localLayoutParams = (LayoutParams)localView.getLayoutParams();
i1 = localView.getBottom();
}
i3 = getVirtualChildCount();
bool = ViewUtils.isLayoutRtl(this);
i1 = 0;
if (i1 < i3)
{
localView = getChildAt(i1);
if ((localView != null) && (localView.getVisibility() != 8) && (hasDividerBeforeChildAt(i1)))
{
localLayoutParams = (LayoutParams)localView.getLayoutParams();
if (!bool) {
break label259;
}
i2 = localView.getRight();
}
for (i2 = localLayoutParams.rightMargin + i2;; i2 = localView.getLeft() - localLayoutParams.leftMargin - this.l)
{
b(paramCanvas, i2);
i1 += 1;
break;
}
}
} while (!hasDividerBeforeChildAt(i3));
View localView = getChildAt(i3 - 1);
if (localView == null) {
if (bool) {
i1 = getPaddingLeft();
}
}
for (;;)
{
b(paramCanvas, i1);
return;
i1 = getWidth() - getPaddingRight() - this.l;
continue;
localLayoutParams = (LayoutParams)localView.getLayoutParams();
if (bool)
{
i1 = localView.getLeft() - localLayoutParams.leftMargin - this.l;
}
else
{
i1 = localView.getRight();
i1 = localLayoutParams.rightMargin + i1;
}
}
}
public void onInitializeAccessibilityEvent(AccessibilityEvent paramAccessibilityEvent)
{
if (Build.VERSION.SDK_INT >= 14)
{
super.onInitializeAccessibilityEvent(paramAccessibilityEvent);
paramAccessibilityEvent.setClassName(LinearLayoutCompat.class.getName());
}
}
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo paramAccessibilityNodeInfo)
{
if (Build.VERSION.SDK_INT >= 14)
{
super.onInitializeAccessibilityNodeInfo(paramAccessibilityNodeInfo);
paramAccessibilityNodeInfo.setClassName(LinearLayoutCompat.class.getName());
}
}
public void onLayout(boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
int i1;
int i2;
int i3;
int i4;
int i5;
int i6;
label93:
Object localObject1;
if (this.d == 1)
{
i1 = getPaddingLeft();
i2 = paramInt3 - paramInt1;
i3 = getPaddingRight();
i4 = getPaddingRight();
i5 = getVirtualChildCount();
paramInt1 = this.e;
i6 = this.e;
switch (paramInt1 & 0x70)
{
default:
paramInt1 = getPaddingTop();
paramInt3 = 0;
paramInt2 = paramInt1;
paramInt1 = paramInt3;
if (paramInt1 < i5)
{
localObject1 = getChildAt(paramInt1);
if (localObject1 == null) {
paramInt2 += 0;
}
}
break;
}
}
for (;;)
{
paramInt1 += 1;
break label93;
paramInt1 = getPaddingTop() + paramInt4 - paramInt2 - this.f;
break;
paramInt1 = getPaddingTop() + (paramInt4 - paramInt2 - this.f) / 2;
break;
if (((View)localObject1).getVisibility() != 8)
{
int i7 = ((View)localObject1).getMeasuredWidth();
int i8 = ((View)localObject1).getMeasuredHeight();
Object localObject2 = (LayoutParams)((View)localObject1).getLayoutParams();
paramInt4 = ((LayoutParams)localObject2).gravity;
paramInt3 = paramInt4;
if (paramInt4 < 0) {
paramInt3 = 0x800007 & i6;
}
switch (GravityCompat.getAbsoluteGravity(paramInt3, ViewCompat.getLayoutDirection(this)) & 0x7)
{
default:
paramInt3 = ((LayoutParams)localObject2).leftMargin + i1;
}
for (;;)
{
paramInt4 = paramInt2;
if (hasDividerBeforeChildAt(paramInt1)) {
paramInt4 = paramInt2 + this.m;
}
paramInt2 = paramInt4 + ((LayoutParams)localObject2).topMargin;
b((View)localObject1, paramInt3, paramInt2 + 0, i7, i8);
paramInt2 += ((LayoutParams)localObject2).bottomMargin + i8 + 0;
paramInt1 += 0;
break;
paramInt3 = (i2 - i1 - i4 - i7) / 2 + i1 + ((LayoutParams)localObject2).leftMargin - ((LayoutParams)localObject2).rightMargin;
continue;
paramInt3 = i2 - i3 - i7 - ((LayoutParams)localObject2).rightMargin;
}
paramBoolean = ViewUtils.isLayoutRtl(this);
i3 = getPaddingTop();
i5 = paramInt4 - paramInt2;
i6 = getPaddingBottom();
i7 = getPaddingBottom();
i8 = getVirtualChildCount();
paramInt2 = this.e;
int i9 = this.e;
boolean bool = this.a;
localObject1 = this.i;
localObject2 = this.j;
switch (GravityCompat.getAbsoluteGravity(paramInt2 & 0x800007, ViewCompat.getLayoutDirection(this)))
{
default:
paramInt1 = getPaddingLeft();
if (paramBoolean) {
i1 = i8 - 1;
}
break;
}
for (paramInt4 = -1;; paramInt4 = 1)
{
paramInt2 = 0;
paramInt3 = paramInt1;
label507:
int i12;
View localView;
if (paramInt2 < i8)
{
i12 = i1 + paramInt4 * paramInt2;
localView = getChildAt(i12);
if (localView == null)
{
paramInt3 += 0;
paramInt1 = paramInt2;
}
}
for (;;)
{
paramInt2 = paramInt1 + 1;
break label507;
paramInt1 = getPaddingLeft() + paramInt3 - paramInt1 - this.f;
break;
paramInt1 = getPaddingLeft() + (paramInt3 - paramInt1 - this.f) / 2;
break;
if (localView.getVisibility() != 8)
{
int i10 = localView.getMeasuredWidth();
int i11 = localView.getMeasuredHeight();
paramInt1 = -1;
LayoutParams localLayoutParams = (LayoutParams)localView.getLayoutParams();
i2 = paramInt1;
if (bool)
{
i2 = paramInt1;
if (localLayoutParams.height != -1) {
i2 = localView.getBaseline();
}
}
i4 = localLayoutParams.gravity;
paramInt1 = i4;
if (i4 < 0) {
paramInt1 = i9 & 0x70;
}
switch (paramInt1 & 0x70)
{
default:
paramInt1 = i3;
}
label715:
label895:
for (;;)
{
if (hasDividerBeforeChildAt(i12)) {
paramInt3 = this.l + paramInt3;
}
for (;;)
{
paramInt3 += localLayoutParams.leftMargin;
b(localView, paramInt3 + 0, paramInt1, i10, i11);
paramInt3 += localLayoutParams.rightMargin + i10 + 0;
paramInt1 = paramInt2 + 0;
break;
i4 = localLayoutParams.topMargin + i3;
paramInt1 = i4;
if (i2 == -1) {
break label895;
}
paramInt1 = localObject1[1] - i2 + i4;
break label715;
paramInt1 = (i5 - i3 - i7 - i11) / 2 + i3 + localLayoutParams.topMargin - localLayoutParams.bottomMargin;
break label715;
i4 = i5 - i6 - i11 - localLayoutParams.bottomMargin;
paramInt1 = i4;
if (i2 == -1) {
break label895;
}
paramInt1 = localView.getMeasuredHeight();
paramInt1 = i4 - (localObject2[2] - (paramInt1 - i2));
break label715;
return;
}
}
}
paramInt1 = paramInt2;
}
i1 = 0;
}
}
}
}
protected void onMeasure(int paramInt1, int paramInt2)
{
int i3;
int i1;
int i2;
int i8;
int i4;
float f1;
int i14;
int i15;
int i16;
int i7;
int i6;
boolean bool;
int i5;
int i9;
Object localObject;
int i13;
int i12;
int i11;
int i10;
LayoutParams localLayoutParams;
if (this.d == 1)
{
this.f = 0;
i3 = 0;
i1 = 0;
i2 = 0;
i8 = 0;
i4 = 1;
f1 = 0.0F;
i14 = getVirtualChildCount();
i15 = View.MeasureSpec.getMode(paramInt1);
i16 = View.MeasureSpec.getMode(paramInt2);
i7 = 0;
i6 = 0;
int i17 = this.b;
bool = this.h;
i5 = Integer.MIN_VALUE;
i9 = 0;
for (;;)
{
if (i9 < i14)
{
localObject = getChildAt(i9);
if (localObject == null)
{
this.f += 0;
i13 = i9;
i12 = i3;
i11 = i1;
i10 = i2;
i9 = i8;
i3 = i4;
i2 = i6;
i1 = i5;
i13 += 1;
i5 = i1;
i6 = i2;
i4 = i3;
i8 = i9;
i2 = i10;
i1 = i11;
i3 = i12;
i9 = i13;
}
else
{
if (((View)localObject).getVisibility() == 8) {
break label1656;
}
if (hasDividerBeforeChildAt(i9)) {
this.f += this.m;
}
localLayoutParams = (LayoutParams)((View)localObject).getLayoutParams();
f1 += localLayoutParams.weight;
if ((i16 == 1073741824) && (localLayoutParams.height == 0) && (localLayoutParams.weight > 0.0F))
{
i6 = this.f;
this.f = Math.max(i6, localLayoutParams.topMargin + i6 + localLayoutParams.bottomMargin);
i6 = 1;
label283:
if ((i17 >= 0) && (i17 == i9 + 1)) {
this.c = this.f;
}
if ((i9 < i17) && (localLayoutParams.weight > 0.0F)) {
throw new RuntimeException("A child of LinearLayout with index less than mBaselineAlignedChildIndex has weight > 0, which won't work. Either remove the weight, or don't set mBaselineAlignedChildIndex.");
}
}
else
{
i11 = Integer.MIN_VALUE;
i10 = i11;
if (localLayoutParams.height == 0)
{
i10 = i11;
if (localLayoutParams.weight > 0.0F)
{
i10 = 0;
localLayoutParams.height = -2;
}
}
if (f1 == 0.0F) {}
for (i11 = this.f;; i11 = 0)
{
a((View)localObject, paramInt1, 0, paramInt2, i11);
if (i10 != Integer.MIN_VALUE) {
localLayoutParams.height = i10;
}
i10 = ((View)localObject).getMeasuredHeight();
i11 = this.f;
this.f = Math.max(i11, i11 + i10 + localLayoutParams.topMargin + localLayoutParams.bottomMargin + 0);
if (!bool) {
break label1653;
}
i5 = Math.max(i10, i5);
break;
}
}
i10 = 0;
if ((i15 == 1073741824) || (localLayoutParams.width != -1)) {
break label1650;
}
i7 = 1;
i10 = 1;
label499:
i11 = localLayoutParams.leftMargin + localLayoutParams.rightMargin;
i12 = ((View)localObject).getMeasuredWidth() + i11;
i3 = Math.max(i3, i12);
i13 = ViewUtils.combineMeasuredStates(i1, ViewCompat.getMeasuredState((View)localObject));
if ((i4 != 0) && (localLayoutParams.width == -1))
{
i1 = 1;
label560:
if (localLayoutParams.weight <= 0.0F) {
break label678;
}
if (i10 == 0) {
break label671;
}
label575:
i8 = Math.max(i8, i11);
i4 = i2;
i2 = i6;
i6 = i3;
i3 = i8;
i10 = i5;
i8 = i13;
i5 = i4;
i4 = i3;
i3 = i1;
i1 = i2;
i2 = i10;
}
}
}
}
}
for (;;)
{
i13 = i9 + 0;
i9 = i1;
i1 = i2;
i2 = i9;
i9 = i4;
i10 = i5;
i11 = i8;
i12 = i6;
break;
i1 = 0;
break label560;
label671:
i11 = i12;
break label575;
label678:
if (i10 != 0) {}
for (;;)
{
i10 = Math.max(i2, i11);
i4 = i1;
i1 = i6;
i2 = i5;
i6 = i3;
i3 = i4;
i4 = i8;
i5 = i10;
i8 = i13;
break;
i11 = i12;
}
if ((this.f > 0) && (hasDividerBeforeChildAt(i14))) {
this.f += this.m;
}
if ((bool) && ((i16 == Integer.MIN_VALUE) || (i16 == 0)))
{
this.f = 0;
i9 = 0;
if (i9 < i14)
{
localObject = getChildAt(i9);
if (localObject == null) {
this.f += 0;
}
for (;;)
{
i9 += 1;
break;
if (((View)localObject).getVisibility() == 8)
{
i9 += 0;
}
else
{
localObject = (LayoutParams)((View)localObject).getLayoutParams();
i10 = this.f;
i11 = ((LayoutParams)localObject).topMargin;
this.f = Math.max(i10, ((LayoutParams)localObject).bottomMargin + (i10 + i5 + i11) + 0);
}
}
}
}
this.f += getPaddingTop() + getPaddingBottom();
i11 = ViewCompat.resolveSizeAndState(Math.max(this.f, getSuggestedMinimumHeight()), paramInt2, 0);
i9 = (0xFFFFFF & i11) - this.f;
if ((i6 != 0) || ((i9 != 0) && (f1 > 0.0F)))
{
if (this.g > 0.0F) {
f1 = this.g;
}
this.f = 0;
i8 = 0;
i5 = i4;
i4 = i3;
i3 = i2;
i2 = i5;
i5 = i9;
if (i8 < i14)
{
localObject = getChildAt(i8);
if (((View)localObject).getVisibility() == 8) {
break label1623;
}
localLayoutParams = (LayoutParams)((View)localObject).getLayoutParams();
float f2 = localLayoutParams.weight;
if (f2 <= 0.0F) {
break label1608;
}
i9 = (int)(i5 * f2 / f1);
i12 = getChildMeasureSpec(paramInt1, getPaddingLeft() + getPaddingRight() + localLayoutParams.leftMargin + localLayoutParams.rightMargin, localLayoutParams.width);
if ((localLayoutParams.height != 0) || (i16 != 1073741824))
{
i10 = i9 + ((View)localObject).getMeasuredHeight();
i6 = i10;
if (i10 < 0) {
i6 = 0;
}
label1133:
((View)localObject).measure(i12, View.MeasureSpec.makeMeasureSpec(i6, 1073741824));
i1 = ViewUtils.combineMeasuredStates(i1, ViewCompat.getMeasuredState((View)localObject) & 0xFF00);
i6 = i5 - i9;
i5 = i1;
f1 -= f2;
i1 = i6;
label1183:
i9 = localLayoutParams.leftMargin + localLayoutParams.rightMargin;
i10 = ((View)localObject).getMeasuredWidth() + i9;
i6 = Math.max(i4, i10);
if ((i15 == 1073741824) || (localLayoutParams.width != -1)) {
break label1377;
}
i4 = 1;
label1234:
if (i4 == 0) {
break label1383;
}
i4 = i9;
label1243:
i3 = Math.max(i3, i4);
if ((i2 == 0) || (localLayoutParams.width != -1)) {
break label1390;
}
i2 = 1;
label1269:
i4 = this.f;
i9 = ((View)localObject).getMeasuredHeight();
i10 = localLayoutParams.topMargin;
this.f = Math.max(i4, localLayoutParams.bottomMargin + (i9 + i4 + i10) + 0);
i4 = i2;
i2 = i6;
}
}
}
for (;;)
{
i9 = i8 + 1;
i8 = i5;
i6 = i2;
i5 = i1;
i1 = i8;
i2 = i4;
i4 = i6;
i8 = i9;
break;
if (i9 > 0)
{
i6 = i9;
break label1133;
}
i6 = 0;
break label1133;
label1377:
i4 = 0;
break label1234;
label1383:
i4 = i10;
break label1243;
label1390:
i2 = 0;
break label1269;
this.f += getPaddingTop() + getPaddingBottom();
i5 = i3;
i3 = i4;
i4 = i2;
for (i2 = i5;; i2 = i6)
{
if ((i4 == 0) && (i15 != 1073741824)) {}
for (;;)
{
setMeasuredDimension(ViewCompat.resolveSizeAndState(Math.max(i2 + (getPaddingLeft() + getPaddingRight()), getSuggestedMinimumWidth()), paramInt1, i1), i11);
if (i7 != 0) {
a(i14, paramInt2);
}
return;
i6 = Math.max(i2, i8);
if ((!bool) || (i16 == 1073741824)) {
break;
}
i2 = 0;
while (i2 < i14)
{
localObject = getChildAt(i2);
if ((localObject != null) && (((View)localObject).getVisibility() != 8) && (((LayoutParams)((View)localObject).getLayoutParams()).weight > 0.0F)) {
((View)localObject).measure(View.MeasureSpec.makeMeasureSpec(((View)localObject).getMeasuredWidth(), 1073741824), View.MeasureSpec.makeMeasureSpec(i5, 1073741824));
}
i2 += 1;
}
b(paramInt1, paramInt2);
return;
i2 = i3;
}
}
label1608:
i6 = i1;
i1 = i5;
i5 = i6;
break label1183;
label1623:
i6 = i2;
i2 = i4;
i4 = i1;
i1 = i5;
i5 = i4;
i4 = i6;
}
label1650:
break label499;
label1653:
break label283;
label1656:
i10 = i5;
i11 = i6;
i5 = i2;
i6 = i3;
i12 = i1;
i2 = i10;
i1 = i11;
i3 = i4;
i4 = i8;
i8 = i12;
}
}
public void setBaselineAligned(boolean paramBoolean)
{
this.a = paramBoolean;
}
public void setBaselineAlignedChildIndex(int paramInt)
{
if ((paramInt < 0) || (paramInt >= getChildCount())) {
throw new IllegalArgumentException("base aligned child index out of range (0, " + getChildCount() + ")");
}
this.b = paramInt;
}
public void setDividerDrawable(Drawable paramDrawable)
{
boolean bool = false;
if (paramDrawable == this.k) {
return;
}
this.k = paramDrawable;
if (paramDrawable != null) {
this.l = paramDrawable.getIntrinsicWidth();
}
for (this.m = paramDrawable.getIntrinsicHeight();; this.m = 0)
{
if (paramDrawable == null) {
bool = true;
}
setWillNotDraw(bool);
requestLayout();
return;
this.l = 0;
}
}
public void setDividerPadding(int paramInt)
{
this.o = paramInt;
}
public void setGravity(int paramInt)
{
if (this.e != paramInt)
{
if ((0x800007 & paramInt) != 0) {
break label46;
}
paramInt = 0x800003 | paramInt;
}
label46:
for (;;)
{
int i1 = paramInt;
if ((paramInt & 0x70) == 0) {
i1 = paramInt | 0x30;
}
this.e = i1;
requestLayout();
return;
}
}
public void setHorizontalGravity(int paramInt)
{
paramInt &= 0x800007;
if ((this.e & 0x800007) != paramInt)
{
this.e = (paramInt | this.e & 0xFF7FFFF8);
requestLayout();
}
}
public void setMeasureWithLargestChildEnabled(boolean paramBoolean)
{
this.h = paramBoolean;
}
public void setOrientation(int paramInt)
{
if (this.d != paramInt)
{
this.d = paramInt;
requestLayout();
}
}
public void setShowDividers(int paramInt)
{
if (paramInt != this.n) {
requestLayout();
}
this.n = paramInt;
}
public void setVerticalGravity(int paramInt)
{
paramInt &= 0x70;
if ((this.e & 0x70) != paramInt)
{
this.e = (paramInt | this.e & 0xFFFFFF8F);
requestLayout();
}
}
public void setWeightSum(float paramFloat)
{
this.g = Math.max(0.0F, paramFloat);
}
public boolean shouldDelayChildPressedState()
{
return false;
}
@Retention(RetentionPolicy.SOURCE)
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public static @interface DividerMode {}
public static class LayoutParams
extends ViewGroup.MarginLayoutParams
{
public int gravity = -1;
public float weight;
public LayoutParams(int paramInt1, int paramInt2)
{
super(paramInt2);
this.weight = 0.0F;
}
public LayoutParams(int paramInt1, int paramInt2, float paramFloat)
{
super(paramInt2);
this.weight = paramFloat;
}
public LayoutParams(Context paramContext, AttributeSet paramAttributeSet)
{
super(paramAttributeSet);
paramContext = paramContext.obtainStyledAttributes(paramAttributeSet, R.styleable.LinearLayoutCompat_Layout);
this.weight = paramContext.getFloat(R.styleable.LinearLayoutCompat_Layout_android_layout_weight, 0.0F);
this.gravity = paramContext.getInt(R.styleable.LinearLayoutCompat_Layout_android_layout_gravity, -1);
paramContext.recycle();
}
public LayoutParams(LayoutParams paramLayoutParams)
{
super();
this.weight = paramLayoutParams.weight;
this.gravity = paramLayoutParams.gravity;
}
public LayoutParams(ViewGroup.LayoutParams paramLayoutParams)
{
super();
}
public LayoutParams(ViewGroup.MarginLayoutParams paramMarginLayoutParams)
{
super();
}
}
@Retention(RetentionPolicy.SOURCE)
@RestrictTo({android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP})
public static @interface OrientationMode {}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v7/widget/LinearLayoutCompat.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/