private void updateCartInfos(int paramInt1, int paramInt2, int paramInt3) { setTitle(getString(R.string.sd_title_cart).replace("%s", String.valueOf(paramInt1))); this.mTotalPrice.setRMBLabelStyle(3, 2, false, getResources().getColor(R.color.light_red)); this.mTotalPrice.setRMBLabelValue(this.mCartAdapter.getTotalPrice()); this.mSummary1.setText(getString(R.string.sd_dish_count).replace("%s", String.valueOf(paramInt3))); double d; Object localObject; boolean bool; if (this.mAverage != 0.0D) { d = this.mCartAdapter.getTotalPrice() / this.mAverage; if ((this.isEstimate) && (d > 1.0D) && (paramInt3 != 0) && (this.mCartAdapter.getTotalPrice() / paramInt3 >= 20.0D)) break label203; this.mSummary2.setVisibility(8); localObject = this.mSubmit; if (paramInt1 <= 0) break label292; bool = true; label159: ((NovaButton)localObject).setEnabled(bool); if (this.mCartManager.isOwner != 1) break label303; localObject = this.mBottomLayout; if (paramInt2 > 0) break label298; } label292: label298: for (paramInt1 = 8; ; paramInt1 = 0) { ((View)localObject).setVisibility(paramInt1); return; d = 0.0D; break; label203: if (d % 1.0D != 0.0D) this.mSummary2.setText(getString(R.string.sd_advice_2).replace("%a", String.valueOf(()d)).replace("%b", String.valueOf(()d + 1L))); while (true) { this.mSummary2.setVisibility(0); break; this.mSummary2.setText(getString(R.string.sd_advice_1).replace("%s", String.valueOf(()d))); } bool = false; break label159; } label303: this.mBottomLayout.setVisibility(8); }