示例#1
0
 protected void onScrollLastItem(Cursor paramCursor)
 {
   Cursor localCursor = this.mFeedAdapter.getCursor();
   if ((this.mRefreshable) && (!localCursor.getExtras().getBoolean("is_last")) && (localCursor.getCount() <= 400))
   {
     this.mFeedAdapter.onPause(isFocused());
     this.mLastFetchType = 7;
   }
   switch (this.mCurrentTab)
   {
   default:
     return;
   case 1:
     this.mCursorPreviousPosts = localCursor.getCount();
     this.mCursorQuerySizePosts = Util.getNextCursorSize(this.mCursorPreviousPosts);
     showProgress(7);
     getLoaderManager().restartLoader(1, null, this);
     this.mPostPage = (1 + this.mPostPage);
     FlurryUtils.trackTimeLinePageScroll(getClass().getName() + "_Post", this.mPostPage);
     return;
   case 2:
   }
   this.mCursorPreviousLikes = localCursor.getCount();
   this.mCursorQuerySizeLikes = Util.getNextCursorSize(this.mCursorPreviousLikes);
   showProgress(7);
   getLoaderManager().restartLoader(2, null, this);
   this.mLikePage = (1 + this.mLikePage);
   FlurryUtils.trackTimeLinePageScroll(getClass().getName() + "_Like", this.mLikePage);
 }
示例#2
0
 {
     obj1 = httprequestbase.getURI();
     SLog.d("{}, {} took {} ms to open and {} total.", new Object[] {
         ((URI) (obj1)).getHost(), ((URI) (obj1)).getPath(), Long.valueOf(l7), Long.valueOf(l2)
     });
     FlurryUtils.trackRespondTime(((URI) (obj1)).getHost(), ((URI) (obj1)).getPath(), l7, l2, ((URI) (obj1)).toString().contains("/r/videos/"));
 }
示例#3
0
 public void onItemClick(AdapterView<?> paramAdapterView, View paramView, int paramInt, long paramLong)
 {
   boolean bool1;
   if (!this.mHideProfileReposts)
   {
     bool1 = true;
     this.mHideProfileReposts = bool1;
     this.mRepostsToggled = true;
     boolean bool2 = this.mHideProfileReposts;
     int i = this.mUser.following;
     boolean bool3 = false;
     if (i > 0)
       bool3 = true;
     FlurryUtils.trackFilterProfileReposts(bool2, bool3, this.mIsMe);
     if (!this.mIsMe)
       break label144;
     SharedPreferences.Editor localEditor = Util.getDefaultSharedPrefs(getActivity()).edit();
     localEditor.putBoolean("profile_hide_reposts", this.mHideProfileReposts);
     localEditor.apply();
   }
   while (true)
   {
     if (this.mPopupWindow != null)
       this.mPopupWindow.dismiss();
     this.mFeedAdapter.onPause(isFocused());
     getLoaderManager().restartLoader(1, null, this);
     return;
     bool1 = false;
     break;
     label144: this.mAppController.setHideProfileReposts(this.mUserId, this.mHideProfileReposts);
   }
 }
示例#4
0
 public boolean onOptionsItemSelected(MenuItem paramMenuItem)
 {
   boolean bool = true;
   switch (paramMenuItem.getItemId())
   {
   default:
     bool = super.onOptionsItemSelected(paramMenuItem);
   case 2131362197:
   case 2131362198:
   case 2131362199:
   case 2131362200:
   }
   do
   {
     return bool;
     if (this.mIsUserBlocked)
     {
       this.mAppController.unblockUser(this.mUserId);
       return bool;
     }
     this.mAppController.blockUser(this.mUserId);
     return bool;
     addRequest(this.mAppController.reportPerson(this.mUserId));
     return bool;
     if (this.mRepostsEnabled)
     {
       this.mAppController.disableReposts(this.mUserId);
       return bool;
     }
     this.mAppController.enableReposts(this.mUserId);
     return bool;
   }
   while ((this.mUser == null) || (this.mIsMe));
   FlurryUtils.trackShareProfile();
   Intent localIntent = new Intent("android.intent.action.VIEW");
   localIntent.setType("vnd.android-dir/mms-sms");
   int i = Util.getShareProfileMessageId();
   Object[] arrayOfObject = new Object[2];
   arrayOfObject[0] = this.mUser.username;
   arrayOfObject[bool] = String.valueOf(this.mUser.userId);
   localIntent.putExtra("sms_body", getString(i, arrayOfObject));
   startActivity(Intent.createChooser(localIntent, getString(2131624272)));
   return bool;
 }