jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-view-ViewConfiguration"))]
__jni_bindgen! {
    /// public class [ViewConfiguration](https://developer.android.com/reference/android/view/ViewConfiguration.html)
    ///
    /// Required feature: "android-view-ViewConfiguration"
    public class ViewConfiguration ("android/view/ViewConfiguration") extends crate::java::lang::Object {

        /// [ViewConfiguration](https://developer.android.com/reference/android/view/ViewConfiguration.html#ViewConfiguration())
        #[deprecated] pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::ViewConfiguration>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [get](https://developer.android.com/reference/android/view/ViewConfiguration.html#get(android.content.Context))
        ///
        /// Required features: "android-content-Context", "android-view-ViewConfiguration"
        #[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-view-ViewConfiguration")))]
        pub fn get<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::view::ViewConfiguration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "get", .descriptor == "(Landroid/content/Context;)Landroid/view/ViewConfiguration;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "get\0", "(Landroid/content/Context;)Landroid/view/ViewConfiguration;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScrollBarSize](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScrollBarSize())
        #[deprecated] pub fn getScrollBarSize<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getScrollBarSize", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getScrollBarSize\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledScrollBarSize](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledScrollBarSize())
        pub fn getScaledScrollBarSize<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledScrollBarSize", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledScrollBarSize\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScrollBarFadeDuration](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScrollBarFadeDuration())
        pub fn getScrollBarFadeDuration<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getScrollBarFadeDuration", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getScrollBarFadeDuration\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScrollDefaultDelay](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScrollDefaultDelay())
        pub fn getScrollDefaultDelay<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getScrollDefaultDelay", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getScrollDefaultDelay\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getFadingEdgeLength](https://developer.android.com/reference/android/view/ViewConfiguration.html#getFadingEdgeLength())
        #[deprecated] pub fn getFadingEdgeLength<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getFadingEdgeLength", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getFadingEdgeLength\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledFadingEdgeLength](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledFadingEdgeLength())
        pub fn getScaledFadingEdgeLength<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledFadingEdgeLength", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledFadingEdgeLength\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getPressedStateDuration](https://developer.android.com/reference/android/view/ViewConfiguration.html#getPressedStateDuration())
        pub fn getPressedStateDuration<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getPressedStateDuration", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getPressedStateDuration\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getLongPressTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getLongPressTimeout())
        pub fn getLongPressTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getLongPressTimeout", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getLongPressTimeout\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getKeyRepeatTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getKeyRepeatTimeout())
        pub fn getKeyRepeatTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getKeyRepeatTimeout", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getKeyRepeatTimeout\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getKeyRepeatDelay](https://developer.android.com/reference/android/view/ViewConfiguration.html#getKeyRepeatDelay())
        pub fn getKeyRepeatDelay<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getKeyRepeatDelay", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getKeyRepeatDelay\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getTapTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getTapTimeout())
        pub fn getTapTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getTapTimeout", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getTapTimeout\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getJumpTapTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getJumpTapTimeout())
        pub fn getJumpTapTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getJumpTapTimeout", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getJumpTapTimeout\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDoubleTapTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getDoubleTapTimeout())
        pub fn getDoubleTapTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getDoubleTapTimeout", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getDoubleTapTimeout\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getEdgeSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getEdgeSlop())
        #[deprecated] pub fn getEdgeSlop<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getEdgeSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getEdgeSlop\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledEdgeSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledEdgeSlop())
        pub fn getScaledEdgeSlop<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledEdgeSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledEdgeSlop\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getTouchSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getTouchSlop())
        #[deprecated] pub fn getTouchSlop<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getTouchSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getTouchSlop\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledTouchSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledTouchSlop())
        pub fn getScaledTouchSlop<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledTouchSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledTouchSlop\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledPagingTouchSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledPagingTouchSlop())
        pub fn getScaledPagingTouchSlop<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledPagingTouchSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledPagingTouchSlop\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledDoubleTapSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledDoubleTapSlop())
        pub fn getScaledDoubleTapSlop<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledDoubleTapSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledDoubleTapSlop\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getWindowTouchSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getWindowTouchSlop())
        #[deprecated] pub fn getWindowTouchSlop<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getWindowTouchSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getWindowTouchSlop\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledWindowTouchSlop](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledWindowTouchSlop())
        pub fn getScaledWindowTouchSlop<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledWindowTouchSlop", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledWindowTouchSlop\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMinimumFlingVelocity](https://developer.android.com/reference/android/view/ViewConfiguration.html#getMinimumFlingVelocity())
        #[deprecated] pub fn getMinimumFlingVelocity<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getMinimumFlingVelocity", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getMinimumFlingVelocity\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledMinimumFlingVelocity](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledMinimumFlingVelocity())
        pub fn getScaledMinimumFlingVelocity<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledMinimumFlingVelocity", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledMinimumFlingVelocity\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMaximumFlingVelocity](https://developer.android.com/reference/android/view/ViewConfiguration.html#getMaximumFlingVelocity())
        #[deprecated] pub fn getMaximumFlingVelocity<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getMaximumFlingVelocity", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getMaximumFlingVelocity\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledMaximumFlingVelocity](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledMaximumFlingVelocity())
        pub fn getScaledMaximumFlingVelocity<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledMaximumFlingVelocity", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledMaximumFlingVelocity\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledHorizontalScrollFactor](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledHorizontalScrollFactor())
        pub fn getScaledHorizontalScrollFactor<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledHorizontalScrollFactor", .descriptor == "()F"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledHorizontalScrollFactor\0", "()F\0");
                __jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledVerticalScrollFactor](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledVerticalScrollFactor())
        pub fn getScaledVerticalScrollFactor<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledVerticalScrollFactor", .descriptor == "()F"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledVerticalScrollFactor\0", "()F\0");
                __jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMaximumDrawingCacheSize](https://developer.android.com/reference/android/view/ViewConfiguration.html#getMaximumDrawingCacheSize())
        #[deprecated] pub fn getMaximumDrawingCacheSize<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getMaximumDrawingCacheSize", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getMaximumDrawingCacheSize\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledMaximumDrawingCacheSize](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledMaximumDrawingCacheSize())
        pub fn getScaledMaximumDrawingCacheSize<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledMaximumDrawingCacheSize", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledMaximumDrawingCacheSize\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledOverscrollDistance](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledOverscrollDistance())
        pub fn getScaledOverscrollDistance<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledOverscrollDistance", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledOverscrollDistance\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScaledOverflingDistance](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScaledOverflingDistance())
        pub fn getScaledOverflingDistance<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "getScaledOverflingDistance", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "getScaledOverflingDistance\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getZoomControlsTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getZoomControlsTimeout())
        pub fn getZoomControlsTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getZoomControlsTimeout", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getZoomControlsTimeout\0", "()J\0");
                __jni_env.call_static_long_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getGlobalActionKeyTimeout](https://developer.android.com/reference/android/view/ViewConfiguration.html#getGlobalActionKeyTimeout())
        #[deprecated] pub fn getGlobalActionKeyTimeout<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getGlobalActionKeyTimeout", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getGlobalActionKeyTimeout\0", "()J\0");
                __jni_env.call_static_long_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScrollFriction](https://developer.android.com/reference/android/view/ViewConfiguration.html#getScrollFriction())
        pub fn getScrollFriction<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getScrollFriction", .descriptor == "()F"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getScrollFriction\0", "()F\0");
                __jni_env.call_static_float_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDefaultActionModeHideDuration](https://developer.android.com/reference/android/view/ViewConfiguration.html#getDefaultActionModeHideDuration())
        pub fn getDefaultActionModeHideDuration<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC | STATIC, .name == "getDefaultActionModeHideDuration", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/ViewConfiguration\0", "getDefaultActionModeHideDuration\0", "()J\0");
                __jni_env.call_static_long_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasPermanentMenuKey](https://developer.android.com/reference/android/view/ViewConfiguration.html#hasPermanentMenuKey())
        pub fn hasPermanentMenuKey<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/ViewConfiguration", java.flags == PUBLIC, .name == "hasPermanentMenuKey", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/ViewConfiguration\0", "hasPermanentMenuKey\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}