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
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
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-view-KeyEvent"))]
__jni_bindgen! {
    /// public class [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)
    ///
    /// Required feature: "android-view-KeyEvent"
    public class KeyEvent ("android/view/KeyEvent") extends crate::android::view::InputEvent, implements crate::android::os::Parcelable {

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

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20long,%20int,%20int,%20int))
        pub fn new_long_long_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JJIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20long,%20int,%20int,%20int,%20int))
        pub fn new_long_long_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: i32, arg5: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJIIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JJIIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int))
        pub fn new_long_long_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJIIIIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JJIIIIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int,%20int))
        pub fn new_long_long_int_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32, arg8: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJIIIIIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JJIIIIIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20long,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int))
        pub fn new_long_long_int_int_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: i64, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32, arg8: i32, arg9: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JJIIIIIIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JJIIIIIIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(long,%20java.lang.String,%20int,%20int))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn new_long_String_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(JLjava/lang/String;II)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(JLjava/lang/String;II)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html#KeyEvent(android.view.KeyEvent,%20long,%20int))
        ///
        /// Required features: "android-view-KeyEvent"
        #[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
        pub fn new_KeyEvent_long_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent>>, arg1: i64, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::view::KeyEvent>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/view/KeyEvent;JI)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "<init>\0", "(Landroid/view/KeyEvent;JI)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMaxKeyCode](https://developer.android.com/reference/android/view/KeyEvent.html#getMaxKeyCode())
        pub fn getMaxKeyCode<'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/KeyEvent", java.flags == PUBLIC | STATIC, .name == "getMaxKeyCode", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/view/KeyEvent\0", "getMaxKeyCode\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

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

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

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

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

        /// [isSystem](https://developer.android.com/reference/android/view/KeyEvent.html#isSystem())
        pub fn isSystem<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isSystem", .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/KeyEvent\0", "isSystem\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMetaState](https://developer.android.com/reference/android/view/KeyEvent.html#getMetaState())
        pub fn getMetaState<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getMetaState", .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/KeyEvent\0", "getMetaState\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getFlags](https://developer.android.com/reference/android/view/KeyEvent.html#getFlags())
        pub fn getFlags<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getFlags", .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/KeyEvent\0", "getFlags\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [isAltPressed](https://developer.android.com/reference/android/view/KeyEvent.html#isAltPressed())
        pub fn isAltPressed<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isAltPressed", .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/KeyEvent\0", "isAltPressed\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isShiftPressed](https://developer.android.com/reference/android/view/KeyEvent.html#isShiftPressed())
        pub fn isShiftPressed<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isShiftPressed", .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/KeyEvent\0", "isShiftPressed\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isSymPressed](https://developer.android.com/reference/android/view/KeyEvent.html#isSymPressed())
        pub fn isSymPressed<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isSymPressed", .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/KeyEvent\0", "isSymPressed\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getAction](https://developer.android.com/reference/android/view/KeyEvent.html#getAction())
        pub fn getAction<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getAction", .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/KeyEvent\0", "getAction\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isCanceled](https://developer.android.com/reference/android/view/KeyEvent.html#isCanceled())
        pub fn isCanceled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isCanceled", .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/KeyEvent\0", "isCanceled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [startTracking](https://developer.android.com/reference/android/view/KeyEvent.html#startTracking())
        pub fn startTracking<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "startTracking", .descriptor == "()V"
            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/KeyEvent\0", "startTracking\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isTracking](https://developer.android.com/reference/android/view/KeyEvent.html#isTracking())
        pub fn isTracking<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isTracking", .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/KeyEvent\0", "isTracking\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isLongPress](https://developer.android.com/reference/android/view/KeyEvent.html#isLongPress())
        pub fn isLongPress<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "isLongPress", .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/KeyEvent\0", "isLongPress\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getKeyCode](https://developer.android.com/reference/android/view/KeyEvent.html#getKeyCode())
        pub fn getKeyCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getKeyCode", .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/KeyEvent\0", "getKeyCode\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCharacters](https://developer.android.com/reference/android/view/KeyEvent.html#getCharacters())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn getCharacters<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getCharacters", .descriptor == "()Ljava/lang/String;"
            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/KeyEvent\0", "getCharacters\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScanCode](https://developer.android.com/reference/android/view/KeyEvent.html#getScanCode())
        pub fn getScanCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getScanCode", .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/KeyEvent\0", "getScanCode\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getRepeatCount](https://developer.android.com/reference/android/view/KeyEvent.html#getRepeatCount())
        pub fn getRepeatCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getRepeatCount", .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/KeyEvent\0", "getRepeatCount\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDownTime](https://developer.android.com/reference/android/view/KeyEvent.html#getDownTime())
        pub fn getDownTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getDownTime", .descriptor == "()J"
            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/KeyEvent\0", "getDownTime\0", "()J\0");
                __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getEventTime](https://developer.android.com/reference/android/view/KeyEvent.html#getEventTime())
        pub fn getEventTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "getEventTime", .descriptor == "()J"
            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/KeyEvent\0", "getEventTime\0", "()J\0");
                __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDisplayLabel](https://developer.android.com/reference/android/view/KeyEvent.html#getDisplayLabel())
        pub fn getDisplayLabel<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::jchar, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getDisplayLabel", .descriptor == "()C"
            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/KeyEvent\0", "getDisplayLabel\0", "()C\0");
                __jni_env.call_char_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getUnicodeChar](https://developer.android.com/reference/android/view/KeyEvent.html#getUnicodeChar())
        pub fn getUnicodeChar<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getUnicodeChar", .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/KeyEvent\0", "getUnicodeChar\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [getKeyData](https://developer.android.com/reference/android/view/KeyEvent.html#getKeyData(android.view.KeyCharacterMap.KeyData))
        ///
        /// Required features: "android-view-KeyCharacterMap_KeyData"
        #[cfg(any(feature = "all", all(feature = "android-view-KeyCharacterMap_KeyData")))]
        pub fn getKeyData<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyCharacterMap_KeyData>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getKeyData", .descriptor == "(Landroid/view/KeyCharacterMap$KeyData;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "getKeyData\0", "(Landroid/view/KeyCharacterMap$KeyData;)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMatch](https://developer.android.com/reference/android/view/KeyEvent.html#getMatch(char%5B%5D))
        pub fn getMatch_char_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::jchar, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getMatch", .descriptor == "([C)C"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "getMatch\0", "([C)C\0");
                __jni_env.call_char_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMatch](https://developer.android.com/reference/android/view/KeyEvent.html#getMatch(char%5B%5D,%20int))
        pub fn getMatch_char_array_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::jchar, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getMatch", .descriptor == "([CI)C"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "getMatch\0", "([CI)C\0");
                __jni_env.call_char_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getNumber](https://developer.android.com/reference/android/view/KeyEvent.html#getNumber())
        pub fn getNumber<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::jchar, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "getNumber", .descriptor == "()C"
            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/KeyEvent\0", "getNumber\0", "()C\0");
                __jni_env.call_char_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isPrintingKey](https://developer.android.com/reference/android/view/KeyEvent.html#isPrintingKey())
        pub fn isPrintingKey<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "isPrintingKey", .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/KeyEvent\0", "isPrintingKey\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [dispatch](https://developer.android.com/reference/android/view/KeyEvent.html#dispatch(android.view.KeyEvent.Callback))
        ///
        /// Required features: "android-view-KeyEvent_Callback"
        #[cfg(any(feature = "all", all(feature = "android-view-KeyEvent_Callback")))]
        pub fn dispatch_Callback<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent_Callback>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "dispatch", .descriptor == "(Landroid/view/KeyEvent$Callback;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "dispatch\0", "(Landroid/view/KeyEvent$Callback;)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [dispatch](https://developer.android.com/reference/android/view/KeyEvent.html#dispatch(android.view.KeyEvent.Callback,%20android.view.KeyEvent.DispatcherState,%20java.lang.Object))
        ///
        /// Required features: "android-view-KeyEvent_Callback", "android-view-KeyEvent_DispatcherState", "java-lang-Object"
        #[cfg(any(feature = "all", all(feature = "android-view-KeyEvent_Callback", feature = "android-view-KeyEvent_DispatcherState", feature = "java-lang-Object")))]
        pub fn dispatch_Callback_DispatcherState_Object<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent_Callback>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent_DispatcherState>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC | FINAL, .name == "dispatch", .descriptor == "(Landroid/view/KeyEvent$Callback;Landroid/view/KeyEvent$DispatcherState;Ljava/lang/Object;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "dispatch\0", "(Landroid/view/KeyEvent$Callback;Landroid/view/KeyEvent$DispatcherState;Ljava/lang/Object;)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [toString](https://developer.android.com/reference/android/view/KeyEvent.html#toString())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
            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/KeyEvent\0", "toString\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [writeToParcel](https://developer.android.com/reference/android/view/KeyEvent.html#writeToParcel(android.os.Parcel,%20int))
        ///
        /// Required features: "android-os-Parcel"
        #[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
        pub fn writeToParcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/view/KeyEvent", java.flags == PUBLIC, .name == "writeToParcel", .descriptor == "(Landroid/os/Parcel;I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/view/KeyEvent\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [KEYCODE_UNKNOWN](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_UNKNOWN)
        pub const KEYCODE_UNKNOWN : i32 = 0;

        /// public static final [KEYCODE_SOFT_LEFT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SOFT_LEFT)
        pub const KEYCODE_SOFT_LEFT : i32 = 1;

        /// public static final [KEYCODE_SOFT_RIGHT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SOFT_RIGHT)
        pub const KEYCODE_SOFT_RIGHT : i32 = 2;

        /// public static final [KEYCODE_HOME](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HOME)
        pub const KEYCODE_HOME : i32 = 3;

        /// public static final [KEYCODE_BACK](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BACK)
        pub const KEYCODE_BACK : i32 = 4;

        /// public static final [KEYCODE_CALL](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_CALL)
        pub const KEYCODE_CALL : i32 = 5;

        /// public static final [KEYCODE_ENDCALL](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ENDCALL)
        pub const KEYCODE_ENDCALL : i32 = 6;

        /// public static final [KEYCODE_0](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_0)
        pub const KEYCODE_0 : i32 = 7;

        /// public static final [KEYCODE_1](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_1)
        pub const KEYCODE_1 : i32 = 8;

        /// public static final [KEYCODE_2](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_2)
        pub const KEYCODE_2 : i32 = 9;

        /// public static final [KEYCODE_3](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_3)
        pub const KEYCODE_3 : i32 = 10;

        /// public static final [KEYCODE_4](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_4)
        pub const KEYCODE_4 : i32 = 11;

        /// public static final [KEYCODE_5](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_5)
        pub const KEYCODE_5 : i32 = 12;

        /// public static final [KEYCODE_6](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_6)
        pub const KEYCODE_6 : i32 = 13;

        /// public static final [KEYCODE_7](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_7)
        pub const KEYCODE_7 : i32 = 14;

        /// public static final [KEYCODE_8](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_8)
        pub const KEYCODE_8 : i32 = 15;

        /// public static final [KEYCODE_9](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_9)
        pub const KEYCODE_9 : i32 = 16;

        /// public static final [KEYCODE_STAR](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_STAR)
        pub const KEYCODE_STAR : i32 = 17;

        /// public static final [KEYCODE_POUND](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_POUND)
        pub const KEYCODE_POUND : i32 = 18;

        /// public static final [KEYCODE_DPAD_UP](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_UP)
        pub const KEYCODE_DPAD_UP : i32 = 19;

        /// public static final [KEYCODE_DPAD_DOWN](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_DOWN)
        pub const KEYCODE_DPAD_DOWN : i32 = 20;

        /// public static final [KEYCODE_DPAD_LEFT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_LEFT)
        pub const KEYCODE_DPAD_LEFT : i32 = 21;

        /// public static final [KEYCODE_DPAD_RIGHT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_RIGHT)
        pub const KEYCODE_DPAD_RIGHT : i32 = 22;

        /// public static final [KEYCODE_DPAD_CENTER](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DPAD_CENTER)
        pub const KEYCODE_DPAD_CENTER : i32 = 23;

        /// public static final [KEYCODE_VOLUME_UP](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_VOLUME_UP)
        pub const KEYCODE_VOLUME_UP : i32 = 24;

        /// public static final [KEYCODE_VOLUME_DOWN](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_VOLUME_DOWN)
        pub const KEYCODE_VOLUME_DOWN : i32 = 25;

        /// public static final [KEYCODE_POWER](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_POWER)
        pub const KEYCODE_POWER : i32 = 26;

        /// public static final [KEYCODE_CAMERA](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_CAMERA)
        pub const KEYCODE_CAMERA : i32 = 27;

        /// public static final [KEYCODE_CLEAR](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_CLEAR)
        pub const KEYCODE_CLEAR : i32 = 28;

        /// public static final [KEYCODE_A](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_A)
        pub const KEYCODE_A : i32 = 29;

        /// public static final [KEYCODE_B](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_B)
        pub const KEYCODE_B : i32 = 30;

        /// public static final [KEYCODE_C](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_C)
        pub const KEYCODE_C : i32 = 31;

        /// public static final [KEYCODE_D](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_D)
        pub const KEYCODE_D : i32 = 32;

        /// public static final [KEYCODE_E](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_E)
        pub const KEYCODE_E : i32 = 33;

        /// public static final [KEYCODE_F](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_F)
        pub const KEYCODE_F : i32 = 34;

        /// public static final [KEYCODE_G](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_G)
        pub const KEYCODE_G : i32 = 35;

        /// public static final [KEYCODE_H](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_H)
        pub const KEYCODE_H : i32 = 36;

        /// public static final [KEYCODE_I](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_I)
        pub const KEYCODE_I : i32 = 37;

        /// public static final [KEYCODE_J](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_J)
        pub const KEYCODE_J : i32 = 38;

        /// public static final [KEYCODE_K](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_K)
        pub const KEYCODE_K : i32 = 39;

        /// public static final [KEYCODE_L](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_L)
        pub const KEYCODE_L : i32 = 40;

        /// public static final [KEYCODE_M](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_M)
        pub const KEYCODE_M : i32 = 41;

        /// public static final [KEYCODE_N](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_N)
        pub const KEYCODE_N : i32 = 42;

        /// public static final [KEYCODE_O](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_O)
        pub const KEYCODE_O : i32 = 43;

        /// public static final [KEYCODE_P](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_P)
        pub const KEYCODE_P : i32 = 44;

        /// public static final [KEYCODE_Q](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_Q)
        pub const KEYCODE_Q : i32 = 45;

        /// public static final [KEYCODE_R](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_R)
        pub const KEYCODE_R : i32 = 46;

        /// public static final [KEYCODE_S](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_S)
        pub const KEYCODE_S : i32 = 47;

        /// public static final [KEYCODE_T](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_T)
        pub const KEYCODE_T : i32 = 48;

        /// public static final [KEYCODE_U](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_U)
        pub const KEYCODE_U : i32 = 49;

        /// public static final [KEYCODE_V](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_V)
        pub const KEYCODE_V : i32 = 50;

        /// public static final [KEYCODE_W](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_W)
        pub const KEYCODE_W : i32 = 51;

        /// public static final [KEYCODE_X](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_X)
        pub const KEYCODE_X : i32 = 52;

        /// public static final [KEYCODE_Y](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_Y)
        pub const KEYCODE_Y : i32 = 53;

        /// public static final [KEYCODE_Z](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_Z)
        pub const KEYCODE_Z : i32 = 54;

        /// public static final [KEYCODE_COMMA](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_COMMA)
        pub const KEYCODE_COMMA : i32 = 55;

        /// public static final [KEYCODE_PERIOD](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_PERIOD)
        pub const KEYCODE_PERIOD : i32 = 56;

        /// public static final [KEYCODE_ALT_LEFT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ALT_LEFT)
        pub const KEYCODE_ALT_LEFT : i32 = 57;

        /// public static final [KEYCODE_ALT_RIGHT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ALT_RIGHT)
        pub const KEYCODE_ALT_RIGHT : i32 = 58;

        /// public static final [KEYCODE_SHIFT_LEFT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SHIFT_LEFT)
        pub const KEYCODE_SHIFT_LEFT : i32 = 59;

        /// public static final [KEYCODE_SHIFT_RIGHT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SHIFT_RIGHT)
        pub const KEYCODE_SHIFT_RIGHT : i32 = 60;

        /// public static final [KEYCODE_TAB](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_TAB)
        pub const KEYCODE_TAB : i32 = 61;

        /// public static final [KEYCODE_SPACE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SPACE)
        pub const KEYCODE_SPACE : i32 = 62;

        /// public static final [KEYCODE_SYM](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SYM)
        pub const KEYCODE_SYM : i32 = 63;

        /// public static final [KEYCODE_EXPLORER](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_EXPLORER)
        pub const KEYCODE_EXPLORER : i32 = 64;

        /// public static final [KEYCODE_ENVELOPE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ENVELOPE)
        pub const KEYCODE_ENVELOPE : i32 = 65;

        /// public static final [KEYCODE_ENTER](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_ENTER)
        pub const KEYCODE_ENTER : i32 = 66;

        /// public static final [KEYCODE_DEL](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DEL)
        pub const KEYCODE_DEL : i32 = 67;

        /// public static final [KEYCODE_GRAVE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_GRAVE)
        pub const KEYCODE_GRAVE : i32 = 68;

        /// public static final [KEYCODE_MINUS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MINUS)
        pub const KEYCODE_MINUS : i32 = 69;

        /// public static final [KEYCODE_EQUALS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_EQUALS)
        pub const KEYCODE_EQUALS : i32 = 70;

        /// public static final [KEYCODE_LEFT_BRACKET](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_LEFT_BRACKET)
        pub const KEYCODE_LEFT_BRACKET : i32 = 71;

        /// public static final [KEYCODE_RIGHT_BRACKET](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_RIGHT_BRACKET)
        pub const KEYCODE_RIGHT_BRACKET : i32 = 72;

        /// public static final [KEYCODE_BACKSLASH](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BACKSLASH)
        pub const KEYCODE_BACKSLASH : i32 = 73;

        /// public static final [KEYCODE_SEMICOLON](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SEMICOLON)
        pub const KEYCODE_SEMICOLON : i32 = 74;

        /// public static final [KEYCODE_APOSTROPHE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_APOSTROPHE)
        pub const KEYCODE_APOSTROPHE : i32 = 75;

        /// public static final [KEYCODE_SLASH](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SLASH)
        pub const KEYCODE_SLASH : i32 = 76;

        /// public static final [KEYCODE_AT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_AT)
        pub const KEYCODE_AT : i32 = 77;

        /// public static final [KEYCODE_NUM](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_NUM)
        pub const KEYCODE_NUM : i32 = 78;

        /// public static final [KEYCODE_HEADSETHOOK](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HEADSETHOOK)
        pub const KEYCODE_HEADSETHOOK : i32 = 79;

        /// public static final [KEYCODE_FOCUS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_FOCUS)
        pub const KEYCODE_FOCUS : i32 = 80;

        /// public static final [KEYCODE_PLUS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_PLUS)
        pub const KEYCODE_PLUS : i32 = 81;

        /// public static final [KEYCODE_MENU](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MENU)
        pub const KEYCODE_MENU : i32 = 82;

        /// public static final [KEYCODE_NOTIFICATION](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_NOTIFICATION)
        pub const KEYCODE_NOTIFICATION : i32 = 83;

        /// public static final [KEYCODE_SEARCH](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SEARCH)
        pub const KEYCODE_SEARCH : i32 = 84;

        /// public static final [KEYCODE_MEDIA_PLAY_PAUSE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_PLAY_PAUSE)
        pub const KEYCODE_MEDIA_PLAY_PAUSE : i32 = 85;

        /// public static final [KEYCODE_MEDIA_STOP](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_STOP)
        pub const KEYCODE_MEDIA_STOP : i32 = 86;

        /// public static final [KEYCODE_MEDIA_NEXT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_NEXT)
        pub const KEYCODE_MEDIA_NEXT : i32 = 87;

        /// public static final [KEYCODE_MEDIA_PREVIOUS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_PREVIOUS)
        pub const KEYCODE_MEDIA_PREVIOUS : i32 = 88;

        /// public static final [KEYCODE_MEDIA_REWIND](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_REWIND)
        pub const KEYCODE_MEDIA_REWIND : i32 = 89;

        /// public static final [KEYCODE_MEDIA_FAST_FORWARD](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MEDIA_FAST_FORWARD)
        pub const KEYCODE_MEDIA_FAST_FORWARD : i32 = 90;

        /// public static final [KEYCODE_MUTE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MUTE)
        pub const KEYCODE_MUTE : i32 = 91;

        /// public static final [KEYCODE_PAGE_UP](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_PAGE_UP)
        pub const KEYCODE_PAGE_UP : i32 = 92;

        /// public static final [KEYCODE_PAGE_DOWN](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_PAGE_DOWN)
        pub const KEYCODE_PAGE_DOWN : i32 = 93;

        /// public static final [KEYCODE_PICTSYMBOLS](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_PICTSYMBOLS)
        pub const KEYCODE_PICTSYMBOLS : i32 = 94;

        /// public static final [KEYCODE_SWITCH_CHARSET](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SWITCH_CHARSET)
        pub const KEYCODE_SWITCH_CHARSET : i32 = 95;

        /// public static final [KEYCODE_BUTTON_A](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_A)
        pub const KEYCODE_BUTTON_A : i32 = 96;

        /// public static final [KEYCODE_BUTTON_B](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_B)
        pub const KEYCODE_BUTTON_B : i32 = 97;

        /// public static final [KEYCODE_BUTTON_C](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_C)
        pub const KEYCODE_BUTTON_C : i32 = 98;

        /// public static final [KEYCODE_BUTTON_X](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_X)
        pub const KEYCODE_BUTTON_X : i32 = 99;

        /// public static final [KEYCODE_BUTTON_Y](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_Y)
        pub const KEYCODE_BUTTON_Y : i32 = 100;

        /// public static final [KEYCODE_BUTTON_Z](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_Z)
        pub const KEYCODE_BUTTON_Z : i32 = 101;

        /// public static final [KEYCODE_BUTTON_L1](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_L1)
        pub const KEYCODE_BUTTON_L1 : i32 = 102;

        /// public static final [KEYCODE_BUTTON_R1](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_R1)
        pub const KEYCODE_BUTTON_R1 : i32 = 103;

        /// public static final [KEYCODE_BUTTON_L2](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_L2)
        pub const KEYCODE_BUTTON_L2 : i32 = 104;

        /// public static final [KEYCODE_BUTTON_R2](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_R2)
        pub const KEYCODE_BUTTON_R2 : i32 = 105;

        /// public static final [KEYCODE_BUTTON_THUMBL](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_THUMBL)
        pub const KEYCODE_BUTTON_THUMBL : i32 = 106;

        /// public static final [KEYCODE_BUTTON_THUMBR](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_THUMBR)
        pub const KEYCODE_BUTTON_THUMBR : i32 = 107;

        /// public static final [KEYCODE_BUTTON_START](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_START)
        pub const KEYCODE_BUTTON_START : i32 = 108;

        /// public static final [KEYCODE_BUTTON_SELECT](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_SELECT)
        pub const KEYCODE_BUTTON_SELECT : i32 = 109;

        /// public static final [KEYCODE_BUTTON_MODE](https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_BUTTON_MODE)
        pub const KEYCODE_BUTTON_MODE : i32 = 110;

        /// public static final [MAX_KEYCODE](https://developer.android.com/reference/android/view/KeyEvent.html#MAX_KEYCODE)
        pub const MAX_KEYCODE : i32 = 84;

        /// public static final [ACTION_DOWN](https://developer.android.com/reference/android/view/KeyEvent.html#ACTION_DOWN)
        pub const ACTION_DOWN : i32 = 0;

        /// public static final [ACTION_UP](https://developer.android.com/reference/android/view/KeyEvent.html#ACTION_UP)
        pub const ACTION_UP : i32 = 1;

        /// public static final [ACTION_MULTIPLE](https://developer.android.com/reference/android/view/KeyEvent.html#ACTION_MULTIPLE)
        pub const ACTION_MULTIPLE : i32 = 2;

        /// public static final [META_ALT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_ALT_ON)
        pub const META_ALT_ON : i32 = 2;

        /// public static final [META_ALT_LEFT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_ALT_LEFT_ON)
        pub const META_ALT_LEFT_ON : i32 = 16;

        /// public static final [META_ALT_RIGHT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_ALT_RIGHT_ON)
        pub const META_ALT_RIGHT_ON : i32 = 32;

        /// public static final [META_SHIFT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_SHIFT_ON)
        pub const META_SHIFT_ON : i32 = 1;

        /// public static final [META_SHIFT_LEFT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_SHIFT_LEFT_ON)
        pub const META_SHIFT_LEFT_ON : i32 = 64;

        /// public static final [META_SHIFT_RIGHT_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_SHIFT_RIGHT_ON)
        pub const META_SHIFT_RIGHT_ON : i32 = 128;

        /// public static final [META_SYM_ON](https://developer.android.com/reference/android/view/KeyEvent.html#META_SYM_ON)
        pub const META_SYM_ON : i32 = 4;

        /// public static final [FLAG_WOKE_HERE](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_WOKE_HERE)
        pub const FLAG_WOKE_HERE : i32 = 1;

        /// public static final [FLAG_SOFT_KEYBOARD](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_SOFT_KEYBOARD)
        pub const FLAG_SOFT_KEYBOARD : i32 = 2;

        /// public static final [FLAG_KEEP_TOUCH_MODE](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_KEEP_TOUCH_MODE)
        pub const FLAG_KEEP_TOUCH_MODE : i32 = 4;

        /// public static final [FLAG_FROM_SYSTEM](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_FROM_SYSTEM)
        pub const FLAG_FROM_SYSTEM : i32 = 8;

        /// public static final [FLAG_EDITOR_ACTION](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_EDITOR_ACTION)
        pub const FLAG_EDITOR_ACTION : i32 = 16;

        /// public static final [FLAG_CANCELED](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_CANCELED)
        pub const FLAG_CANCELED : i32 = 32;

        /// public static final [FLAG_VIRTUAL_HARD_KEY](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_VIRTUAL_HARD_KEY)
        pub const FLAG_VIRTUAL_HARD_KEY : i32 = 64;

        /// public static final [FLAG_LONG_PRESS](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_LONG_PRESS)
        pub const FLAG_LONG_PRESS : i32 = 128;

        /// public static final [FLAG_CANCELED_LONG_PRESS](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_CANCELED_LONG_PRESS)
        pub const FLAG_CANCELED_LONG_PRESS : i32 = 256;

        /// public static final [FLAG_TRACKING](https://developer.android.com/reference/android/view/KeyEvent.html#FLAG_TRACKING)
        pub const FLAG_TRACKING : i32 = 512;

        /// **get** public static final [CREATOR](https://developer.android.com/reference/android/view/KeyEvent.html#CREATOR)
        ///
        /// Required feature: "android-os-Parcelable_Creator"
        #[cfg(any(feature = "all", feature = "android-os-Parcelable_Creator"))]
        pub fn CREATOR<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Parcelable_Creator>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/view/KeyEvent\0", "CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }
    }
}