public void draw(Canvas paramCanvas)
 {
   super.draw(paramCanvas);
   b();
   if ((c == null) && (n != null) && (p > 0))
   {
     n.mutate().setAlpha(p);
     n.draw(paramCanvas);
   }
   if ((l) && (m)) {
     k.a(paramCanvas);
   }
   if ((o != null) && (p > 0)) {
     if (u == null) {
       break label153;
     }
   }
   label153:
   for (int i1 = u.b();; i1 = 0)
   {
     if (i1 > 0)
     {
       o.setBounds(0, -t, getWidth(), i1 - t);
       o.mutate().setAlpha(p);
       o.draw(paramCanvas);
     }
     return;
   }
 }
 private fr a(fr paramfr)
 {
   if (u != paramfr)
   {
     u = paramfr;
     requestLayout();
   }
   return paramfr.f();
 }
 protected void onLayout(boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
 {
   int i2 = 1;
   int i3 = 0;
   super.onLayout(paramBoolean, paramInt1, paramInt2, paramInt3, paramInt4);
   if ((l) && (e != null))
   {
     if ((!cn.J(e)) || (e.getVisibility() != 0)) {
       break label308;
     }
     paramBoolean = true;
     m = paramBoolean;
     if (m) {
       if ((d == null) || (d == this)) {
         break label417;
       }
     }
   }
   label154:
   label171:
   label308:
   label319:
   label328:
   label417:
   for (int i1 = d.getLayoutParams()).bottomMargin;; i1 = 0)
   {
     dh.b(this, e, j);
     k.b(j.left, paramInt4 - j.height() - i1, j.right, paramInt4 - i1);
     Object localObject;
     int i4;
     int i5;
     if (cn.h(this) == 1)
     {
       localObject = k;
       if (i2 == 0) {
         break label319;
       }
       i1 = h;
       i4 = j.bottom;
       i5 = g;
       if (i2 == 0) {
         break label328;
       }
     }
     for (i2 = f;; i2 = h)
     {
       ((n)localObject).a(i1, i4 + i5, paramInt3 - paramInt1 - i2, paramInt4 - paramInt2 - i);
       k.h();
       paramInt2 = getChildCount();
       paramInt1 = i3;
       while (paramInt1 < paramInt2)
       {
         localObject = getChildAt(paramInt1);
         if ((u != null) && (!cn.z((View)localObject)))
         {
           paramInt3 = u.b();
           if (((View)localObject).getTop() < paramInt3) {
             cn.e((View)localObject, paramInt3);
           }
         }
         d((View)localObject).a();
         paramInt1 += 1;
       }
       paramBoolean = false;
       break;
       i2 = 0;
       break label154;
       i1 = f;
       break label171;
     }
     if (c != null)
     {
       if ((l) && (TextUtils.isEmpty(k.i()))) {
         k.a(c.getTitle());
       }
       if ((d == null) || (d == this)) {
         setMinimumHeight(c(c));
       }
     }
     else
     {
       return;
     }
     setMinimumHeight(c(d));
     return;
   }
 }