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/wearable/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>GridViewPager.LayoutParams</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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198<div class="sum-details-links"> 199 200Summary: 201 202 203 204 205 206 207 <a href="#inhconstants">Inherited Constants</a> 208 209 210 211 | <a href="#lfields">Fields</a> 212 213 214 215 | <a href="#inhfields">Inherited Fields</a> 216 217 218 219 | <a href="#pubctors">Ctors</a> 220 221 222 223 224 225 226 | <a href="#inhmethods">Inherited Methods</a> 227 228| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 229 230</div><!-- end sum-details-links --> 231</div><!-- end api-info-block --> 232 233<div class="api apilevel-" id="jd-content"> 234 235<!-- ======== START OF CLASS DATA ======== --> 236 237<h1 class="api-title">GridViewPager.LayoutParams</h1> 238<p> 239<code class="api-signature"> 240 public 241 static 242 243 244 class 245 GridViewPager.LayoutParams 246</code> 247<br> 248 249 250<code class="api-signature"> 251 252 253 254</code> 255 256<code class="api-signature"> 257 258 259 260</code> 261 262<code class="api-signature"> 263 264 extends ViewGroup.MarginLayoutParams 265 266 267 268</code> 269 270<code class="api-signature"> 271 272 273 274</code> 275 276</p><table class="jd-inheritance-table"> 277 278 279 <tr> 280 281 <td colspan="4" class="jd-inheritance-class-cell">java.lang.Object 282 </td> 283 </tr> 284 285 286 <tr> 287 288 <td class="jd-inheritance-space"> ↳</td> 289 290 <td colspan="3" class="jd-inheritance-class-cell">android.view.ViewGroup.LayoutParams 291 </td> 292 </tr> 293 294 295 <tr> 296 297 <td class="jd-inheritance-space"> </td> 298 299 <td class="jd-inheritance-space"> ↳</td> 300 301 <td colspan="2" class="jd-inheritance-class-cell">android.view.ViewGroup.MarginLayoutParams 302 </td> 303 </tr> 304 305 306 <tr> 307 308 <td class="jd-inheritance-space"> </td> 309 310 <td class="jd-inheritance-space"> </td> 311 312 <td class="jd-inheritance-space"> ↳</td> 313 314 <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.view.GridViewPager.LayoutParams 315 </td> 316 </tr> 317 318 319</table> 320 321 322 323 324<br><hr> 325 326 327 <p>Layout parameters that should be supplied for views added to a ViewPager. 328</p> 329 330 331 332 333 334 335 336<h2 class="api-section">Summary</h2> 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353<!-- =========== ENUM CONSTANT SUMMARY =========== --> 354<table id="inhconstants" class="responsive constants inhtable"> 355<tr><th><h3>Inherited constants</h3></th></tr> 356 357 358 <tr class="api apilevel-" > 359 <td> 360 361 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.view.ViewGroup.MarginLayoutParams" class="jd-expando-trigger closed" 362 ><img height="34" id="inherited-constants-android.view.ViewGroup.MarginLayoutParams-trigger" 363 src="/assets/images/styles/disclosure_down.png" 364 class="jd-expando-trigger-img" /></a>From 365 class 366 <code> 367 android.view.ViewGroup.MarginLayoutParams 368 </code> 369 <div id="inherited-constants-android.view.ViewGroup.MarginLayoutParams"> 370 <div id="inherited-constants-android.view.ViewGroup.MarginLayoutParams-list" 371 class="jd-inheritedlinks"> 372 </div> 373 <div id="inherited-constants-android.view.ViewGroup.MarginLayoutParams-summary" style="display: none;"> 374 <table class="jd-sumtable-expando responsive"> 375 376 377 378 <tr class="api apilevel-" > 379 <td><code>int</code></td> 380 <td width="100%"> 381 <code>DEFAULT_MARGIN_RELATIVE</code> 382 <p> 383 384 385</p> 386 </td> 387 </tr> 388 389 390</table> 391 </div> 392 </div> 393 </td></tr> 394 395 396 397 <tr class="api apilevel-" > 398 <td> 399 400 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 401 ><img height="34" id="inherited-constants-android.view.ViewGroup.LayoutParams-trigger" 402 src="/assets/images/styles/disclosure_down.png" 403 class="jd-expando-trigger-img" /></a>From 404 class 405 <code> 406 android.view.ViewGroup.LayoutParams 407 </code> 408 <div id="inherited-constants-android.view.ViewGroup.LayoutParams"> 409 <div id="inherited-constants-android.view.ViewGroup.LayoutParams-list" 410 class="jd-inheritedlinks"> 411 </div> 412 <div id="inherited-constants-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 413 <table class="jd-sumtable-expando responsive"> 414 415 416 417 <tr class="api apilevel-" > 418 <td><code>int</code></td> 419 <td width="100%"> 420 <code>FILL_PARENT</code> 421 <p> 422 423 424</p> 425 </td> 426 </tr> 427 428 429 <tr class="api apilevel-" > 430 <td><code>int</code></td> 431 <td width="100%"> 432 <code>MATCH_PARENT</code> 433 <p> 434 435 436</p> 437 </td> 438 </tr> 439 440 441 <tr class="api apilevel-" > 442 <td><code>int</code></td> 443 <td width="100%"> 444 <code>WRAP_CONTENT</code> 445 <p> 446 447 448</p> 449 </td> 450 </tr> 451 452 453</table> 454 </div> 455 </div> 456 </td></tr> 457 458 459 460 461</table> 462 463 464 465 466<!-- =========== FIELD SUMMARY =========== --> 467<table id="lfields" class="responsive properties"> 468<tr><th colspan="2"><h3>Fields</h3></th></tr> 469 470 471 472 <tr class="api apilevel-" > 473 <td><code> 474 public 475 476 477 int</code></td> 478 <td width="100%"> 479 <code><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html#gravity">gravity</a></code> 480 <p>Where to position the view page within the overall GridViewPager container; constants are 481 defined in <code><a href="/reference/android/view/Gravity.html">Gravity</a></code>. 482 483 484</p> 485 </td> 486 </tr> 487 488 489 <tr class="api apilevel-" > 490 <td><code> 491 public 492 493 494 boolean</code></td> 495 <td width="100%"> 496 <code><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html#needsMeasure">needsMeasure</a></code> 497 <p> 498 499 500</p> 501 </td> 502 </tr> 503 504 505 506</table> 507 508 509 510 511 512<!-- =========== FIELD SUMMARY =========== --> 513<table id="inhfields" class="properties inhtable"> 514<tr><th><h3>Inherited fields</h3></th></tr> 515 516 517 <tr class="api apilevel-" > 518 <td> 519 520 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-android.view.ViewGroup.MarginLayoutParams" class="jd-expando-trigger closed" 521 ><img height="34" id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-trigger" 522 src="/assets/images/styles/disclosure_down.png" 523 class="jd-expando-trigger-img" /></a>From 524 class 525 <code> 526 android.view.ViewGroup.MarginLayoutParams 527 </code> 528 <div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams"> 529 <div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-list" 530 class="jd-inheritedlinks"> 531 </div> 532 <div id="inherited-fields-android.view.ViewGroup.MarginLayoutParams-summary" style="display: none;"> 533 <table class="jd-sumtable-expando responsive"> 534 535 536 537 <tr class="api apilevel-" > 538 <td><code> 539 public 540 541 542 int</code></td> 543 <td width="100%"> 544 <code>bottomMargin</code> 545 <p> 546 547 548</p> 549 </td> 550 </tr> 551 552 553 <tr class="api apilevel-" > 554 <td><code> 555 public 556 557 558 int</code></td> 559 <td width="100%"> 560 <code>leftMargin</code> 561 <p> 562 563 564</p> 565 </td> 566 </tr> 567 568 569 <tr class="api apilevel-" > 570 <td><code> 571 public 572 573 574 int</code></td> 575 <td width="100%"> 576 <code>rightMargin</code> 577 <p> 578 579 580</p> 581 </td> 582 </tr> 583 584 585 <tr class="api apilevel-" > 586 <td><code> 587 public 588 589 590 int</code></td> 591 <td width="100%"> 592 <code>topMargin</code> 593 <p> 594 595 596</p> 597 </td> 598 </tr> 599 600 601</table> 602 </div> 603 </div> 604 </td></tr> 605 606 607 608 <tr class="api apilevel-" > 609 <td> 610 611 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-fields-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 612 ><img height="34" id="inherited-fields-android.view.ViewGroup.LayoutParams-trigger" 613 src="/assets/images/styles/disclosure_down.png" 614 class="jd-expando-trigger-img" /></a>From 615 class 616 <code> 617 android.view.ViewGroup.LayoutParams 618 </code> 619 <div id="inherited-fields-android.view.ViewGroup.LayoutParams"> 620 <div id="inherited-fields-android.view.ViewGroup.LayoutParams-list" 621 class="jd-inheritedlinks"> 622 </div> 623 <div id="inherited-fields-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 624 <table class="jd-sumtable-expando responsive"> 625 626 627 628 <tr class="api apilevel-" > 629 <td><code> 630 public 631 632 633 int</code></td> 634 <td width="100%"> 635 <code>height</code> 636 <p> 637 638 639</p> 640 </td> 641 </tr> 642 643 644 <tr class="api apilevel-" > 645 <td><code> 646 public 647 648 649 LayoutAnimationController.AnimationParameters</code></td> 650 <td width="100%"> 651 <code>layoutAnimationParameters</code> 652 <p> 653 654 655</p> 656 </td> 657 </tr> 658 659 660 <tr class="api apilevel-" > 661 <td><code> 662 public 663 664 665 int</code></td> 666 <td width="100%"> 667 <code>width</code> 668 <p> 669 670 671</p> 672 </td> 673 </tr> 674 675 676</table> 677 </div> 678 </div> 679 </td></tr> 680 681 682 683 684</table> 685 686 687 688 689<!-- ======== CONSTRUCTOR SUMMARY ======== --> 690<table id="pubctors" class="responsive constructors"> 691<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 692 693 694 695 696 <tr class="api apilevel-" > 697 698 699 <td width="100%"> 700 <code> 701 <a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html#GridViewPager.LayoutParams()">GridViewPager.LayoutParams</a>() 702 </code> 703 704 </td> 705 </tr> 706 707 708 709 <tr class="api apilevel-" > 710 711 712 <td width="100%"> 713 <code> 714 <a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html#GridViewPager.LayoutParams(android.content.Context, android.util.AttributeSet)">GridViewPager.LayoutParams</a>(Context context, AttributeSet attrs) 715 </code> 716 717 </td> 718 </tr> 719 720 721 722</table> 723 724 725 726 727 728 729 730 731 732 733 734<!-- ========== METHOD SUMMARY =========== --> 735<table id="inhmethods" class="methods inhtable"> 736<tr><th><h3>Inherited methods</h3></th></tr> 737 738 739<tr class="api apilevel-" > 740<td colspan="2"> 741 742 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.view.ViewGroup.MarginLayoutParams" class="jd-expando-trigger closed" 743 ><img height="34" id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-trigger" 744 src="/assets/images/styles/disclosure_down.png" 745 class="jd-expando-trigger-img" /></a>From 746class 747<code> 748 749 android.view.ViewGroup.MarginLayoutParams 750 751</code> 752<div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams"> 753 <div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-list" 754 class="jd-inheritedlinks"> 755 </div> 756 <div id="inherited-methods-android.view.ViewGroup.MarginLayoutParams-summary" style="display: none;"> 757 <table class="jd-sumtable-expando responsive"> 758 759 760 761 762 <tr class="api apilevel-" > 763 764 765 <td><code> 766 767 768 769 final 770 771 void</code> 772 </td> 773 774 <td width="100%"> 775 <code> 776 copyMarginsFrom(ViewGroup.MarginLayoutParams arg0) 777 </code> 778 779 </td> 780 </tr> 781 782 783 784 <tr class="api apilevel-" > 785 786 787 <td><code> 788 789 790 791 792 793 void</code> 794 </td> 795 796 <td width="100%"> 797 <code> 798 encodeProperties(ViewHierarchyEncoder arg0) 799 </code> 800 801 </td> 802 </tr> 803 804 805 806 <tr class="api apilevel-" > 807 808 809 <td><code> 810 811 812 813 814 815 int</code> 816 </td> 817 818 <td width="100%"> 819 <code> 820 getLayoutDirection() 821 </code> 822 823 </td> 824 </tr> 825 826 827 828 <tr class="api apilevel-" > 829 830 831 <td><code> 832 833 834 835 836 837 int</code> 838 </td> 839 840 <td width="100%"> 841 <code> 842 getMarginEnd() 843 </code> 844 845 </td> 846 </tr> 847 848 849 850 <tr class="api apilevel-" > 851 852 853 <td><code> 854 855 856 857 858 859 int</code> 860 </td> 861 862 <td width="100%"> 863 <code> 864 getMarginStart() 865 </code> 866 867 </td> 868 </tr> 869 870 871 872 <tr class="api apilevel-" > 873 874 875 <td><code> 876 877 878 879 880 881 boolean</code> 882 </td> 883 884 <td width="100%"> 885 <code> 886 isLayoutRtl() 887 </code> 888 889 </td> 890 </tr> 891 892 893 894 <tr class="api apilevel-" > 895 896 897 <td><code> 898 899 900 901 902 903 boolean</code> 904 </td> 905 906 <td width="100%"> 907 <code> 908 isMarginRelative() 909 </code> 910 911 </td> 912 </tr> 913 914 915 916 <tr class="api apilevel-" > 917 918 919 <td><code> 920 921 922 923 924 925 void</code> 926 </td> 927 928 <td width="100%"> 929 <code> 930 onDebugDraw(View arg0, Canvas arg1, Paint arg2) 931 </code> 932 933 </td> 934 </tr> 935 936 937 938 <tr class="api apilevel-" > 939 940 941 <td><code> 942 943 944 945 946 947 void</code> 948 </td> 949 950 <td width="100%"> 951 <code> 952 resolveLayoutDirection(int arg0) 953 </code> 954 955 </td> 956 </tr> 957 958 959 960 <tr class="api apilevel-" > 961 962 963 <td><code> 964 965 966 967 968 969 void</code> 970 </td> 971 972 <td width="100%"> 973 <code> 974 setLayoutDirection(int arg0) 975 </code> 976 977 </td> 978 </tr> 979 980 981 982 <tr class="api apilevel-" > 983 984 985 <td><code> 986 987 988 989 990 991 void</code> 992 </td> 993 994 <td width="100%"> 995 <code> 996 setMarginEnd(int arg0) 997 </code> 998 999 </td> 1000 </tr> 1001 1002 1003 1004 <tr class="api apilevel-" > 1005 1006 1007 <td><code> 1008 1009 1010 1011 1012 1013 void</code> 1014 </td> 1015 1016 <td width="100%"> 1017 <code> 1018 setMarginStart(int arg0) 1019 </code> 1020 1021 </td> 1022 </tr> 1023 1024 1025 1026 <tr class="api apilevel-" > 1027 1028 1029 <td><code> 1030 1031 1032 1033 1034 1035 void</code> 1036 </td> 1037 1038 <td width="100%"> 1039 <code> 1040 setMargins(int arg0, int arg1, int arg2, int arg3) 1041 </code> 1042 1043 </td> 1044 </tr> 1045 1046 1047 1048 <tr class="api apilevel-" > 1049 1050 1051 <td><code> 1052 1053 1054 1055 1056 1057 void</code> 1058 </td> 1059 1060 <td width="100%"> 1061 <code> 1062 setMarginsRelative(int arg0, int arg1, int arg2, int arg3) 1063 </code> 1064 1065 </td> 1066 </tr> 1067 1068 1069 1070 </table> 1071 </div> 1072</div> 1073</td></tr> 1074 1075 1076 1077<tr class="api apilevel-" > 1078<td colspan="2"> 1079 1080 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.view.ViewGroup.LayoutParams" class="jd-expando-trigger closed" 1081 ><img height="34" id="inherited-methods-android.view.ViewGroup.LayoutParams-trigger" 1082 src="/assets/images/styles/disclosure_down.png" 1083 class="jd-expando-trigger-img" /></a>From 1084class 1085<code> 1086 1087 android.view.ViewGroup.LayoutParams 1088 1089</code> 1090<div id="inherited-methods-android.view.ViewGroup.LayoutParams"> 1091 <div id="inherited-methods-android.view.ViewGroup.LayoutParams-list" 1092 class="jd-inheritedlinks"> 1093 </div> 1094 <div id="inherited-methods-android.view.ViewGroup.LayoutParams-summary" style="display: none;"> 1095 <table class="jd-sumtable-expando responsive"> 1096 1097 1098 1099 1100 <tr class="api apilevel-" > 1101 1102 1103 <td><code> 1104 1105 1106 1107 1108 1109 String</code> 1110 </td> 1111 1112 <td width="100%"> 1113 <code> 1114 debug(String arg0) 1115 </code> 1116 1117 </td> 1118 </tr> 1119 1120 1121 1122 <tr class="api apilevel-" > 1123 1124 1125 <td><code> 1126 1127 1128 1129 1130 1131 void</code> 1132 </td> 1133 1134 <td width="100%"> 1135 <code> 1136 encodeProperties(ViewHierarchyEncoder arg0) 1137 </code> 1138 1139 </td> 1140 </tr> 1141 1142 1143 1144 <tr class="api apilevel-" > 1145 1146 1147 <td><code> 1148 1149 1150 1151 1152 1153 void</code> 1154 </td> 1155 1156 <td width="100%"> 1157 <code> 1158 onDebugDraw(View arg0, Canvas arg1, Paint arg2) 1159 </code> 1160 1161 </td> 1162 </tr> 1163 1164 1165 1166 <tr class="api apilevel-" > 1167 1168 1169 <td><code> 1170 1171 1172 1173 1174 1175 void</code> 1176 </td> 1177 1178 <td width="100%"> 1179 <code> 1180 resolveLayoutDirection(int arg0) 1181 </code> 1182 1183 </td> 1184 </tr> 1185 1186 1187 1188 <tr class="api apilevel-" > 1189 1190 1191 <td><code> 1192 1193 1194 1195 1196 1197 void</code> 1198 </td> 1199 1200 <td width="100%"> 1201 <code> 1202 setBaseAttributes(TypedArray arg0, int arg1, int arg2) 1203 </code> 1204 1205 </td> 1206 </tr> 1207 1208 1209 1210 <tr class="api apilevel-" > 1211 1212 1213 <td><code> 1214 1215 1216 static 1217 1218 1219 String</code> 1220 </td> 1221 1222 <td width="100%"> 1223 <code> 1224 sizeToString(int arg0) 1225 </code> 1226 1227 </td> 1228 </tr> 1229 1230 1231 1232 </table> 1233 </div> 1234</div> 1235</td></tr> 1236 1237 1238 1239<tr class="api apilevel-" > 1240<td colspan="2"> 1241 1242 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 1243 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 1244 src="/assets/images/styles/disclosure_down.png" 1245 class="jd-expando-trigger-img" /></a>From 1246class 1247<code> 1248 1249 java.lang.Object 1250 1251</code> 1252<div id="inherited-methods-java.lang.Object"> 1253 <div id="inherited-methods-java.lang.Object-list" 1254 class="jd-inheritedlinks"> 1255 </div> 1256 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 1257 <table class="jd-sumtable-expando responsive"> 1258 1259 1260 1261 1262 <tr class="api apilevel-" > 1263 1264 1265 <td><code> 1266 1267 1268 1269 1270 1271 Object</code> 1272 </td> 1273 1274 <td width="100%"> 1275 <code> 1276 clone() 1277 </code> 1278 1279 </td> 1280 </tr> 1281 1282 1283 1284 <tr class="api apilevel-" > 1285 1286 1287 <td><code> 1288 1289 1290 1291 1292 1293 boolean</code> 1294 </td> 1295 1296 <td width="100%"> 1297 <code> 1298 equals(Object arg0) 1299 </code> 1300 1301 </td> 1302 </tr> 1303 1304 1305 1306 <tr class="api apilevel-" > 1307 1308 1309 <td><code> 1310 1311 1312 1313 1314 1315 void</code> 1316 </td> 1317 1318 <td width="100%"> 1319 <code> 1320 finalize() 1321 </code> 1322 1323 </td> 1324 </tr> 1325 1326 1327 1328 <tr class="api apilevel-" > 1329 1330 1331 <td><code> 1332 1333 1334 1335 final 1336 1337 Class<?></code> 1338 </td> 1339 1340 <td width="100%"> 1341 <code> 1342 getClass() 1343 </code> 1344 1345 </td> 1346 </tr> 1347 1348 1349 1350 <tr class="api apilevel-" > 1351 1352 1353 <td><code> 1354 1355 1356 1357 1358 1359 int</code> 1360 </td> 1361 1362 <td width="100%"> 1363 <code> 1364 hashCode() 1365 </code> 1366 1367 </td> 1368 </tr> 1369 1370 1371 1372 <tr class="api apilevel-" > 1373 1374 1375 <td><code> 1376 1377 1378 1379 final 1380 1381 void</code> 1382 </td> 1383 1384 <td width="100%"> 1385 <code> 1386 notify() 1387 </code> 1388 1389 </td> 1390 </tr> 1391 1392 1393 1394 <tr class="api apilevel-" > 1395 1396 1397 <td><code> 1398 1399 1400 1401 final 1402 1403 void</code> 1404 </td> 1405 1406 <td width="100%"> 1407 <code> 1408 notifyAll() 1409 </code> 1410 1411 </td> 1412 </tr> 1413 1414 1415 1416 <tr class="api apilevel-" > 1417 1418 1419 <td><code> 1420 1421 1422 1423 1424 1425 String</code> 1426 </td> 1427 1428 <td width="100%"> 1429 <code> 1430 toString() 1431 </code> 1432 1433 </td> 1434 </tr> 1435 1436 1437 1438 <tr class="api apilevel-" > 1439 1440 1441 <td><code> 1442 1443 1444 1445 final 1446 1447 void</code> 1448 </td> 1449 1450 <td width="100%"> 1451 <code> 1452 wait(long arg0, int arg1) 1453 </code> 1454 1455 </td> 1456 </tr> 1457 1458 1459 1460 <tr class="api apilevel-" > 1461 1462 1463 <td><code> 1464 1465 1466 1467 final 1468 1469 void</code> 1470 </td> 1471 1472 <td width="100%"> 1473 <code> 1474 wait(long arg0) 1475 </code> 1476 1477 </td> 1478 </tr> 1479 1480 1481 1482 <tr class="api apilevel-" > 1483 1484 1485 <td><code> 1486 1487 1488 1489 final 1490 1491 void</code> 1492 </td> 1493 1494 <td width="100%"> 1495 <code> 1496 wait() 1497 </code> 1498 1499 </td> 1500 </tr> 1501 1502 1503 1504 </table> 1505 </div> 1506</div> 1507</td></tr> 1508 1509 1510</table> 1511 1512 1513 1514<!-- XML Attributes --> 1515 1516 1517<!-- Enum Values --> 1518 1519 1520<!-- Constants --> 1521 1522 1523<!-- Fields --> 1524 1525 1526<!-- ========= FIELD DETAIL ======== --> 1527<h2 class="api-section">Fields</h2> 1528 1529 1530 1531 1532<A NAME="gravity"></A> 1533 1534<div class="api apilevel-"> 1535 <h3 class="api-name">gravity</h3> 1536 <div class="api-level"> 1537 1538 1539 1540 1541 </div> 1542<pre class="api-signature no-pretty-print"> 1543int gravity</pre> 1544 1545 1546 1547 1548 <p>Where to position the view page within the overall GridViewPager container; constants are 1549 defined in <code><a href="/reference/android/view/Gravity.html">Gravity</a></code>. 1550</p> 1551 1552 1553</div> 1554 1555 1556 1557<A NAME="needsMeasure"></A> 1558 1559<div class="api apilevel-"> 1560 <h3 class="api-name">needsMeasure</h3> 1561 <div class="api-level"> 1562 1563 1564 1565 1566 </div> 1567<pre class="api-signature no-pretty-print"> 1568boolean needsMeasure</pre> 1569 1570 1571 1572 1573 <p></p> 1574 1575 1576</div> 1577 1578 1579 1580 1581<!-- Public ctors --> 1582 1583 1584<!-- ========= CONSTRUCTOR DETAIL ======== --> 1585<h2 class="api-section">Public constructors</h2> 1586 1587 1588 1589<A NAME="GridViewPager.LayoutParams()"></A> 1590 1591<div class="api apilevel-"> 1592 <h3 class="api-name">GridViewPager.LayoutParams</h3> 1593 <div class="api-level"> 1594 <div></div> 1595 1596 1597 1598 </div> 1599<pre class="api-signature no-pretty-print"> 1600GridViewPager.LayoutParams ()</pre> 1601 1602 1603 1604 1605 <p></p> 1606 1607</div> 1608 1609 1610<A NAME="GridViewPager.LayoutParams(android.content.Context, android.util.AttributeSet)"></A> 1611 1612<div class="api apilevel-"> 1613 <h3 class="api-name">GridViewPager.LayoutParams</h3> 1614 <div class="api-level"> 1615 <div></div> 1616 1617 1618 1619 </div> 1620<pre class="api-signature no-pretty-print"> 1621GridViewPager.LayoutParams (Context context, 1622 AttributeSet attrs)</pre> 1623 1624 1625 1626 1627 <p></p> 1628 <table class="responsive"> 1629 <tr><th colspan=2>Parameters</th></tr> 1630 <tr> 1631 <td><code>context</code></td> 1632 <td width="100%"> 1633 <code>Context</code> 1634 <!-- no parameter comment --></td> 1635 </tr> 1636 <tr> 1637 <td><code>attrs</code></td> 1638 <td width="100%"> 1639 <code>AttributeSet</code> 1640 <!-- no parameter comment --></td> 1641 </tr> 1642 </table> 1643 1644</div> 1645 1646 1647 1648 1649 1650<!-- ========= CONSTRUCTOR DETAIL ======== --> 1651<!-- Protected ctors --> 1652 1653 1654 1655<!-- ========= METHOD DETAIL ======== --> 1656<!-- Public methdos --> 1657 1658 1659 1660<!-- ========= METHOD DETAIL ======== --> 1661 1662 1663 1664<!-- ========= END OF CLASS DATA ========= --> 1665 1666</div><!-- end jd-content --> 1667 1668 1669 1670<div class="data-reference-resources-wrapper"> 1671 1672 <ul data-reference-resources> 1673 1674 1675 <li><h2>Interfaces</h2> 1676 <ul> 1677 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html">ActionChooserView.ActionChooserListener</a></li> 1678 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></li> 1679 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></li> 1680 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></li> 1681 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></li> 1682 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></li> 1683 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></li> 1684 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></li> 1685 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></li> 1686 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html">WearableListView.OnCentralPositionChangedListener</a></li> 1687 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></li> 1688 </ul> 1689 </li> 1690 1691 <li><h2>Classes</h2> 1692 <ul> 1693 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></li> 1694 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionLabel.html">ActionLabel</a></li> 1695 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionPage.html">ActionPage</a></li> 1696 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></li> 1697 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></li> 1698 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></li> 1699 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFrame.html">CardFrame</a></li> 1700 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></li> 1701 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></li> 1702 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircularButton.html">CircularButton</a></li> 1703 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></li> 1704 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></li> 1705 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></li> 1706 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></li> 1707 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></li> 1708 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></li> 1709 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></li> 1710 <li class="selected api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></li> 1711 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ProgressSpinner.html">ProgressSpinner</a></li> 1712 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></li> 1713 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></li> 1714 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.html">WearableFrameLayout</a></li> 1715 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html">WearableFrameLayout.LayoutParams</a></li> 1716 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.html">WearableListView</a></li> 1717 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></li> 1718 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></li> 1719 </ul> 1720 </li> 1721 1722 1723 1724 </ul> 1725 1726</div> 1727 1728 1729 1730</body> 1731</html> 1732