public boolean a( CoordinatorLayout paramCoordinatorLayout, View paramView, int paramInt1, int paramInt2, int paramInt3, int paramInt4) { int j = getLayoutParamsheight; Object localObject; if ((j == -1) || (j == -2)) { localObject = paramCoordinatorLayout.d(paramView); if (!((List) localObject).isEmpty()) { break label41; } } label41: do { return false; localObject = a((List) localObject); } while ((localObject == null) || (!ai.D((View) localObject))); if (ai.x((View) localObject)) { ai.a(paramView, true); } int i = View.MeasureSpec.getSize(paramInt3); paramInt3 = i; if (i == 0) { paramInt3 = paramCoordinatorLayout.getHeight(); } int k = ((AppBarLayout) localObject).getMeasuredHeight(); int m = ((AppBarLayout) localObject).getTotalScrollRange(); if (j == -1) {} for (i = 1073741824; ; i = Integer.MIN_VALUE) { paramCoordinatorLayout.a( paramView, paramInt1, paramInt2, View.MeasureSpec.makeMeasureSpec(m + (paramInt3 - k), i), paramInt4); return true; } }
public boolean c(CoordinatorLayout paramCoordinatorLayout, View paramView1, View paramView2) { CoordinatorLayout.Behavior localBehavior = ((CoordinatorLayout.d) paramView2.getLayoutParams()).b(); int i; if ((localBehavior instanceof AppBarLayout.Behavior)) { i = ((AppBarLayout.Behavior) localBehavior).a(); int j = paramView2.getHeight(); int k = a; int m = paramCoordinatorLayout.getHeight(); int n = paramView1.getHeight(); if ((a == 0) || (!(paramView2 instanceof AppBarLayout))) { break label107; } int i1 = ((AppBarLayout) paramView2).getTotalScrollRange(); a(a.a(j - k, m - n, Math.abs(i) / i1)); } for (; ; ) { return false; label107: a(i + (paramView2.getHeight() - a)); } }