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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


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

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

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

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

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

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

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

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

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

        /// [getDimension](https://developer.android.com/reference/android/util/TypedValue.html#getDimension(android.util.DisplayMetrics))
        ///
        /// Required features: "android-util-DisplayMetrics"
        #[cfg(any(feature = "all", all(feature = "android-util-DisplayMetrics")))]
        pub fn getDimension<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::DisplayMetrics>>) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/util/TypedValue", java.flags == PUBLIC, .name == "getDimension", .descriptor == "(Landroid/util/DisplayMetrics;)F"
            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/util/TypedValue\0", "getDimension\0", "(Landroid/util/DisplayMetrics;)F\0");
                __jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [getFraction](https://developer.android.com/reference/android/util/TypedValue.html#getFraction(float,%20float))
        pub fn getFraction<'env>(&'env self, arg0: f32, arg1: f32) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/util/TypedValue", java.flags == PUBLIC, .name == "getFraction", .descriptor == "(FF)F"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __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/util/TypedValue\0", "getFraction\0", "(FF)F\0");
                __jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [coerceToString](https://developer.android.com/reference/android/util/TypedValue.html#coerceToString(int,%20int))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn coerceToString_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32) -> __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/util/TypedValue", java.flags == PUBLIC | STATIC | FINAL, .name == "coerceToString", .descriptor == "(II)Ljava/lang/String;"
            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/util/TypedValue\0", "coerceToString\0", "(II)Ljava/lang/String;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [toString](https://developer.android.com/reference/android/util/TypedValue.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/util/TypedValue", 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/util/TypedValue\0", "toString\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [COMPLEX_MANTISSA_MASK](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_MANTISSA_MASK)
        pub const COMPLEX_MANTISSA_MASK : i32 = 16777215;

        /// public static final [COMPLEX_MANTISSA_SHIFT](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_MANTISSA_SHIFT)
        pub const COMPLEX_MANTISSA_SHIFT : i32 = 8;

        /// public static final [COMPLEX_RADIX_0p23](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_0p23)
        pub const COMPLEX_RADIX_0p23 : i32 = 3;

        /// public static final [COMPLEX_RADIX_16p7](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_16p7)
        pub const COMPLEX_RADIX_16p7 : i32 = 1;

        /// public static final [COMPLEX_RADIX_23p0](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_23p0)
        pub const COMPLEX_RADIX_23p0 : i32 = 0;

        /// public static final [COMPLEX_RADIX_8p15](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_8p15)
        pub const COMPLEX_RADIX_8p15 : i32 = 2;

        /// public static final [COMPLEX_RADIX_MASK](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_MASK)
        pub const COMPLEX_RADIX_MASK : i32 = 3;

        /// public static final [COMPLEX_RADIX_SHIFT](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_RADIX_SHIFT)
        pub const COMPLEX_RADIX_SHIFT : i32 = 4;

        /// public static final [COMPLEX_UNIT_DIP](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_DIP)
        pub const COMPLEX_UNIT_DIP : i32 = 1;

        /// public static final [COMPLEX_UNIT_FRACTION](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_FRACTION)
        pub const COMPLEX_UNIT_FRACTION : i32 = 0;

        /// public static final [COMPLEX_UNIT_FRACTION_PARENT](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_FRACTION_PARENT)
        pub const COMPLEX_UNIT_FRACTION_PARENT : i32 = 1;

        /// public static final [COMPLEX_UNIT_IN](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_IN)
        pub const COMPLEX_UNIT_IN : i32 = 4;

        /// public static final [COMPLEX_UNIT_MASK](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_MASK)
        pub const COMPLEX_UNIT_MASK : i32 = 15;

        /// public static final [COMPLEX_UNIT_MM](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_MM)
        pub const COMPLEX_UNIT_MM : i32 = 5;

        /// public static final [COMPLEX_UNIT_PT](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_PT)
        pub const COMPLEX_UNIT_PT : i32 = 3;

        /// public static final [COMPLEX_UNIT_PX](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_PX)
        pub const COMPLEX_UNIT_PX : i32 = 0;

        /// public static final [COMPLEX_UNIT_SHIFT](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_SHIFT)
        pub const COMPLEX_UNIT_SHIFT : i32 = 0;

        /// public static final [COMPLEX_UNIT_SP](https://developer.android.com/reference/android/util/TypedValue.html#COMPLEX_UNIT_SP)
        pub const COMPLEX_UNIT_SP : i32 = 2;

        /// public static final [DATA_NULL_EMPTY](https://developer.android.com/reference/android/util/TypedValue.html#DATA_NULL_EMPTY)
        pub const DATA_NULL_EMPTY : i32 = 1;

        /// public static final [DATA_NULL_UNDEFINED](https://developer.android.com/reference/android/util/TypedValue.html#DATA_NULL_UNDEFINED)
        pub const DATA_NULL_UNDEFINED : i32 = 0;

        /// public static final [DENSITY_DEFAULT](https://developer.android.com/reference/android/util/TypedValue.html#DENSITY_DEFAULT)
        pub const DENSITY_DEFAULT : i32 = 0;

        /// public static final [DENSITY_NONE](https://developer.android.com/reference/android/util/TypedValue.html#DENSITY_NONE)
        pub const DENSITY_NONE : i32 = 65535;

        /// public static final [TYPE_ATTRIBUTE](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_ATTRIBUTE)
        pub const TYPE_ATTRIBUTE : i32 = 2;

        /// public static final [TYPE_DIMENSION](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_DIMENSION)
        pub const TYPE_DIMENSION : i32 = 5;

        /// public static final [TYPE_FIRST_COLOR_INT](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_FIRST_COLOR_INT)
        pub const TYPE_FIRST_COLOR_INT : i32 = 28;

        /// public static final [TYPE_FIRST_INT](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_FIRST_INT)
        pub const TYPE_FIRST_INT : i32 = 16;

        /// public static final [TYPE_FLOAT](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_FLOAT)
        pub const TYPE_FLOAT : i32 = 4;

        /// public static final [TYPE_FRACTION](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_FRACTION)
        pub const TYPE_FRACTION : i32 = 6;

        /// public static final [TYPE_INT_BOOLEAN](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_BOOLEAN)
        pub const TYPE_INT_BOOLEAN : i32 = 18;

        /// public static final [TYPE_INT_COLOR_ARGB4](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_COLOR_ARGB4)
        pub const TYPE_INT_COLOR_ARGB4 : i32 = 30;

        /// public static final [TYPE_INT_COLOR_ARGB8](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_COLOR_ARGB8)
        pub const TYPE_INT_COLOR_ARGB8 : i32 = 28;

        /// public static final [TYPE_INT_COLOR_RGB4](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_COLOR_RGB4)
        pub const TYPE_INT_COLOR_RGB4 : i32 = 31;

        /// public static final [TYPE_INT_COLOR_RGB8](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_COLOR_RGB8)
        pub const TYPE_INT_COLOR_RGB8 : i32 = 29;

        /// public static final [TYPE_INT_DEC](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_DEC)
        pub const TYPE_INT_DEC : i32 = 16;

        /// public static final [TYPE_INT_HEX](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_INT_HEX)
        pub const TYPE_INT_HEX : i32 = 17;

        /// public static final [TYPE_LAST_COLOR_INT](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_LAST_COLOR_INT)
        pub const TYPE_LAST_COLOR_INT : i32 = 31;

        /// public static final [TYPE_LAST_INT](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_LAST_INT)
        pub const TYPE_LAST_INT : i32 = 31;

        /// public static final [TYPE_NULL](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_NULL)
        pub const TYPE_NULL : i32 = 0;

        /// public static final [TYPE_REFERENCE](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_REFERENCE)
        pub const TYPE_REFERENCE : i32 = 1;

        /// public static final [TYPE_STRING](https://developer.android.com/reference/android/util/TypedValue.html#TYPE_STRING)
        pub const TYPE_STRING : i32 = 3;

        /// **get** public [assetCookie](https://developer.android.com/reference/android/util/TypedValue.html#assetCookie)
        pub fn assetCookie<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "assetCookie\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [assetCookie](https://developer.android.com/reference/android/util/TypedValue.html#assetCookie)
        pub fn set_assetCookie<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "assetCookie\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [changingConfigurations](https://developer.android.com/reference/android/util/TypedValue.html#changingConfigurations)
        pub fn changingConfigurations<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "changingConfigurations\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [changingConfigurations](https://developer.android.com/reference/android/util/TypedValue.html#changingConfigurations)
        pub fn set_changingConfigurations<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "changingConfigurations\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [data](https://developer.android.com/reference/android/util/TypedValue.html#data)
        pub fn data<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "data\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [data](https://developer.android.com/reference/android/util/TypedValue.html#data)
        pub fn set_data<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "data\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [density](https://developer.android.com/reference/android/util/TypedValue.html#density)
        pub fn density<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "density\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [density](https://developer.android.com/reference/android/util/TypedValue.html#density)
        pub fn set_density<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "density\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [resourceId](https://developer.android.com/reference/android/util/TypedValue.html#resourceId)
        pub fn resourceId<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "resourceId\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [resourceId](https://developer.android.com/reference/android/util/TypedValue.html#resourceId)
        pub fn set_resourceId<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "resourceId\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [string](https://developer.android.com/reference/android/util/TypedValue.html#string)
        ///
        /// Required feature: "java-lang-CharSequence"
        #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        pub fn string<'env>(&'env self) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>> {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "string\0", "Ljava/lang/CharSequence;\0");
                env.get_object_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [string](https://developer.android.com/reference/android/util/TypedValue.html#string)
        ///
        /// Required feature: "java-lang-CharSequence"
        #[cfg(any(feature = "all", feature = "java-lang-CharSequence"))]
        pub fn set_string<'env, 'obj>(&'env self, value: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'obj crate::java::lang::CharSequence>>) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "string\0", "Ljava/lang/CharSequence;\0");
                env.set_object_field(self.0.object, __jni_field, value)
            }
        }

        /// **get** public [type](https://developer.android.com/reference/android/util/TypedValue.html#type)
        pub fn r#type<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "type\0", "I\0");
                env.get_int_field(self.0.object, __jni_field)
            }
        }

        /// **set** public [type](https://developer.android.com/reference/android/util/TypedValue.html#type)
        pub fn set_type<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_field) = env.require_class_field("android/util/TypedValue\0", "type\0", "I\0");
                env.set_int_field(self.0.object, __jni_field, value)
            }
        }
    }
}