1<!DOCTYPE html> 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<html> 102<head> 103 104 105<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 106<meta name="viewport" content="width=device-width" /> 107 108<link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" /> 109<title>BoxInsetLayout.LayoutParams | Android Developers</title> 110 111<!-- STYLESHEETS --> 112<link rel="stylesheet" 113href="http://fonts.googleapis.com/css?family=Roboto+Condensed"> 114<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" 115 title="roboto"> 116<link href="../../../../../assets/css/default.css?v=4" rel="stylesheet" type="text/css"> 117 118 119<!-- FULLSCREEN STYLESHEET --> 120<link href="../../../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen" 121type="text/css"> 122 123 124<!-- JAVASCRIPT --> 125<script src="http://www.google.com/jsapi" type="text/javascript"></script> 126<script src="../../../../../assets/js/android_3p-bundle.js" type="text/javascript"></script> 127<script type="text/javascript"> 128 var toRoot = "../../../../../"; 129 var metaTags = []; 130 var devsite = false; 131</script> 132<script src="../../../../../assets/js/docs.js?v=3" type="text/javascript"></script> 133 134 135 136<script> 137 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 138 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 139 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 140 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 141 142 ga('create', 'UA-5831155-1', 'android.com'); 143 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); 144 ga('send', 'pageview'); 145 ga('universal.send', 'pageview'); // Send page view for new tracker. 146</script> 147 148</head> 149 150<body class="gc-documentation 151 develop reference" itemscope itemtype="http://schema.org/Article"> 152 <div id="doc-api-level" class="" style="display:none"></div> 153 <a name="top"></a> 154 155 156<a name="top"></a> 157 158<!-- dialog to prompt lang pref change when loaded from hardcoded URL 159<div id="langMessage" style="display:none"> 160 <div> 161 <div class="lang en"> 162 <p>You requested a page in English, would you like to proceed with this language setting?</p> 163 </div> 164 <div class="lang es"> 165 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> 166 </div> 167 <div class="lang ja"> 168 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> 169 </div> 170 <div class="lang ko"> 171 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> 172 </div> 173 <div class="lang ru"> 174 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> 175 </div> 176 <div class="lang zh-cn"> 177 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> 178 </div> 179 <div class="lang zh-tw"> 180 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> 181 </div> 182 <a href="#" class="button yes" onclick="return false;"> 183 <span class="lang en">Yes</span> 184 <span class="lang es">Sí</span> 185 <span class="lang ja">Yes</span> 186 <span class="lang ko">Yes</span> 187 <span class="lang ru">Yes</span> 188 <span class="lang zh-cn">是的</span> 189 <span class="lang zh-tw">没有</span> 190 </a> 191 <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> 192 <span class="lang en">No</span> 193 <span class="lang es">No</span> 194 <span class="lang ja">No</span> 195 <span class="lang ko">No</span> 196 <span class="lang ru">No</span> 197 <span class="lang zh-cn">没有</span> 198 <span class="lang zh-tw">没有</span> 199 </a> 200 </div> 201</div> --> 202 203 204 <!-- Header --> 205 <div id="header-wrapper"> 206 <div id="header"> 207 208 209 210 211 <div class="wrap" id="header-wrap"> 212 <div class="col-3 logo"> 213 <a href="../../../../../index.html"> 214 <img src="../../../../../assets/images/dac_logo.png" 215 srcset="../../../../../assets/images/dac_logo@2x.png 2x" 216 width="123" height="25" alt="Android Developers" /> 217 </a> 218 <div class="btn-quicknav" id="btn-quicknav"> 219 <a href="#" class="arrow-inactive">Quicknav</a> 220 <a href="#" class="arrow-active">Quicknav</a> 221 </div> 222 </div> 223 <ul class="nav-x col-9"> 224 <li class="design"> 225 <a href="../../../../../design/index.html" 226 zh-tw-lang="設計" 227 zh-cn-lang="设计" 228 ru-lang="Проектирование" 229 ko-lang="디자인" 230 ja-lang="設計" 231 es-lang="Diseñar" 232 >Design</a></li> 233 <li class="develop"><a href="../../../../../develop/index.html" 234 zh-tw-lang="開發" 235 zh-cn-lang="开发" 236 ru-lang="Разработка" 237 ko-lang="개발" 238 ja-lang="開発" 239 es-lang="Desarrollar" 240 >Develop</a></li> 241 <li class="distribute last"><a href="../../../../../distribute/googleplay/index.html" 242 zh-tw-lang="發佈" 243 zh-cn-lang="分发" 244 ru-lang="Распространение" 245 ko-lang="배포" 246 ja-lang="配布" 247 es-lang="Distribuir" 248 >Distribute</a></li> 249 </ul> 250 251 252 253 254<div class="menu-container"> 255 <div class="moremenu"> 256 <div id="more-btn"></div> 257 </div> 258 <div class="morehover" id="moremenu"> 259 <div class="top"></div> 260 <div class="mid"> 261 <div class="header">Links</div> 262 <ul> 263 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> 264 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> 265 <li><a href="../../../../../about/index.html">About Android</a></li> 266 </ul> 267 <div class="header">Android Sites</div> 268 <ul> 269 <li><a href="http://www.android.com">Android.com</a></li> 270 <li class="active"><a>Android Developers</a></li> 271 <li><a href="http://source.android.com">Android Open Source Project</a></li> 272 </ul> 273 274 275 276 277 <br class="clearfix" /> 278 </div><!-- end 'mid' --> 279 <div class="bottom"></div> 280 </div><!-- end 'moremenu' --> 281 282 <div class="search" id="search-container"> 283 <div class="search-inner"> 284 <div id="search-btn"></div> 285 <div class="left"></div> 286 <form onsubmit="return submit_search()"> 287 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" 288 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" 289 onkeydown="return search_changed(event, true, '../../../../../')" 290 onkeyup="return search_changed(event, false, '../../../../../')" /> 291 </form> 292 <div class="right"></div> 293 <a class="close hide">close</a> 294 <div class="left"></div> 295 <div class="right"></div> 296 </div><!-- end search-inner --> 297 </div><!-- end search-container --> 298 299 <div class="search_filtered_wrapper reference"> 300 <div class="suggest-card reference no-display"> 301 <ul class="search_filtered"> 302 </ul> 303 </div> 304 </div> 305 306 <div class="search_filtered_wrapper docs"> 307 <div class="suggest-card dummy no-display"> </div> 308 <div class="suggest-card develop no-display"> 309 <ul class="search_filtered"> 310 </ul> 311 <div class="child-card guides no-display"> 312 </div> 313 <div class="child-card training no-display"> 314 </div> 315 <div class="child-card samples no-display"> 316 </div> 317 </div> 318 <div class="suggest-card design no-display"> 319 <ul class="search_filtered"> 320 </ul> 321 </div> 322 <div class="suggest-card distribute no-display"> 323 <ul class="search_filtered"> 324 </ul> 325 </div> 326 </div> 327</div><!-- end menu-container (search and menu widget) --> 328 329 330 331 <!-- Expanded quicknav --> 332 <div id="quicknav" class="col-13"> 333 <ul> 334 <li class="about"> 335 <ul> 336 <li><a href="../../../../../about/index.html">About</a></li> 337 <li><a href="../../../../../wear/index.html">Wear</a></li> 338 <li><a href="../../../../../tv/index.html">TV</a></li> 339 <li><a href="../../../../../auto/index.html">Auto</a></li> 340 </ul> 341 </li> 342 <li class="design"> 343 <ul> 344 <li><a href="../../../../../design/index.html">Get Started</a></li> 345 <li><a href="../../../../../design/devices.html">Devices</a></li> 346 <li><a href="../../../../../design/style/index.html">Style</a></li> 347 <li><a href="../../../../../design/patterns/index.html">Patterns</a></li> 348 <li><a href="../../../../../design/building-blocks/index.html">Building Blocks</a></li> 349 <li><a href="../../../../../design/downloads/index.html">Downloads</a></li> 350 <li><a href="../../../../../design/videos/index.html">Videos</a></li> 351 </ul> 352 </li> 353 <li class="develop"> 354 <ul> 355 <li><a href="../../../../../training/index.html" 356 zh-tw-lang="訓練課程" 357 zh-cn-lang="培训" 358 ru-lang="Курсы" 359 ko-lang="교육" 360 ja-lang="トレーニング" 361 es-lang="Capacitación" 362 >Training</a></li> 363 <li><a href="../../../../../guide/index.html" 364 zh-tw-lang="API 指南" 365 zh-cn-lang="API 指南" 366 ru-lang="Руководства по API" 367 ko-lang="API 가이드" 368 ja-lang="API ガイド" 369 es-lang="Guías de la API" 370 >API Guides</a></li> 371 <li><a href="../../../../../reference/packages.html" 372 zh-tw-lang="參考資源" 373 zh-cn-lang="参考" 374 ru-lang="Справочник" 375 ko-lang="참조문서" 376 ja-lang="リファレンス" 377 es-lang="Referencia" 378 >Reference</a></li> 379 <li><a href="../../../../../sdk/index.html" 380 zh-tw-lang="相關工具" 381 zh-cn-lang="工具" 382 ru-lang="Инструменты" 383 ko-lang="도구" 384 ja-lang="ツール" 385 es-lang="Herramientas" 386 >Tools</a> 387 </li> 388 <li><a href="../../../../../google/index.html">Google Services</a> 389 </li> 390 391 </ul> 392 </li> 393 <li class="distribute last"> 394 <ul> 395 <li><a href="../../../../../distribute/googleplay/index.html">Google Play</a></li> 396 <li><a href="../../../../../distribute/essentials/index.html">Essentials</a></li> 397 <li><a href="../../../../../distribute/users/index.html">Get Users</a></li> 398 <li><a href="../../../../../distribute/engage/index.html">Engage & Retain</a></li> 399 <li><a href="../../../../../distribute/monetize/index.html">Monetize</a></li> 400 <li><a href="../../../../../distribute/tools/index.html">Tools & Reference</a></li> 401 <li><a href="../../../../../distribute/stories/index.html">Developer Stories</a></li> 402 </ul> 403 </li> 404 </ul> 405 </div><!-- /Expanded quicknav --> 406 </div><!-- end header-wrap.wrap --> 407 </div><!-- end header --> 408 409 410 <!-- Secondary x-nav --> 411 <div id="nav-x"> 412 <div class="wrap" style="position:relative;z-index:1"> 413 414 415 416 <a id="helpoutsLink" class="resource resource-card resource-card-6x2x3 resource-card-6x2 helpouts-card" 417 href="http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=dac&utm_medium=banner&utm_campaign=android_provider_banner3" target="_blank"> 418 <div class="card-bg helpouts-card-bg"></div> 419 <div class="card-info"> 420 <div class="helpouts-description"> 421 <div class="text">Help Android Wear and TV developers<br/> 422 <span id="helpoutsLinkText" class="link-color" 423 style="display:block;padding-top:5px;text-align:right">Learn more</span> 424 </div> 425 </div> 426 </div> 427 </a> 428 429 430 431 <ul class="nav-x col-9 develop" style="width:100%"> 432 <li class="training"><a href="../../../../../training/index.html" 433 zh-tw-lang="訓練課程" 434 zh-cn-lang="培训" 435 ru-lang="Курсы" 436 ko-lang="교육" 437 ja-lang="トレーニング" 438 es-lang="Capacitación" 439 >Training</a></li> 440 <li class="guide"><a href="../../../../../guide/index.html" 441 zh-tw-lang="API 指南" 442 zh-cn-lang="API 指南" 443 ru-lang="Руководства по API" 444 ko-lang="API 가이드" 445 ja-lang="API ガイド" 446 es-lang="Guías de la API" 447 >API Guides</a></li> 448 <li class="reference"><a href="../../../../../reference/packages.html" 449 zh-tw-lang="參考資源" 450 zh-cn-lang="参考" 451 ru-lang="Справочник" 452 ko-lang="참조문서" 453 ja-lang="リファレンス" 454 es-lang="Referencia" 455 >Reference</a></li> 456 <li class="tools"><a href="../../../../../sdk/index.html" 457 zh-tw-lang="相關工具" 458 zh-cn-lang="工具" 459 ru-lang="Инструменты" 460 ko-lang="도구" 461 ja-lang="ツール" 462 es-lang="Herramientas" 463 >Tools</a></li> 464 <li class="google"><a href="../../../../../google/index.html" 465 >Google Services</a> 466 </li> 467 468 </ul> 469 </div> 470 </div> 471 <!-- /Sendondary x-nav DEVELOP --> 472 473 474 475 <div id="searchResults" class="wrap" style="display:none;"> 476 <h2 id="searchTitle">Results</h2> 477 <div id="leftSearchControl" class="search-control">Loading...</div> 478 </div> 479 </div> <!--end header-wrapper --> 480 481 <div id="sticky-header"> 482 <div> 483 <a class="logo" href="#top"></a> 484 <a class="top" href="#top"></a> 485 <ul class="breadcrumb"> 486 487 <li class="current">BoxInsetLayout.LayoutParams</li> 488 </ul> 489 </div> 490 </div> 491 492 493 494 495 496 <div class="wrap clearfix" id="body-content"> 497 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 498 <div id="devdoc-nav"> 499 <div id="api-nav-header"> 500 <div id="api-level-toggle"> 501 <label for="apiLevelCheckbox" class="disabled" 502 title="Select your target API level to dim unavailable APIs">API level: </label> 503 <div class="select-wrapper"> 504 <select id="apiLevelSelector"> 505 <!-- option elements added by buildApiLevelSelector() --> 506 </select> 507 </div> 508 </div><!-- end toggle --> 509 <div id="api-nav-title">Android APIs</div> 510 </div><!-- end nav header --> 511 <script> 512 var SINCE_DATA = [ ]; 513 buildApiLevelSelector(); 514 </script> 515 516 <div id="swapper"> 517 <div id="nav-panels"> 518 <div id="resize-packages-nav"> 519 <div id="packages-nav" class="scroll-pane"> 520 521 <ul> 522 523 <li class="api apilevel-"> 524 <a href="../../../../../reference/android/support/wearable/package-summary.html">android.support.wearable</a></li> 525 <li class="api apilevel-"> 526 <a href="../../../../../reference/android/support/wearable/activity/package-summary.html">android.support.wearable.activity</a></li> 527 <li class="api apilevel-"> 528 <a href="../../../../../reference/android/support/wearable/companion/package-summary.html">android.support.wearable.companion</a></li> 529 <li class="api apilevel-"> 530 <a href="../../../../../reference/android/support/wearable/provider/package-summary.html">android.support.wearable.provider</a></li> 531 <li class="selected api apilevel-"> 532 <a href="../../../../../reference/android/support/wearable/view/package-summary.html">android.support.wearable.view</a></li> 533 <li class="api apilevel-"> 534 <a href="../../../../../reference/android/support/wearable/watchface/package-summary.html">android.support.wearable.watchface</a></li> 535 </ul><br/> 536 537 </div> <!-- end packages-nav --> 538 </div> <!-- end resize-packages --> 539 <div id="classes-nav" class="scroll-pane"> 540 541 542 543 <ul> 544 545 546 <li><h2>Interfaces</h2> 547 <ul> 548 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></li> 549 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></li> 550 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></li> 551 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></li> 552 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></li> 553 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></li> 554 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></li> 555 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></li> 556 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></li> 557 </ul> 558 </li> 559 560 <li><h2>Classes</h2> 561 <ul> 562 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></li> 563 <li class="selected api apilevel-"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></li> 564 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/CardFragment.html">CardFragment</a></li> 565 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/CardFrame.html">CardFrame</a></li> 566 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></li> 567 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></li> 568 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></li> 569 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></li> 570 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></li> 571 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></li> 572 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></li> 573 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></li> 574 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></li> 575 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></li> 576 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></li> 577 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></li> 578 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.html">WearableListView</a></li> 579 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></li> 580 <li class="api apilevel-"><a href="../../../../../reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></li> 581 </ul> 582 </li> 583 584 585 586 </ul><br/> 587 588 589 </div><!-- end classes --> 590 </div><!-- end nav-panels --> 591 <div id="nav-tree" style="display:none" class="scroll-pane"> 592 <div id="tree-list"></div> 593 </div><!-- end nav-tree --> 594 </div><!-- end swapper --> 595 <div id="nav-swap"> 596 <a class="fullscreen">fullscreen</a> 597 <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a> 598 </div> 599 </div> <!-- end devdoc-nav --> 600 </div> <!-- end side-nav --> 601 <script type="text/javascript"> 602 // init fullscreen based on user pref 603 var fullscreen = readCookie("fullscreen"); 604 if (fullscreen != 0) { 605 if (fullscreen == "false") { 606 toggleFullscreen(false); 607 } else { 608 toggleFullscreen(true); 609 } 610 } 611 // init nav version for mobile 612 if (isMobile) { 613 swapNav(); // tree view should be used on mobile 614 $('#nav-swap').hide(); 615 } else { 616 chooseDefaultNav(); 617 if ($("#nav-tree").is(':visible')) { 618 init_default_navtree("../../../../../"); 619 } 620 } 621 // scroll the selected page into view 622 $(document).ready(function() { 623 scrollIntoView("packages-nav"); 624 scrollIntoView("classes-nav"); 625 }); 626 </script> 627 628 629 630 631 632<div class="col-12" id="doc-col"> 633 634<div id="api-info-block"> 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<div class="sum-details-links"> 674 675Summary: 676 677 678 679 680 681 <a href="#constants">Constants</a> 682 683 684 685 | <a href="#inhconstants">Inherited Constants</a> 686 687 688 689 | <a href="#lfields">Fields</a> 690 691 692 693 | <a href="#inhfields">Inherited Fields</a> 694 695 696 697 | <a href="#pubctors">Ctors</a> 698 699 700 701 702 703 704 | <a href="#inhmethods">Inherited Methods</a> 705 706| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 707 708</div><!-- end sum-details-links --> 709<div class="api-level"> 710 711 712 713 714</div> 715</div><!-- end api-info-block --> 716 717 718<!-- ======== START OF CLASS DATA ======== --> 719 720<div id="jd-header"> 721 public 722 static 723 724 725 class 726<h1 itemprop="name">BoxInsetLayout.LayoutParams</h1> 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 extends FrameLayout.LayoutParams<br/> 744 745 746 747 748 749 750 751 752 753 754 755 756</div><!-- end header --> 757 758<div id="naMessage"></div> 759 760<div id="jd-content" class="api apilevel-"><p style="border:2px solid #99ccff;padding:12px;margin-top:20px"><strong>Note:</strong> The Wearable Support Library classes under the <code>android.support.wearable</code> package are subject to change. For the full Android API reference, see <a href="/reference/">Reference</a>.</p> 761<table class="jd-inheritance-table"> 762 763 764 <tr> 765 766 <td colspan="5" class="jd-inheritance-class-cell">java.lang.Object</td> 767 </tr> 768 769 770 <tr> 771 772 <td class="jd-inheritance-space"> ↳</td> 773 774 <td colspan="4" class="jd-inheritance-class-cell">android.view.ViewGroup.LayoutParams</td> 775 </tr> 776 777 778 <tr> 779 780 <td class="jd-inheritance-space"> </td> 781 782 <td class="jd-inheritance-space"> ↳</td> 783 784 <td colspan="3" class="jd-inheritance-class-cell">android.view.ViewGroup.MarginLayoutParams</td> 785 </tr> 786 787 788 <tr> 789 790 <td class="jd-inheritance-space"> </td> 791 792 <td class="jd-inheritance-space"> </td> 793 794 <td class="jd-inheritance-space"> ↳</td> 795 796 <td colspan="2" class="jd-inheritance-class-cell">android.widget.FrameLayout.LayoutParams</td> 797 </tr> 798 799 800 <tr> 801 802 <td class="jd-inheritance-space"> </td> 803 804 <td class="jd-inheritance-space"> </td> 805 806 <td class="jd-inheritance-space"> </td> 807 808 <td class="jd-inheritance-space"> ↳</td> 809 810 <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.view.BoxInsetLayout.LayoutParams</td> 811 </tr> 812 813 814</table> 815 816 817 818 819 820 821 822<div class="jd-descr"> 823 824 825<h2>Class Overview</h2> 826<p itemprop="articleBody">adds <code>layout_box</code> attribute to layout parameters 827</p> 828 829 830 831 832 833</div><!-- jd-descr --> 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850<div class="jd-descr"> 851 852 853<h2>Summary</h2> 854 855 856 857 858 859 860 861 862 863 864 865 866 867<!-- =========== ENUM CONSTANT SUMMARY =========== --> 868<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> 869 870 871 872 <tr class="alt-color api apilevel-" > 873 <td class="jd-typecol">int</td> 874 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_ALL">BOX_ALL</a></td> 875 <td class="jd-descrcol" width="100%"> 876 877 878 879 880 </td> 881 </tr> 882 883 884 <tr class=" api apilevel-" > 885 <td class="jd-typecol">int</td> 886 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_BOTTOM">BOX_BOTTOM</a></td> 887 <td class="jd-descrcol" width="100%"> 888 889 890 891 892 </td> 893 </tr> 894 895 896 <tr class="alt-color api apilevel-" > 897 <td class="jd-typecol">int</td> 898 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_LEFT">BOX_LEFT</a></td> 899 <td class="jd-descrcol" width="100%"> 900 901 902 903 904 </td> 905 </tr> 906 907 908 <tr class=" api apilevel-" > 909 <td class="jd-typecol">int</td> 910 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_NONE">BOX_NONE</a></td> 911 <td class="jd-descrcol" width="100%"> 912 913 914 915 916 </td> 917 </tr> 918 919 920 <tr class="alt-color api apilevel-" > 921 <td class="jd-typecol">int</td> 922 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_RIGHT">BOX_RIGHT</a></td> 923 <td class="jd-descrcol" width="100%"> 924 925 926 927 928 </td> 929 </tr> 930 931 932 <tr class=" api apilevel-" > 933 <td class="jd-typecol">int</td> 934 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BOX_TOP">BOX_TOP</a></td> 935 <td class="jd-descrcol" width="100%"> 936 937 938 939 940 </td> 941 </tr> 942 943 944 945</table> 946 947 948 949 950 951<!-- =========== ENUM CONSTANT SUMMARY =========== --> 952<table id="inhconstants" class="jd-sumtable"><tr><th> 953 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 954 <div style="clear:left;">Inherited Constants</div></th></tr> 955 956 957 958 959 960 961<tr class="api apilevel-" > 962<td colspan="12"> 963 964 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 965 ><img id="inherited-constants-android.view.ViewGroup.LayoutParams-trigger" 966 src="../../../../../assets/images/triangle-closed.png" 967 class="jd-expando-trigger-img" /></a>From class 968android.view.ViewGroup.LayoutParams 969<div id="inherited-constants-android.view.ViewGroup.LayoutParams"> 970 <div id="inherited-constants-android.view.ViewGroup.LayoutParams-list" 971 class="jd-inheritedlinks"> 972 </div> 973 <div id="inherited-constants-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 974 <table class="jd-sumtable-expando"> 975 976 977 978 <tr class="alt-color api apilevel-" > 979 <td class="jd-typecol">int</td> 980 <td class="jd-linkcol">FILL_PARENT</td> 981 <td class="jd-descrcol" width="100%"> 982 983 984 985 986 </td> 987 </tr> 988 989 990 <tr class=" api apilevel-" > 991 <td class="jd-typecol">int</td> 992 <td class="jd-linkcol">MATCH_PARENT</td> 993 <td class="jd-descrcol" width="100%"> 994 995 996 997 998 </td> 999 </tr> 1000 1001 1002 <tr class="alt-color api apilevel-" > 1003 <td class="jd-typecol">int</td> 1004 <td class="jd-linkcol">WRAP_CONTENT</td> 1005 <td class="jd-descrcol" width="100%"> 1006 1007 1008 1009 1010 </td> 1011 </tr> 1012 1013 1014</table> 1015 </div> 1016</div> 1017</td></tr> 1018 1019 1020 1021 1022</table> 1023 1024 1025 1026 1027<!-- =========== FIELD SUMMARY =========== --> 1028<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr> 1029 1030 1031 1032 <tr class="alt-color api apilevel-" > 1033 <td class="jd-typecol"><nobr> 1034 public 1035 1036 1037 int</nobr></td> 1038 <td class="jd-linkcol"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#boxedEdges">boxedEdges</a></td> 1039 <td class="jd-descrcol" width="100%"> 1040 1041 1042 1043 1044 </td> 1045 </tr> 1046 1047 1048 1049</table> 1050 1051 1052 1053 1054 1055<!-- =========== FIELD SUMMARY =========== --> 1056<table id="inhfields" class="jd-sumtable"><tr><th> 1057 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1058 <div style="clear:left;">Inherited Fields</div></th></tr> 1059 1060 1061<tr class="api apilevel-" > 1062<td colspan="12"> 1063 1064 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-android.widget.FrameLayout.LayoutParams" class="jd-expando-trigger closed" 1065 ><img id="inherited-fields-android.widget.FrameLayout.LayoutParams-trigger" 1066 src="../../../../../assets/images/triangle-closed.png" 1067 class="jd-expando-trigger-img" /></a>From class 1068android.widget.FrameLayout.LayoutParams 1069<div id="inherited-fields-android.widget.FrameLayout.LayoutParams"> 1070 <div id="inherited-fields-android.widget.FrameLayout.LayoutParams-list" 1071 class="jd-inheritedlinks"> 1072 </div> 1073 <div id="inherited-fields-android.widget.FrameLayout.LayoutParams-summary" style="display: none;"> 1074 <table class="jd-sumtable-expando"> 1075 1076 1077 1078 <tr class="alt-color api apilevel-" > 1079 <td class="jd-typecol"><nobr> 1080 public 1081 1082 1083 int</nobr></td> 1084 <td class="jd-linkcol">gravity</td> 1085 <td class="jd-descrcol" width="100%"> 1086 1087 1088 1089 1090 </td> 1091 </tr> 1092 1093 1094</table> 1095 </div> 1096</div> 1097</td></tr> 1098 1099 1100 1101<tr class="api apilevel-" > 1102<td colspan="12"> 1103 1104 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-android.view.ViewGroup.MarginLayoutParams" class="jd-expando-trigger closed" 1105 ><img id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-trigger" 1106 src="../../../../../assets/images/triangle-closed.png" 1107 class="jd-expando-trigger-img" /></a>From class 1108android.view.ViewGroup.MarginLayoutParams 1109<div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams"> 1110 <div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-list" 1111 class="jd-inheritedlinks"> 1112 </div> 1113 <div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-summary" style="display: none;"> 1114 <table class="jd-sumtable-expando"> 1115 1116 1117 1118 <tr class="alt-color api apilevel-" > 1119 <td class="jd-typecol"><nobr> 1120 public 1121 1122 1123 int</nobr></td> 1124 <td class="jd-linkcol">bottomMargin</td> 1125 <td class="jd-descrcol" width="100%"> 1126 1127 1128 1129 1130 </td> 1131 </tr> 1132 1133 1134 <tr class=" api apilevel-" > 1135 <td class="jd-typecol"><nobr> 1136 public 1137 1138 1139 int</nobr></td> 1140 <td class="jd-linkcol">leftMargin</td> 1141 <td class="jd-descrcol" width="100%"> 1142 1143 1144 1145 1146 </td> 1147 </tr> 1148 1149 1150 <tr class="alt-color api apilevel-" > 1151 <td class="jd-typecol"><nobr> 1152 public 1153 1154 1155 int</nobr></td> 1156 <td class="jd-linkcol">rightMargin</td> 1157 <td class="jd-descrcol" width="100%"> 1158 1159 1160 1161 1162 </td> 1163 </tr> 1164 1165 1166 <tr class=" api apilevel-" > 1167 <td class="jd-typecol"><nobr> 1168 public 1169 1170 1171 int</nobr></td> 1172 <td class="jd-linkcol">topMargin</td> 1173 <td class="jd-descrcol" width="100%"> 1174 1175 1176 1177 1178 </td> 1179 </tr> 1180 1181 1182</table> 1183 </div> 1184</div> 1185</td></tr> 1186 1187 1188 1189<tr class="api apilevel-" > 1190<td colspan="12"> 1191 1192 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 1193 ><img id="inherited-fields-android.view.ViewGroup.LayoutParams-trigger" 1194 src="../../../../../assets/images/triangle-closed.png" 1195 class="jd-expando-trigger-img" /></a>From class 1196android.view.ViewGroup.LayoutParams 1197<div id="inherited-fields-android.view.ViewGroup.LayoutParams"> 1198 <div id="inherited-fields-android.view.ViewGroup.LayoutParams-list" 1199 class="jd-inheritedlinks"> 1200 </div> 1201 <div id="inherited-fields-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 1202 <table class="jd-sumtable-expando"> 1203 1204 1205 1206 <tr class="alt-color api apilevel-" > 1207 <td class="jd-typecol"><nobr> 1208 public 1209 1210 1211 int</nobr></td> 1212 <td class="jd-linkcol">height</td> 1213 <td class="jd-descrcol" width="100%"> 1214 1215 1216 1217 1218 </td> 1219 </tr> 1220 1221 1222 <tr class=" api apilevel-" > 1223 <td class="jd-typecol"><nobr> 1224 public 1225 1226 1227 LayoutAnimationController.AnimationParameters</nobr></td> 1228 <td class="jd-linkcol">layoutAnimationParameters</td> 1229 <td class="jd-descrcol" width="100%"> 1230 1231 1232 1233 1234 </td> 1235 </tr> 1236 1237 1238 <tr class="alt-color api apilevel-" > 1239 <td class="jd-typecol"><nobr> 1240 public 1241 1242 1243 int</nobr></td> 1244 <td class="jd-linkcol">width</td> 1245 <td class="jd-descrcol" width="100%"> 1246 1247 1248 1249 1250 </td> 1251 </tr> 1252 1253 1254</table> 1255 </div> 1256</div> 1257</td></tr> 1258 1259 1260 1261 1262</table> 1263 1264 1265 1266 1267<!-- ======== CONSTRUCTOR SUMMARY ======== --> 1268<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr> 1269 1270 1271 1272 1273 <tr class="alt-color api apilevel-" > 1274 <td class="jd-typecol"><nobr> 1275 1276 1277 1278 1279 1280 </nobr> 1281 </td> 1282 <td class="jd-linkcol" width="100%"><nobr> 1283 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(android.content.Context, android.util.AttributeSet)">BoxInsetLayout.LayoutParams</a></span>(Context context, AttributeSet attrs)</nobr> 1284 1285 </td></tr> 1286 1287 1288 1289 <tr class=" api apilevel-" > 1290 <td class="jd-typecol"><nobr> 1291 1292 1293 1294 1295 1296 </nobr> 1297 </td> 1298 <td class="jd-linkcol" width="100%"><nobr> 1299 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(int, int)">BoxInsetLayout.LayoutParams</a></span>(int width, int height)</nobr> 1300 1301 </td></tr> 1302 1303 1304 1305 <tr class="alt-color api apilevel-" > 1306 <td class="jd-typecol"><nobr> 1307 1308 1309 1310 1311 1312 </nobr> 1313 </td> 1314 <td class="jd-linkcol" width="100%"><nobr> 1315 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(int, int, int)">BoxInsetLayout.LayoutParams</a></span>(int width, int height, int gravity)</nobr> 1316 1317 </td></tr> 1318 1319 1320 1321 <tr class=" api apilevel-" > 1322 <td class="jd-typecol"><nobr> 1323 1324 1325 1326 1327 1328 </nobr> 1329 </td> 1330 <td class="jd-linkcol" width="100%"><nobr> 1331 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(int, int, int, int)">BoxInsetLayout.LayoutParams</a></span>(int width, int height, int gravity, int boxed)</nobr> 1332 1333 </td></tr> 1334 1335 1336 1337 <tr class="alt-color api apilevel-" > 1338 <td class="jd-typecol"><nobr> 1339 1340 1341 1342 1343 1344 </nobr> 1345 </td> 1346 <td class="jd-linkcol" width="100%"><nobr> 1347 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(android.view.ViewGroup.LayoutParams)">BoxInsetLayout.LayoutParams</a></span>(ViewGroup.LayoutParams source)</nobr> 1348 1349 </td></tr> 1350 1351 1352 1353 <tr class=" api apilevel-" > 1354 <td class="jd-typecol"><nobr> 1355 1356 1357 1358 1359 1360 </nobr> 1361 </td> 1362 <td class="jd-linkcol" width="100%"><nobr> 1363 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams)">BoxInsetLayout.LayoutParams</a></span>(ViewGroup.MarginLayoutParams source)</nobr> 1364 1365 </td></tr> 1366 1367 1368 1369 <tr class="alt-color api apilevel-" > 1370 <td class="jd-typecol"><nobr> 1371 1372 1373 1374 1375 1376 </nobr> 1377 </td> 1378 <td class="jd-linkcol" width="100%"><nobr> 1379 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(android.widget.FrameLayout.LayoutParams)">BoxInsetLayout.LayoutParams</a></span>(FrameLayout.LayoutParams source)</nobr> 1380 1381 </td></tr> 1382 1383 1384 1385 <tr class=" api apilevel-" > 1386 <td class="jd-typecol"><nobr> 1387 1388 1389 1390 1391 1392 </nobr> 1393 </td> 1394 <td class="jd-linkcol" width="100%"><nobr> 1395 <span class="sympad"><a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html#BoxInsetLayout.LayoutParams(android.support.wearable.view.BoxInsetLayout.LayoutParams)">BoxInsetLayout.LayoutParams</a></span>(<a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a> source)</nobr> 1396 1397 </td></tr> 1398 1399 1400 1401</table> 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413<!-- ========== METHOD SUMMARY =========== --> 1414<table id="inhmethods" class="jd-sumtable"><tr><th> 1415 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> 1416 <div style="clear:left;">Inherited Methods</div></th></tr> 1417 1418 1419 1420 1421<tr class="api apilevel-" > 1422<td colspan="12"> 1423 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.view.ViewGroup.MarginLayoutParams" class="jd-expando-trigger closed" 1424 ><img id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-trigger" 1425 src="../../../../../assets/images/triangle-closed.png" 1426 class="jd-expando-trigger-img" /></a> 1427From class 1428 1429 android.view.ViewGroup.MarginLayoutParams 1430 1431<div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams"> 1432 <div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-list" 1433 class="jd-inheritedlinks"> 1434 </div> 1435 <div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-summary" style="display: none;"> 1436 <table class="jd-sumtable-expando"> 1437 1438 1439 1440 1441 <tr class="alt-color api apilevel-" > 1442 <td class="jd-typecol"><nobr> 1443 1444 1445 1446 1447 1448 int</nobr> 1449 </td> 1450 <td class="jd-linkcol" width="100%"><nobr> 1451 <span class="sympad">getLayoutDirection</span>()</nobr> 1452 1453 </td></tr> 1454 1455 1456 1457 <tr class=" api apilevel-" > 1458 <td class="jd-typecol"><nobr> 1459 1460 1461 1462 1463 1464 int</nobr> 1465 </td> 1466 <td class="jd-linkcol" width="100%"><nobr> 1467 <span class="sympad">getMarginEnd</span>()</nobr> 1468 1469 </td></tr> 1470 1471 1472 1473 <tr class="alt-color api apilevel-" > 1474 <td class="jd-typecol"><nobr> 1475 1476 1477 1478 1479 1480 int</nobr> 1481 </td> 1482 <td class="jd-linkcol" width="100%"><nobr> 1483 <span class="sympad">getMarginStart</span>()</nobr> 1484 1485 </td></tr> 1486 1487 1488 1489 <tr class=" api apilevel-" > 1490 <td class="jd-typecol"><nobr> 1491 1492 1493 1494 1495 1496 boolean</nobr> 1497 </td> 1498 <td class="jd-linkcol" width="100%"><nobr> 1499 <span class="sympad">isMarginRelative</span>()</nobr> 1500 1501 </td></tr> 1502 1503 1504 1505 <tr class="alt-color api apilevel-" > 1506 <td class="jd-typecol"><nobr> 1507 1508 1509 1510 1511 1512 void</nobr> 1513 </td> 1514 <td class="jd-linkcol" width="100%"><nobr> 1515 <span class="sympad">resolveLayoutDirection</span>(int arg0)</nobr> 1516 1517 </td></tr> 1518 1519 1520 1521 <tr class=" api apilevel-" > 1522 <td class="jd-typecol"><nobr> 1523 1524 1525 1526 1527 1528 void</nobr> 1529 </td> 1530 <td class="jd-linkcol" width="100%"><nobr> 1531 <span class="sympad">setLayoutDirection</span>(int arg0)</nobr> 1532 1533 </td></tr> 1534 1535 1536 1537 <tr class="alt-color api apilevel-" > 1538 <td class="jd-typecol"><nobr> 1539 1540 1541 1542 1543 1544 void</nobr> 1545 </td> 1546 <td class="jd-linkcol" width="100%"><nobr> 1547 <span class="sympad">setMarginEnd</span>(int arg0)</nobr> 1548 1549 </td></tr> 1550 1551 1552 1553 <tr class=" api apilevel-" > 1554 <td class="jd-typecol"><nobr> 1555 1556 1557 1558 1559 1560 void</nobr> 1561 </td> 1562 <td class="jd-linkcol" width="100%"><nobr> 1563 <span class="sympad">setMarginStart</span>(int arg0)</nobr> 1564 1565 </td></tr> 1566 1567 1568 1569 <tr class="alt-color api apilevel-" > 1570 <td class="jd-typecol"><nobr> 1571 1572 1573 1574 1575 1576 void</nobr> 1577 </td> 1578 <td class="jd-linkcol" width="100%"><nobr> 1579 <span class="sympad">setMargins</span>(int arg0, int arg1, int arg2, int arg3)</nobr> 1580 1581 </td></tr> 1582 1583 1584</table> 1585 </div> 1586</div> 1587</td></tr> 1588 1589 1590 1591<tr class="api apilevel-" > 1592<td colspan="12"> 1593 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 1594 ><img id="inherited-methods-android.view.ViewGroup.LayoutParams-trigger" 1595 src="../../../../../assets/images/triangle-closed.png" 1596 class="jd-expando-trigger-img" /></a> 1597From class 1598 1599 android.view.ViewGroup.LayoutParams 1600 1601<div id="inherited-methods-android.view.ViewGroup.LayoutParams"> 1602 <div id="inherited-methods-android.view.ViewGroup.LayoutParams-list" 1603 class="jd-inheritedlinks"> 1604 </div> 1605 <div id="inherited-methods-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 1606 <table class="jd-sumtable-expando"> 1607 1608 1609 1610 1611 <tr class="alt-color api apilevel-" > 1612 <td class="jd-typecol"><nobr> 1613 1614 1615 1616 1617 1618 void</nobr> 1619 </td> 1620 <td class="jd-linkcol" width="100%"><nobr> 1621 <span class="sympad">resolveLayoutDirection</span>(int arg0)</nobr> 1622 1623 </td></tr> 1624 1625 1626 1627 <tr class=" api apilevel-" > 1628 <td class="jd-typecol"><nobr> 1629 1630 1631 1632 1633 1634 void</nobr> 1635 </td> 1636 <td class="jd-linkcol" width="100%"><nobr> 1637 <span class="sympad">setBaseAttributes</span>(TypedArray arg0, int arg1, int arg2)</nobr> 1638 1639 </td></tr> 1640 1641 1642</table> 1643 </div> 1644</div> 1645</td></tr> 1646 1647 1648 1649<tr class="api apilevel-" > 1650<td colspan="12"> 1651 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 1652 ><img id="inherited-methods-java.lang.Object-trigger" 1653 src="../../../../../assets/images/triangle-closed.png" 1654 class="jd-expando-trigger-img" /></a> 1655From class 1656 1657 java.lang.Object 1658 1659<div id="inherited-methods-java.lang.Object"> 1660 <div id="inherited-methods-java.lang.Object-list" 1661 class="jd-inheritedlinks"> 1662 </div> 1663 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 1664 <table class="jd-sumtable-expando"> 1665 1666 1667 1668 1669 <tr class="alt-color api apilevel-" > 1670 <td class="jd-typecol"><nobr> 1671 1672 1673 1674 1675 1676 Object</nobr> 1677 </td> 1678 <td class="jd-linkcol" width="100%"><nobr> 1679 <span class="sympad">clone</span>()</nobr> 1680 1681 </td></tr> 1682 1683 1684 1685 <tr class=" api apilevel-" > 1686 <td class="jd-typecol"><nobr> 1687 1688 1689 1690 1691 1692 boolean</nobr> 1693 </td> 1694 <td class="jd-linkcol" width="100%"><nobr> 1695 <span class="sympad">equals</span>(Object arg0)</nobr> 1696 1697 </td></tr> 1698 1699 1700 1701 <tr class="alt-color api apilevel-" > 1702 <td class="jd-typecol"><nobr> 1703 1704 1705 1706 1707 1708 void</nobr> 1709 </td> 1710 <td class="jd-linkcol" width="100%"><nobr> 1711 <span class="sympad">finalize</span>()</nobr> 1712 1713 </td></tr> 1714 1715 1716 1717 <tr class=" api apilevel-" > 1718 <td class="jd-typecol"><nobr> 1719 1720 1721 final 1722 1723 1724 Class<?></nobr> 1725 </td> 1726 <td class="jd-linkcol" width="100%"><nobr> 1727 <span class="sympad">getClass</span>()</nobr> 1728 1729 </td></tr> 1730 1731 1732 1733 <tr class="alt-color api apilevel-" > 1734 <td class="jd-typecol"><nobr> 1735 1736 1737 1738 1739 1740 int</nobr> 1741 </td> 1742 <td class="jd-linkcol" width="100%"><nobr> 1743 <span class="sympad">hashCode</span>()</nobr> 1744 1745 </td></tr> 1746 1747 1748 1749 <tr class=" api apilevel-" > 1750 <td class="jd-typecol"><nobr> 1751 1752 1753 final 1754 1755 1756 void</nobr> 1757 </td> 1758 <td class="jd-linkcol" width="100%"><nobr> 1759 <span class="sympad">notify</span>()</nobr> 1760 1761 </td></tr> 1762 1763 1764 1765 <tr class="alt-color api apilevel-" > 1766 <td class="jd-typecol"><nobr> 1767 1768 1769 final 1770 1771 1772 void</nobr> 1773 </td> 1774 <td class="jd-linkcol" width="100%"><nobr> 1775 <span class="sympad">notifyAll</span>()</nobr> 1776 1777 </td></tr> 1778 1779 1780 1781 <tr class=" api apilevel-" > 1782 <td class="jd-typecol"><nobr> 1783 1784 1785 1786 1787 1788 String</nobr> 1789 </td> 1790 <td class="jd-linkcol" width="100%"><nobr> 1791 <span class="sympad">toString</span>()</nobr> 1792 1793 </td></tr> 1794 1795 1796 1797 <tr class="alt-color api apilevel-" > 1798 <td class="jd-typecol"><nobr> 1799 1800 1801 final 1802 1803 1804 void</nobr> 1805 </td> 1806 <td class="jd-linkcol" width="100%"><nobr> 1807 <span class="sympad">wait</span>()</nobr> 1808 1809 </td></tr> 1810 1811 1812 1813 <tr class=" api apilevel-" > 1814 <td class="jd-typecol"><nobr> 1815 1816 1817 final 1818 1819 1820 void</nobr> 1821 </td> 1822 <td class="jd-linkcol" width="100%"><nobr> 1823 <span class="sympad">wait</span>(long arg0, int arg1)</nobr> 1824 1825 </td></tr> 1826 1827 1828 1829 <tr class="alt-color api apilevel-" > 1830 <td class="jd-typecol"><nobr> 1831 1832 1833 final 1834 1835 1836 void</nobr> 1837 </td> 1838 <td class="jd-linkcol" width="100%"><nobr> 1839 <span class="sympad">wait</span>(long arg0)</nobr> 1840 1841 </td></tr> 1842 1843 1844</table> 1845 </div> 1846</div> 1847</td></tr> 1848 1849 1850</table> 1851 1852 1853</div><!-- jd-descr (summary) --> 1854 1855<!-- Details --> 1856 1857 1858 1859 1860 1861 1862 1863 1864<!-- XML Attributes --> 1865 1866 1867<!-- Enum Values --> 1868 1869 1870<!-- Constants --> 1871 1872 1873<!-- ========= ENUM CONSTANTS DETAIL ======== --> 1874<h2>Constants</h2> 1875 1876 1877 1878 1879<A NAME="BOX_ALL"></A> 1880 1881<div class="jd-details api apilevel-"> 1882 <h4 class="jd-details-title"> 1883 <span class="normal"> 1884 public 1885 static 1886 final 1887 int 1888 </span> 1889 BOX_ALL 1890 </h4> 1891 <div class="api-level"> 1892 1893 1894 1895 1896 </div> 1897 <div class="jd-details-descr"> 1898 1899 1900 1901 1902 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1903 1904 1905 <div class="jd-tagdata"> 1906 <span class="jd-tagtitle">Constant Value: </span> 1907 <span> 1908 1909 15 1910 (0x0000000f) 1911 1912 </span> 1913 </div> 1914 1915 </div> 1916</div> 1917 1918 1919 1920<A NAME="BOX_BOTTOM"></A> 1921 1922<div class="jd-details api apilevel-"> 1923 <h4 class="jd-details-title"> 1924 <span class="normal"> 1925 public 1926 static 1927 final 1928 int 1929 </span> 1930 BOX_BOTTOM 1931 </h4> 1932 <div class="api-level"> 1933 1934 1935 1936 1937 </div> 1938 <div class="jd-details-descr"> 1939 1940 1941 1942 1943 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1944 1945 1946 <div class="jd-tagdata"> 1947 <span class="jd-tagtitle">Constant Value: </span> 1948 <span> 1949 1950 8 1951 (0x00000008) 1952 1953 </span> 1954 </div> 1955 1956 </div> 1957</div> 1958 1959 1960 1961<A NAME="BOX_LEFT"></A> 1962 1963<div class="jd-details api apilevel-"> 1964 <h4 class="jd-details-title"> 1965 <span class="normal"> 1966 public 1967 static 1968 final 1969 int 1970 </span> 1971 BOX_LEFT 1972 </h4> 1973 <div class="api-level"> 1974 1975 1976 1977 1978 </div> 1979 <div class="jd-details-descr"> 1980 1981 1982 1983 1984 <div class="jd-tagdata jd-tagdescr"><p></p></div> 1985 1986 1987 <div class="jd-tagdata"> 1988 <span class="jd-tagtitle">Constant Value: </span> 1989 <span> 1990 1991 1 1992 (0x00000001) 1993 1994 </span> 1995 </div> 1996 1997 </div> 1998</div> 1999 2000 2001 2002<A NAME="BOX_NONE"></A> 2003 2004<div class="jd-details api apilevel-"> 2005 <h4 class="jd-details-title"> 2006 <span class="normal"> 2007 public 2008 static 2009 final 2010 int 2011 </span> 2012 BOX_NONE 2013 </h4> 2014 <div class="api-level"> 2015 2016 2017 2018 2019 </div> 2020 <div class="jd-details-descr"> 2021 2022 2023 2024 2025 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2026 2027 2028 <div class="jd-tagdata"> 2029 <span class="jd-tagtitle">Constant Value: </span> 2030 <span> 2031 2032 0 2033 (0x00000000) 2034 2035 </span> 2036 </div> 2037 2038 </div> 2039</div> 2040 2041 2042 2043<A NAME="BOX_RIGHT"></A> 2044 2045<div class="jd-details api apilevel-"> 2046 <h4 class="jd-details-title"> 2047 <span class="normal"> 2048 public 2049 static 2050 final 2051 int 2052 </span> 2053 BOX_RIGHT 2054 </h4> 2055 <div class="api-level"> 2056 2057 2058 2059 2060 </div> 2061 <div class="jd-details-descr"> 2062 2063 2064 2065 2066 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2067 2068 2069 <div class="jd-tagdata"> 2070 <span class="jd-tagtitle">Constant Value: </span> 2071 <span> 2072 2073 4 2074 (0x00000004) 2075 2076 </span> 2077 </div> 2078 2079 </div> 2080</div> 2081 2082 2083 2084<A NAME="BOX_TOP"></A> 2085 2086<div class="jd-details api apilevel-"> 2087 <h4 class="jd-details-title"> 2088 <span class="normal"> 2089 public 2090 static 2091 final 2092 int 2093 </span> 2094 BOX_TOP 2095 </h4> 2096 <div class="api-level"> 2097 2098 2099 2100 2101 </div> 2102 <div class="jd-details-descr"> 2103 2104 2105 2106 2107 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2108 2109 2110 <div class="jd-tagdata"> 2111 <span class="jd-tagtitle">Constant Value: </span> 2112 <span> 2113 2114 2 2115 (0x00000002) 2116 2117 </span> 2118 </div> 2119 2120 </div> 2121</div> 2122 2123 2124 2125 2126<!-- Fields --> 2127 2128 2129<!-- ========= FIELD DETAIL ======== --> 2130<h2>Fields</h2> 2131 2132 2133 2134 2135<A NAME="boxedEdges"></A> 2136 2137<div class="jd-details api apilevel-"> 2138 <h4 class="jd-details-title"> 2139 <span class="normal"> 2140 public 2141 2142 2143 int 2144 </span> 2145 boxedEdges 2146 </h4> 2147 <div class="api-level"> 2148 2149 2150 2151 2152 </div> 2153 <div class="jd-details-descr"> 2154 2155 2156 2157 2158 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2159 2160 2161 </div> 2162</div> 2163 2164 2165 2166 2167<!-- Public ctors --> 2168 2169 2170<!-- ========= CONSTRUCTOR DETAIL ======== --> 2171<h2>Public Constructors</h2> 2172 2173 2174 2175<A NAME="BoxInsetLayout.LayoutParams(android.content.Context, android.util.AttributeSet)"></A> 2176 2177<div class="jd-details api apilevel-"> 2178 <h4 class="jd-details-title"> 2179 <span class="normal"> 2180 public 2181 2182 2183 2184 2185 2186 </span> 2187 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2188 <span class="normal">(Context context, AttributeSet attrs)</span> 2189 </h4> 2190 <div class="api-level"> 2191 <div></div> 2192 2193 2194 2195 </div> 2196 <div class="jd-details-descr"> 2197 2198 2199 2200 2201 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2202 2203 </div> 2204</div> 2205 2206 2207<A NAME="BoxInsetLayout.LayoutParams(int, int)"></A> 2208 2209<div class="jd-details api apilevel-"> 2210 <h4 class="jd-details-title"> 2211 <span class="normal"> 2212 public 2213 2214 2215 2216 2217 2218 </span> 2219 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2220 <span class="normal">(int width, int height)</span> 2221 </h4> 2222 <div class="api-level"> 2223 <div></div> 2224 2225 2226 2227 </div> 2228 <div class="jd-details-descr"> 2229 2230 2231 2232 2233 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2234 2235 </div> 2236</div> 2237 2238 2239<A NAME="BoxInsetLayout.LayoutParams(int, int, int)"></A> 2240 2241<div class="jd-details api apilevel-"> 2242 <h4 class="jd-details-title"> 2243 <span class="normal"> 2244 public 2245 2246 2247 2248 2249 2250 </span> 2251 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2252 <span class="normal">(int width, int height, int gravity)</span> 2253 </h4> 2254 <div class="api-level"> 2255 <div></div> 2256 2257 2258 2259 </div> 2260 <div class="jd-details-descr"> 2261 2262 2263 2264 2265 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2266 2267 </div> 2268</div> 2269 2270 2271<A NAME="BoxInsetLayout.LayoutParams(int, int, int, int)"></A> 2272 2273<div class="jd-details api apilevel-"> 2274 <h4 class="jd-details-title"> 2275 <span class="normal"> 2276 public 2277 2278 2279 2280 2281 2282 </span> 2283 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2284 <span class="normal">(int width, int height, int gravity, int boxed)</span> 2285 </h4> 2286 <div class="api-level"> 2287 <div></div> 2288 2289 2290 2291 </div> 2292 <div class="jd-details-descr"> 2293 2294 2295 2296 2297 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2298 2299 </div> 2300</div> 2301 2302 2303<A NAME="BoxInsetLayout.LayoutParams(android.view.ViewGroup.LayoutParams)"></A> 2304 2305<div class="jd-details api apilevel-"> 2306 <h4 class="jd-details-title"> 2307 <span class="normal"> 2308 public 2309 2310 2311 2312 2313 2314 </span> 2315 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2316 <span class="normal">(ViewGroup.LayoutParams source)</span> 2317 </h4> 2318 <div class="api-level"> 2319 <div></div> 2320 2321 2322 2323 </div> 2324 <div class="jd-details-descr"> 2325 2326 2327 2328 2329 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2330 2331 </div> 2332</div> 2333 2334 2335<A NAME="BoxInsetLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams)"></A> 2336 2337<div class="jd-details api apilevel-"> 2338 <h4 class="jd-details-title"> 2339 <span class="normal"> 2340 public 2341 2342 2343 2344 2345 2346 </span> 2347 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2348 <span class="normal">(ViewGroup.MarginLayoutParams source)</span> 2349 </h4> 2350 <div class="api-level"> 2351 <div></div> 2352 2353 2354 2355 </div> 2356 <div class="jd-details-descr"> 2357 2358 2359 2360 2361 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2362 2363 </div> 2364</div> 2365 2366 2367<A NAME="BoxInsetLayout.LayoutParams(android.widget.FrameLayout.LayoutParams)"></A> 2368 2369<div class="jd-details api apilevel-"> 2370 <h4 class="jd-details-title"> 2371 <span class="normal"> 2372 public 2373 2374 2375 2376 2377 2378 </span> 2379 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2380 <span class="normal">(FrameLayout.LayoutParams source)</span> 2381 </h4> 2382 <div class="api-level"> 2383 <div></div> 2384 2385 2386 2387 </div> 2388 <div class="jd-details-descr"> 2389 2390 2391 2392 2393 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2394 2395 </div> 2396</div> 2397 2398 2399<A NAME="BoxInsetLayout.LayoutParams(android.support.wearable.view.BoxInsetLayout.LayoutParams)"></A> 2400 2401<div class="jd-details api apilevel-"> 2402 <h4 class="jd-details-title"> 2403 <span class="normal"> 2404 public 2405 2406 2407 2408 2409 2410 </span> 2411 <span class="sympad">BoxInsetLayout.LayoutParams</span> 2412 <span class="normal">(<a href="../../../../../reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a> source)</span> 2413 </h4> 2414 <div class="api-level"> 2415 <div></div> 2416 2417 2418 2419 </div> 2420 <div class="jd-details-descr"> 2421 2422 2423 2424 2425 <div class="jd-tagdata jd-tagdescr"><p></p></div> 2426 2427 </div> 2428</div> 2429 2430 2431 2432 2433 2434<!-- ========= CONSTRUCTOR DETAIL ======== --> 2435<!-- Protected ctors --> 2436 2437 2438 2439<!-- ========= METHOD DETAIL ======== --> 2440<!-- Public methdos --> 2441 2442 2443 2444<!-- ========= METHOD DETAIL ======== --> 2445 2446 2447 2448<!-- ========= END OF CLASS DATA ========= --> 2449<A NAME="navbar_top"></A> 2450 2451<div id="footer" class="wrap" > 2452 2453 2454 <div id="copyright"> 2455 2456 Except as noted, this content is licensed under <a 2457 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 2458 For details and restrictions, see the <a href="../../../../../license.html"> 2459 Content License</a>. 2460 </div> 2461 <div id="build_info"> 2462 2463 Android Wearable Support r — 2464<script src="../../../../../timestamp.js" type="text/javascript"></script> 2465<script>document.write(BUILD_TIMESTAMP)</script> 2466 2467 </div> 2468 2469 2470 <div id="footerlinks"> 2471 2472 <p> 2473 <a href="../../../../../about/index.html">About Android</a> | 2474 <a href="../../../../../legal.html">Legal</a> | 2475 <a href="../../../../../support.html">Support</a> 2476 </p> 2477 </div> 2478 2479</div> <!-- end footer --> 2480</div> <!-- jd-content --> 2481 2482</div><!-- end doc-content --> 2483 2484</div> <!-- end body-content --> 2485 2486 2487 2488 2489 2490 2491</body> 2492</html> 2493