-
Notifications
You must be signed in to change notification settings - Fork 0
/
IAttachedSurfaceControl.xml
357 lines (356 loc) · 27.4 KB
/
IAttachedSurfaceControl.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
<Type Name="IAttachedSurfaceControl" FullName="Android.Views.IAttachedSurfaceControl">
<TypeSignature Language="C#" Value="public interface IAttachedSurfaceControl : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IAttachedSurfaceControl implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Views.IAttachedSurfaceControl" />
<TypeSignature Language="F#" Value="type IAttachedSurfaceControl = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/view/AttachedSurfaceControl", "", "Android.Views.IAttachedSurfaceControlInvoker", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/view/AttachedSurfaceControl", "", "Android.Views.IAttachedSurfaceControlInvoker", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides an interface to the root-Surface of a View Hierarchy or Window.</summary>
<remarks>
<para>Provides an interface to the root-Surface of a View Hierarchy or Window. This
is used in combination with the <c>android.view.SurfaceControl</c> API to enable
attaching app created SurfaceControl to the SurfaceControl hierarchy used
by the app, and enable SurfaceTransactions to be performed in sync with the
View hierarchy drawing.
This object is obtained from <c>android.view.View#getRootSurfaceControl</c> and
<c>android.view.Window#getRootSurfaceControl</c>. It must be used from the UI thread of
the object it was obtained from.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/AttachedSurfaceControl" title="Reference documentation">Java documentation for <code>android.view.AttachedSurfaceControl</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>
</Docs>
<Members>
<Member MemberName="AddOnBufferTransformHintChangedListener">
<MemberSignature Language="C#" Value="public virtual void AddOnBufferTransformHintChangedListener (Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener listener);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddOnBufferTransformHintChangedListener(class Android.Views.IAttachedSurfaceControl/IOnBufferTransformHintChangedListener listener) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.AddOnBufferTransformHintChangedListener(Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener)" />
<MemberSignature Language="F#" Value="abstract member AddOnBufferTransformHintChangedListener : Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener -> unit
override this.AddOnBufferTransformHintChangedListener : Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener -> unit" Usage="iAttachedSurfaceControl.AddOnBufferTransformHintChangedListener listener" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addOnBufferTransformHintChangedListener", "(Landroid/view/AttachedSurfaceControl$OnBufferTransformHintChangedListener;)V", "GetAddOnBufferTransformHintChangedListener_Landroid_view_AttachedSurfaceControl_OnBufferTransformHintChangedListener_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addOnBufferTransformHintChangedListener", "(Landroid/view/AttachedSurfaceControl$OnBufferTransformHintChangedListener;)V", "GetAddOnBufferTransformHintChangedListener_Landroid_view_AttachedSurfaceControl_OnBufferTransformHintChangedListener_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="listener" Type="Android.Views.IAttachedSurfaceControl+IOnBufferTransformHintChangedListener" />
</Parameters>
<Docs>
<param name="listener">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ApplyTransactionOnDraw">
<MemberSignature Language="C#" Value="public bool ApplyTransactionOnDraw (Android.Views.SurfaceControl.Transaction t);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ApplyTransactionOnDraw(class Android.Views.SurfaceControl/Transaction t) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.ApplyTransactionOnDraw(Android.Views.SurfaceControl.Transaction)" />
<MemberSignature Language="F#" Value="abstract member ApplyTransactionOnDraw : Android.Views.SurfaceControl.Transaction -> bool" Usage="iAttachedSurfaceControl.ApplyTransactionOnDraw t" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyTransactionOnDraw", "(Landroid/view/SurfaceControl$Transaction;)Z", "GetApplyTransactionOnDraw_Landroid_view_SurfaceControl_Transaction_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyTransactionOnDraw", "(Landroid/view/SurfaceControl$Transaction;)Z", "GetApplyTransactionOnDraw_Landroid_view_SurfaceControl_Transaction_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t" Type="Android.Views.SurfaceControl+Transaction" />
</Parameters>
<Docs>
<param name="t">To be added.</param>
<summary>Consume the passed in transaction, and request the View hierarchy to apply it atomically
with the next draw.</summary>
<returns>To be added.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/AttachedSurfaceControl#applyTransactionOnDraw(android.view.Transaction)" title="Reference documentation">Java documentation for <code>android.view.AttachedSurfaceControl.applyTransactionOnDraw(android.view.Transaction)</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>
</Docs>
</Member>
<Member MemberName="BufferTransformHint">
<MemberSignature Language="C#" Value="public virtual int BufferTransformHint { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 BufferTransformHint" />
<MemberSignature Language="DocId" Value="P:Android.Views.IAttachedSurfaceControl.BufferTransformHint" />
<MemberSignature Language="F#" Value="member this.BufferTransformHint : int" Usage="Android.Views.IAttachedSurfaceControl.BufferTransformHint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getBufferTransformHint", "()I", "GetGetBufferTransformHintHandler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getBufferTransformHint", "()I", "GetGetBufferTransformHintHandler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The transform hint can be used by a buffer producer to pre-rotate the rendering such that the
final transformation in the system composer is identity.</summary>
<value>To be added.</value>
<remarks>
<para>The transform hint can be used by a buffer producer to pre-rotate the rendering such that the
final transformation in the system composer is identity. This can be very useful when used in
conjunction with the h/w composer HAL in situations where it cannot handle rotations or
handle them with an additional power cost.</para>
<para>The transform hint should be used with ASurfaceControl APIs when submitting buffers.
Example usage:</para>
<para>1. After a configuration change, before dequeuing a buffer, the buffer producer queries the
function for the transform hint.</para>
<para>2. The desired buffer width and height is rotated by the transform hint.</para>
<para>3. The producer dequeues a buffer of the new pre-rotated size.</para>
<para>4. The producer renders to the buffer such that the image is already transformed, that is
applying the transform hint to the rendering.</para>
<para>5. The producer applies the inverse transform hint to the buffer it just rendered.</para>
<para>6. The producer queues the pre-transformed buffer with the buffer transform.</para>
<para>7. The composer combines the buffer transform with the display transform. If the buffer
transform happens to cancel out the display transform then no rotation is needed and there
will be no performance penalties.</para>
<para>Note, when using ANativeWindow APIs in conjunction with a NativeActivity Surface or
SurfaceView Surface, the buffer producer will already have access to the transform hint and
no additional work is needed.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/AttachedSurfaceControl#getBufferTransformHint()" title="Reference documentation">Java documentation for <code>android.view.AttachedSurfaceControl.getBufferTransformHint()</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>
</Docs>
</Member>
<Member MemberName="BuildReparentTransaction">
<MemberSignature Language="C#" Value="public Android.Views.SurfaceControl.Transaction? BuildReparentTransaction (Android.Views.SurfaceControl child);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Views.SurfaceControl/Transaction BuildReparentTransaction(class Android.Views.SurfaceControl child) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.BuildReparentTransaction(Android.Views.SurfaceControl)" />
<MemberSignature Language="F#" Value="abstract member BuildReparentTransaction : Android.Views.SurfaceControl -> Android.Views.SurfaceControl.Transaction" Usage="iAttachedSurfaceControl.BuildReparentTransaction child" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("buildReparentTransaction", "(Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetBuildReparentTransaction_Landroid_view_SurfaceControl_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("buildReparentTransaction", "(Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetBuildReparentTransaction_Landroid_view_SurfaceControl_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.SurfaceControl+Transaction</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Android.Views.SurfaceControl" />
</Parameters>
<Docs>
<param name="child">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveOnBufferTransformHintChangedListener">
<MemberSignature Language="C#" Value="public virtual void RemoveOnBufferTransformHintChangedListener (Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener listener);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoveOnBufferTransformHintChangedListener(class Android.Views.IAttachedSurfaceControl/IOnBufferTransformHintChangedListener listener) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.RemoveOnBufferTransformHintChangedListener(Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener)" />
<MemberSignature Language="F#" Value="abstract member RemoveOnBufferTransformHintChangedListener : Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener -> unit
override this.RemoveOnBufferTransformHintChangedListener : Android.Views.IAttachedSurfaceControl.IOnBufferTransformHintChangedListener -> unit" Usage="iAttachedSurfaceControl.RemoveOnBufferTransformHintChangedListener listener" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("removeOnBufferTransformHintChangedListener", "(Landroid/view/AttachedSurfaceControl$OnBufferTransformHintChangedListener;)V", "GetRemoveOnBufferTransformHintChangedListener_Landroid_view_AttachedSurfaceControl_OnBufferTransformHintChangedListener_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("removeOnBufferTransformHintChangedListener", "(Landroid/view/AttachedSurfaceControl$OnBufferTransformHintChangedListener;)V", "GetRemoveOnBufferTransformHintChangedListener_Landroid_view_AttachedSurfaceControl_OnBufferTransformHintChangedListener_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="listener" Type="Android.Views.IAttachedSurfaceControl+IOnBufferTransformHintChangedListener" />
</Parameters>
<Docs>
<param name="listener">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildBoundingInsets">
<MemberSignature Language="C#" Value="public virtual void SetChildBoundingInsets (Android.Graphics.Rect insets);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetChildBoundingInsets(class Android.Graphics.Rect insets) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.SetChildBoundingInsets(Android.Graphics.Rect)" />
<MemberSignature Language="F#" Value="abstract member SetChildBoundingInsets : Android.Graphics.Rect -> unit
override this.SetChildBoundingInsets : Android.Graphics.Rect -> unit" Usage="iAttachedSurfaceControl.SetChildBoundingInsets insets" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setChildBoundingInsets", "(Landroid/graphics/Rect;)V", "GetSetChildBoundingInsets_Landroid_graphics_Rect_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setChildBoundingInsets", "(Landroid/graphics/Rect;)V", "GetSetChildBoundingInsets_Landroid_graphics_Rect_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="insets" Type="Android.Graphics.Rect" />
</Parameters>
<Docs>
<param name="insets">The insets in each direction by which to bound the children
expressed in window-space.</param>
<summary>Set a crop region on all children parented to the layer represented by this
AttachedSurfaceControl.</summary>
<remarks>
<para>Set a crop region on all children parented to the layer represented by this
AttachedSurfaceControl. This includes SurfaceView, and an example usage may
be to ensure that SurfaceView with <c>android.view.SurfaceView#setZOrderOnTop</c>
are cropped to a region not including the app bar.</para>
<para>This cropped is expressed in terms of insets in window-space. Negative insets
are considered invalid and will produce an exception. Insets of zero will produce
the same result as if this function had never been called.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/AttachedSurfaceControl#setChildBoundingInsets(android.graphics.Rect)" title="Reference documentation">Java documentation for <code>android.view.AttachedSurfaceControl.setChildBoundingInsets(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>
</Docs>
</Member>
<Member MemberName="SetTouchableRegion">
<MemberSignature Language="C#" Value="public virtual void SetTouchableRegion (Android.Graphics.Region? r);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetTouchableRegion(class Android.Graphics.Region r) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Views.IAttachedSurfaceControl.SetTouchableRegion(Android.Graphics.Region)" />
<MemberSignature Language="F#" Value="abstract member SetTouchableRegion : Android.Graphics.Region -> unit
override this.SetTouchableRegion : Android.Graphics.Region -> unit" Usage="iAttachedSurfaceControl.SetTouchableRegion r" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setTouchableRegion", "(Landroid/graphics/Region;)V", "GetSetTouchableRegion_Landroid_graphics_Region_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setTouchableRegion", "(Landroid/graphics/Region;)V", "GetSetTouchableRegion_Landroid_graphics_Region_Handler:Android.Views.IAttachedSurfaceControl, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="r" Type="Android.Graphics.Region" />
</Parameters>
<Docs>
<param name="r">The region to use or null to use the entire Layer bounds</param>
<summary>Sets the touchable region for this SurfaceControl, expressed in surface local
coordinates.</summary>
<remarks>
<para>Sets the touchable region for this SurfaceControl, expressed in surface local
coordinates. By default the touchable region is the entire Layer, indicating
that if the layer is otherwise eligible to receive touch it receives touch
on the entire surface. Setting the touchable region allows the SurfaceControl
to receive touch in some regions, while allowing for pass-through in others.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/view/AttachedSurfaceControl#setTouchableRegion(android.graphics.Region)" title="Reference documentation">Java documentation for <code>android.view.AttachedSurfaceControl.setTouchableRegion(android.graphics.Region)</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>
</Docs>
</Member>
</Members>
</Type>