ch.java 20.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
import android.content.Context;
import android.os.Build.VERSION;
import android.support.v4.app.Fragment;
import android.support.v4.app.Fragment.b;
import android.support.v4.app.FragmentHostCallback;
import android.support.v4.app.FragmentManager.BackStackEntry;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.util.LogWriter;
import android.support.v4.view.ViewCompat;
import android.util.Log;
import android.view.View;
import java.io.PrintWriter;
import java.lang.reflect.Modifier;
import java.util.ArrayList;

public final class ch
  extends FragmentTransaction
  implements FragmentManager.BackStackEntry, cn.c
{
  static final boolean a;
  final cn b;
  public ArrayList<ch.a> c = new ArrayList();
  public int d;
  public int e;
  public int f;
  public int g;
  public int h;
  public int i;
  public boolean j;
  boolean k = true;
  public String l;
  boolean m;
  public int n = -1;
  public int o;
  public CharSequence p;
  public int q;
  public CharSequence r;
  public ArrayList<String> s;
  public ArrayList<String> t;
  public boolean u = false;
  
  static
  {
    if (Build.VERSION.SDK_INT >= 21) {}
    for (boolean bool = true;; bool = false)
    {
      a = bool;
      return;
    }
  }
  
  public ch(cn paramcn)
  {
    this.b = paramcn;
  }
  
  private int a(boolean paramBoolean)
  {
    if (this.m) {
      throw new IllegalStateException("commit already called");
    }
    if (cn.a)
    {
      Log.v("FragmentManager", "Commit: " + this);
      a("  ", new PrintWriter(new LogWriter("FragmentManager")));
    }
    this.m = true;
    if (this.j) {}
    for (this.n = this.b.a(this);; this.n = -1)
    {
      this.b.a(this, paramBoolean);
      return this.n;
    }
  }
  
  private void a(int paramInt1, Fragment paramFragment, String paramString, int paramInt2)
  {
    Class localClass = paramFragment.getClass();
    int i1 = localClass.getModifiers();
    if ((localClass.isAnonymousClass()) || (!Modifier.isPublic(i1)) || ((localClass.isMemberClass()) && (!Modifier.isStatic(i1)))) {
      throw new IllegalStateException("Fragment " + localClass.getCanonicalName() + " must be a public static class to be  properly recreated from instance state.");
    }
    paramFragment.mFragmentManager = this.b;
    if (paramString != null)
    {
      if ((paramFragment.mTag != null) && (!paramString.equals(paramFragment.mTag))) {
        throw new IllegalStateException("Can't change tag of fragment " + paramFragment + ": was " + paramFragment.mTag + " now " + paramString);
      }
      paramFragment.mTag = paramString;
    }
    if (paramInt1 != 0)
    {
      if (paramInt1 == -1) {
        throw new IllegalArgumentException("Can't add fragment " + paramFragment + " with tag " + paramString + " to container view with no id");
      }
      if ((paramFragment.mFragmentId != 0) && (paramFragment.mFragmentId != paramInt1)) {
        throw new IllegalStateException("Can't change container ID of fragment " + paramFragment + ": was " + paramFragment.mFragmentId + " now " + paramInt1);
      }
      paramFragment.mFragmentId = paramInt1;
      paramFragment.mContainerId = paramInt1;
    }
    paramString = new ch.a();
    paramString.a = paramInt2;
    paramString.b = paramFragment;
    a(paramString);
  }
  
  static boolean b(ch.a parama)
  {
    parama = parama.b;
    return (parama.mAdded) && (parama.mView != null) && (!parama.mDetached) && (!parama.mHidden) && (parama.isPostponed());
  }
  
  final void a()
  {
    int i2 = this.c.size();
    int i1 = 0;
    if (i1 < i2)
    {
      ch.a locala = (ch.a)this.c.get(i1);
      Fragment localFragment = locala.b;
      localFragment.setNextTransition(this.h, this.i);
      switch (locala.a)
      {
      case 2: 
      default: 
        throw new IllegalArgumentException("Unknown cmd: " + locala.a);
      case 1: 
        localFragment.setNextAnim(locala.c);
        this.b.a(localFragment, false);
      }
      for (;;)
      {
        if ((!this.u) && (locala.a != 1)) {
          this.b.b(localFragment);
        }
        i1 += 1;
        break;
        localFragment.setNextAnim(locala.d);
        this.b.d(localFragment);
        continue;
        localFragment.setNextAnim(locala.d);
        cn.e(localFragment);
        continue;
        localFragment.setNextAnim(locala.c);
        cn.f(localFragment);
        continue;
        localFragment.setNextAnim(locala.d);
        this.b.g(localFragment);
        continue;
        localFragment.setNextAnim(locala.c);
        this.b.h(localFragment);
      }
    }
    if (!this.u) {
      this.b.a(this.b.m, true);
    }
  }
  
  public final void a(int paramInt)
  {
    if (!this.j) {}
    for (;;)
    {
      return;
      if (cn.a) {
        Log.v("FragmentManager", "Bump nesting in " + this + " by " + paramInt);
      }
      int i2 = this.c.size();
      int i1 = 0;
      while (i1 < i2)
      {
        ch.a locala = (ch.a)this.c.get(i1);
        if (locala.b != null)
        {
          Fragment localFragment = locala.b;
          localFragment.mBackStackNesting += paramInt;
          if (cn.a) {
            Log.v("FragmentManager", "Bump nesting of " + locala.b + " to " + locala.b.mBackStackNesting);
          }
        }
        i1 += 1;
      }
    }
  }
  
  final void a(Fragment.b paramb)
  {
    int i1 = 0;
    while (i1 < this.c.size())
    {
      ch.a locala = (ch.a)this.c.get(i1);
      if (b(locala)) {
        locala.b.setOnStartEnterTransitionListener(paramb);
      }
      i1 += 1;
    }
  }
  
  public final void a(ch.a parama)
  {
    this.c.add(parama);
    parama.c = this.d;
    parama.d = this.e;
    parama.e = this.f;
    parama.f = this.g;
  }
  
  public final void a(String paramString, PrintWriter paramPrintWriter)
  {
    a(paramString, paramPrintWriter, true);
  }
  
  public final void a(String paramString, PrintWriter paramPrintWriter, boolean paramBoolean)
  {
    if (paramBoolean)
    {
      paramPrintWriter.print(paramString);
      paramPrintWriter.print("mName=");
      paramPrintWriter.print(this.l);
      paramPrintWriter.print(" mIndex=");
      paramPrintWriter.print(this.n);
      paramPrintWriter.print(" mCommitted=");
      paramPrintWriter.println(this.m);
      if (this.h != 0)
      {
        paramPrintWriter.print(paramString);
        paramPrintWriter.print("mTransition=#");
        paramPrintWriter.print(Integer.toHexString(this.h));
        paramPrintWriter.print(" mTransitionStyle=#");
        paramPrintWriter.println(Integer.toHexString(this.i));
      }
      if ((this.d != 0) || (this.e != 0))
      {
        paramPrintWriter.print(paramString);
        paramPrintWriter.print("mEnterAnim=#");
        paramPrintWriter.print(Integer.toHexString(this.d));
        paramPrintWriter.print(" mExitAnim=#");
        paramPrintWriter.println(Integer.toHexString(this.e));
      }
      if ((this.f != 0) || (this.g != 0))
      {
        paramPrintWriter.print(paramString);
        paramPrintWriter.print("mPopEnterAnim=#");
        paramPrintWriter.print(Integer.toHexString(this.f));
        paramPrintWriter.print(" mPopExitAnim=#");
        paramPrintWriter.println(Integer.toHexString(this.g));
      }
      if ((this.o != 0) || (this.p != null))
      {
        paramPrintWriter.print(paramString);
        paramPrintWriter.print("mBreadCrumbTitleRes=#");
        paramPrintWriter.print(Integer.toHexString(this.o));
        paramPrintWriter.print(" mBreadCrumbTitleText=");
        paramPrintWriter.println(this.p);
      }
      if ((this.q != 0) || (this.r != null))
      {
        paramPrintWriter.print(paramString);
        paramPrintWriter.print("mBreadCrumbShortTitleRes=#");
        paramPrintWriter.print(Integer.toHexString(this.q));
        paramPrintWriter.print(" mBreadCrumbShortTitleText=");
        paramPrintWriter.println(this.r);
      }
    }
    if (!this.c.isEmpty())
    {
      paramPrintWriter.print(paramString);
      paramPrintWriter.println("Operations:");
      new StringBuilder().append(paramString).append("    ");
      int i2 = this.c.size();
      int i1 = 0;
      if (i1 < i2)
      {
        ch.a locala = (ch.a)this.c.get(i1);
        String str;
        switch (locala.a)
        {
        default: 
          str = "cmd=" + locala.a;
        }
        for (;;)
        {
          paramPrintWriter.print(paramString);
          paramPrintWriter.print("  Op #");
          paramPrintWriter.print(i1);
          paramPrintWriter.print(": ");
          paramPrintWriter.print(str);
          paramPrintWriter.print(" ");
          paramPrintWriter.println(locala.b);
          if (paramBoolean)
          {
            if ((locala.c != 0) || (locala.d != 0))
            {
              paramPrintWriter.print(paramString);
              paramPrintWriter.print("enterAnim=#");
              paramPrintWriter.print(Integer.toHexString(locala.c));
              paramPrintWriter.print(" exitAnim=#");
              paramPrintWriter.println(Integer.toHexString(locala.d));
            }
            if ((locala.e != 0) || (locala.f != 0))
            {
              paramPrintWriter.print(paramString);
              paramPrintWriter.print("popEnterAnim=#");
              paramPrintWriter.print(Integer.toHexString(locala.e));
              paramPrintWriter.print(" popExitAnim=#");
              paramPrintWriter.println(Integer.toHexString(locala.f));
            }
          }
          i1 += 1;
          break;
          str = "NULL";
          continue;
          str = "ADD";
          continue;
          str = "REPLACE";
          continue;
          str = "REMOVE";
          continue;
          str = "HIDE";
          continue;
          str = "SHOW";
          continue;
          str = "DETACH";
          continue;
          str = "ATTACH";
        }
      }
    }
  }
  
  final void a(ArrayList<Fragment> paramArrayList)
  {
    int i1 = 0;
    ch.a locala1;
    int i2;
    Fragment localFragment1;
    int i3;
    label139:
    Fragment localFragment2;
    int i4;
    if (i1 < this.c.size())
    {
      locala1 = (ch.a)this.c.get(i1);
      i2 = i1;
      switch (locala1.a)
      {
      default: 
        i2 = i1;
      case 4: 
      case 5: 
      case 1: 
      case 7: 
      case 3: 
      case 6: 
        for (;;)
        {
          i1 = i2 + 1;
          break;
          paramArrayList.add(locala1.b);
          i2 = i1;
          continue;
          paramArrayList.remove(locala1.b);
          i2 = i1;
        }
      }
      localFragment1 = locala1.b;
      int i5 = localFragment1.mContainerId;
      i3 = paramArrayList.size() - 1;
      i2 = 0;
      if (i3 >= 0)
      {
        localFragment2 = (Fragment)paramArrayList.get(i3);
        if (localFragment2.mContainerId != i5) {
          break label332;
        }
        if (localFragment2 == localFragment1)
        {
          i4 = 1;
          i2 = i1;
          i1 = i4;
        }
      }
    }
    for (;;)
    {
      i4 = i3 - 1;
      i3 = i2;
      i2 = i1;
      i1 = i3;
      i3 = i4;
      break label139;
      ch.a locala2 = new ch.a();
      locala2.a = 3;
      locala2.b = localFragment2;
      locala2.c = locala1.c;
      locala2.e = locala1.e;
      locala2.d = locala1.d;
      locala2.f = locala1.f;
      this.c.add(i1, locala2);
      paramArrayList.remove(localFragment2);
      i4 = i1 + 1;
      i1 = i2;
      i2 = i4;
      continue;
      if (i2 != 0)
      {
        this.c.remove(i1);
        i2 = i1 - 1;
        break;
      }
      locala1.a = 1;
      paramArrayList.add(localFragment1);
      i2 = i1;
      break;
      return;
      label332:
      i4 = i1;
      i1 = i2;
      i2 = i4;
    }
  }
  
  final boolean a(ArrayList<ch> paramArrayList, int paramInt1, int paramInt2)
  {
    if (paramInt2 == paramInt1) {
      return false;
    }
    int i5 = this.c.size();
    int i1 = -1;
    int i2 = 0;
    if (i2 < i5)
    {
      int i4 = ((ch.a)this.c.get(i2)).b.mContainerId;
      if ((i4 == 0) || (i4 == i1)) {
        break label160;
      }
      i1 = paramInt1;
      while (i1 < paramInt2)
      {
        ch localch = (ch)paramArrayList.get(i1);
        int i6 = localch.c.size();
        int i3 = 0;
        while (i3 < i6)
        {
          if (((ch.a)localch.c.get(i3)).b.mContainerId == i4) {
            return true;
          }
          i3 += 1;
        }
        i1 += 1;
      }
      i1 = i4;
    }
    label160:
    for (;;)
    {
      i2 += 1;
      break;
      return false;
    }
  }
  
  public final boolean a(ArrayList<ch> paramArrayList, ArrayList<Boolean> paramArrayList1)
  {
    if (cn.a) {
      Log.v("FragmentManager", "Run: " + this);
    }
    paramArrayList.add(this);
    paramArrayList1.add(Boolean.valueOf(false));
    if (this.j)
    {
      paramArrayList = this.b;
      if (paramArrayList.h == null) {
        paramArrayList.h = new ArrayList();
      }
      paramArrayList.h.add(this);
      paramArrayList.c();
    }
    return true;
  }
  
  public final FragmentTransaction add(int paramInt, Fragment paramFragment)
  {
    a(paramInt, paramFragment, null, 1);
    return this;
  }
  
  public final FragmentTransaction add(int paramInt, Fragment paramFragment, String paramString)
  {
    a(paramInt, paramFragment, paramString, 1);
    return this;
  }
  
  public final FragmentTransaction add(Fragment paramFragment, String paramString)
  {
    a(0, paramFragment, paramString, 1);
    return this;
  }
  
  public final FragmentTransaction addSharedElement(View paramView, String paramString)
  {
    if (a)
    {
      paramView = ViewCompat.getTransitionName(paramView);
      if (paramView == null) {
        throw new IllegalArgumentException("Unique transitionNames are required for all sharedElements");
      }
      if (this.s != null) {
        break label75;
      }
      this.s = new ArrayList();
      this.t = new ArrayList();
    }
    label75:
    do
    {
      this.s.add(paramView);
      this.t.add(paramString);
      return this;
      if (this.t.contains(paramString)) {
        throw new IllegalArgumentException("A shared element with the target name '" + paramString + "' has already been added to the transaction.");
      }
    } while (!this.s.contains(paramView));
    throw new IllegalArgumentException("A shared element with the source name '" + paramView + " has already been added to the transaction.");
  }
  
  public final FragmentTransaction addToBackStack(String paramString)
  {
    if (!this.k) {
      throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
    }
    this.j = true;
    this.l = paramString;
    return this;
  }
  
  public final FragmentTransaction attach(Fragment paramFragment)
  {
    ch.a locala = new ch.a();
    locala.a = 7;
    locala.b = paramFragment;
    a(locala);
    return this;
  }
  
  final void b()
  {
    int i1 = this.c.size() - 1;
    if (i1 >= 0)
    {
      ch.a locala = (ch.a)this.c.get(i1);
      Fragment localFragment = locala.b;
      localFragment.setNextTransition(cn.a(this.h), this.i);
      switch (locala.a)
      {
      case 2: 
      default: 
        throw new IllegalArgumentException("Unknown cmd: " + locala.a);
      case 1: 
        localFragment.setNextAnim(locala.f);
        this.b.d(localFragment);
      }
      for (;;)
      {
        if ((!this.u) && (locala.a != 3)) {
          this.b.b(localFragment);
        }
        i1 -= 1;
        break;
        localFragment.setNextAnim(locala.e);
        this.b.a(localFragment, false);
        continue;
        localFragment.setNextAnim(locala.e);
        cn.f(localFragment);
        continue;
        localFragment.setNextAnim(locala.f);
        cn.e(localFragment);
        continue;
        localFragment.setNextAnim(locala.e);
        this.b.h(localFragment);
        continue;
        localFragment.setNextAnim(locala.f);
        this.b.g(localFragment);
      }
    }
    if (!this.u) {
      this.b.a(this.b.m, true);
    }
  }
  
  final void b(ArrayList<Fragment> paramArrayList)
  {
    int i1 = 0;
    if (i1 < this.c.size())
    {
      ch.a locala = (ch.a)this.c.get(i1);
      switch (locala.a)
      {
      }
      for (;;)
      {
        i1 += 1;
        break;
        paramArrayList.remove(locala.b);
        continue;
        paramArrayList.add(locala.b);
      }
    }
  }
  
  final boolean b(int paramInt)
  {
    int i2 = this.c.size();
    int i1 = 0;
    while (i1 < i2)
    {
      if (((ch.a)this.c.get(i1)).b.mContainerId == paramInt) {
        return true;
      }
      i1 += 1;
    }
    return false;
  }
  
  public final int commit()
  {
    return a(false);
  }
  
  public final int commitAllowingStateLoss()
  {
    return a(true);
  }
  
  public final void commitNow()
  {
    disallowAddToBackStack();
    this.b.b(this, false);
  }
  
  public final void commitNowAllowingStateLoss()
  {
    disallowAddToBackStack();
    this.b.b(this, true);
  }
  
  public final FragmentTransaction detach(Fragment paramFragment)
  {
    ch.a locala = new ch.a();
    locala.a = 6;
    locala.b = paramFragment;
    a(locala);
    return this;
  }
  
  public final FragmentTransaction disallowAddToBackStack()
  {
    if (this.j) {
      throw new IllegalStateException("This transaction is already being added to the back stack");
    }
    this.k = false;
    return this;
  }
  
  public final CharSequence getBreadCrumbShortTitle()
  {
    if (this.q != 0) {
      return this.b.n.c.getText(this.q);
    }
    return this.r;
  }
  
  public final int getBreadCrumbShortTitleRes()
  {
    return this.q;
  }
  
  public final CharSequence getBreadCrumbTitle()
  {
    if (this.o != 0) {
      return this.b.n.c.getText(this.o);
    }
    return this.p;
  }
  
  public final int getBreadCrumbTitleRes()
  {
    return this.o;
  }
  
  public final int getId()
  {
    return this.n;
  }
  
  public final String getName()
  {
    return this.l;
  }
  
  public final FragmentTransaction hide(Fragment paramFragment)
  {
    ch.a locala = new ch.a();
    locala.a = 4;
    locala.b = paramFragment;
    a(locala);
    return this;
  }
  
  public final boolean isAddToBackStackAllowed()
  {
    return this.k;
  }
  
  public final boolean isEmpty()
  {
    return this.c.isEmpty();
  }
  
  public final FragmentTransaction remove(Fragment paramFragment)
  {
    ch.a locala = new ch.a();
    locala.a = 3;
    locala.b = paramFragment;
    a(locala);
    return this;
  }
  
  public final FragmentTransaction replace(int paramInt, Fragment paramFragment)
  {
    return replace(paramInt, paramFragment, null);
  }
  
  public final FragmentTransaction replace(int paramInt, Fragment paramFragment, String paramString)
  {
    if (paramInt == 0) {
      throw new IllegalArgumentException("Must use non-zero containerViewId");
    }
    a(paramInt, paramFragment, paramString, 2);
    return this;
  }
  
  public final FragmentTransaction setAllowOptimization(boolean paramBoolean)
  {
    this.u = paramBoolean;
    return this;
  }
  
  public final FragmentTransaction setBreadCrumbShortTitle(int paramInt)
  {
    this.q = paramInt;
    this.r = null;
    return this;
  }
  
  public final FragmentTransaction setBreadCrumbShortTitle(CharSequence paramCharSequence)
  {
    this.q = 0;
    this.r = paramCharSequence;
    return this;
  }
  
  public final FragmentTransaction setBreadCrumbTitle(int paramInt)
  {
    this.o = paramInt;
    this.p = null;
    return this;
  }
  
  public final FragmentTransaction setBreadCrumbTitle(CharSequence paramCharSequence)
  {
    this.o = 0;
    this.p = paramCharSequence;
    return this;
  }
  
  public final FragmentTransaction setCustomAnimations(int paramInt1, int paramInt2)
  {
    return setCustomAnimations(paramInt1, paramInt2, 0, 0);
  }
  
  public final FragmentTransaction setCustomAnimations(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    this.d = paramInt1;
    this.e = paramInt2;
    this.f = paramInt3;
    this.g = paramInt4;
    return this;
  }
  
  public final FragmentTransaction setTransition(int paramInt)
  {
    this.h = paramInt;
    return this;
  }
  
  public final FragmentTransaction setTransitionStyle(int paramInt)
  {
    this.i = paramInt;
    return this;
  }
  
  public final FragmentTransaction show(Fragment paramFragment)
  {
    ch.a locala = new ch.a();
    locala.a = 5;
    locala.b = paramFragment;
    a(locala);
    return this;
  }
  
  public final String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder(128);
    localStringBuilder.append("BackStackEntry{");
    localStringBuilder.append(Integer.toHexString(System.identityHashCode(this)));
    if (this.n >= 0)
    {
      localStringBuilder.append(" #");
      localStringBuilder.append(this.n);
    }
    if (this.l != null)
    {
      localStringBuilder.append(" ");
      localStringBuilder.append(this.l);
    }
    localStringBuilder.append("}");
    return localStringBuilder.toString();
  }
  
  public static final class a
  {
    public int a;
    public Fragment b;
    public int c;
    public int d;
    public int e;
    public int f;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/ch.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */