Пример #1
0
 public void onClick(View paramView)
 {
   switch (paramView.getId())
   {
   default:
     super.onClick(paramView);
     return;
   case 2131361873:
   case 2131362054:
     this.mProfileHeaderAdapter.onProfileHeaderClick(paramView, this);
     return;
   case 2131362056:
   case 2131362058:
     this.mProfileHeaderAdapter.onProfileHeaderClick(paramView, this);
     changeTab((Button)paramView);
     return;
   case 2131362051:
     onFollowersClicked();
     return;
   case 2131362053:
     onFollowingClicked();
     return;
   case 2131361949:
     this.mAppController.acceptFollowRequest(this.mAppController.getActiveSession(), this.mUserId);
     return;
   case 2131361946:
     this.mAppController.acceptRejectRequest(this.mAppController.getActiveSession(), this.mUserId);
     return;
   case 2131362057:
   }
   if (this.mHideProfileReposts);
   for (int i = 2131624352; ; i = 2131624148)
   {
     String str = getString(i);
     ArrayAdapter localArrayAdapter = new ArrayAdapter(getActivity(), 2130903120, 2131361987, new String[] { str });
     ListView localListView = new ListView(getActivity());
     FrameLayout.LayoutParams localLayoutParams = new FrameLayout.LayoutParams(-1, -2);
     localLayoutParams.topMargin = getResources().getDimensionPixelSize(2131427412);
     localListView.setPadding(0, getResources().getDimensionPixelSize(2131427412), 0, 0);
     localListView.setLayoutParams(localLayoutParams);
     localListView.setAdapter(localArrayAdapter);
     localListView.setSelector(new ColorDrawable(getResources().getColor(17170445)));
     localListView.setOnItemClickListener(this);
     localListView.setDividerHeight(0);
     if (getView() == null)
       break;
     TabButton localTabButton = (TabButton)getView().findViewById(2131362056);
     if ((this.mPopupWindow == null) || (this.mPopupWindow.isShowing()) || (localTabButton == null))
       break;
     this.mPopupWindow.setFocusable(true);
     this.mPopupWindow.setContentView(localListView);
     this.mPopupWindow.setWidth(localTabButton.getMeasuredWidth());
     this.mPopupWindow.setHeight(-2);
     this.mPopupWindow.setBackgroundDrawable(new ColorDrawable(getResources().getColor(2131296358)));
     this.mPopupWindow.showAsDropDown(localTabButton, 0, 0);
     return;
   }
 }
Пример #2
0
 protected final void L() {
   Resources localResources = g();
   int i = localResources.getDimensionPixelOffset(efj.ca);
   int j = localResources.getDimensionPixelOffset(efj.bX);
   FrameLayout.LayoutParams localLayoutParams = new FrameLayout.LayoutParams(-1, -1);
   localLayoutParams.topMargin = i;
   localLayoutParams.bottomMargin = j;
   localLayoutParams.gravity = 17;
   ((CropImageView) this.ai).setLayoutParams(localLayoutParams);
 }