private void setUpBasicUserInfo(User paramUser) { g = ((ViewGroup)findViewById(2131493472)); Context localContext = getContext(); Object localObject = a(g); ((TextView)localObject).setText(a(StringUtils.a(localContext, 2131166901, new Object[] { paramUser.getLocation() }), a)); ((TextView)localObject).setEnabled(false); if (paramUser.getMemberSince() != null) { localObject = a(g); ((TextView)localObject).setId(2131492929); ((TextView)localObject).setEnabled(false); ((TextView)localObject).setText(a(StringUtils.a(localContext, 2131166902, new Object[] { a(paramUser.getMemberSince()) }), a)); } if (paramUser.isFriend()) { localObject = LayoutInflater.from(localContext).inflate(2130903352, g, false); g.addView((View)localObject); CompoundButton localCompoundButton = (CompoundButton)((View)localObject).findViewById(2131493923); localCompoundButton.setChecked(paramUser.isSendingNotifications()); localCompoundButton.setOnCheckedChangeListener(new ae(paramUser)); ((View)localObject).setOnClickListener(new ad(this, localCompoundButton)); localObject = (SpannableWidget)localObject; } h = b(g); if (AppData.b().m().a(paramUser)) { h.setText(localContext.getString(2131166104)); } for (;;) { h.setOnClickListener(new by(EventIri.ProfileMoreAboutButton, MoreAboutUser.a(localContext, paramUser))); paramUser = (SpannableWidget)h; if (paramUser != null) { paramUser.setRight(true); } return; h.setText(localContext.getString(2131166103, new Object[] { paramUser.getFirstName() })); } }
private void setUpUserNameAndQuote(User paramUser) { TextView localTextView1 = (TextView)findViewById(2131494091); TextView localTextView2 = (TextView)findViewById(2131494092); localTextView1.setTextColor(b); localTextView2.setTextColor(c); if (d != 0) { localTextView1.setShadowLayer(1.0F, -0.25F, -1.0F, d); localTextView2.setShadowLayer(1.0F, -0.25F, -1.0F, d); } if (TextUtils.isEmpty(paramUser.getNickname())) { localTextView1.setText(paramUser.getName()); } while (paramUser.getHeadline() != null) { localTextView2.setVisibility(0); localTextView2.setText(paramUser.getHeadline()); return; localTextView1.setText(String.format("%s %s %s.", new Object[] { paramUser.getFirstName(), StringUtils.d(paramUser.getNickname()), paramUser.getLastInitial() })); } localTextView2.setVisibility(8); }