-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gravity.xml
742 lines (742 loc) · 49 KB
/
Gravity.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
<Type Name="Gravity" FullName="Android.Views.Gravity">
<TypeSignature Language="C#" Value="public class Gravity : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Gravity extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Views.Gravity" />
<TypeSignature Language="F#" Value="type Gravity = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/view/Gravity", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/view/Gravity", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Standard constants and tools for placing an object within a potentially
larger container.</summary>
<remarks>
<para>Standard constants and tools for placing an object within a potentially
larger container.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity" title="Reference documentation">Java documentation for <code>android.view.Gravity</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Gravity ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>
</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Gravity (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Views.Gravity : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Gravity" Usage="new Android.Views.Gravity (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Apply">
<MemberSignature Language="C#" Value="public static void Apply (Android.Views.GravityFlags gravity, int w, int h, Android.Graphics.Rect? container, Android.Graphics.Rect? outRect);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Apply(valuetype Android.Views.GravityFlags gravity, int32 w, int32 h, class Android.Graphics.Rect container, class Android.Graphics.Rect outRect) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.Apply(Android.Views.GravityFlags,System.Int32,System.Int32,Android.Graphics.Rect,Android.Graphics.Rect)" />
<MemberSignature Language="F#" Value="static member Apply : Android.Views.GravityFlags * int * int * Android.Graphics.Rect * Android.Graphics.Rect -> unit" Usage="Android.Views.Gravity.Apply (gravity, w, h, container, outRect)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;Landroid/graphics/Rect;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;Landroid/graphics/Rect;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="w" Type="System.Int32" />
<Parameter Name="h" Type="System.Int32" />
<Parameter Name="container" Type="Android.Graphics.Rect" />
<Parameter Name="outRect" Type="Android.Graphics.Rect" />
</Parameters>
<Docs>
<param name="gravity">The desired placement of the object, as defined by the
constants in this class.</param>
<param name="w">The horizontal size of the object.</param>
<param name="h">The vertical size of the object.</param>
<param name="container">The frame of the containing space, in which the object
will be placed. Should be large enough to contain the
width and height of the object.</param>
<param name="outRect">Receives the computed frame of the object in its
container.</param>
<summary>Apply a gravity constant to an object.</summary>
<remarks>
<para>Apply a gravity constant to an object. This supposes that the layout direction is LTR.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#apply(int,%20int,%20int,%20android.graphics.Rect,%20android.graphics.Rect)" title="Reference documentation">Java documentation for <code>android.view.Gravity.apply(int, int, int, android.graphics.Rect, android.graphics.Rect)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 17" />
</Docs>
</Member>
<Member MemberName="Apply">
<MemberSignature Language="C#" Value="public static void Apply (Android.Views.GravityFlags gravity, int w, int h, Android.Graphics.Rect container, Android.Graphics.Rect outRect, int layoutDirection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Apply(valuetype Android.Views.GravityFlags gravity, int32 w, int32 h, class Android.Graphics.Rect container, class Android.Graphics.Rect outRect, int32 layoutDirection) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.Apply(Android.Views.GravityFlags,System.Int32,System.Int32,Android.Graphics.Rect,Android.Graphics.Rect,System.Int32)" />
<MemberSignature Language="F#" Value="static member Apply : Android.Views.GravityFlags * int * int * Android.Graphics.Rect * Android.Graphics.Rect * int -> unit" Usage="Android.Views.Gravity.Apply (gravity, w, h, container, outRect, layoutDirection)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;Landroid/graphics/Rect;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;Landroid/graphics/Rect;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="w" Type="System.Int32" />
<Parameter Name="h" Type="System.Int32" />
<Parameter Name="container" Type="Android.Graphics.Rect" />
<Parameter Name="outRect" Type="Android.Graphics.Rect" />
<Parameter Name="layoutDirection" Type="System.Int32" />
</Parameters>
<Docs>
<param name="gravity">The desired placement of the object, as defined by the
constants in this class.</param>
<param name="w">The horizontal size of the object.</param>
<param name="h">The vertical size of the object.</param>
<param name="container">The frame of the containing space, in which the object
will be placed. Should be large enough to contain the
width and height of the object.</param>
<param name="outRect">Receives the computed frame of the object in its
container.</param>
<param name="layoutDirection">The layout direction.</param>
<summary>Apply a gravity constant to an object and take care if layout direction is RTL or not.</summary>
<remarks>
<para>Apply a gravity constant to an object and take care if layout direction is RTL or not.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#apply(int,%20int,%20int,%20android.graphics.Rect,%20android.graphics.Rect,%20int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.apply(int, int, int, android.graphics.Rect, android.graphics.Rect, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 17" />
<altmember cref="F:Android.Views.View.LayoutDirectionLtr" />
<altmember cref="F:Android.Views.View.LayoutDirectionRtl" />
</Docs>
</Member>
<Member MemberName="Apply">
<MemberSignature Language="C#" Value="public static void Apply (Android.Views.GravityFlags gravity, int w, int h, Android.Graphics.Rect container, int xAdj, int yAdj, Android.Graphics.Rect outRect);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Apply(valuetype Android.Views.GravityFlags gravity, int32 w, int32 h, class Android.Graphics.Rect container, int32 xAdj, int32 yAdj, class Android.Graphics.Rect outRect) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.Apply(Android.Views.GravityFlags,System.Int32,System.Int32,Android.Graphics.Rect,System.Int32,System.Int32,Android.Graphics.Rect)" />
<MemberSignature Language="F#" Value="static member Apply : Android.Views.GravityFlags * int * int * Android.Graphics.Rect * int * int * Android.Graphics.Rect -> unit" Usage="Android.Views.Gravity.Apply (gravity, w, h, container, xAdj, yAdj, outRect)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;IILandroid/graphics/Rect;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;IILandroid/graphics/Rect;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="w" Type="System.Int32" />
<Parameter Name="h" Type="System.Int32" />
<Parameter Name="container" Type="Android.Graphics.Rect" />
<Parameter Name="xAdj" Type="System.Int32" />
<Parameter Name="yAdj" Type="System.Int32" />
<Parameter Name="outRect" Type="Android.Graphics.Rect" />
</Parameters>
<Docs>
<param name="gravity">The desired placement of the object, as defined by the
constants in this class.</param>
<param name="w">The horizontal size of the object.</param>
<param name="h">The vertical size of the object.</param>
<param name="container">The frame of the containing space, in which the object
will be placed. Should be large enough to contain the
width and height of the object.</param>
<param name="xAdj">Offset to apply to the X axis. If gravity is LEFT this
pushes it to the right; if gravity is RIGHT it pushes it to
the left; if gravity is CENTER_HORIZONTAL it pushes it to the
right or left; otherwise it is ignored.</param>
<param name="yAdj">Offset to apply to the Y axis. If gravity is TOP this pushes
it down; if gravity is BOTTOM it pushes it up; if gravity is
CENTER_VERTICAL it pushes it down or up; otherwise it is
ignored.</param>
<param name="outRect">Receives the computed frame of the object in its
container.</param>
<summary>Apply a gravity constant to an object.</summary>
<remarks>
<para>Apply a gravity constant to an object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#apply(int,%20int,%20int,%20android.graphics.Rect,%20int,%20int,%20android.graphics.Rect)" title="Reference documentation">Java documentation for <code>android.view.Gravity.apply(int, int, int, android.graphics.Rect, int, int, android.graphics.Rect)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Apply">
<MemberSignature Language="C#" Value="public static void Apply (Android.Views.GravityFlags gravity, int w, int h, Android.Graphics.Rect container, int xAdj, int yAdj, Android.Graphics.Rect outRect, int layoutDirection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Apply(valuetype Android.Views.GravityFlags gravity, int32 w, int32 h, class Android.Graphics.Rect container, int32 xAdj, int32 yAdj, class Android.Graphics.Rect outRect, int32 layoutDirection) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.Apply(Android.Views.GravityFlags,System.Int32,System.Int32,Android.Graphics.Rect,System.Int32,System.Int32,Android.Graphics.Rect,System.Int32)" />
<MemberSignature Language="F#" Value="static member Apply : Android.Views.GravityFlags * int * int * Android.Graphics.Rect * int * int * Android.Graphics.Rect * int -> unit" Usage="Android.Views.Gravity.Apply (gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;IILandroid/graphics/Rect;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("apply", "(IIILandroid/graphics/Rect;IILandroid/graphics/Rect;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="w" Type="System.Int32" />
<Parameter Name="h" Type="System.Int32" />
<Parameter Name="container" Type="Android.Graphics.Rect" />
<Parameter Name="xAdj" Type="System.Int32" />
<Parameter Name="yAdj" Type="System.Int32" />
<Parameter Name="outRect" Type="Android.Graphics.Rect" />
<Parameter Name="layoutDirection" Type="System.Int32" />
</Parameters>
<Docs>
<param name="gravity">The desired placement of the object, as defined by the
constants in this class.</param>
<param name="w">The horizontal size of the object.</param>
<param name="h">The vertical size of the object.</param>
<param name="container">The frame of the containing space, in which the object
will be placed. Should be large enough to contain the
width and height of the object.</param>
<param name="xAdj">Offset to apply to the X axis. If gravity is LEFT this
pushes it to the right; if gravity is RIGHT it pushes it to
the left; if gravity is CENTER_HORIZONTAL it pushes it to the
right or left; otherwise it is ignored.</param>
<param name="yAdj">Offset to apply to the Y axis. If gravity is TOP this pushes
it down; if gravity is BOTTOM it pushes it up; if gravity is
CENTER_VERTICAL it pushes it down or up; otherwise it is
ignored.</param>
<param name="outRect">Receives the computed frame of the object in its
container.</param>
<param name="layoutDirection">The layout direction.</param>
<summary>Apply a gravity constant to an object.</summary>
<remarks>
<para>Apply a gravity constant to an object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#apply(int,%20int,%20int,%20android.graphics.Rect,%20int,%20int,%20android.graphics.Rect,%20int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.apply(int, int, int, android.graphics.Rect, int, int, android.graphics.Rect, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 17" />
<altmember cref="F:Android.Views.View.LayoutDirectionLtr" />
<altmember cref="F:Android.Views.View.LayoutDirectionRtl" />
</Docs>
</Member>
<Member MemberName="ApplyDisplay">
<MemberSignature Language="C#" Value="public static void ApplyDisplay (Android.Views.GravityFlags gravity, Android.Graphics.Rect display, Android.Graphics.Rect inoutObj);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void ApplyDisplay(valuetype Android.Views.GravityFlags gravity, class Android.Graphics.Rect display, class Android.Graphics.Rect inoutObj) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.ApplyDisplay(Android.Views.GravityFlags,Android.Graphics.Rect,Android.Graphics.Rect)" />
<MemberSignature Language="F#" Value="static member ApplyDisplay : Android.Views.GravityFlags * Android.Graphics.Rect * Android.Graphics.Rect -> unit" Usage="Android.Views.Gravity.ApplyDisplay (gravity, display, inoutObj)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyDisplay", "(ILandroid/graphics/Rect;Landroid/graphics/Rect;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyDisplay", "(ILandroid/graphics/Rect;Landroid/graphics/Rect;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="display" Type="Android.Graphics.Rect" />
<Parameter Name="inoutObj" Type="Android.Graphics.Rect" />
</Parameters>
<Docs>
<param name="gravity">Gravity constants to modify the placement within the
display.</param>
<param name="display">The rectangle of the display in which the object is
being placed.</param>
<param name="inoutObj">Supplies the current object position; returns with it
modified if needed to fit in the display.</param>
<summary>Apply additional gravity behavior based on the overall "display" that an
object exists in.</summary>
<remarks>
<para>Apply additional gravity behavior based on the overall "display" that an
object exists in. This can be used after
<c>#apply(int, int, int, Rect, int, int, Rect)</c> to place the object
within a visible display. By default this moves or clips the object
to be visible in the display; the gravity flags
<c>#DISPLAY_CLIP_HORIZONTAL</c> and <c>#DISPLAY_CLIP_VERTICAL</c>
can be used to change this behavior.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#applyDisplay(int,%20android.graphics.Rect,%20android.graphics.Rect)" title="Reference documentation">Java documentation for <code>android.view.Gravity.applyDisplay(int, android.graphics.Rect, android.graphics.Rect)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName="ApplyDisplay">
<MemberSignature Language="C#" Value="public static void ApplyDisplay (Android.Views.GravityFlags gravity, Android.Graphics.Rect display, Android.Graphics.Rect inoutObj, int layoutDirection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void ApplyDisplay(valuetype Android.Views.GravityFlags gravity, class Android.Graphics.Rect display, class Android.Graphics.Rect inoutObj, int32 layoutDirection) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.ApplyDisplay(Android.Views.GravityFlags,Android.Graphics.Rect,Android.Graphics.Rect,System.Int32)" />
<MemberSignature Language="F#" Value="static member ApplyDisplay : Android.Views.GravityFlags * Android.Graphics.Rect * Android.Graphics.Rect * int -> unit" Usage="Android.Views.Gravity.ApplyDisplay (gravity, display, inoutObj, layoutDirection)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyDisplay", "(ILandroid/graphics/Rect;Landroid/graphics/Rect;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyDisplay", "(ILandroid/graphics/Rect;Landroid/graphics/Rect;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="display" Type="Android.Graphics.Rect" />
<Parameter Name="inoutObj" Type="Android.Graphics.Rect" />
<Parameter Name="layoutDirection" Type="System.Int32" />
</Parameters>
<Docs>
<param name="gravity">Gravity constants to modify the placement within the
display.</param>
<param name="display">The rectangle of the display in which the object is
being placed.</param>
<param name="inoutObj">Supplies the current object position; returns with it
modified if needed to fit in the display.</param>
<param name="layoutDirection">The layout direction.</param>
<summary>Apply additional gravity behavior based on the overall "display" that an
object exists in.</summary>
<remarks>
<para>Apply additional gravity behavior based on the overall "display" that an
object exists in. This can be used after
<c>#apply(int, int, int, Rect, int, int, Rect)</c> to place the object
within a visible display. By default this moves or clips the object
to be visible in the display; the gravity flags
<c>#DISPLAY_CLIP_HORIZONTAL</c> and <c>#DISPLAY_CLIP_VERTICAL</c>
can be used to change this behavior.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#applyDisplay(int,%20android.graphics.Rect,%20android.graphics.Rect,%20int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.applyDisplay(int, android.graphics.Rect, android.graphics.Rect, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 17" />
<altmember cref="F:Android.Views.View.LayoutDirectionLtr" />
<altmember cref="F:Android.Views.View.LayoutDirectionRtl" />
</Docs>
</Member>
<Member MemberName="GetAbsoluteGravity">
<MemberSignature Language="C#" Value="public static Android.Views.GravityFlags GetAbsoluteGravity (Android.Views.GravityFlags gravity, Android.Views.GravityFlags layoutDirection);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype Android.Views.GravityFlags GetAbsoluteGravity(valuetype Android.Views.GravityFlags gravity, valuetype Android.Views.GravityFlags layoutDirection) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.GetAbsoluteGravity(Android.Views.GravityFlags,Android.Views.GravityFlags)" />
<MemberSignature Language="F#" Value="static member GetAbsoluteGravity : Android.Views.GravityFlags * Android.Views.GravityFlags -> Android.Views.GravityFlags" Usage="Android.Views.Gravity.GetAbsoluteGravity (gravity, layoutDirection)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getAbsoluteGravity", "(II)I", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getAbsoluteGravity", "(II)I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.GravityFlags</ReturnType>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="layoutDirection" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="gravity">The gravity to convert to absolute (horizontal) values.</param>
<param name="layoutDirection">The layout direction.</param>
<summary>Convert script specific gravity to absolute horizontal value.</summary>
<returns>gravity converted to absolute (horizontal) values.</returns>
<remarks>
<para>Convert script specific gravity to absolute horizontal value.</para>
<para>if horizontal direction is LTR, then START will set LEFT and END will set RIGHT.
if horizontal direction is RTL, then START will set RIGHT and END will set LEFT.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#getAbsoluteGravity(int,%20int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.getAbsoluteGravity(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 14" />
</Docs>
</Member>
<Member MemberName="IsHorizontal">
<MemberSignature Language="C#" Value="public static bool IsHorizontal (Android.Views.GravityFlags gravity);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsHorizontal(valuetype Android.Views.GravityFlags gravity) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.IsHorizontal(Android.Views.GravityFlags)" />
<MemberSignature Language="F#" Value="static member IsHorizontal : Android.Views.GravityFlags -> bool" Usage="Android.Views.Gravity.IsHorizontal gravity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("isHorizontal", "(I)Z", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("isHorizontal", "(I)Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="gravity">the gravity to check for horizontal pull</param>
<summary>Indicate whether the supplied gravity has an horizontal pull.</summary>
<returns>true if the supplied gravity has an horizontal pull</returns>
<remarks>
<para>Indicate whether the supplied gravity has an horizontal pull.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#isHorizontal(int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.isHorizontal(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="IsVertical">
<MemberSignature Language="C#" Value="public static bool IsVertical (Android.Views.GravityFlags gravity);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsVertical(valuetype Android.Views.GravityFlags gravity) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.Gravity.IsVertical(Android.Views.GravityFlags)" />
<MemberSignature Language="F#" Value="static member IsVertical : Android.Views.GravityFlags -> bool" Usage="Android.Views.Gravity.IsVertical gravity" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("isVertical", "(I)Z", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("isVertical", "(I)Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gravity" Type="Android.Views.GravityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="gravity">the gravity to check for vertical pull</param>
<summary>Indicate whether the supplied gravity has a vertical pull.</summary>
<returns>true if the supplied gravity has a vertical pull</returns>
<remarks>
<para>Indicate whether the supplied gravity has a vertical pull.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/Gravity#isVertical(int)" title="Reference documentation">Java documentation for <code>android.view.Gravity.isVertical(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Views.Gravity.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Views.Gravity.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Views.Gravity.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Views.Gravity.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Views.Gravity.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Views.Gravity.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>