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<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>Root.Builder</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176<div class="sum-details-links"> 177 178Summary: 179 180 181 182 183 184 185 186 187 188 <a href="#pubctors">Ctors</a> 189 190 191 192 193 | <a href="#pubmethods">Methods</a> 194 195 196 197 198 | <a href="#inhmethods">Inherited Methods</a> 199 200| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 201 202</div><!-- end sum-details-links --> 203</div><!-- end api-info-block --> 204 205<div class="api apilevel-" id="jd-content"> 206 207<!-- ======== START OF CLASS DATA ======== --> 208 209<h1 class="api-title">Root.Builder</h1> 210<p> 211<code class="api-signature"> 212 public 213 static 214 215 216 class 217 Root.Builder 218</code> 219<br> 220 221 222<code class="api-signature"> 223 224 extends Object 225 226 227 228</code> 229 230<code class="api-signature"> 231 232 233 234</code> 235 236</p><table class="jd-inheritance-table"> 237 238 239 <tr> 240 241 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object 242 </td> 243 </tr> 244 245 246 <tr> 247 248 <td class="jd-inheritance-space"> ↳</td> 249 250 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.Root.Builder 251 </td> 252 </tr> 253 254 255</table> 256 257 258 259 260<br><hr> 261 262 263 264 265 266 267 268 269<h2 class="api-section">Summary</h2> 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293<!-- ======== CONSTRUCTOR SUMMARY ======== --> 294<table id="pubctors" class="responsive constructors"> 295<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 296 297 298 299 300 <tr class="api apilevel-" > 301 302 303 <td width="100%"> 304 <code> 305 <a href="/reference/android/support/test/espresso/Root.Builder.html#Root.Builder()">Root.Builder</a>() 306 </code> 307 308 </td> 309 </tr> 310 311 312 313</table> 314 315 316 317 318 319 320<!-- ========== METHOD SUMMARY =========== --> 321<table id="pubmethods" class="responsive methods"> 322<tr><th colspan="2"><h3>Public methods</h3></th></tr> 323 324 325 326 327 <tr class="api apilevel-" > 328 329 330 <td><code> 331 332 333 334 335 336 <a href="/reference/android/support/test/espresso/Root.html">Root</a></code> 337 </td> 338 339 <td width="100%"> 340 <code> 341 <a href="/reference/android/support/test/espresso/Root.Builder.html#build()">build</a>() 342 </code> 343 344 </td> 345 </tr> 346 347 348 349 <tr class="api apilevel-" > 350 351 352 <td><code> 353 354 355 356 357 358 <a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></code> 359 </td> 360 361 <td width="100%"> 362 <code> 363 <a href="/reference/android/support/test/espresso/Root.Builder.html#withDecorView(android.view.View)">withDecorView</a>(View view) 364 </code> 365 366 </td> 367 </tr> 368 369 370 371 <tr class="api apilevel-" > 372 373 374 <td><code> 375 376 377 378 379 380 <a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></code> 381 </td> 382 383 <td width="100%"> 384 <code> 385 <a href="/reference/android/support/test/espresso/Root.Builder.html#withWindowLayoutParams(android.view.WindowManager.LayoutParams)">withWindowLayoutParams</a>(WindowManager.LayoutParams windowLayoutParams) 386 </code> 387 388 </td> 389 </tr> 390 391 392 393</table> 394 395 396 397 398 399 400 401<!-- ========== METHOD SUMMARY =========== --> 402<table id="inhmethods" class="methods inhtable"> 403<tr><th><h3>Inherited methods</h3></th></tr> 404 405 406<tr class="api apilevel-" > 407<td colspan="2"> 408 409 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 410 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 411 src="/assets/images/styles/disclosure_down.png" 412 class="jd-expando-trigger-img" /></a>From 413class 414<code> 415 416 java.lang.Object 417 418</code> 419<div id="inherited-methods-java.lang.Object"> 420 <div id="inherited-methods-java.lang.Object-list" 421 class="jd-inheritedlinks"> 422 </div> 423 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 424 <table class="jd-sumtable-expando responsive"> 425 426 427 428 429 <tr class="api apilevel-" > 430 431 432 <td><code> 433 434 435 436 437 438 Object</code> 439 </td> 440 441 <td width="100%"> 442 <code> 443 clone() 444 </code> 445 446 </td> 447 </tr> 448 449 450 451 <tr class="api apilevel-" > 452 453 454 <td><code> 455 456 457 458 459 460 boolean</code> 461 </td> 462 463 <td width="100%"> 464 <code> 465 equals(Object arg0) 466 </code> 467 468 </td> 469 </tr> 470 471 472 473 <tr class="api apilevel-" > 474 475 476 <td><code> 477 478 479 480 481 482 void</code> 483 </td> 484 485 <td width="100%"> 486 <code> 487 finalize() 488 </code> 489 490 </td> 491 </tr> 492 493 494 495 <tr class="api apilevel-" > 496 497 498 <td><code> 499 500 501 502 final 503 504 Class<?></code> 505 </td> 506 507 <td width="100%"> 508 <code> 509 getClass() 510 </code> 511 512 </td> 513 </tr> 514 515 516 517 <tr class="api apilevel-" > 518 519 520 <td><code> 521 522 523 524 525 526 int</code> 527 </td> 528 529 <td width="100%"> 530 <code> 531 hashCode() 532 </code> 533 534 </td> 535 </tr> 536 537 538 539 <tr class="api apilevel-" > 540 541 542 <td><code> 543 544 545 546 final 547 548 void</code> 549 </td> 550 551 <td width="100%"> 552 <code> 553 notify() 554 </code> 555 556 </td> 557 </tr> 558 559 560 561 <tr class="api apilevel-" > 562 563 564 <td><code> 565 566 567 568 final 569 570 void</code> 571 </td> 572 573 <td width="100%"> 574 <code> 575 notifyAll() 576 </code> 577 578 </td> 579 </tr> 580 581 582 583 <tr class="api apilevel-" > 584 585 586 <td><code> 587 588 589 590 591 592 String</code> 593 </td> 594 595 <td width="100%"> 596 <code> 597 toString() 598 </code> 599 600 </td> 601 </tr> 602 603 604 605 <tr class="api apilevel-" > 606 607 608 <td><code> 609 610 611 612 final 613 614 void</code> 615 </td> 616 617 <td width="100%"> 618 <code> 619 wait(long arg0, int arg1) 620 </code> 621 622 </td> 623 </tr> 624 625 626 627 <tr class="api apilevel-" > 628 629 630 <td><code> 631 632 633 634 final 635 636 void</code> 637 </td> 638 639 <td width="100%"> 640 <code> 641 wait(long arg0) 642 </code> 643 644 </td> 645 </tr> 646 647 648 649 <tr class="api apilevel-" > 650 651 652 <td><code> 653 654 655 656 final 657 658 void</code> 659 </td> 660 661 <td width="100%"> 662 <code> 663 wait() 664 </code> 665 666 </td> 667 </tr> 668 669 670 671 </table> 672 </div> 673</div> 674</td></tr> 675 676 677</table> 678 679 680 681<!-- XML Attributes --> 682 683 684<!-- Enum Values --> 685 686 687<!-- Constants --> 688 689 690<!-- Fields --> 691 692 693<!-- Public ctors --> 694 695 696<!-- ========= CONSTRUCTOR DETAIL ======== --> 697<h2 class="api-section">Public constructors</h2> 698 699 700 701<A NAME="Root.Builder()"></A> 702 703<div class="api apilevel-"> 704 <h3 class="api-name">Root.Builder</h3> 705 <div class="api-level"> 706 <div></div> 707 708 709 710 </div> 711<pre class="api-signature no-pretty-print"> 712Root.Builder ()</pre> 713 714 715 716 717 <p></p> 718 719</div> 720 721 722 723 724 725<!-- ========= CONSTRUCTOR DETAIL ======== --> 726<!-- Protected ctors --> 727 728 729 730<!-- ========= METHOD DETAIL ======== --> 731<!-- Public methdos --> 732 733<h2 class="api-section">Public methods</h2> 734 735 736 737<A NAME="build()"></A> 738 739<div class="api apilevel-"> 740 <h3 class="api-name">build</h3> 741 <div class="api-level"> 742 <div></div> 743 744 745 746 </div> 747<pre class="api-signature no-pretty-print"> 748<a href="/reference/android/support/test/espresso/Root.html">Root</a> build ()</pre> 749 750 751 752 753 <p></p> 754 <table class="responsive"> 755 <tr><th colspan=2>Returns</th></tr> 756 <tr> 757 <td><code><a href="/reference/android/support/test/espresso/Root.html">Root</a></code></td> 758 <td width="100%"><!-- no returns description in source --></td> 759 </tr> 760 </table> 761 762</div> 763 764 765<A NAME="withDecorView(android.view.View)"></A> 766 767<div class="api apilevel-"> 768 <h3 class="api-name">withDecorView</h3> 769 <div class="api-level"> 770 <div></div> 771 772 773 774 </div> 775<pre class="api-signature no-pretty-print"> 776<a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a> withDecorView (View view)</pre> 777 778 779 780 781 <p></p> 782 <table class="responsive"> 783 <tr><th colspan=2>Parameters</th></tr> 784 <tr> 785 <td><code>view</code></td> 786 <td width="100%"> 787 <code>View</code> 788 <!-- no parameter comment --></td> 789 </tr> 790 </table> 791 <table class="responsive"> 792 <tr><th colspan=2>Returns</th></tr> 793 <tr> 794 <td><code><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></code></td> 795 <td width="100%"><!-- no returns description in source --></td> 796 </tr> 797 </table> 798 799</div> 800 801 802<A NAME="withWindowLayoutParams(android.view.WindowManager.LayoutParams)"></A> 803 804<div class="api apilevel-"> 805 <h3 class="api-name">withWindowLayoutParams</h3> 806 <div class="api-level"> 807 <div></div> 808 809 810 811 </div> 812<pre class="api-signature no-pretty-print"> 813<a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a> withWindowLayoutParams (WindowManager.LayoutParams windowLayoutParams)</pre> 814 815 816 817 818 <p></p> 819 <table class="responsive"> 820 <tr><th colspan=2>Parameters</th></tr> 821 <tr> 822 <td><code>windowLayoutParams</code></td> 823 <td width="100%"> 824 <code>WindowManager.LayoutParams</code> 825 <!-- no parameter comment --></td> 826 </tr> 827 </table> 828 <table class="responsive"> 829 <tr><th colspan=2>Returns</th></tr> 830 <tr> 831 <td><code><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></code></td> 832 <td width="100%"><!-- no returns description in source --></td> 833 </tr> 834 </table> 835 836</div> 837 838 839 840 841 842<!-- ========= METHOD DETAIL ======== --> 843 844 845 846<!-- ========= END OF CLASS DATA ========= --> 847 848</div><!-- end jd-content --> 849 850 851 852<div class="data-reference-resources-wrapper"> 853 854 <ul data-reference-resources> 855 856 857 <li><h2>Interfaces</h2> 858 <ul> 859 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/BaseLayerComponent.html">BaseLayerComponent</a></li> 860 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a></li> 861 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/FailureHandler.html">FailureHandler</a></li> 862 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></li> 863 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html">IdlingResource.ResourceCallback</a></li> 864 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/UiController.html">UiController</a></li> 865 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></li> 866 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></li> 867 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></li> 868 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteractionComponent.html">ViewInteractionComponent</a></li> 869 </ul> 870 </li> 871 872 <li><h2>Classes</h2> 873 <ul> 874 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.Builder.html">AmbiguousViewMatcherException.Builder</a></li> 875 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/DataInteraction.html">DataInteraction</a></li> 876 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Espresso.html">Espresso</a></li> 877 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/GraphHolder.html">GraphHolder</a></li> 878 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicies.html">IdlingPolicies</a></li> 879 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicy.html">IdlingPolicy</a></li> 880 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.Builder.html">NoMatchingViewException.Builder</a></li> 881 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></li> 882 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.html">Root</a></li> 883 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></li> 884 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteraction.html">ViewInteraction</a></li> 885 </ul> 886 </li> 887 888 889 <li><h2>Exceptions</h2> 890 <ul> 891 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></li> 892 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AppNotIdleException.html">AppNotIdleException</a></li> 893 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html">IdlingResourceTimeoutException</a></li> 894 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/InjectEventSecurityException.html">InjectEventSecurityException</a></li> 895 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoActivityResumedException.html">NoActivityResumedException</a></li> 896 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingRootException.html">NoMatchingRootException</a></li> 897 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></li> 898 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></li> 899 </ul> 900 </li> 901 902 </ul> 903 904</div> 905 906 907 908</body> 909</html> 910