Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Side by Side Diff: base/android/jni_generator/testConstantsFromJavaP.golden

Issue 2204623002: Android: Don't require RegisterNatives if there are none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is autogenerated by 5 // This file is autogenerated by
6 // base/android/jni_generator/jni_generator.py 6 // base/android/jni_generator/jni_generator.py
7 // For 7 // For
8 // android/view/MotionEvent 8 // android/view/MotionEvent
9 9
10 #ifndef android_view_MotionEvent_JNI 10 #ifndef android_view_MotionEvent_JNI
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 TOOL_TYPE_MOUSE = 3, 109 TOOL_TYPE_MOUSE = 3,
110 TOOL_TYPE_ERASER = 4, 110 TOOL_TYPE_ERASER = 4,
111 }; 111 };
112 112
113 // Step 2: method stubs. 113 // Step 2: method stubs.
114 114
115 static base::subtle::AtomicWord g_MotionEvent_finalize = 0; 115 static base::subtle::AtomicWord g_MotionEvent_finalize = 0;
116 static void Java_MotionEvent_finalize(JNIEnv* env, jobject obj) __attribute__ 116 static void Java_MotionEvent_finalize(JNIEnv* env, jobject obj) __attribute__
117 ((unused)); 117 ((unused));
118 static void Java_MotionEvent_finalize(JNIEnv* env, jobject obj) { 118 static void Java_MotionEvent_finalize(JNIEnv* env, jobject obj) {
119 /* Must call RegisterNativesImpl() */
120 CHECK_CLAZZ(env, obj, 119 CHECK_CLAZZ(env, obj,
121 MotionEvent_clazz(env)); 120 MotionEvent_clazz(env));
122 jmethodID method_id = 121 jmethodID method_id =
123 base::android::MethodID::LazyGet< 122 base::android::MethodID::LazyGet<
124 base::android::MethodID::TYPE_INSTANCE>( 123 base::android::MethodID::TYPE_INSTANCE>(
125 env, MotionEvent_clazz(env), 124 env, MotionEvent_clazz(env),
126 "finalize", 125 "finalize",
127 "()V", 126 "()V",
128 &g_MotionEvent_finalize); 127 &g_MotionEvent_finalize);
129 128
(...skipping 30 matching lines...) Expand all
160 jobjectArray p4, 159 jobjectArray p4,
161 jobjectArray p5, 160 jobjectArray p5,
162 JniIntWrapper p6, 161 JniIntWrapper p6,
163 JniIntWrapper p7, 162 JniIntWrapper p7,
164 jfloat p8, 163 jfloat p8,
165 jfloat p9, 164 jfloat p9,
166 JniIntWrapper p10, 165 JniIntWrapper p10,
167 JniIntWrapper p11, 166 JniIntWrapper p11,
168 JniIntWrapper p12, 167 JniIntWrapper p12,
169 JniIntWrapper p13) { 168 JniIntWrapper p13) {
170 /* Must call RegisterNativesImpl() */
171 CHECK_CLAZZ(env, MotionEvent_clazz(env), 169 CHECK_CLAZZ(env, MotionEvent_clazz(env),
172 MotionEvent_clazz(env), NULL); 170 MotionEvent_clazz(env), NULL);
173 jmethodID method_id = 171 jmethodID method_id =
174 base::android::MethodID::LazyGet< 172 base::android::MethodID::LazyGet<
175 base::android::MethodID::TYPE_STATIC>( 173 base::android::MethodID::TYPE_STATIC>(
176 env, MotionEvent_clazz(env), 174 env, MotionEvent_clazz(env),
177 "obtain", 175 "obtain",
178 "(JJII[Landroid/view/MotionEvent$PointerProperties;[Landroid/view/MotionEvent$Po interCoords;IIFFIIII)Landroid/view/MotionEvent;", 176 "(JJII[Landroid/view/MotionEvent$PointerProperties;[Landroid/view/MotionEvent$Po interCoords;IIFFIIII)Landroid/view/MotionEvent;",
179 &g_MotionEvent_obtainAVME_J_J_I_I_LAVMEPP_LAVMEPC_I_I_F_F_I_I_I_I); 177 &g_MotionEvent_obtainAVME_J_J_I_I_LAVMEPP_LAVMEPC_I_I_F_F_I_I_I_I);
180 178
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 JniIntWrapper p3, 210 JniIntWrapper p3,
213 jintArray p4, 211 jintArray p4,
214 jobjectArray p5, 212 jobjectArray p5,
215 JniIntWrapper p6, 213 JniIntWrapper p6,
216 jfloat p7, 214 jfloat p7,
217 jfloat p8, 215 jfloat p8,
218 JniIntWrapper p9, 216 JniIntWrapper p9,
219 JniIntWrapper p10, 217 JniIntWrapper p10,
220 JniIntWrapper p11, 218 JniIntWrapper p11,
221 JniIntWrapper p12) { 219 JniIntWrapper p12) {
222 /* Must call RegisterNativesImpl() */
223 CHECK_CLAZZ(env, MotionEvent_clazz(env), 220 CHECK_CLAZZ(env, MotionEvent_clazz(env),
224 MotionEvent_clazz(env), NULL); 221 MotionEvent_clazz(env), NULL);
225 jmethodID method_id = 222 jmethodID method_id =
226 base::android::MethodID::LazyGet< 223 base::android::MethodID::LazyGet<
227 base::android::MethodID::TYPE_STATIC>( 224 base::android::MethodID::TYPE_STATIC>(
228 env, MotionEvent_clazz(env), 225 env, MotionEvent_clazz(env),
229 "obtain", 226 "obtain",
230 "(JJII[I[Landroid/view/MotionEvent$PointerCoords;IFFIIII)Landroid/view/MotionEve nt;", 227 "(JJII[I[Landroid/view/MotionEvent$PointerCoords;IFFIIII)Landroid/view/MotionEve nt;",
231 &g_MotionEvent_obtainAVME_J_J_I_I_AI_LAVMEPC_I_F_F_I_I_I_I); 228 &g_MotionEvent_obtainAVME_J_J_I_I_AI_LAVMEPC_I_F_F_I_I_I_I);
232 229
(...skipping 26 matching lines...) Expand all
259 JniIntWrapper p2, 256 JniIntWrapper p2,
260 jfloat p3, 257 jfloat p3,
261 jfloat p4, 258 jfloat p4,
262 jfloat p5, 259 jfloat p5,
263 jfloat p6, 260 jfloat p6,
264 JniIntWrapper p7, 261 JniIntWrapper p7,
265 jfloat p8, 262 jfloat p8,
266 jfloat p9, 263 jfloat p9,
267 JniIntWrapper p10, 264 JniIntWrapper p10,
268 JniIntWrapper p11) { 265 JniIntWrapper p11) {
269 /* Must call RegisterNativesImpl() */
270 CHECK_CLAZZ(env, MotionEvent_clazz(env), 266 CHECK_CLAZZ(env, MotionEvent_clazz(env),
271 MotionEvent_clazz(env), NULL); 267 MotionEvent_clazz(env), NULL);
272 jmethodID method_id = 268 jmethodID method_id =
273 base::android::MethodID::LazyGet< 269 base::android::MethodID::LazyGet<
274 base::android::MethodID::TYPE_STATIC>( 270 base::android::MethodID::TYPE_STATIC>(
275 env, MotionEvent_clazz(env), 271 env, MotionEvent_clazz(env),
276 "obtain", 272 "obtain",
277 "(JJIFFFFIFFII)Landroid/view/MotionEvent;", 273 "(JJIFFFFIFFII)Landroid/view/MotionEvent;",
278 &g_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I); 274 &g_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I);
279 275
(...skipping 28 matching lines...) Expand all
308 JniIntWrapper p3, 304 JniIntWrapper p3,
309 jfloat p4, 305 jfloat p4,
310 jfloat p5, 306 jfloat p5,
311 jfloat p6, 307 jfloat p6,
312 jfloat p7, 308 jfloat p7,
313 JniIntWrapper p8, 309 JniIntWrapper p8,
314 jfloat p9, 310 jfloat p9,
315 jfloat p10, 311 jfloat p10,
316 JniIntWrapper p11, 312 JniIntWrapper p11,
317 JniIntWrapper p12) { 313 JniIntWrapper p12) {
318 /* Must call RegisterNativesImpl() */
319 CHECK_CLAZZ(env, MotionEvent_clazz(env), 314 CHECK_CLAZZ(env, MotionEvent_clazz(env),
320 MotionEvent_clazz(env), NULL); 315 MotionEvent_clazz(env), NULL);
321 jmethodID method_id = 316 jmethodID method_id =
322 base::android::MethodID::LazyGet< 317 base::android::MethodID::LazyGet<
323 base::android::MethodID::TYPE_STATIC>( 318 base::android::MethodID::TYPE_STATIC>(
324 env, MotionEvent_clazz(env), 319 env, MotionEvent_clazz(env),
325 "obtain", 320 "obtain",
326 "(JJIIFFFFIFFII)Landroid/view/MotionEvent;", 321 "(JJIIFFFFIFFII)Landroid/view/MotionEvent;",
327 &g_MotionEvent_obtainAVME_J_J_I_I_F_F_F_F_I_F_F_I_I); 322 &g_MotionEvent_obtainAVME_J_J_I_I_F_F_F_F_I_F_F_I_I);
328 323
(...skipping 13 matching lines...) Expand all
342 jfloat p3, 337 jfloat p3,
343 jfloat p4, 338 jfloat p4,
344 JniIntWrapper p5) __attribute__ ((unused)); 339 JniIntWrapper p5) __attribute__ ((unused));
345 static ScopedJavaLocalRef<jobject> 340 static ScopedJavaLocalRef<jobject>
346 Java_MotionEvent_obtainAVME_J_J_I_F_F_I(JNIEnv* env, jlong p0, 341 Java_MotionEvent_obtainAVME_J_J_I_F_F_I(JNIEnv* env, jlong p0,
347 jlong p1, 342 jlong p1,
348 JniIntWrapper p2, 343 JniIntWrapper p2,
349 jfloat p3, 344 jfloat p3,
350 jfloat p4, 345 jfloat p4,
351 JniIntWrapper p5) { 346 JniIntWrapper p5) {
352 /* Must call RegisterNativesImpl() */
353 CHECK_CLAZZ(env, MotionEvent_clazz(env), 347 CHECK_CLAZZ(env, MotionEvent_clazz(env),
354 MotionEvent_clazz(env), NULL); 348 MotionEvent_clazz(env), NULL);
355 jmethodID method_id = 349 jmethodID method_id =
356 base::android::MethodID::LazyGet< 350 base::android::MethodID::LazyGet<
357 base::android::MethodID::TYPE_STATIC>( 351 base::android::MethodID::TYPE_STATIC>(
358 env, MotionEvent_clazz(env), 352 env, MotionEvent_clazz(env),
359 "obtain", 353 "obtain",
360 "(JJIFFI)Landroid/view/MotionEvent;", 354 "(JJIFFI)Landroid/view/MotionEvent;",
361 &g_MotionEvent_obtainAVME_J_J_I_F_F_I); 355 &g_MotionEvent_obtainAVME_J_J_I_F_F_I);
362 356
363 jobject ret = 357 jobject ret =
364 env->CallStaticObjectMethod(MotionEvent_clazz(env), 358 env->CallStaticObjectMethod(MotionEvent_clazz(env),
365 method_id, p0, p1, as_jint(p2), p3, p4, as_jint(p5)); 359 method_id, p0, p1, as_jint(p2), p3, p4, as_jint(p5));
366 jni_generator::CheckException(env); 360 jni_generator::CheckException(env);
367 return ScopedJavaLocalRef<jobject>(env, ret); 361 return ScopedJavaLocalRef<jobject>(env, ret);
368 } 362 }
369 363
370 static base::subtle::AtomicWord g_MotionEvent_obtainAVME_AVME = 0; 364 static base::subtle::AtomicWord g_MotionEvent_obtainAVME_AVME = 0;
371 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainAVME_AVME(JNIEnv* env, 365 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainAVME_AVME(JNIEnv* env,
372 jobject p0) __attribute__ ((unused)); 366 jobject p0) __attribute__ ((unused));
373 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainAVME_AVME(JNIEnv* env, 367 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainAVME_AVME(JNIEnv* env,
374 jobject p0) { 368 jobject p0) {
375 /* Must call RegisterNativesImpl() */
376 CHECK_CLAZZ(env, MotionEvent_clazz(env), 369 CHECK_CLAZZ(env, MotionEvent_clazz(env),
377 MotionEvent_clazz(env), NULL); 370 MotionEvent_clazz(env), NULL);
378 jmethodID method_id = 371 jmethodID method_id =
379 base::android::MethodID::LazyGet< 372 base::android::MethodID::LazyGet<
380 base::android::MethodID::TYPE_STATIC>( 373 base::android::MethodID::TYPE_STATIC>(
381 env, MotionEvent_clazz(env), 374 env, MotionEvent_clazz(env),
382 "obtain", 375 "obtain",
383 "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;", 376 "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;",
384 &g_MotionEvent_obtainAVME_AVME); 377 &g_MotionEvent_obtainAVME_AVME);
385 378
386 jobject ret = 379 jobject ret =
387 env->CallStaticObjectMethod(MotionEvent_clazz(env), 380 env->CallStaticObjectMethod(MotionEvent_clazz(env),
388 method_id, p0); 381 method_id, p0);
389 jni_generator::CheckException(env); 382 jni_generator::CheckException(env);
390 return ScopedJavaLocalRef<jobject>(env, ret); 383 return ScopedJavaLocalRef<jobject>(env, ret);
391 } 384 }
392 385
393 static base::subtle::AtomicWord g_MotionEvent_obtainNoHistory = 0; 386 static base::subtle::AtomicWord g_MotionEvent_obtainNoHistory = 0;
394 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainNoHistory(JNIEnv* env, 387 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainNoHistory(JNIEnv* env,
395 jobject p0) __attribute__ ((unused)); 388 jobject p0) __attribute__ ((unused));
396 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainNoHistory(JNIEnv* env, 389 static ScopedJavaLocalRef<jobject> Java_MotionEvent_obtainNoHistory(JNIEnv* env,
397 jobject p0) { 390 jobject p0) {
398 /* Must call RegisterNativesImpl() */
399 CHECK_CLAZZ(env, MotionEvent_clazz(env), 391 CHECK_CLAZZ(env, MotionEvent_clazz(env),
400 MotionEvent_clazz(env), NULL); 392 MotionEvent_clazz(env), NULL);
401 jmethodID method_id = 393 jmethodID method_id =
402 base::android::MethodID::LazyGet< 394 base::android::MethodID::LazyGet<
403 base::android::MethodID::TYPE_STATIC>( 395 base::android::MethodID::TYPE_STATIC>(
404 env, MotionEvent_clazz(env), 396 env, MotionEvent_clazz(env),
405 "obtainNoHistory", 397 "obtainNoHistory",
406 "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;", 398 "(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;",
407 &g_MotionEvent_obtainNoHistory); 399 &g_MotionEvent_obtainNoHistory);
408 400
409 jobject ret = 401 jobject ret =
410 env->CallStaticObjectMethod(MotionEvent_clazz(env), 402 env->CallStaticObjectMethod(MotionEvent_clazz(env),
411 method_id, p0); 403 method_id, p0);
412 jni_generator::CheckException(env); 404 jni_generator::CheckException(env);
413 return ScopedJavaLocalRef<jobject>(env, ret); 405 return ScopedJavaLocalRef<jobject>(env, ret);
414 } 406 }
415 407
416 static base::subtle::AtomicWord g_MotionEvent_recycle = 0; 408 static base::subtle::AtomicWord g_MotionEvent_recycle = 0;
417 static void Java_MotionEvent_recycle(JNIEnv* env, jobject obj) __attribute__ 409 static void Java_MotionEvent_recycle(JNIEnv* env, jobject obj) __attribute__
418 ((unused)); 410 ((unused));
419 static void Java_MotionEvent_recycle(JNIEnv* env, jobject obj) { 411 static void Java_MotionEvent_recycle(JNIEnv* env, jobject obj) {
420 /* Must call RegisterNativesImpl() */
421 CHECK_CLAZZ(env, obj, 412 CHECK_CLAZZ(env, obj,
422 MotionEvent_clazz(env)); 413 MotionEvent_clazz(env));
423 jmethodID method_id = 414 jmethodID method_id =
424 base::android::MethodID::LazyGet< 415 base::android::MethodID::LazyGet<
425 base::android::MethodID::TYPE_INSTANCE>( 416 base::android::MethodID::TYPE_INSTANCE>(
426 env, MotionEvent_clazz(env), 417 env, MotionEvent_clazz(env),
427 "recycle", 418 "recycle",
428 "()V", 419 "()V",
429 &g_MotionEvent_recycle); 420 &g_MotionEvent_recycle);
430 421
431 env->CallVoidMethod(obj, 422 env->CallVoidMethod(obj,
432 method_id); 423 method_id);
433 jni_generator::CheckException(env); 424 jni_generator::CheckException(env);
434 425
435 } 426 }
436 427
437 static base::subtle::AtomicWord g_MotionEvent_getDeviceId = 0; 428 static base::subtle::AtomicWord g_MotionEvent_getDeviceId = 0;
438 static jint Java_MotionEvent_getDeviceId(JNIEnv* env, jobject obj) __attribute__ 429 static jint Java_MotionEvent_getDeviceId(JNIEnv* env, jobject obj) __attribute__
439 ((unused)); 430 ((unused));
440 static jint Java_MotionEvent_getDeviceId(JNIEnv* env, jobject obj) { 431 static jint Java_MotionEvent_getDeviceId(JNIEnv* env, jobject obj) {
441 /* Must call RegisterNativesImpl() */
442 CHECK_CLAZZ(env, obj, 432 CHECK_CLAZZ(env, obj,
443 MotionEvent_clazz(env), 0); 433 MotionEvent_clazz(env), 0);
444 jmethodID method_id = 434 jmethodID method_id =
445 base::android::MethodID::LazyGet< 435 base::android::MethodID::LazyGet<
446 base::android::MethodID::TYPE_INSTANCE>( 436 base::android::MethodID::TYPE_INSTANCE>(
447 env, MotionEvent_clazz(env), 437 env, MotionEvent_clazz(env),
448 "getDeviceId", 438 "getDeviceId",
449 "()I", 439 "()I",
450 &g_MotionEvent_getDeviceId); 440 &g_MotionEvent_getDeviceId);
451 441
452 jint ret = 442 jint ret =
453 env->CallIntMethod(obj, 443 env->CallIntMethod(obj,
454 method_id); 444 method_id);
455 jni_generator::CheckException(env); 445 jni_generator::CheckException(env);
456 return ret; 446 return ret;
457 } 447 }
458 448
459 static base::subtle::AtomicWord g_MotionEvent_getSource = 0; 449 static base::subtle::AtomicWord g_MotionEvent_getSource = 0;
460 static jint Java_MotionEvent_getSource(JNIEnv* env, jobject obj) __attribute__ 450 static jint Java_MotionEvent_getSource(JNIEnv* env, jobject obj) __attribute__
461 ((unused)); 451 ((unused));
462 static jint Java_MotionEvent_getSource(JNIEnv* env, jobject obj) { 452 static jint Java_MotionEvent_getSource(JNIEnv* env, jobject obj) {
463 /* Must call RegisterNativesImpl() */
464 CHECK_CLAZZ(env, obj, 453 CHECK_CLAZZ(env, obj,
465 MotionEvent_clazz(env), 0); 454 MotionEvent_clazz(env), 0);
466 jmethodID method_id = 455 jmethodID method_id =
467 base::android::MethodID::LazyGet< 456 base::android::MethodID::LazyGet<
468 base::android::MethodID::TYPE_INSTANCE>( 457 base::android::MethodID::TYPE_INSTANCE>(
469 env, MotionEvent_clazz(env), 458 env, MotionEvent_clazz(env),
470 "getSource", 459 "getSource",
471 "()I", 460 "()I",
472 &g_MotionEvent_getSource); 461 &g_MotionEvent_getSource);
473 462
474 jint ret = 463 jint ret =
475 env->CallIntMethod(obj, 464 env->CallIntMethod(obj,
476 method_id); 465 method_id);
477 jni_generator::CheckException(env); 466 jni_generator::CheckException(env);
478 return ret; 467 return ret;
479 } 468 }
480 469
481 static base::subtle::AtomicWord g_MotionEvent_setSource = 0; 470 static base::subtle::AtomicWord g_MotionEvent_setSource = 0;
482 static void Java_MotionEvent_setSource(JNIEnv* env, jobject obj, JniIntWrapper 471 static void Java_MotionEvent_setSource(JNIEnv* env, jobject obj, JniIntWrapper
483 p0) __attribute__ ((unused)); 472 p0) __attribute__ ((unused));
484 static void Java_MotionEvent_setSource(JNIEnv* env, jobject obj, JniIntWrapper 473 static void Java_MotionEvent_setSource(JNIEnv* env, jobject obj, JniIntWrapper
485 p0) { 474 p0) {
486 /* Must call RegisterNativesImpl() */
487 CHECK_CLAZZ(env, obj, 475 CHECK_CLAZZ(env, obj,
488 MotionEvent_clazz(env)); 476 MotionEvent_clazz(env));
489 jmethodID method_id = 477 jmethodID method_id =
490 base::android::MethodID::LazyGet< 478 base::android::MethodID::LazyGet<
491 base::android::MethodID::TYPE_INSTANCE>( 479 base::android::MethodID::TYPE_INSTANCE>(
492 env, MotionEvent_clazz(env), 480 env, MotionEvent_clazz(env),
493 "setSource", 481 "setSource",
494 "(I)V", 482 "(I)V",
495 &g_MotionEvent_setSource); 483 &g_MotionEvent_setSource);
496 484
497 env->CallVoidMethod(obj, 485 env->CallVoidMethod(obj,
498 method_id, as_jint(p0)); 486 method_id, as_jint(p0));
499 jni_generator::CheckException(env); 487 jni_generator::CheckException(env);
500 488
501 } 489 }
502 490
503 static base::subtle::AtomicWord g_MotionEvent_getAction = 0; 491 static base::subtle::AtomicWord g_MotionEvent_getAction = 0;
504 static jint Java_MotionEvent_getAction(JNIEnv* env, jobject obj) __attribute__ 492 static jint Java_MotionEvent_getAction(JNIEnv* env, jobject obj) __attribute__
505 ((unused)); 493 ((unused));
506 static jint Java_MotionEvent_getAction(JNIEnv* env, jobject obj) { 494 static jint Java_MotionEvent_getAction(JNIEnv* env, jobject obj) {
507 /* Must call RegisterNativesImpl() */
508 CHECK_CLAZZ(env, obj, 495 CHECK_CLAZZ(env, obj,
509 MotionEvent_clazz(env), 0); 496 MotionEvent_clazz(env), 0);
510 jmethodID method_id = 497 jmethodID method_id =
511 base::android::MethodID::LazyGet< 498 base::android::MethodID::LazyGet<
512 base::android::MethodID::TYPE_INSTANCE>( 499 base::android::MethodID::TYPE_INSTANCE>(
513 env, MotionEvent_clazz(env), 500 env, MotionEvent_clazz(env),
514 "getAction", 501 "getAction",
515 "()I", 502 "()I",
516 &g_MotionEvent_getAction); 503 &g_MotionEvent_getAction);
517 504
518 jint ret = 505 jint ret =
519 env->CallIntMethod(obj, 506 env->CallIntMethod(obj,
520 method_id); 507 method_id);
521 jni_generator::CheckException(env); 508 jni_generator::CheckException(env);
522 return ret; 509 return ret;
523 } 510 }
524 511
525 static base::subtle::AtomicWord g_MotionEvent_getActionMasked = 0; 512 static base::subtle::AtomicWord g_MotionEvent_getActionMasked = 0;
526 static jint Java_MotionEvent_getActionMasked(JNIEnv* env, jobject obj) 513 static jint Java_MotionEvent_getActionMasked(JNIEnv* env, jobject obj)
527 __attribute__ ((unused)); 514 __attribute__ ((unused));
528 static jint Java_MotionEvent_getActionMasked(JNIEnv* env, jobject obj) { 515 static jint Java_MotionEvent_getActionMasked(JNIEnv* env, jobject obj) {
529 /* Must call RegisterNativesImpl() */
530 CHECK_CLAZZ(env, obj, 516 CHECK_CLAZZ(env, obj,
531 MotionEvent_clazz(env), 0); 517 MotionEvent_clazz(env), 0);
532 jmethodID method_id = 518 jmethodID method_id =
533 base::android::MethodID::LazyGet< 519 base::android::MethodID::LazyGet<
534 base::android::MethodID::TYPE_INSTANCE>( 520 base::android::MethodID::TYPE_INSTANCE>(
535 env, MotionEvent_clazz(env), 521 env, MotionEvent_clazz(env),
536 "getActionMasked", 522 "getActionMasked",
537 "()I", 523 "()I",
538 &g_MotionEvent_getActionMasked); 524 &g_MotionEvent_getActionMasked);
539 525
540 jint ret = 526 jint ret =
541 env->CallIntMethod(obj, 527 env->CallIntMethod(obj,
542 method_id); 528 method_id);
543 jni_generator::CheckException(env); 529 jni_generator::CheckException(env);
544 return ret; 530 return ret;
545 } 531 }
546 532
547 static base::subtle::AtomicWord g_MotionEvent_getActionIndex = 0; 533 static base::subtle::AtomicWord g_MotionEvent_getActionIndex = 0;
548 static jint Java_MotionEvent_getActionIndex(JNIEnv* env, jobject obj) 534 static jint Java_MotionEvent_getActionIndex(JNIEnv* env, jobject obj)
549 __attribute__ ((unused)); 535 __attribute__ ((unused));
550 static jint Java_MotionEvent_getActionIndex(JNIEnv* env, jobject obj) { 536 static jint Java_MotionEvent_getActionIndex(JNIEnv* env, jobject obj) {
551 /* Must call RegisterNativesImpl() */
552 CHECK_CLAZZ(env, obj, 537 CHECK_CLAZZ(env, obj,
553 MotionEvent_clazz(env), 0); 538 MotionEvent_clazz(env), 0);
554 jmethodID method_id = 539 jmethodID method_id =
555 base::android::MethodID::LazyGet< 540 base::android::MethodID::LazyGet<
556 base::android::MethodID::TYPE_INSTANCE>( 541 base::android::MethodID::TYPE_INSTANCE>(
557 env, MotionEvent_clazz(env), 542 env, MotionEvent_clazz(env),
558 "getActionIndex", 543 "getActionIndex",
559 "()I", 544 "()I",
560 &g_MotionEvent_getActionIndex); 545 &g_MotionEvent_getActionIndex);
561 546
562 jint ret = 547 jint ret =
563 env->CallIntMethod(obj, 548 env->CallIntMethod(obj,
564 method_id); 549 method_id);
565 jni_generator::CheckException(env); 550 jni_generator::CheckException(env);
566 return ret; 551 return ret;
567 } 552 }
568 553
569 static base::subtle::AtomicWord g_MotionEvent_getFlags = 0; 554 static base::subtle::AtomicWord g_MotionEvent_getFlags = 0;
570 static jint Java_MotionEvent_getFlags(JNIEnv* env, jobject obj) __attribute__ 555 static jint Java_MotionEvent_getFlags(JNIEnv* env, jobject obj) __attribute__
571 ((unused)); 556 ((unused));
572 static jint Java_MotionEvent_getFlags(JNIEnv* env, jobject obj) { 557 static jint Java_MotionEvent_getFlags(JNIEnv* env, jobject obj) {
573 /* Must call RegisterNativesImpl() */
574 CHECK_CLAZZ(env, obj, 558 CHECK_CLAZZ(env, obj,
575 MotionEvent_clazz(env), 0); 559 MotionEvent_clazz(env), 0);
576 jmethodID method_id = 560 jmethodID method_id =
577 base::android::MethodID::LazyGet< 561 base::android::MethodID::LazyGet<
578 base::android::MethodID::TYPE_INSTANCE>( 562 base::android::MethodID::TYPE_INSTANCE>(
579 env, MotionEvent_clazz(env), 563 env, MotionEvent_clazz(env),
580 "getFlags", 564 "getFlags",
581 "()I", 565 "()I",
582 &g_MotionEvent_getFlags); 566 &g_MotionEvent_getFlags);
583 567
584 jint ret = 568 jint ret =
585 env->CallIntMethod(obj, 569 env->CallIntMethod(obj,
586 method_id); 570 method_id);
587 jni_generator::CheckException(env); 571 jni_generator::CheckException(env);
588 return ret; 572 return ret;
589 } 573 }
590 574
591 static base::subtle::AtomicWord g_MotionEvent_getDownTime = 0; 575 static base::subtle::AtomicWord g_MotionEvent_getDownTime = 0;
592 static jlong Java_MotionEvent_getDownTime(JNIEnv* env, jobject obj) 576 static jlong Java_MotionEvent_getDownTime(JNIEnv* env, jobject obj)
593 __attribute__ ((unused)); 577 __attribute__ ((unused));
594 static jlong Java_MotionEvent_getDownTime(JNIEnv* env, jobject obj) { 578 static jlong Java_MotionEvent_getDownTime(JNIEnv* env, jobject obj) {
595 /* Must call RegisterNativesImpl() */
596 CHECK_CLAZZ(env, obj, 579 CHECK_CLAZZ(env, obj,
597 MotionEvent_clazz(env), 0); 580 MotionEvent_clazz(env), 0);
598 jmethodID method_id = 581 jmethodID method_id =
599 base::android::MethodID::LazyGet< 582 base::android::MethodID::LazyGet<
600 base::android::MethodID::TYPE_INSTANCE>( 583 base::android::MethodID::TYPE_INSTANCE>(
601 env, MotionEvent_clazz(env), 584 env, MotionEvent_clazz(env),
602 "getDownTime", 585 "getDownTime",
603 "()J", 586 "()J",
604 &g_MotionEvent_getDownTime); 587 &g_MotionEvent_getDownTime);
605 588
606 jlong ret = 589 jlong ret =
607 env->CallLongMethod(obj, 590 env->CallLongMethod(obj,
608 method_id); 591 method_id);
609 jni_generator::CheckException(env); 592 jni_generator::CheckException(env);
610 return ret; 593 return ret;
611 } 594 }
612 595
613 static base::subtle::AtomicWord g_MotionEvent_getEventTime = 0; 596 static base::subtle::AtomicWord g_MotionEvent_getEventTime = 0;
614 static jlong Java_MotionEvent_getEventTime(JNIEnv* env, jobject obj) 597 static jlong Java_MotionEvent_getEventTime(JNIEnv* env, jobject obj)
615 __attribute__ ((unused)); 598 __attribute__ ((unused));
616 static jlong Java_MotionEvent_getEventTime(JNIEnv* env, jobject obj) { 599 static jlong Java_MotionEvent_getEventTime(JNIEnv* env, jobject obj) {
617 /* Must call RegisterNativesImpl() */
618 CHECK_CLAZZ(env, obj, 600 CHECK_CLAZZ(env, obj,
619 MotionEvent_clazz(env), 0); 601 MotionEvent_clazz(env), 0);
620 jmethodID method_id = 602 jmethodID method_id =
621 base::android::MethodID::LazyGet< 603 base::android::MethodID::LazyGet<
622 base::android::MethodID::TYPE_INSTANCE>( 604 base::android::MethodID::TYPE_INSTANCE>(
623 env, MotionEvent_clazz(env), 605 env, MotionEvent_clazz(env),
624 "getEventTime", 606 "getEventTime",
625 "()J", 607 "()J",
626 &g_MotionEvent_getEventTime); 608 &g_MotionEvent_getEventTime);
627 609
628 jlong ret = 610 jlong ret =
629 env->CallLongMethod(obj, 611 env->CallLongMethod(obj,
630 method_id); 612 method_id);
631 jni_generator::CheckException(env); 613 jni_generator::CheckException(env);
632 return ret; 614 return ret;
633 } 615 }
634 616
635 static base::subtle::AtomicWord g_MotionEvent_getXF = 0; 617 static base::subtle::AtomicWord g_MotionEvent_getXF = 0;
636 static jfloat Java_MotionEvent_getXF(JNIEnv* env, jobject obj) __attribute__ 618 static jfloat Java_MotionEvent_getXF(JNIEnv* env, jobject obj) __attribute__
637 ((unused)); 619 ((unused));
638 static jfloat Java_MotionEvent_getXF(JNIEnv* env, jobject obj) { 620 static jfloat Java_MotionEvent_getXF(JNIEnv* env, jobject obj) {
639 /* Must call RegisterNativesImpl() */
640 CHECK_CLAZZ(env, obj, 621 CHECK_CLAZZ(env, obj,
641 MotionEvent_clazz(env), 0); 622 MotionEvent_clazz(env), 0);
642 jmethodID method_id = 623 jmethodID method_id =
643 base::android::MethodID::LazyGet< 624 base::android::MethodID::LazyGet<
644 base::android::MethodID::TYPE_INSTANCE>( 625 base::android::MethodID::TYPE_INSTANCE>(
645 env, MotionEvent_clazz(env), 626 env, MotionEvent_clazz(env),
646 "getX", 627 "getX",
647 "()F", 628 "()F",
648 &g_MotionEvent_getXF); 629 &g_MotionEvent_getXF);
649 630
650 jfloat ret = 631 jfloat ret =
651 env->CallFloatMethod(obj, 632 env->CallFloatMethod(obj,
652 method_id); 633 method_id);
653 jni_generator::CheckException(env); 634 jni_generator::CheckException(env);
654 return ret; 635 return ret;
655 } 636 }
656 637
657 static base::subtle::AtomicWord g_MotionEvent_getYF = 0; 638 static base::subtle::AtomicWord g_MotionEvent_getYF = 0;
658 static jfloat Java_MotionEvent_getYF(JNIEnv* env, jobject obj) __attribute__ 639 static jfloat Java_MotionEvent_getYF(JNIEnv* env, jobject obj) __attribute__
659 ((unused)); 640 ((unused));
660 static jfloat Java_MotionEvent_getYF(JNIEnv* env, jobject obj) { 641 static jfloat Java_MotionEvent_getYF(JNIEnv* env, jobject obj) {
661 /* Must call RegisterNativesImpl() */
662 CHECK_CLAZZ(env, obj, 642 CHECK_CLAZZ(env, obj,
663 MotionEvent_clazz(env), 0); 643 MotionEvent_clazz(env), 0);
664 jmethodID method_id = 644 jmethodID method_id =
665 base::android::MethodID::LazyGet< 645 base::android::MethodID::LazyGet<
666 base::android::MethodID::TYPE_INSTANCE>( 646 base::android::MethodID::TYPE_INSTANCE>(
667 env, MotionEvent_clazz(env), 647 env, MotionEvent_clazz(env),
668 "getY", 648 "getY",
669 "()F", 649 "()F",
670 &g_MotionEvent_getYF); 650 &g_MotionEvent_getYF);
671 651
672 jfloat ret = 652 jfloat ret =
673 env->CallFloatMethod(obj, 653 env->CallFloatMethod(obj,
674 method_id); 654 method_id);
675 jni_generator::CheckException(env); 655 jni_generator::CheckException(env);
676 return ret; 656 return ret;
677 } 657 }
678 658
679 static base::subtle::AtomicWord g_MotionEvent_getPressureF = 0; 659 static base::subtle::AtomicWord g_MotionEvent_getPressureF = 0;
680 static jfloat Java_MotionEvent_getPressureF(JNIEnv* env, jobject obj) 660 static jfloat Java_MotionEvent_getPressureF(JNIEnv* env, jobject obj)
681 __attribute__ ((unused)); 661 __attribute__ ((unused));
682 static jfloat Java_MotionEvent_getPressureF(JNIEnv* env, jobject obj) { 662 static jfloat Java_MotionEvent_getPressureF(JNIEnv* env, jobject obj) {
683 /* Must call RegisterNativesImpl() */
684 CHECK_CLAZZ(env, obj, 663 CHECK_CLAZZ(env, obj,
685 MotionEvent_clazz(env), 0); 664 MotionEvent_clazz(env), 0);
686 jmethodID method_id = 665 jmethodID method_id =
687 base::android::MethodID::LazyGet< 666 base::android::MethodID::LazyGet<
688 base::android::MethodID::TYPE_INSTANCE>( 667 base::android::MethodID::TYPE_INSTANCE>(
689 env, MotionEvent_clazz(env), 668 env, MotionEvent_clazz(env),
690 "getPressure", 669 "getPressure",
691 "()F", 670 "()F",
692 &g_MotionEvent_getPressureF); 671 &g_MotionEvent_getPressureF);
693 672
694 jfloat ret = 673 jfloat ret =
695 env->CallFloatMethod(obj, 674 env->CallFloatMethod(obj,
696 method_id); 675 method_id);
697 jni_generator::CheckException(env); 676 jni_generator::CheckException(env);
698 return ret; 677 return ret;
699 } 678 }
700 679
701 static base::subtle::AtomicWord g_MotionEvent_getSizeF = 0; 680 static base::subtle::AtomicWord g_MotionEvent_getSizeF = 0;
702 static jfloat Java_MotionEvent_getSizeF(JNIEnv* env, jobject obj) __attribute__ 681 static jfloat Java_MotionEvent_getSizeF(JNIEnv* env, jobject obj) __attribute__
703 ((unused)); 682 ((unused));
704 static jfloat Java_MotionEvent_getSizeF(JNIEnv* env, jobject obj) { 683 static jfloat Java_MotionEvent_getSizeF(JNIEnv* env, jobject obj) {
705 /* Must call RegisterNativesImpl() */
706 CHECK_CLAZZ(env, obj, 684 CHECK_CLAZZ(env, obj,
707 MotionEvent_clazz(env), 0); 685 MotionEvent_clazz(env), 0);
708 jmethodID method_id = 686 jmethodID method_id =
709 base::android::MethodID::LazyGet< 687 base::android::MethodID::LazyGet<
710 base::android::MethodID::TYPE_INSTANCE>( 688 base::android::MethodID::TYPE_INSTANCE>(
711 env, MotionEvent_clazz(env), 689 env, MotionEvent_clazz(env),
712 "getSize", 690 "getSize",
713 "()F", 691 "()F",
714 &g_MotionEvent_getSizeF); 692 &g_MotionEvent_getSizeF);
715 693
716 jfloat ret = 694 jfloat ret =
717 env->CallFloatMethod(obj, 695 env->CallFloatMethod(obj,
718 method_id); 696 method_id);
719 jni_generator::CheckException(env); 697 jni_generator::CheckException(env);
720 return ret; 698 return ret;
721 } 699 }
722 700
723 static base::subtle::AtomicWord g_MotionEvent_getTouchMajorF = 0; 701 static base::subtle::AtomicWord g_MotionEvent_getTouchMajorF = 0;
724 static jfloat Java_MotionEvent_getTouchMajorF(JNIEnv* env, jobject obj) 702 static jfloat Java_MotionEvent_getTouchMajorF(JNIEnv* env, jobject obj)
725 __attribute__ ((unused)); 703 __attribute__ ((unused));
726 static jfloat Java_MotionEvent_getTouchMajorF(JNIEnv* env, jobject obj) { 704 static jfloat Java_MotionEvent_getTouchMajorF(JNIEnv* env, jobject obj) {
727 /* Must call RegisterNativesImpl() */
728 CHECK_CLAZZ(env, obj, 705 CHECK_CLAZZ(env, obj,
729 MotionEvent_clazz(env), 0); 706 MotionEvent_clazz(env), 0);
730 jmethodID method_id = 707 jmethodID method_id =
731 base::android::MethodID::LazyGet< 708 base::android::MethodID::LazyGet<
732 base::android::MethodID::TYPE_INSTANCE>( 709 base::android::MethodID::TYPE_INSTANCE>(
733 env, MotionEvent_clazz(env), 710 env, MotionEvent_clazz(env),
734 "getTouchMajor", 711 "getTouchMajor",
735 "()F", 712 "()F",
736 &g_MotionEvent_getTouchMajorF); 713 &g_MotionEvent_getTouchMajorF);
737 714
738 jfloat ret = 715 jfloat ret =
739 env->CallFloatMethod(obj, 716 env->CallFloatMethod(obj,
740 method_id); 717 method_id);
741 jni_generator::CheckException(env); 718 jni_generator::CheckException(env);
742 return ret; 719 return ret;
743 } 720 }
744 721
745 static base::subtle::AtomicWord g_MotionEvent_getTouchMinorF = 0; 722 static base::subtle::AtomicWord g_MotionEvent_getTouchMinorF = 0;
746 static jfloat Java_MotionEvent_getTouchMinorF(JNIEnv* env, jobject obj) 723 static jfloat Java_MotionEvent_getTouchMinorF(JNIEnv* env, jobject obj)
747 __attribute__ ((unused)); 724 __attribute__ ((unused));
748 static jfloat Java_MotionEvent_getTouchMinorF(JNIEnv* env, jobject obj) { 725 static jfloat Java_MotionEvent_getTouchMinorF(JNIEnv* env, jobject obj) {
749 /* Must call RegisterNativesImpl() */
750 CHECK_CLAZZ(env, obj, 726 CHECK_CLAZZ(env, obj,
751 MotionEvent_clazz(env), 0); 727 MotionEvent_clazz(env), 0);
752 jmethodID method_id = 728 jmethodID method_id =
753 base::android::MethodID::LazyGet< 729 base::android::MethodID::LazyGet<
754 base::android::MethodID::TYPE_INSTANCE>( 730 base::android::MethodID::TYPE_INSTANCE>(
755 env, MotionEvent_clazz(env), 731 env, MotionEvent_clazz(env),
756 "getTouchMinor", 732 "getTouchMinor",
757 "()F", 733 "()F",
758 &g_MotionEvent_getTouchMinorF); 734 &g_MotionEvent_getTouchMinorF);
759 735
760 jfloat ret = 736 jfloat ret =
761 env->CallFloatMethod(obj, 737 env->CallFloatMethod(obj,
762 method_id); 738 method_id);
763 jni_generator::CheckException(env); 739 jni_generator::CheckException(env);
764 return ret; 740 return ret;
765 } 741 }
766 742
767 static base::subtle::AtomicWord g_MotionEvent_getToolMajorF = 0; 743 static base::subtle::AtomicWord g_MotionEvent_getToolMajorF = 0;
768 static jfloat Java_MotionEvent_getToolMajorF(JNIEnv* env, jobject obj) 744 static jfloat Java_MotionEvent_getToolMajorF(JNIEnv* env, jobject obj)
769 __attribute__ ((unused)); 745 __attribute__ ((unused));
770 static jfloat Java_MotionEvent_getToolMajorF(JNIEnv* env, jobject obj) { 746 static jfloat Java_MotionEvent_getToolMajorF(JNIEnv* env, jobject obj) {
771 /* Must call RegisterNativesImpl() */
772 CHECK_CLAZZ(env, obj, 747 CHECK_CLAZZ(env, obj,
773 MotionEvent_clazz(env), 0); 748 MotionEvent_clazz(env), 0);
774 jmethodID method_id = 749 jmethodID method_id =
775 base::android::MethodID::LazyGet< 750 base::android::MethodID::LazyGet<
776 base::android::MethodID::TYPE_INSTANCE>( 751 base::android::MethodID::TYPE_INSTANCE>(
777 env, MotionEvent_clazz(env), 752 env, MotionEvent_clazz(env),
778 "getToolMajor", 753 "getToolMajor",
779 "()F", 754 "()F",
780 &g_MotionEvent_getToolMajorF); 755 &g_MotionEvent_getToolMajorF);
781 756
782 jfloat ret = 757 jfloat ret =
783 env->CallFloatMethod(obj, 758 env->CallFloatMethod(obj,
784 method_id); 759 method_id);
785 jni_generator::CheckException(env); 760 jni_generator::CheckException(env);
786 return ret; 761 return ret;
787 } 762 }
788 763
789 static base::subtle::AtomicWord g_MotionEvent_getToolMinorF = 0; 764 static base::subtle::AtomicWord g_MotionEvent_getToolMinorF = 0;
790 static jfloat Java_MotionEvent_getToolMinorF(JNIEnv* env, jobject obj) 765 static jfloat Java_MotionEvent_getToolMinorF(JNIEnv* env, jobject obj)
791 __attribute__ ((unused)); 766 __attribute__ ((unused));
792 static jfloat Java_MotionEvent_getToolMinorF(JNIEnv* env, jobject obj) { 767 static jfloat Java_MotionEvent_getToolMinorF(JNIEnv* env, jobject obj) {
793 /* Must call RegisterNativesImpl() */
794 CHECK_CLAZZ(env, obj, 768 CHECK_CLAZZ(env, obj,
795 MotionEvent_clazz(env), 0); 769 MotionEvent_clazz(env), 0);
796 jmethodID method_id = 770 jmethodID method_id =
797 base::android::MethodID::LazyGet< 771 base::android::MethodID::LazyGet<
798 base::android::MethodID::TYPE_INSTANCE>( 772 base::android::MethodID::TYPE_INSTANCE>(
799 env, MotionEvent_clazz(env), 773 env, MotionEvent_clazz(env),
800 "getToolMinor", 774 "getToolMinor",
801 "()F", 775 "()F",
802 &g_MotionEvent_getToolMinorF); 776 &g_MotionEvent_getToolMinorF);
803 777
804 jfloat ret = 778 jfloat ret =
805 env->CallFloatMethod(obj, 779 env->CallFloatMethod(obj,
806 method_id); 780 method_id);
807 jni_generator::CheckException(env); 781 jni_generator::CheckException(env);
808 return ret; 782 return ret;
809 } 783 }
810 784
811 static base::subtle::AtomicWord g_MotionEvent_getOrientationF = 0; 785 static base::subtle::AtomicWord g_MotionEvent_getOrientationF = 0;
812 static jfloat Java_MotionEvent_getOrientationF(JNIEnv* env, jobject obj) 786 static jfloat Java_MotionEvent_getOrientationF(JNIEnv* env, jobject obj)
813 __attribute__ ((unused)); 787 __attribute__ ((unused));
814 static jfloat Java_MotionEvent_getOrientationF(JNIEnv* env, jobject obj) { 788 static jfloat Java_MotionEvent_getOrientationF(JNIEnv* env, jobject obj) {
815 /* Must call RegisterNativesImpl() */
816 CHECK_CLAZZ(env, obj, 789 CHECK_CLAZZ(env, obj,
817 MotionEvent_clazz(env), 0); 790 MotionEvent_clazz(env), 0);
818 jmethodID method_id = 791 jmethodID method_id =
819 base::android::MethodID::LazyGet< 792 base::android::MethodID::LazyGet<
820 base::android::MethodID::TYPE_INSTANCE>( 793 base::android::MethodID::TYPE_INSTANCE>(
821 env, MotionEvent_clazz(env), 794 env, MotionEvent_clazz(env),
822 "getOrientation", 795 "getOrientation",
823 "()F", 796 "()F",
824 &g_MotionEvent_getOrientationF); 797 &g_MotionEvent_getOrientationF);
825 798
826 jfloat ret = 799 jfloat ret =
827 env->CallFloatMethod(obj, 800 env->CallFloatMethod(obj,
828 method_id); 801 method_id);
829 jni_generator::CheckException(env); 802 jni_generator::CheckException(env);
830 return ret; 803 return ret;
831 } 804 }
832 805
833 static base::subtle::AtomicWord g_MotionEvent_getAxisValueF_I = 0; 806 static base::subtle::AtomicWord g_MotionEvent_getAxisValueF_I = 0;
834 static jfloat Java_MotionEvent_getAxisValueF_I(JNIEnv* env, jobject obj, 807 static jfloat Java_MotionEvent_getAxisValueF_I(JNIEnv* env, jobject obj,
835 JniIntWrapper p0) __attribute__ ((unused)); 808 JniIntWrapper p0) __attribute__ ((unused));
836 static jfloat Java_MotionEvent_getAxisValueF_I(JNIEnv* env, jobject obj, 809 static jfloat Java_MotionEvent_getAxisValueF_I(JNIEnv* env, jobject obj,
837 JniIntWrapper p0) { 810 JniIntWrapper p0) {
838 /* Must call RegisterNativesImpl() */
839 CHECK_CLAZZ(env, obj, 811 CHECK_CLAZZ(env, obj,
840 MotionEvent_clazz(env), 0); 812 MotionEvent_clazz(env), 0);
841 jmethodID method_id = 813 jmethodID method_id =
842 base::android::MethodID::LazyGet< 814 base::android::MethodID::LazyGet<
843 base::android::MethodID::TYPE_INSTANCE>( 815 base::android::MethodID::TYPE_INSTANCE>(
844 env, MotionEvent_clazz(env), 816 env, MotionEvent_clazz(env),
845 "getAxisValue", 817 "getAxisValue",
846 "(I)F", 818 "(I)F",
847 &g_MotionEvent_getAxisValueF_I); 819 &g_MotionEvent_getAxisValueF_I);
848 820
849 jfloat ret = 821 jfloat ret =
850 env->CallFloatMethod(obj, 822 env->CallFloatMethod(obj,
851 method_id, as_jint(p0)); 823 method_id, as_jint(p0));
852 jni_generator::CheckException(env); 824 jni_generator::CheckException(env);
853 return ret; 825 return ret;
854 } 826 }
855 827
856 static base::subtle::AtomicWord g_MotionEvent_getPointerCount = 0; 828 static base::subtle::AtomicWord g_MotionEvent_getPointerCount = 0;
857 static jint Java_MotionEvent_getPointerCount(JNIEnv* env, jobject obj) 829 static jint Java_MotionEvent_getPointerCount(JNIEnv* env, jobject obj)
858 __attribute__ ((unused)); 830 __attribute__ ((unused));
859 static jint Java_MotionEvent_getPointerCount(JNIEnv* env, jobject obj) { 831 static jint Java_MotionEvent_getPointerCount(JNIEnv* env, jobject obj) {
860 /* Must call RegisterNativesImpl() */
861 CHECK_CLAZZ(env, obj, 832 CHECK_CLAZZ(env, obj,
862 MotionEvent_clazz(env), 0); 833 MotionEvent_clazz(env), 0);
863 jmethodID method_id = 834 jmethodID method_id =
864 base::android::MethodID::LazyGet< 835 base::android::MethodID::LazyGet<
865 base::android::MethodID::TYPE_INSTANCE>( 836 base::android::MethodID::TYPE_INSTANCE>(
866 env, MotionEvent_clazz(env), 837 env, MotionEvent_clazz(env),
867 "getPointerCount", 838 "getPointerCount",
868 "()I", 839 "()I",
869 &g_MotionEvent_getPointerCount); 840 &g_MotionEvent_getPointerCount);
870 841
871 jint ret = 842 jint ret =
872 env->CallIntMethod(obj, 843 env->CallIntMethod(obj,
873 method_id); 844 method_id);
874 jni_generator::CheckException(env); 845 jni_generator::CheckException(env);
875 return ret; 846 return ret;
876 } 847 }
877 848
878 static base::subtle::AtomicWord g_MotionEvent_getPointerId = 0; 849 static base::subtle::AtomicWord g_MotionEvent_getPointerId = 0;
879 static jint Java_MotionEvent_getPointerId(JNIEnv* env, jobject obj, 850 static jint Java_MotionEvent_getPointerId(JNIEnv* env, jobject obj,
880 JniIntWrapper p0) __attribute__ ((unused)); 851 JniIntWrapper p0) __attribute__ ((unused));
881 static jint Java_MotionEvent_getPointerId(JNIEnv* env, jobject obj, 852 static jint Java_MotionEvent_getPointerId(JNIEnv* env, jobject obj,
882 JniIntWrapper p0) { 853 JniIntWrapper p0) {
883 /* Must call RegisterNativesImpl() */
884 CHECK_CLAZZ(env, obj, 854 CHECK_CLAZZ(env, obj,
885 MotionEvent_clazz(env), 0); 855 MotionEvent_clazz(env), 0);
886 jmethodID method_id = 856 jmethodID method_id =
887 base::android::MethodID::LazyGet< 857 base::android::MethodID::LazyGet<
888 base::android::MethodID::TYPE_INSTANCE>( 858 base::android::MethodID::TYPE_INSTANCE>(
889 env, MotionEvent_clazz(env), 859 env, MotionEvent_clazz(env),
890 "getPointerId", 860 "getPointerId",
891 "(I)I", 861 "(I)I",
892 &g_MotionEvent_getPointerId); 862 &g_MotionEvent_getPointerId);
893 863
894 jint ret = 864 jint ret =
895 env->CallIntMethod(obj, 865 env->CallIntMethod(obj,
896 method_id, as_jint(p0)); 866 method_id, as_jint(p0));
897 jni_generator::CheckException(env); 867 jni_generator::CheckException(env);
898 return ret; 868 return ret;
899 } 869 }
900 870
901 static base::subtle::AtomicWord g_MotionEvent_getToolType = 0; 871 static base::subtle::AtomicWord g_MotionEvent_getToolType = 0;
902 static jint Java_MotionEvent_getToolType(JNIEnv* env, jobject obj, JniIntWrapper 872 static jint Java_MotionEvent_getToolType(JNIEnv* env, jobject obj, JniIntWrapper
903 p0) __attribute__ ((unused)); 873 p0) __attribute__ ((unused));
904 static jint Java_MotionEvent_getToolType(JNIEnv* env, jobject obj, JniIntWrapper 874 static jint Java_MotionEvent_getToolType(JNIEnv* env, jobject obj, JniIntWrapper
905 p0) { 875 p0) {
906 /* Must call RegisterNativesImpl() */
907 CHECK_CLAZZ(env, obj, 876 CHECK_CLAZZ(env, obj,
908 MotionEvent_clazz(env), 0); 877 MotionEvent_clazz(env), 0);
909 jmethodID method_id = 878 jmethodID method_id =
910 base::android::MethodID::LazyGet< 879 base::android::MethodID::LazyGet<
911 base::android::MethodID::TYPE_INSTANCE>( 880 base::android::MethodID::TYPE_INSTANCE>(
912 env, MotionEvent_clazz(env), 881 env, MotionEvent_clazz(env),
913 "getToolType", 882 "getToolType",
914 "(I)I", 883 "(I)I",
915 &g_MotionEvent_getToolType); 884 &g_MotionEvent_getToolType);
916 885
917 jint ret = 886 jint ret =
918 env->CallIntMethod(obj, 887 env->CallIntMethod(obj,
919 method_id, as_jint(p0)); 888 method_id, as_jint(p0));
920 jni_generator::CheckException(env); 889 jni_generator::CheckException(env);
921 return ret; 890 return ret;
922 } 891 }
923 892
924 static base::subtle::AtomicWord g_MotionEvent_findPointerIndex = 0; 893 static base::subtle::AtomicWord g_MotionEvent_findPointerIndex = 0;
925 static jint Java_MotionEvent_findPointerIndex(JNIEnv* env, jobject obj, 894 static jint Java_MotionEvent_findPointerIndex(JNIEnv* env, jobject obj,
926 JniIntWrapper p0) __attribute__ ((unused)); 895 JniIntWrapper p0) __attribute__ ((unused));
927 static jint Java_MotionEvent_findPointerIndex(JNIEnv* env, jobject obj, 896 static jint Java_MotionEvent_findPointerIndex(JNIEnv* env, jobject obj,
928 JniIntWrapper p0) { 897 JniIntWrapper p0) {
929 /* Must call RegisterNativesImpl() */
930 CHECK_CLAZZ(env, obj, 898 CHECK_CLAZZ(env, obj,
931 MotionEvent_clazz(env), 0); 899 MotionEvent_clazz(env), 0);
932 jmethodID method_id = 900 jmethodID method_id =
933 base::android::MethodID::LazyGet< 901 base::android::MethodID::LazyGet<
934 base::android::MethodID::TYPE_INSTANCE>( 902 base::android::MethodID::TYPE_INSTANCE>(
935 env, MotionEvent_clazz(env), 903 env, MotionEvent_clazz(env),
936 "findPointerIndex", 904 "findPointerIndex",
937 "(I)I", 905 "(I)I",
938 &g_MotionEvent_findPointerIndex); 906 &g_MotionEvent_findPointerIndex);
939 907
940 jint ret = 908 jint ret =
941 env->CallIntMethod(obj, 909 env->CallIntMethod(obj,
942 method_id, as_jint(p0)); 910 method_id, as_jint(p0));
943 jni_generator::CheckException(env); 911 jni_generator::CheckException(env);
944 return ret; 912 return ret;
945 } 913 }
946 914
947 static base::subtle::AtomicWord g_MotionEvent_getXF_I = 0; 915 static base::subtle::AtomicWord g_MotionEvent_getXF_I = 0;
948 static jfloat Java_MotionEvent_getXF_I(JNIEnv* env, jobject obj, JniIntWrapper 916 static jfloat Java_MotionEvent_getXF_I(JNIEnv* env, jobject obj, JniIntWrapper
949 p0) __attribute__ ((unused)); 917 p0) __attribute__ ((unused));
950 static jfloat Java_MotionEvent_getXF_I(JNIEnv* env, jobject obj, JniIntWrapper 918 static jfloat Java_MotionEvent_getXF_I(JNIEnv* env, jobject obj, JniIntWrapper
951 p0) { 919 p0) {
952 /* Must call RegisterNativesImpl() */
953 CHECK_CLAZZ(env, obj, 920 CHECK_CLAZZ(env, obj,
954 MotionEvent_clazz(env), 0); 921 MotionEvent_clazz(env), 0);
955 jmethodID method_id = 922 jmethodID method_id =
956 base::android::MethodID::LazyGet< 923 base::android::MethodID::LazyGet<
957 base::android::MethodID::TYPE_INSTANCE>( 924 base::android::MethodID::TYPE_INSTANCE>(
958 env, MotionEvent_clazz(env), 925 env, MotionEvent_clazz(env),
959 "getX", 926 "getX",
960 "(I)F", 927 "(I)F",
961 &g_MotionEvent_getXF_I); 928 &g_MotionEvent_getXF_I);
962 929
963 jfloat ret = 930 jfloat ret =
964 env->CallFloatMethod(obj, 931 env->CallFloatMethod(obj,
965 method_id, as_jint(p0)); 932 method_id, as_jint(p0));
966 jni_generator::CheckException(env); 933 jni_generator::CheckException(env);
967 return ret; 934 return ret;
968 } 935 }
969 936
970 static base::subtle::AtomicWord g_MotionEvent_getYF_I = 0; 937 static base::subtle::AtomicWord g_MotionEvent_getYF_I = 0;
971 static jfloat Java_MotionEvent_getYF_I(JNIEnv* env, jobject obj, JniIntWrapper 938 static jfloat Java_MotionEvent_getYF_I(JNIEnv* env, jobject obj, JniIntWrapper
972 p0) __attribute__ ((unused)); 939 p0) __attribute__ ((unused));
973 static jfloat Java_MotionEvent_getYF_I(JNIEnv* env, jobject obj, JniIntWrapper 940 static jfloat Java_MotionEvent_getYF_I(JNIEnv* env, jobject obj, JniIntWrapper
974 p0) { 941 p0) {
975 /* Must call RegisterNativesImpl() */
976 CHECK_CLAZZ(env, obj, 942 CHECK_CLAZZ(env, obj,
977 MotionEvent_clazz(env), 0); 943 MotionEvent_clazz(env), 0);
978 jmethodID method_id = 944 jmethodID method_id =
979 base::android::MethodID::LazyGet< 945 base::android::MethodID::LazyGet<
980 base::android::MethodID::TYPE_INSTANCE>( 946 base::android::MethodID::TYPE_INSTANCE>(
981 env, MotionEvent_clazz(env), 947 env, MotionEvent_clazz(env),
982 "getY", 948 "getY",
983 "(I)F", 949 "(I)F",
984 &g_MotionEvent_getYF_I); 950 &g_MotionEvent_getYF_I);
985 951
986 jfloat ret = 952 jfloat ret =
987 env->CallFloatMethod(obj, 953 env->CallFloatMethod(obj,
988 method_id, as_jint(p0)); 954 method_id, as_jint(p0));
989 jni_generator::CheckException(env); 955 jni_generator::CheckException(env);
990 return ret; 956 return ret;
991 } 957 }
992 958
993 static base::subtle::AtomicWord g_MotionEvent_getPressureF_I = 0; 959 static base::subtle::AtomicWord g_MotionEvent_getPressureF_I = 0;
994 static jfloat Java_MotionEvent_getPressureF_I(JNIEnv* env, jobject obj, 960 static jfloat Java_MotionEvent_getPressureF_I(JNIEnv* env, jobject obj,
995 JniIntWrapper p0) __attribute__ ((unused)); 961 JniIntWrapper p0) __attribute__ ((unused));
996 static jfloat Java_MotionEvent_getPressureF_I(JNIEnv* env, jobject obj, 962 static jfloat Java_MotionEvent_getPressureF_I(JNIEnv* env, jobject obj,
997 JniIntWrapper p0) { 963 JniIntWrapper p0) {
998 /* Must call RegisterNativesImpl() */
999 CHECK_CLAZZ(env, obj, 964 CHECK_CLAZZ(env, obj,
1000 MotionEvent_clazz(env), 0); 965 MotionEvent_clazz(env), 0);
1001 jmethodID method_id = 966 jmethodID method_id =
1002 base::android::MethodID::LazyGet< 967 base::android::MethodID::LazyGet<
1003 base::android::MethodID::TYPE_INSTANCE>( 968 base::android::MethodID::TYPE_INSTANCE>(
1004 env, MotionEvent_clazz(env), 969 env, MotionEvent_clazz(env),
1005 "getPressure", 970 "getPressure",
1006 "(I)F", 971 "(I)F",
1007 &g_MotionEvent_getPressureF_I); 972 &g_MotionEvent_getPressureF_I);
1008 973
1009 jfloat ret = 974 jfloat ret =
1010 env->CallFloatMethod(obj, 975 env->CallFloatMethod(obj,
1011 method_id, as_jint(p0)); 976 method_id, as_jint(p0));
1012 jni_generator::CheckException(env); 977 jni_generator::CheckException(env);
1013 return ret; 978 return ret;
1014 } 979 }
1015 980
1016 static base::subtle::AtomicWord g_MotionEvent_getSizeF_I = 0; 981 static base::subtle::AtomicWord g_MotionEvent_getSizeF_I = 0;
1017 static jfloat Java_MotionEvent_getSizeF_I(JNIEnv* env, jobject obj, 982 static jfloat Java_MotionEvent_getSizeF_I(JNIEnv* env, jobject obj,
1018 JniIntWrapper p0) __attribute__ ((unused)); 983 JniIntWrapper p0) __attribute__ ((unused));
1019 static jfloat Java_MotionEvent_getSizeF_I(JNIEnv* env, jobject obj, 984 static jfloat Java_MotionEvent_getSizeF_I(JNIEnv* env, jobject obj,
1020 JniIntWrapper p0) { 985 JniIntWrapper p0) {
1021 /* Must call RegisterNativesImpl() */
1022 CHECK_CLAZZ(env, obj, 986 CHECK_CLAZZ(env, obj,
1023 MotionEvent_clazz(env), 0); 987 MotionEvent_clazz(env), 0);
1024 jmethodID method_id = 988 jmethodID method_id =
1025 base::android::MethodID::LazyGet< 989 base::android::MethodID::LazyGet<
1026 base::android::MethodID::TYPE_INSTANCE>( 990 base::android::MethodID::TYPE_INSTANCE>(
1027 env, MotionEvent_clazz(env), 991 env, MotionEvent_clazz(env),
1028 "getSize", 992 "getSize",
1029 "(I)F", 993 "(I)F",
1030 &g_MotionEvent_getSizeF_I); 994 &g_MotionEvent_getSizeF_I);
1031 995
1032 jfloat ret = 996 jfloat ret =
1033 env->CallFloatMethod(obj, 997 env->CallFloatMethod(obj,
1034 method_id, as_jint(p0)); 998 method_id, as_jint(p0));
1035 jni_generator::CheckException(env); 999 jni_generator::CheckException(env);
1036 return ret; 1000 return ret;
1037 } 1001 }
1038 1002
1039 static base::subtle::AtomicWord g_MotionEvent_getTouchMajorF_I = 0; 1003 static base::subtle::AtomicWord g_MotionEvent_getTouchMajorF_I = 0;
1040 static jfloat Java_MotionEvent_getTouchMajorF_I(JNIEnv* env, jobject obj, 1004 static jfloat Java_MotionEvent_getTouchMajorF_I(JNIEnv* env, jobject obj,
1041 JniIntWrapper p0) __attribute__ ((unused)); 1005 JniIntWrapper p0) __attribute__ ((unused));
1042 static jfloat Java_MotionEvent_getTouchMajorF_I(JNIEnv* env, jobject obj, 1006 static jfloat Java_MotionEvent_getTouchMajorF_I(JNIEnv* env, jobject obj,
1043 JniIntWrapper p0) { 1007 JniIntWrapper p0) {
1044 /* Must call RegisterNativesImpl() */
1045 CHECK_CLAZZ(env, obj, 1008 CHECK_CLAZZ(env, obj,
1046 MotionEvent_clazz(env), 0); 1009 MotionEvent_clazz(env), 0);
1047 jmethodID method_id = 1010 jmethodID method_id =
1048 base::android::MethodID::LazyGet< 1011 base::android::MethodID::LazyGet<
1049 base::android::MethodID::TYPE_INSTANCE>( 1012 base::android::MethodID::TYPE_INSTANCE>(
1050 env, MotionEvent_clazz(env), 1013 env, MotionEvent_clazz(env),
1051 "getTouchMajor", 1014 "getTouchMajor",
1052 "(I)F", 1015 "(I)F",
1053 &g_MotionEvent_getTouchMajorF_I); 1016 &g_MotionEvent_getTouchMajorF_I);
1054 1017
1055 jfloat ret = 1018 jfloat ret =
1056 env->CallFloatMethod(obj, 1019 env->CallFloatMethod(obj,
1057 method_id, as_jint(p0)); 1020 method_id, as_jint(p0));
1058 jni_generator::CheckException(env); 1021 jni_generator::CheckException(env);
1059 return ret; 1022 return ret;
1060 } 1023 }
1061 1024
1062 static base::subtle::AtomicWord g_MotionEvent_getTouchMinorF_I = 0; 1025 static base::subtle::AtomicWord g_MotionEvent_getTouchMinorF_I = 0;
1063 static jfloat Java_MotionEvent_getTouchMinorF_I(JNIEnv* env, jobject obj, 1026 static jfloat Java_MotionEvent_getTouchMinorF_I(JNIEnv* env, jobject obj,
1064 JniIntWrapper p0) __attribute__ ((unused)); 1027 JniIntWrapper p0) __attribute__ ((unused));
1065 static jfloat Java_MotionEvent_getTouchMinorF_I(JNIEnv* env, jobject obj, 1028 static jfloat Java_MotionEvent_getTouchMinorF_I(JNIEnv* env, jobject obj,
1066 JniIntWrapper p0) { 1029 JniIntWrapper p0) {
1067 /* Must call RegisterNativesImpl() */
1068 CHECK_CLAZZ(env, obj, 1030 CHECK_CLAZZ(env, obj,
1069 MotionEvent_clazz(env), 0); 1031 MotionEvent_clazz(env), 0);
1070 jmethodID method_id = 1032 jmethodID method_id =
1071 base::android::MethodID::LazyGet< 1033 base::android::MethodID::LazyGet<
1072 base::android::MethodID::TYPE_INSTANCE>( 1034 base::android::MethodID::TYPE_INSTANCE>(
1073 env, MotionEvent_clazz(env), 1035 env, MotionEvent_clazz(env),
1074 "getTouchMinor", 1036 "getTouchMinor",
1075 "(I)F", 1037 "(I)F",
1076 &g_MotionEvent_getTouchMinorF_I); 1038 &g_MotionEvent_getTouchMinorF_I);
1077 1039
1078 jfloat ret = 1040 jfloat ret =
1079 env->CallFloatMethod(obj, 1041 env->CallFloatMethod(obj,
1080 method_id, as_jint(p0)); 1042 method_id, as_jint(p0));
1081 jni_generator::CheckException(env); 1043 jni_generator::CheckException(env);
1082 return ret; 1044 return ret;
1083 } 1045 }
1084 1046
1085 static base::subtle::AtomicWord g_MotionEvent_getToolMajorF_I = 0; 1047 static base::subtle::AtomicWord g_MotionEvent_getToolMajorF_I = 0;
1086 static jfloat Java_MotionEvent_getToolMajorF_I(JNIEnv* env, jobject obj, 1048 static jfloat Java_MotionEvent_getToolMajorF_I(JNIEnv* env, jobject obj,
1087 JniIntWrapper p0) __attribute__ ((unused)); 1049 JniIntWrapper p0) __attribute__ ((unused));
1088 static jfloat Java_MotionEvent_getToolMajorF_I(JNIEnv* env, jobject obj, 1050 static jfloat Java_MotionEvent_getToolMajorF_I(JNIEnv* env, jobject obj,
1089 JniIntWrapper p0) { 1051 JniIntWrapper p0) {
1090 /* Must call RegisterNativesImpl() */
1091 CHECK_CLAZZ(env, obj, 1052 CHECK_CLAZZ(env, obj,
1092 MotionEvent_clazz(env), 0); 1053 MotionEvent_clazz(env), 0);
1093 jmethodID method_id = 1054 jmethodID method_id =
1094 base::android::MethodID::LazyGet< 1055 base::android::MethodID::LazyGet<
1095 base::android::MethodID::TYPE_INSTANCE>( 1056 base::android::MethodID::TYPE_INSTANCE>(
1096 env, MotionEvent_clazz(env), 1057 env, MotionEvent_clazz(env),
1097 "getToolMajor", 1058 "getToolMajor",
1098 "(I)F", 1059 "(I)F",
1099 &g_MotionEvent_getToolMajorF_I); 1060 &g_MotionEvent_getToolMajorF_I);
1100 1061
1101 jfloat ret = 1062 jfloat ret =
1102 env->CallFloatMethod(obj, 1063 env->CallFloatMethod(obj,
1103 method_id, as_jint(p0)); 1064 method_id, as_jint(p0));
1104 jni_generator::CheckException(env); 1065 jni_generator::CheckException(env);
1105 return ret; 1066 return ret;
1106 } 1067 }
1107 1068
1108 static base::subtle::AtomicWord g_MotionEvent_getToolMinorF_I = 0; 1069 static base::subtle::AtomicWord g_MotionEvent_getToolMinorF_I = 0;
1109 static jfloat Java_MotionEvent_getToolMinorF_I(JNIEnv* env, jobject obj, 1070 static jfloat Java_MotionEvent_getToolMinorF_I(JNIEnv* env, jobject obj,
1110 JniIntWrapper p0) __attribute__ ((unused)); 1071 JniIntWrapper p0) __attribute__ ((unused));
1111 static jfloat Java_MotionEvent_getToolMinorF_I(JNIEnv* env, jobject obj, 1072 static jfloat Java_MotionEvent_getToolMinorF_I(JNIEnv* env, jobject obj,
1112 JniIntWrapper p0) { 1073 JniIntWrapper p0) {
1113 /* Must call RegisterNativesImpl() */
1114 CHECK_CLAZZ(env, obj, 1074 CHECK_CLAZZ(env, obj,
1115 MotionEvent_clazz(env), 0); 1075 MotionEvent_clazz(env), 0);
1116 jmethodID method_id = 1076 jmethodID method_id =
1117 base::android::MethodID::LazyGet< 1077 base::android::MethodID::LazyGet<
1118 base::android::MethodID::TYPE_INSTANCE>( 1078 base::android::MethodID::TYPE_INSTANCE>(
1119 env, MotionEvent_clazz(env), 1079 env, MotionEvent_clazz(env),
1120 "getToolMinor", 1080 "getToolMinor",
1121 "(I)F", 1081 "(I)F",
1122 &g_MotionEvent_getToolMinorF_I); 1082 &g_MotionEvent_getToolMinorF_I);
1123 1083
1124 jfloat ret = 1084 jfloat ret =
1125 env->CallFloatMethod(obj, 1085 env->CallFloatMethod(obj,
1126 method_id, as_jint(p0)); 1086 method_id, as_jint(p0));
1127 jni_generator::CheckException(env); 1087 jni_generator::CheckException(env);
1128 return ret; 1088 return ret;
1129 } 1089 }
1130 1090
1131 static base::subtle::AtomicWord g_MotionEvent_getOrientationF_I = 0; 1091 static base::subtle::AtomicWord g_MotionEvent_getOrientationF_I = 0;
1132 static jfloat Java_MotionEvent_getOrientationF_I(JNIEnv* env, jobject obj, 1092 static jfloat Java_MotionEvent_getOrientationF_I(JNIEnv* env, jobject obj,
1133 JniIntWrapper p0) __attribute__ ((unused)); 1093 JniIntWrapper p0) __attribute__ ((unused));
1134 static jfloat Java_MotionEvent_getOrientationF_I(JNIEnv* env, jobject obj, 1094 static jfloat Java_MotionEvent_getOrientationF_I(JNIEnv* env, jobject obj,
1135 JniIntWrapper p0) { 1095 JniIntWrapper p0) {
1136 /* Must call RegisterNativesImpl() */
1137 CHECK_CLAZZ(env, obj, 1096 CHECK_CLAZZ(env, obj,
1138 MotionEvent_clazz(env), 0); 1097 MotionEvent_clazz(env), 0);
1139 jmethodID method_id = 1098 jmethodID method_id =
1140 base::android::MethodID::LazyGet< 1099 base::android::MethodID::LazyGet<
1141 base::android::MethodID::TYPE_INSTANCE>( 1100 base::android::MethodID::TYPE_INSTANCE>(
1142 env, MotionEvent_clazz(env), 1101 env, MotionEvent_clazz(env),
1143 "getOrientation", 1102 "getOrientation",
1144 "(I)F", 1103 "(I)F",
1145 &g_MotionEvent_getOrientationF_I); 1104 &g_MotionEvent_getOrientationF_I);
1146 1105
1147 jfloat ret = 1106 jfloat ret =
1148 env->CallFloatMethod(obj, 1107 env->CallFloatMethod(obj,
1149 method_id, as_jint(p0)); 1108 method_id, as_jint(p0));
1150 jni_generator::CheckException(env); 1109 jni_generator::CheckException(env);
1151 return ret; 1110 return ret;
1152 } 1111 }
1153 1112
1154 static base::subtle::AtomicWord g_MotionEvent_getAxisValueF_I_I = 0; 1113 static base::subtle::AtomicWord g_MotionEvent_getAxisValueF_I_I = 0;
1155 static jfloat Java_MotionEvent_getAxisValueF_I_I(JNIEnv* env, jobject obj, 1114 static jfloat Java_MotionEvent_getAxisValueF_I_I(JNIEnv* env, jobject obj,
1156 JniIntWrapper p0, 1115 JniIntWrapper p0,
1157 JniIntWrapper p1) __attribute__ ((unused)); 1116 JniIntWrapper p1) __attribute__ ((unused));
1158 static jfloat Java_MotionEvent_getAxisValueF_I_I(JNIEnv* env, jobject obj, 1117 static jfloat Java_MotionEvent_getAxisValueF_I_I(JNIEnv* env, jobject obj,
1159 JniIntWrapper p0, 1118 JniIntWrapper p0,
1160 JniIntWrapper p1) { 1119 JniIntWrapper p1) {
1161 /* Must call RegisterNativesImpl() */
1162 CHECK_CLAZZ(env, obj, 1120 CHECK_CLAZZ(env, obj,
1163 MotionEvent_clazz(env), 0); 1121 MotionEvent_clazz(env), 0);
1164 jmethodID method_id = 1122 jmethodID method_id =
1165 base::android::MethodID::LazyGet< 1123 base::android::MethodID::LazyGet<
1166 base::android::MethodID::TYPE_INSTANCE>( 1124 base::android::MethodID::TYPE_INSTANCE>(
1167 env, MotionEvent_clazz(env), 1125 env, MotionEvent_clazz(env),
1168 "getAxisValue", 1126 "getAxisValue",
1169 "(II)F", 1127 "(II)F",
1170 &g_MotionEvent_getAxisValueF_I_I); 1128 &g_MotionEvent_getAxisValueF_I_I);
1171 1129
1172 jfloat ret = 1130 jfloat ret =
1173 env->CallFloatMethod(obj, 1131 env->CallFloatMethod(obj,
1174 method_id, as_jint(p0), as_jint(p1)); 1132 method_id, as_jint(p0), as_jint(p1));
1175 jni_generator::CheckException(env); 1133 jni_generator::CheckException(env);
1176 return ret; 1134 return ret;
1177 } 1135 }
1178 1136
1179 static base::subtle::AtomicWord g_MotionEvent_getPointerCoords = 0; 1137 static base::subtle::AtomicWord g_MotionEvent_getPointerCoords = 0;
1180 static void Java_MotionEvent_getPointerCoords(JNIEnv* env, jobject obj, 1138 static void Java_MotionEvent_getPointerCoords(JNIEnv* env, jobject obj,
1181 JniIntWrapper p0, 1139 JniIntWrapper p0,
1182 jobject p1) __attribute__ ((unused)); 1140 jobject p1) __attribute__ ((unused));
1183 static void Java_MotionEvent_getPointerCoords(JNIEnv* env, jobject obj, 1141 static void Java_MotionEvent_getPointerCoords(JNIEnv* env, jobject obj,
1184 JniIntWrapper p0, 1142 JniIntWrapper p0,
1185 jobject p1) { 1143 jobject p1) {
1186 /* Must call RegisterNativesImpl() */
1187 CHECK_CLAZZ(env, obj, 1144 CHECK_CLAZZ(env, obj,
1188 MotionEvent_clazz(env)); 1145 MotionEvent_clazz(env));
1189 jmethodID method_id = 1146 jmethodID method_id =
1190 base::android::MethodID::LazyGet< 1147 base::android::MethodID::LazyGet<
1191 base::android::MethodID::TYPE_INSTANCE>( 1148 base::android::MethodID::TYPE_INSTANCE>(
1192 env, MotionEvent_clazz(env), 1149 env, MotionEvent_clazz(env),
1193 "getPointerCoords", 1150 "getPointerCoords",
1194 "(ILandroid/view/MotionEvent$PointerCoords;)V", 1151 "(ILandroid/view/MotionEvent$PointerCoords;)V",
1195 &g_MotionEvent_getPointerCoords); 1152 &g_MotionEvent_getPointerCoords);
1196 1153
1197 env->CallVoidMethod(obj, 1154 env->CallVoidMethod(obj,
1198 method_id, as_jint(p0), p1); 1155 method_id, as_jint(p0), p1);
1199 jni_generator::CheckException(env); 1156 jni_generator::CheckException(env);
1200 1157
1201 } 1158 }
1202 1159
1203 static base::subtle::AtomicWord g_MotionEvent_getPointerProperties = 0; 1160 static base::subtle::AtomicWord g_MotionEvent_getPointerProperties = 0;
1204 static void Java_MotionEvent_getPointerProperties(JNIEnv* env, jobject obj, 1161 static void Java_MotionEvent_getPointerProperties(JNIEnv* env, jobject obj,
1205 JniIntWrapper p0, 1162 JniIntWrapper p0,
1206 jobject p1) __attribute__ ((unused)); 1163 jobject p1) __attribute__ ((unused));
1207 static void Java_MotionEvent_getPointerProperties(JNIEnv* env, jobject obj, 1164 static void Java_MotionEvent_getPointerProperties(JNIEnv* env, jobject obj,
1208 JniIntWrapper p0, 1165 JniIntWrapper p0,
1209 jobject p1) { 1166 jobject p1) {
1210 /* Must call RegisterNativesImpl() */
1211 CHECK_CLAZZ(env, obj, 1167 CHECK_CLAZZ(env, obj,
1212 MotionEvent_clazz(env)); 1168 MotionEvent_clazz(env));
1213 jmethodID method_id = 1169 jmethodID method_id =
1214 base::android::MethodID::LazyGet< 1170 base::android::MethodID::LazyGet<
1215 base::android::MethodID::TYPE_INSTANCE>( 1171 base::android::MethodID::TYPE_INSTANCE>(
1216 env, MotionEvent_clazz(env), 1172 env, MotionEvent_clazz(env),
1217 "getPointerProperties", 1173 "getPointerProperties",
1218 "(ILandroid/view/MotionEvent$PointerProperties;)V", 1174 "(ILandroid/view/MotionEvent$PointerProperties;)V",
1219 &g_MotionEvent_getPointerProperties); 1175 &g_MotionEvent_getPointerProperties);
1220 1176
1221 env->CallVoidMethod(obj, 1177 env->CallVoidMethod(obj,
1222 method_id, as_jint(p0), p1); 1178 method_id, as_jint(p0), p1);
1223 jni_generator::CheckException(env); 1179 jni_generator::CheckException(env);
1224 1180
1225 } 1181 }
1226 1182
1227 static base::subtle::AtomicWord g_MotionEvent_getMetaState = 0; 1183 static base::subtle::AtomicWord g_MotionEvent_getMetaState = 0;
1228 static jint Java_MotionEvent_getMetaState(JNIEnv* env, jobject obj) 1184 static jint Java_MotionEvent_getMetaState(JNIEnv* env, jobject obj)
1229 __attribute__ ((unused)); 1185 __attribute__ ((unused));
1230 static jint Java_MotionEvent_getMetaState(JNIEnv* env, jobject obj) { 1186 static jint Java_MotionEvent_getMetaState(JNIEnv* env, jobject obj) {
1231 /* Must call RegisterNativesImpl() */
1232 CHECK_CLAZZ(env, obj, 1187 CHECK_CLAZZ(env, obj,
1233 MotionEvent_clazz(env), 0); 1188 MotionEvent_clazz(env), 0);
1234 jmethodID method_id = 1189 jmethodID method_id =
1235 base::android::MethodID::LazyGet< 1190 base::android::MethodID::LazyGet<
1236 base::android::MethodID::TYPE_INSTANCE>( 1191 base::android::MethodID::TYPE_INSTANCE>(
1237 env, MotionEvent_clazz(env), 1192 env, MotionEvent_clazz(env),
1238 "getMetaState", 1193 "getMetaState",
1239 "()I", 1194 "()I",
1240 &g_MotionEvent_getMetaState); 1195 &g_MotionEvent_getMetaState);
1241 1196
1242 jint ret = 1197 jint ret =
1243 env->CallIntMethod(obj, 1198 env->CallIntMethod(obj,
1244 method_id); 1199 method_id);
1245 jni_generator::CheckException(env); 1200 jni_generator::CheckException(env);
1246 return ret; 1201 return ret;
1247 } 1202 }
1248 1203
1249 static base::subtle::AtomicWord g_MotionEvent_getButtonState = 0; 1204 static base::subtle::AtomicWord g_MotionEvent_getButtonState = 0;
1250 static jint Java_MotionEvent_getButtonState(JNIEnv* env, jobject obj) 1205 static jint Java_MotionEvent_getButtonState(JNIEnv* env, jobject obj)
1251 __attribute__ ((unused)); 1206 __attribute__ ((unused));
1252 static jint Java_MotionEvent_getButtonState(JNIEnv* env, jobject obj) { 1207 static jint Java_MotionEvent_getButtonState(JNIEnv* env, jobject obj) {
1253 /* Must call RegisterNativesImpl() */
1254 CHECK_CLAZZ(env, obj, 1208 CHECK_CLAZZ(env, obj,
1255 MotionEvent_clazz(env), 0); 1209 MotionEvent_clazz(env), 0);
1256 jmethodID method_id = 1210 jmethodID method_id =
1257 base::android::MethodID::LazyGet< 1211 base::android::MethodID::LazyGet<
1258 base::android::MethodID::TYPE_INSTANCE>( 1212 base::android::MethodID::TYPE_INSTANCE>(
1259 env, MotionEvent_clazz(env), 1213 env, MotionEvent_clazz(env),
1260 "getButtonState", 1214 "getButtonState",
1261 "()I", 1215 "()I",
1262 &g_MotionEvent_getButtonState); 1216 &g_MotionEvent_getButtonState);
1263 1217
1264 jint ret = 1218 jint ret =
1265 env->CallIntMethod(obj, 1219 env->CallIntMethod(obj,
1266 method_id); 1220 method_id);
1267 jni_generator::CheckException(env); 1221 jni_generator::CheckException(env);
1268 return ret; 1222 return ret;
1269 } 1223 }
1270 1224
1271 static base::subtle::AtomicWord g_MotionEvent_getRawX = 0; 1225 static base::subtle::AtomicWord g_MotionEvent_getRawX = 0;
1272 static jfloat Java_MotionEvent_getRawX(JNIEnv* env, jobject obj) __attribute__ 1226 static jfloat Java_MotionEvent_getRawX(JNIEnv* env, jobject obj) __attribute__
1273 ((unused)); 1227 ((unused));
1274 static jfloat Java_MotionEvent_getRawX(JNIEnv* env, jobject obj) { 1228 static jfloat Java_MotionEvent_getRawX(JNIEnv* env, jobject obj) {
1275 /* Must call RegisterNativesImpl() */
1276 CHECK_CLAZZ(env, obj, 1229 CHECK_CLAZZ(env, obj,
1277 MotionEvent_clazz(env), 0); 1230 MotionEvent_clazz(env), 0);
1278 jmethodID method_id = 1231 jmethodID method_id =
1279 base::android::MethodID::LazyGet< 1232 base::android::MethodID::LazyGet<
1280 base::android::MethodID::TYPE_INSTANCE>( 1233 base::android::MethodID::TYPE_INSTANCE>(
1281 env, MotionEvent_clazz(env), 1234 env, MotionEvent_clazz(env),
1282 "getRawX", 1235 "getRawX",
1283 "()F", 1236 "()F",
1284 &g_MotionEvent_getRawX); 1237 &g_MotionEvent_getRawX);
1285 1238
1286 jfloat ret = 1239 jfloat ret =
1287 env->CallFloatMethod(obj, 1240 env->CallFloatMethod(obj,
1288 method_id); 1241 method_id);
1289 jni_generator::CheckException(env); 1242 jni_generator::CheckException(env);
1290 return ret; 1243 return ret;
1291 } 1244 }
1292 1245
1293 static base::subtle::AtomicWord g_MotionEvent_getRawY = 0; 1246 static base::subtle::AtomicWord g_MotionEvent_getRawY = 0;
1294 static jfloat Java_MotionEvent_getRawY(JNIEnv* env, jobject obj) __attribute__ 1247 static jfloat Java_MotionEvent_getRawY(JNIEnv* env, jobject obj) __attribute__
1295 ((unused)); 1248 ((unused));
1296 static jfloat Java_MotionEvent_getRawY(JNIEnv* env, jobject obj) { 1249 static jfloat Java_MotionEvent_getRawY(JNIEnv* env, jobject obj) {
1297 /* Must call RegisterNativesImpl() */
1298 CHECK_CLAZZ(env, obj, 1250 CHECK_CLAZZ(env, obj,
1299 MotionEvent_clazz(env), 0); 1251 MotionEvent_clazz(env), 0);
1300 jmethodID method_id = 1252 jmethodID method_id =
1301 base::android::MethodID::LazyGet< 1253 base::android::MethodID::LazyGet<
1302 base::android::MethodID::TYPE_INSTANCE>( 1254 base::android::MethodID::TYPE_INSTANCE>(
1303 env, MotionEvent_clazz(env), 1255 env, MotionEvent_clazz(env),
1304 "getRawY", 1256 "getRawY",
1305 "()F", 1257 "()F",
1306 &g_MotionEvent_getRawY); 1258 &g_MotionEvent_getRawY);
1307 1259
1308 jfloat ret = 1260 jfloat ret =
1309 env->CallFloatMethod(obj, 1261 env->CallFloatMethod(obj,
1310 method_id); 1262 method_id);
1311 jni_generator::CheckException(env); 1263 jni_generator::CheckException(env);
1312 return ret; 1264 return ret;
1313 } 1265 }
1314 1266
1315 static base::subtle::AtomicWord g_MotionEvent_getXPrecision = 0; 1267 static base::subtle::AtomicWord g_MotionEvent_getXPrecision = 0;
1316 static jfloat Java_MotionEvent_getXPrecision(JNIEnv* env, jobject obj) 1268 static jfloat Java_MotionEvent_getXPrecision(JNIEnv* env, jobject obj)
1317 __attribute__ ((unused)); 1269 __attribute__ ((unused));
1318 static jfloat Java_MotionEvent_getXPrecision(JNIEnv* env, jobject obj) { 1270 static jfloat Java_MotionEvent_getXPrecision(JNIEnv* env, jobject obj) {
1319 /* Must call RegisterNativesImpl() */
1320 CHECK_CLAZZ(env, obj, 1271 CHECK_CLAZZ(env, obj,
1321 MotionEvent_clazz(env), 0); 1272 MotionEvent_clazz(env), 0);
1322 jmethodID method_id = 1273 jmethodID method_id =
1323 base::android::MethodID::LazyGet< 1274 base::android::MethodID::LazyGet<
1324 base::android::MethodID::TYPE_INSTANCE>( 1275 base::android::MethodID::TYPE_INSTANCE>(
1325 env, MotionEvent_clazz(env), 1276 env, MotionEvent_clazz(env),
1326 "getXPrecision", 1277 "getXPrecision",
1327 "()F", 1278 "()F",
1328 &g_MotionEvent_getXPrecision); 1279 &g_MotionEvent_getXPrecision);
1329 1280
1330 jfloat ret = 1281 jfloat ret =
1331 env->CallFloatMethod(obj, 1282 env->CallFloatMethod(obj,
1332 method_id); 1283 method_id);
1333 jni_generator::CheckException(env); 1284 jni_generator::CheckException(env);
1334 return ret; 1285 return ret;
1335 } 1286 }
1336 1287
1337 static base::subtle::AtomicWord g_MotionEvent_getYPrecision = 0; 1288 static base::subtle::AtomicWord g_MotionEvent_getYPrecision = 0;
1338 static jfloat Java_MotionEvent_getYPrecision(JNIEnv* env, jobject obj) 1289 static jfloat Java_MotionEvent_getYPrecision(JNIEnv* env, jobject obj)
1339 __attribute__ ((unused)); 1290 __attribute__ ((unused));
1340 static jfloat Java_MotionEvent_getYPrecision(JNIEnv* env, jobject obj) { 1291 static jfloat Java_MotionEvent_getYPrecision(JNIEnv* env, jobject obj) {
1341 /* Must call RegisterNativesImpl() */
1342 CHECK_CLAZZ(env, obj, 1292 CHECK_CLAZZ(env, obj,
1343 MotionEvent_clazz(env), 0); 1293 MotionEvent_clazz(env), 0);
1344 jmethodID method_id = 1294 jmethodID method_id =
1345 base::android::MethodID::LazyGet< 1295 base::android::MethodID::LazyGet<
1346 base::android::MethodID::TYPE_INSTANCE>( 1296 base::android::MethodID::TYPE_INSTANCE>(
1347 env, MotionEvent_clazz(env), 1297 env, MotionEvent_clazz(env),
1348 "getYPrecision", 1298 "getYPrecision",
1349 "()F", 1299 "()F",
1350 &g_MotionEvent_getYPrecision); 1300 &g_MotionEvent_getYPrecision);
1351 1301
1352 jfloat ret = 1302 jfloat ret =
1353 env->CallFloatMethod(obj, 1303 env->CallFloatMethod(obj,
1354 method_id); 1304 method_id);
1355 jni_generator::CheckException(env); 1305 jni_generator::CheckException(env);
1356 return ret; 1306 return ret;
1357 } 1307 }
1358 1308
1359 static base::subtle::AtomicWord g_MotionEvent_getHistorySize = 0; 1309 static base::subtle::AtomicWord g_MotionEvent_getHistorySize = 0;
1360 static jint Java_MotionEvent_getHistorySize(JNIEnv* env, jobject obj) 1310 static jint Java_MotionEvent_getHistorySize(JNIEnv* env, jobject obj)
1361 __attribute__ ((unused)); 1311 __attribute__ ((unused));
1362 static jint Java_MotionEvent_getHistorySize(JNIEnv* env, jobject obj) { 1312 static jint Java_MotionEvent_getHistorySize(JNIEnv* env, jobject obj) {
1363 /* Must call RegisterNativesImpl() */
1364 CHECK_CLAZZ(env, obj, 1313 CHECK_CLAZZ(env, obj,
1365 MotionEvent_clazz(env), 0); 1314 MotionEvent_clazz(env), 0);
1366 jmethodID method_id = 1315 jmethodID method_id =
1367 base::android::MethodID::LazyGet< 1316 base::android::MethodID::LazyGet<
1368 base::android::MethodID::TYPE_INSTANCE>( 1317 base::android::MethodID::TYPE_INSTANCE>(
1369 env, MotionEvent_clazz(env), 1318 env, MotionEvent_clazz(env),
1370 "getHistorySize", 1319 "getHistorySize",
1371 "()I", 1320 "()I",
1372 &g_MotionEvent_getHistorySize); 1321 &g_MotionEvent_getHistorySize);
1373 1322
1374 jint ret = 1323 jint ret =
1375 env->CallIntMethod(obj, 1324 env->CallIntMethod(obj,
1376 method_id); 1325 method_id);
1377 jni_generator::CheckException(env); 1326 jni_generator::CheckException(env);
1378 return ret; 1327 return ret;
1379 } 1328 }
1380 1329
1381 static base::subtle::AtomicWord g_MotionEvent_getHistoricalEventTime = 0; 1330 static base::subtle::AtomicWord g_MotionEvent_getHistoricalEventTime = 0;
1382 static jlong Java_MotionEvent_getHistoricalEventTime(JNIEnv* env, jobject obj, 1331 static jlong Java_MotionEvent_getHistoricalEventTime(JNIEnv* env, jobject obj,
1383 JniIntWrapper p0) __attribute__ ((unused)); 1332 JniIntWrapper p0) __attribute__ ((unused));
1384 static jlong Java_MotionEvent_getHistoricalEventTime(JNIEnv* env, jobject obj, 1333 static jlong Java_MotionEvent_getHistoricalEventTime(JNIEnv* env, jobject obj,
1385 JniIntWrapper p0) { 1334 JniIntWrapper p0) {
1386 /* Must call RegisterNativesImpl() */
1387 CHECK_CLAZZ(env, obj, 1335 CHECK_CLAZZ(env, obj,
1388 MotionEvent_clazz(env), 0); 1336 MotionEvent_clazz(env), 0);
1389 jmethodID method_id = 1337 jmethodID method_id =
1390 base::android::MethodID::LazyGet< 1338 base::android::MethodID::LazyGet<
1391 base::android::MethodID::TYPE_INSTANCE>( 1339 base::android::MethodID::TYPE_INSTANCE>(
1392 env, MotionEvent_clazz(env), 1340 env, MotionEvent_clazz(env),
1393 "getHistoricalEventTime", 1341 "getHistoricalEventTime",
1394 "(I)J", 1342 "(I)J",
1395 &g_MotionEvent_getHistoricalEventTime); 1343 &g_MotionEvent_getHistoricalEventTime);
1396 1344
1397 jlong ret = 1345 jlong ret =
1398 env->CallLongMethod(obj, 1346 env->CallLongMethod(obj,
1399 method_id, as_jint(p0)); 1347 method_id, as_jint(p0));
1400 jni_generator::CheckException(env); 1348 jni_generator::CheckException(env);
1401 return ret; 1349 return ret;
1402 } 1350 }
1403 1351
1404 static base::subtle::AtomicWord g_MotionEvent_getHistoricalXF_I = 0; 1352 static base::subtle::AtomicWord g_MotionEvent_getHistoricalXF_I = 0;
1405 static jfloat Java_MotionEvent_getHistoricalXF_I(JNIEnv* env, jobject obj, 1353 static jfloat Java_MotionEvent_getHistoricalXF_I(JNIEnv* env, jobject obj,
1406 JniIntWrapper p0) __attribute__ ((unused)); 1354 JniIntWrapper p0) __attribute__ ((unused));
1407 static jfloat Java_MotionEvent_getHistoricalXF_I(JNIEnv* env, jobject obj, 1355 static jfloat Java_MotionEvent_getHistoricalXF_I(JNIEnv* env, jobject obj,
1408 JniIntWrapper p0) { 1356 JniIntWrapper p0) {
1409 /* Must call RegisterNativesImpl() */
1410 CHECK_CLAZZ(env, obj, 1357 CHECK_CLAZZ(env, obj,
1411 MotionEvent_clazz(env), 0); 1358 MotionEvent_clazz(env), 0);
1412 jmethodID method_id = 1359 jmethodID method_id =
1413 base::android::MethodID::LazyGet< 1360 base::android::MethodID::LazyGet<
1414 base::android::MethodID::TYPE_INSTANCE>( 1361 base::android::MethodID::TYPE_INSTANCE>(
1415 env, MotionEvent_clazz(env), 1362 env, MotionEvent_clazz(env),
1416 "getHistoricalX", 1363 "getHistoricalX",
1417 "(I)F", 1364 "(I)F",
1418 &g_MotionEvent_getHistoricalXF_I); 1365 &g_MotionEvent_getHistoricalXF_I);
1419 1366
1420 jfloat ret = 1367 jfloat ret =
1421 env->CallFloatMethod(obj, 1368 env->CallFloatMethod(obj,
1422 method_id, as_jint(p0)); 1369 method_id, as_jint(p0));
1423 jni_generator::CheckException(env); 1370 jni_generator::CheckException(env);
1424 return ret; 1371 return ret;
1425 } 1372 }
1426 1373
1427 static base::subtle::AtomicWord g_MotionEvent_getHistoricalYF_I = 0; 1374 static base::subtle::AtomicWord g_MotionEvent_getHistoricalYF_I = 0;
1428 static jfloat Java_MotionEvent_getHistoricalYF_I(JNIEnv* env, jobject obj, 1375 static jfloat Java_MotionEvent_getHistoricalYF_I(JNIEnv* env, jobject obj,
1429 JniIntWrapper p0) __attribute__ ((unused)); 1376 JniIntWrapper p0) __attribute__ ((unused));
1430 static jfloat Java_MotionEvent_getHistoricalYF_I(JNIEnv* env, jobject obj, 1377 static jfloat Java_MotionEvent_getHistoricalYF_I(JNIEnv* env, jobject obj,
1431 JniIntWrapper p0) { 1378 JniIntWrapper p0) {
1432 /* Must call RegisterNativesImpl() */
1433 CHECK_CLAZZ(env, obj, 1379 CHECK_CLAZZ(env, obj,
1434 MotionEvent_clazz(env), 0); 1380 MotionEvent_clazz(env), 0);
1435 jmethodID method_id = 1381 jmethodID method_id =
1436 base::android::MethodID::LazyGet< 1382 base::android::MethodID::LazyGet<
1437 base::android::MethodID::TYPE_INSTANCE>( 1383 base::android::MethodID::TYPE_INSTANCE>(
1438 env, MotionEvent_clazz(env), 1384 env, MotionEvent_clazz(env),
1439 "getHistoricalY", 1385 "getHistoricalY",
1440 "(I)F", 1386 "(I)F",
1441 &g_MotionEvent_getHistoricalYF_I); 1387 &g_MotionEvent_getHistoricalYF_I);
1442 1388
1443 jfloat ret = 1389 jfloat ret =
1444 env->CallFloatMethod(obj, 1390 env->CallFloatMethod(obj,
1445 method_id, as_jint(p0)); 1391 method_id, as_jint(p0));
1446 jni_generator::CheckException(env); 1392 jni_generator::CheckException(env);
1447 return ret; 1393 return ret;
1448 } 1394 }
1449 1395
1450 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPressureF_I = 0; 1396 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPressureF_I = 0;
1451 static jfloat Java_MotionEvent_getHistoricalPressureF_I(JNIEnv* env, jobject 1397 static jfloat Java_MotionEvent_getHistoricalPressureF_I(JNIEnv* env, jobject
1452 obj, JniIntWrapper p0) __attribute__ ((unused)); 1398 obj, JniIntWrapper p0) __attribute__ ((unused));
1453 static jfloat Java_MotionEvent_getHistoricalPressureF_I(JNIEnv* env, jobject 1399 static jfloat Java_MotionEvent_getHistoricalPressureF_I(JNIEnv* env, jobject
1454 obj, JniIntWrapper p0) { 1400 obj, JniIntWrapper p0) {
1455 /* Must call RegisterNativesImpl() */
1456 CHECK_CLAZZ(env, obj, 1401 CHECK_CLAZZ(env, obj,
1457 MotionEvent_clazz(env), 0); 1402 MotionEvent_clazz(env), 0);
1458 jmethodID method_id = 1403 jmethodID method_id =
1459 base::android::MethodID::LazyGet< 1404 base::android::MethodID::LazyGet<
1460 base::android::MethodID::TYPE_INSTANCE>( 1405 base::android::MethodID::TYPE_INSTANCE>(
1461 env, MotionEvent_clazz(env), 1406 env, MotionEvent_clazz(env),
1462 "getHistoricalPressure", 1407 "getHistoricalPressure",
1463 "(I)F", 1408 "(I)F",
1464 &g_MotionEvent_getHistoricalPressureF_I); 1409 &g_MotionEvent_getHistoricalPressureF_I);
1465 1410
1466 jfloat ret = 1411 jfloat ret =
1467 env->CallFloatMethod(obj, 1412 env->CallFloatMethod(obj,
1468 method_id, as_jint(p0)); 1413 method_id, as_jint(p0));
1469 jni_generator::CheckException(env); 1414 jni_generator::CheckException(env);
1470 return ret; 1415 return ret;
1471 } 1416 }
1472 1417
1473 static base::subtle::AtomicWord g_MotionEvent_getHistoricalSizeF_I = 0; 1418 static base::subtle::AtomicWord g_MotionEvent_getHistoricalSizeF_I = 0;
1474 static jfloat Java_MotionEvent_getHistoricalSizeF_I(JNIEnv* env, jobject obj, 1419 static jfloat Java_MotionEvent_getHistoricalSizeF_I(JNIEnv* env, jobject obj,
1475 JniIntWrapper p0) __attribute__ ((unused)); 1420 JniIntWrapper p0) __attribute__ ((unused));
1476 static jfloat Java_MotionEvent_getHistoricalSizeF_I(JNIEnv* env, jobject obj, 1421 static jfloat Java_MotionEvent_getHistoricalSizeF_I(JNIEnv* env, jobject obj,
1477 JniIntWrapper p0) { 1422 JniIntWrapper p0) {
1478 /* Must call RegisterNativesImpl() */
1479 CHECK_CLAZZ(env, obj, 1423 CHECK_CLAZZ(env, obj,
1480 MotionEvent_clazz(env), 0); 1424 MotionEvent_clazz(env), 0);
1481 jmethodID method_id = 1425 jmethodID method_id =
1482 base::android::MethodID::LazyGet< 1426 base::android::MethodID::LazyGet<
1483 base::android::MethodID::TYPE_INSTANCE>( 1427 base::android::MethodID::TYPE_INSTANCE>(
1484 env, MotionEvent_clazz(env), 1428 env, MotionEvent_clazz(env),
1485 "getHistoricalSize", 1429 "getHistoricalSize",
1486 "(I)F", 1430 "(I)F",
1487 &g_MotionEvent_getHistoricalSizeF_I); 1431 &g_MotionEvent_getHistoricalSizeF_I);
1488 1432
1489 jfloat ret = 1433 jfloat ret =
1490 env->CallFloatMethod(obj, 1434 env->CallFloatMethod(obj,
1491 method_id, as_jint(p0)); 1435 method_id, as_jint(p0));
1492 jni_generator::CheckException(env); 1436 jni_generator::CheckException(env);
1493 return ret; 1437 return ret;
1494 } 1438 }
1495 1439
1496 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMajorF_I = 0; 1440 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMajorF_I = 0;
1497 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I(JNIEnv* env, jobject 1441 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I(JNIEnv* env, jobject
1498 obj, JniIntWrapper p0) __attribute__ ((unused)); 1442 obj, JniIntWrapper p0) __attribute__ ((unused));
1499 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I(JNIEnv* env, jobject 1443 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I(JNIEnv* env, jobject
1500 obj, JniIntWrapper p0) { 1444 obj, JniIntWrapper p0) {
1501 /* Must call RegisterNativesImpl() */
1502 CHECK_CLAZZ(env, obj, 1445 CHECK_CLAZZ(env, obj,
1503 MotionEvent_clazz(env), 0); 1446 MotionEvent_clazz(env), 0);
1504 jmethodID method_id = 1447 jmethodID method_id =
1505 base::android::MethodID::LazyGet< 1448 base::android::MethodID::LazyGet<
1506 base::android::MethodID::TYPE_INSTANCE>( 1449 base::android::MethodID::TYPE_INSTANCE>(
1507 env, MotionEvent_clazz(env), 1450 env, MotionEvent_clazz(env),
1508 "getHistoricalTouchMajor", 1451 "getHistoricalTouchMajor",
1509 "(I)F", 1452 "(I)F",
1510 &g_MotionEvent_getHistoricalTouchMajorF_I); 1453 &g_MotionEvent_getHistoricalTouchMajorF_I);
1511 1454
1512 jfloat ret = 1455 jfloat ret =
1513 env->CallFloatMethod(obj, 1456 env->CallFloatMethod(obj,
1514 method_id, as_jint(p0)); 1457 method_id, as_jint(p0));
1515 jni_generator::CheckException(env); 1458 jni_generator::CheckException(env);
1516 return ret; 1459 return ret;
1517 } 1460 }
1518 1461
1519 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMinorF_I = 0; 1462 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMinorF_I = 0;
1520 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I(JNIEnv* env, jobject 1463 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I(JNIEnv* env, jobject
1521 obj, JniIntWrapper p0) __attribute__ ((unused)); 1464 obj, JniIntWrapper p0) __attribute__ ((unused));
1522 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I(JNIEnv* env, jobject 1465 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I(JNIEnv* env, jobject
1523 obj, JniIntWrapper p0) { 1466 obj, JniIntWrapper p0) {
1524 /* Must call RegisterNativesImpl() */
1525 CHECK_CLAZZ(env, obj, 1467 CHECK_CLAZZ(env, obj,
1526 MotionEvent_clazz(env), 0); 1468 MotionEvent_clazz(env), 0);
1527 jmethodID method_id = 1469 jmethodID method_id =
1528 base::android::MethodID::LazyGet< 1470 base::android::MethodID::LazyGet<
1529 base::android::MethodID::TYPE_INSTANCE>( 1471 base::android::MethodID::TYPE_INSTANCE>(
1530 env, MotionEvent_clazz(env), 1472 env, MotionEvent_clazz(env),
1531 "getHistoricalTouchMinor", 1473 "getHistoricalTouchMinor",
1532 "(I)F", 1474 "(I)F",
1533 &g_MotionEvent_getHistoricalTouchMinorF_I); 1475 &g_MotionEvent_getHistoricalTouchMinorF_I);
1534 1476
1535 jfloat ret = 1477 jfloat ret =
1536 env->CallFloatMethod(obj, 1478 env->CallFloatMethod(obj,
1537 method_id, as_jint(p0)); 1479 method_id, as_jint(p0));
1538 jni_generator::CheckException(env); 1480 jni_generator::CheckException(env);
1539 return ret; 1481 return ret;
1540 } 1482 }
1541 1483
1542 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMajorF_I = 0; 1484 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMajorF_I = 0;
1543 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I(JNIEnv* env, jobject 1485 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I(JNIEnv* env, jobject
1544 obj, JniIntWrapper p0) __attribute__ ((unused)); 1486 obj, JniIntWrapper p0) __attribute__ ((unused));
1545 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I(JNIEnv* env, jobject 1487 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I(JNIEnv* env, jobject
1546 obj, JniIntWrapper p0) { 1488 obj, JniIntWrapper p0) {
1547 /* Must call RegisterNativesImpl() */
1548 CHECK_CLAZZ(env, obj, 1489 CHECK_CLAZZ(env, obj,
1549 MotionEvent_clazz(env), 0); 1490 MotionEvent_clazz(env), 0);
1550 jmethodID method_id = 1491 jmethodID method_id =
1551 base::android::MethodID::LazyGet< 1492 base::android::MethodID::LazyGet<
1552 base::android::MethodID::TYPE_INSTANCE>( 1493 base::android::MethodID::TYPE_INSTANCE>(
1553 env, MotionEvent_clazz(env), 1494 env, MotionEvent_clazz(env),
1554 "getHistoricalToolMajor", 1495 "getHistoricalToolMajor",
1555 "(I)F", 1496 "(I)F",
1556 &g_MotionEvent_getHistoricalToolMajorF_I); 1497 &g_MotionEvent_getHistoricalToolMajorF_I);
1557 1498
1558 jfloat ret = 1499 jfloat ret =
1559 env->CallFloatMethod(obj, 1500 env->CallFloatMethod(obj,
1560 method_id, as_jint(p0)); 1501 method_id, as_jint(p0));
1561 jni_generator::CheckException(env); 1502 jni_generator::CheckException(env);
1562 return ret; 1503 return ret;
1563 } 1504 }
1564 1505
1565 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMinorF_I = 0; 1506 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMinorF_I = 0;
1566 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I(JNIEnv* env, jobject 1507 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I(JNIEnv* env, jobject
1567 obj, JniIntWrapper p0) __attribute__ ((unused)); 1508 obj, JniIntWrapper p0) __attribute__ ((unused));
1568 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I(JNIEnv* env, jobject 1509 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I(JNIEnv* env, jobject
1569 obj, JniIntWrapper p0) { 1510 obj, JniIntWrapper p0) {
1570 /* Must call RegisterNativesImpl() */
1571 CHECK_CLAZZ(env, obj, 1511 CHECK_CLAZZ(env, obj,
1572 MotionEvent_clazz(env), 0); 1512 MotionEvent_clazz(env), 0);
1573 jmethodID method_id = 1513 jmethodID method_id =
1574 base::android::MethodID::LazyGet< 1514 base::android::MethodID::LazyGet<
1575 base::android::MethodID::TYPE_INSTANCE>( 1515 base::android::MethodID::TYPE_INSTANCE>(
1576 env, MotionEvent_clazz(env), 1516 env, MotionEvent_clazz(env),
1577 "getHistoricalToolMinor", 1517 "getHistoricalToolMinor",
1578 "(I)F", 1518 "(I)F",
1579 &g_MotionEvent_getHistoricalToolMinorF_I); 1519 &g_MotionEvent_getHistoricalToolMinorF_I);
1580 1520
1581 jfloat ret = 1521 jfloat ret =
1582 env->CallFloatMethod(obj, 1522 env->CallFloatMethod(obj,
1583 method_id, as_jint(p0)); 1523 method_id, as_jint(p0));
1584 jni_generator::CheckException(env); 1524 jni_generator::CheckException(env);
1585 return ret; 1525 return ret;
1586 } 1526 }
1587 1527
1588 static base::subtle::AtomicWord g_MotionEvent_getHistoricalOrientationF_I = 0; 1528 static base::subtle::AtomicWord g_MotionEvent_getHistoricalOrientationF_I = 0;
1589 static jfloat Java_MotionEvent_getHistoricalOrientationF_I(JNIEnv* env, jobject 1529 static jfloat Java_MotionEvent_getHistoricalOrientationF_I(JNIEnv* env, jobject
1590 obj, JniIntWrapper p0) __attribute__ ((unused)); 1530 obj, JniIntWrapper p0) __attribute__ ((unused));
1591 static jfloat Java_MotionEvent_getHistoricalOrientationF_I(JNIEnv* env, jobject 1531 static jfloat Java_MotionEvent_getHistoricalOrientationF_I(JNIEnv* env, jobject
1592 obj, JniIntWrapper p0) { 1532 obj, JniIntWrapper p0) {
1593 /* Must call RegisterNativesImpl() */
1594 CHECK_CLAZZ(env, obj, 1533 CHECK_CLAZZ(env, obj,
1595 MotionEvent_clazz(env), 0); 1534 MotionEvent_clazz(env), 0);
1596 jmethodID method_id = 1535 jmethodID method_id =
1597 base::android::MethodID::LazyGet< 1536 base::android::MethodID::LazyGet<
1598 base::android::MethodID::TYPE_INSTANCE>( 1537 base::android::MethodID::TYPE_INSTANCE>(
1599 env, MotionEvent_clazz(env), 1538 env, MotionEvent_clazz(env),
1600 "getHistoricalOrientation", 1539 "getHistoricalOrientation",
1601 "(I)F", 1540 "(I)F",
1602 &g_MotionEvent_getHistoricalOrientationF_I); 1541 &g_MotionEvent_getHistoricalOrientationF_I);
1603 1542
1604 jfloat ret = 1543 jfloat ret =
1605 env->CallFloatMethod(obj, 1544 env->CallFloatMethod(obj,
1606 method_id, as_jint(p0)); 1545 method_id, as_jint(p0));
1607 jni_generator::CheckException(env); 1546 jni_generator::CheckException(env);
1608 return ret; 1547 return ret;
1609 } 1548 }
1610 1549
1611 static base::subtle::AtomicWord g_MotionEvent_getHistoricalAxisValueF_I_I = 0; 1550 static base::subtle::AtomicWord g_MotionEvent_getHistoricalAxisValueF_I_I = 0;
1612 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I(JNIEnv* env, jobject 1551 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I(JNIEnv* env, jobject
1613 obj, JniIntWrapper p0, 1552 obj, JniIntWrapper p0,
1614 JniIntWrapper p1) __attribute__ ((unused)); 1553 JniIntWrapper p1) __attribute__ ((unused));
1615 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I(JNIEnv* env, jobject 1554 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I(JNIEnv* env, jobject
1616 obj, JniIntWrapper p0, 1555 obj, JniIntWrapper p0,
1617 JniIntWrapper p1) { 1556 JniIntWrapper p1) {
1618 /* Must call RegisterNativesImpl() */
1619 CHECK_CLAZZ(env, obj, 1557 CHECK_CLAZZ(env, obj,
1620 MotionEvent_clazz(env), 0); 1558 MotionEvent_clazz(env), 0);
1621 jmethodID method_id = 1559 jmethodID method_id =
1622 base::android::MethodID::LazyGet< 1560 base::android::MethodID::LazyGet<
1623 base::android::MethodID::TYPE_INSTANCE>( 1561 base::android::MethodID::TYPE_INSTANCE>(
1624 env, MotionEvent_clazz(env), 1562 env, MotionEvent_clazz(env),
1625 "getHistoricalAxisValue", 1563 "getHistoricalAxisValue",
1626 "(II)F", 1564 "(II)F",
1627 &g_MotionEvent_getHistoricalAxisValueF_I_I); 1565 &g_MotionEvent_getHistoricalAxisValueF_I_I);
1628 1566
1629 jfloat ret = 1567 jfloat ret =
1630 env->CallFloatMethod(obj, 1568 env->CallFloatMethod(obj,
1631 method_id, as_jint(p0), as_jint(p1)); 1569 method_id, as_jint(p0), as_jint(p1));
1632 jni_generator::CheckException(env); 1570 jni_generator::CheckException(env);
1633 return ret; 1571 return ret;
1634 } 1572 }
1635 1573
1636 static base::subtle::AtomicWord g_MotionEvent_getHistoricalXF_I_I = 0; 1574 static base::subtle::AtomicWord g_MotionEvent_getHistoricalXF_I_I = 0;
1637 static jfloat Java_MotionEvent_getHistoricalXF_I_I(JNIEnv* env, jobject obj, 1575 static jfloat Java_MotionEvent_getHistoricalXF_I_I(JNIEnv* env, jobject obj,
1638 JniIntWrapper p0, 1576 JniIntWrapper p0,
1639 JniIntWrapper p1) __attribute__ ((unused)); 1577 JniIntWrapper p1) __attribute__ ((unused));
1640 static jfloat Java_MotionEvent_getHistoricalXF_I_I(JNIEnv* env, jobject obj, 1578 static jfloat Java_MotionEvent_getHistoricalXF_I_I(JNIEnv* env, jobject obj,
1641 JniIntWrapper p0, 1579 JniIntWrapper p0,
1642 JniIntWrapper p1) { 1580 JniIntWrapper p1) {
1643 /* Must call RegisterNativesImpl() */
1644 CHECK_CLAZZ(env, obj, 1581 CHECK_CLAZZ(env, obj,
1645 MotionEvent_clazz(env), 0); 1582 MotionEvent_clazz(env), 0);
1646 jmethodID method_id = 1583 jmethodID method_id =
1647 base::android::MethodID::LazyGet< 1584 base::android::MethodID::LazyGet<
1648 base::android::MethodID::TYPE_INSTANCE>( 1585 base::android::MethodID::TYPE_INSTANCE>(
1649 env, MotionEvent_clazz(env), 1586 env, MotionEvent_clazz(env),
1650 "getHistoricalX", 1587 "getHistoricalX",
1651 "(II)F", 1588 "(II)F",
1652 &g_MotionEvent_getHistoricalXF_I_I); 1589 &g_MotionEvent_getHistoricalXF_I_I);
1653 1590
1654 jfloat ret = 1591 jfloat ret =
1655 env->CallFloatMethod(obj, 1592 env->CallFloatMethod(obj,
1656 method_id, as_jint(p0), as_jint(p1)); 1593 method_id, as_jint(p0), as_jint(p1));
1657 jni_generator::CheckException(env); 1594 jni_generator::CheckException(env);
1658 return ret; 1595 return ret;
1659 } 1596 }
1660 1597
1661 static base::subtle::AtomicWord g_MotionEvent_getHistoricalYF_I_I = 0; 1598 static base::subtle::AtomicWord g_MotionEvent_getHistoricalYF_I_I = 0;
1662 static jfloat Java_MotionEvent_getHistoricalYF_I_I(JNIEnv* env, jobject obj, 1599 static jfloat Java_MotionEvent_getHistoricalYF_I_I(JNIEnv* env, jobject obj,
1663 JniIntWrapper p0, 1600 JniIntWrapper p0,
1664 JniIntWrapper p1) __attribute__ ((unused)); 1601 JniIntWrapper p1) __attribute__ ((unused));
1665 static jfloat Java_MotionEvent_getHistoricalYF_I_I(JNIEnv* env, jobject obj, 1602 static jfloat Java_MotionEvent_getHistoricalYF_I_I(JNIEnv* env, jobject obj,
1666 JniIntWrapper p0, 1603 JniIntWrapper p0,
1667 JniIntWrapper p1) { 1604 JniIntWrapper p1) {
1668 /* Must call RegisterNativesImpl() */
1669 CHECK_CLAZZ(env, obj, 1605 CHECK_CLAZZ(env, obj,
1670 MotionEvent_clazz(env), 0); 1606 MotionEvent_clazz(env), 0);
1671 jmethodID method_id = 1607 jmethodID method_id =
1672 base::android::MethodID::LazyGet< 1608 base::android::MethodID::LazyGet<
1673 base::android::MethodID::TYPE_INSTANCE>( 1609 base::android::MethodID::TYPE_INSTANCE>(
1674 env, MotionEvent_clazz(env), 1610 env, MotionEvent_clazz(env),
1675 "getHistoricalY", 1611 "getHistoricalY",
1676 "(II)F", 1612 "(II)F",
1677 &g_MotionEvent_getHistoricalYF_I_I); 1613 &g_MotionEvent_getHistoricalYF_I_I);
1678 1614
1679 jfloat ret = 1615 jfloat ret =
1680 env->CallFloatMethod(obj, 1616 env->CallFloatMethod(obj,
1681 method_id, as_jint(p0), as_jint(p1)); 1617 method_id, as_jint(p0), as_jint(p1));
1682 jni_generator::CheckException(env); 1618 jni_generator::CheckException(env);
1683 return ret; 1619 return ret;
1684 } 1620 }
1685 1621
1686 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPressureF_I_I = 0; 1622 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPressureF_I_I = 0;
1687 static jfloat Java_MotionEvent_getHistoricalPressureF_I_I(JNIEnv* env, jobject 1623 static jfloat Java_MotionEvent_getHistoricalPressureF_I_I(JNIEnv* env, jobject
1688 obj, JniIntWrapper p0, 1624 obj, JniIntWrapper p0,
1689 JniIntWrapper p1) __attribute__ ((unused)); 1625 JniIntWrapper p1) __attribute__ ((unused));
1690 static jfloat Java_MotionEvent_getHistoricalPressureF_I_I(JNIEnv* env, jobject 1626 static jfloat Java_MotionEvent_getHistoricalPressureF_I_I(JNIEnv* env, jobject
1691 obj, JniIntWrapper p0, 1627 obj, JniIntWrapper p0,
1692 JniIntWrapper p1) { 1628 JniIntWrapper p1) {
1693 /* Must call RegisterNativesImpl() */
1694 CHECK_CLAZZ(env, obj, 1629 CHECK_CLAZZ(env, obj,
1695 MotionEvent_clazz(env), 0); 1630 MotionEvent_clazz(env), 0);
1696 jmethodID method_id = 1631 jmethodID method_id =
1697 base::android::MethodID::LazyGet< 1632 base::android::MethodID::LazyGet<
1698 base::android::MethodID::TYPE_INSTANCE>( 1633 base::android::MethodID::TYPE_INSTANCE>(
1699 env, MotionEvent_clazz(env), 1634 env, MotionEvent_clazz(env),
1700 "getHistoricalPressure", 1635 "getHistoricalPressure",
1701 "(II)F", 1636 "(II)F",
1702 &g_MotionEvent_getHistoricalPressureF_I_I); 1637 &g_MotionEvent_getHistoricalPressureF_I_I);
1703 1638
1704 jfloat ret = 1639 jfloat ret =
1705 env->CallFloatMethod(obj, 1640 env->CallFloatMethod(obj,
1706 method_id, as_jint(p0), as_jint(p1)); 1641 method_id, as_jint(p0), as_jint(p1));
1707 jni_generator::CheckException(env); 1642 jni_generator::CheckException(env);
1708 return ret; 1643 return ret;
1709 } 1644 }
1710 1645
1711 static base::subtle::AtomicWord g_MotionEvent_getHistoricalSizeF_I_I = 0; 1646 static base::subtle::AtomicWord g_MotionEvent_getHistoricalSizeF_I_I = 0;
1712 static jfloat Java_MotionEvent_getHistoricalSizeF_I_I(JNIEnv* env, jobject obj, 1647 static jfloat Java_MotionEvent_getHistoricalSizeF_I_I(JNIEnv* env, jobject obj,
1713 JniIntWrapper p0, 1648 JniIntWrapper p0,
1714 JniIntWrapper p1) __attribute__ ((unused)); 1649 JniIntWrapper p1) __attribute__ ((unused));
1715 static jfloat Java_MotionEvent_getHistoricalSizeF_I_I(JNIEnv* env, jobject obj, 1650 static jfloat Java_MotionEvent_getHistoricalSizeF_I_I(JNIEnv* env, jobject obj,
1716 JniIntWrapper p0, 1651 JniIntWrapper p0,
1717 JniIntWrapper p1) { 1652 JniIntWrapper p1) {
1718 /* Must call RegisterNativesImpl() */
1719 CHECK_CLAZZ(env, obj, 1653 CHECK_CLAZZ(env, obj,
1720 MotionEvent_clazz(env), 0); 1654 MotionEvent_clazz(env), 0);
1721 jmethodID method_id = 1655 jmethodID method_id =
1722 base::android::MethodID::LazyGet< 1656 base::android::MethodID::LazyGet<
1723 base::android::MethodID::TYPE_INSTANCE>( 1657 base::android::MethodID::TYPE_INSTANCE>(
1724 env, MotionEvent_clazz(env), 1658 env, MotionEvent_clazz(env),
1725 "getHistoricalSize", 1659 "getHistoricalSize",
1726 "(II)F", 1660 "(II)F",
1727 &g_MotionEvent_getHistoricalSizeF_I_I); 1661 &g_MotionEvent_getHistoricalSizeF_I_I);
1728 1662
1729 jfloat ret = 1663 jfloat ret =
1730 env->CallFloatMethod(obj, 1664 env->CallFloatMethod(obj,
1731 method_id, as_jint(p0), as_jint(p1)); 1665 method_id, as_jint(p0), as_jint(p1));
1732 jni_generator::CheckException(env); 1666 jni_generator::CheckException(env);
1733 return ret; 1667 return ret;
1734 } 1668 }
1735 1669
1736 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMajorF_I_I = 0; 1670 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMajorF_I_I = 0;
1737 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I_I(JNIEnv* env, jobject 1671 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I_I(JNIEnv* env, jobject
1738 obj, JniIntWrapper p0, 1672 obj, JniIntWrapper p0,
1739 JniIntWrapper p1) __attribute__ ((unused)); 1673 JniIntWrapper p1) __attribute__ ((unused));
1740 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I_I(JNIEnv* env, jobject 1674 static jfloat Java_MotionEvent_getHistoricalTouchMajorF_I_I(JNIEnv* env, jobject
1741 obj, JniIntWrapper p0, 1675 obj, JniIntWrapper p0,
1742 JniIntWrapper p1) { 1676 JniIntWrapper p1) {
1743 /* Must call RegisterNativesImpl() */
1744 CHECK_CLAZZ(env, obj, 1677 CHECK_CLAZZ(env, obj,
1745 MotionEvent_clazz(env), 0); 1678 MotionEvent_clazz(env), 0);
1746 jmethodID method_id = 1679 jmethodID method_id =
1747 base::android::MethodID::LazyGet< 1680 base::android::MethodID::LazyGet<
1748 base::android::MethodID::TYPE_INSTANCE>( 1681 base::android::MethodID::TYPE_INSTANCE>(
1749 env, MotionEvent_clazz(env), 1682 env, MotionEvent_clazz(env),
1750 "getHistoricalTouchMajor", 1683 "getHistoricalTouchMajor",
1751 "(II)F", 1684 "(II)F",
1752 &g_MotionEvent_getHistoricalTouchMajorF_I_I); 1685 &g_MotionEvent_getHistoricalTouchMajorF_I_I);
1753 1686
1754 jfloat ret = 1687 jfloat ret =
1755 env->CallFloatMethod(obj, 1688 env->CallFloatMethod(obj,
1756 method_id, as_jint(p0), as_jint(p1)); 1689 method_id, as_jint(p0), as_jint(p1));
1757 jni_generator::CheckException(env); 1690 jni_generator::CheckException(env);
1758 return ret; 1691 return ret;
1759 } 1692 }
1760 1693
1761 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMinorF_I_I = 0; 1694 static base::subtle::AtomicWord g_MotionEvent_getHistoricalTouchMinorF_I_I = 0;
1762 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I_I(JNIEnv* env, jobject 1695 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I_I(JNIEnv* env, jobject
1763 obj, JniIntWrapper p0, 1696 obj, JniIntWrapper p0,
1764 JniIntWrapper p1) __attribute__ ((unused)); 1697 JniIntWrapper p1) __attribute__ ((unused));
1765 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I_I(JNIEnv* env, jobject 1698 static jfloat Java_MotionEvent_getHistoricalTouchMinorF_I_I(JNIEnv* env, jobject
1766 obj, JniIntWrapper p0, 1699 obj, JniIntWrapper p0,
1767 JniIntWrapper p1) { 1700 JniIntWrapper p1) {
1768 /* Must call RegisterNativesImpl() */
1769 CHECK_CLAZZ(env, obj, 1701 CHECK_CLAZZ(env, obj,
1770 MotionEvent_clazz(env), 0); 1702 MotionEvent_clazz(env), 0);
1771 jmethodID method_id = 1703 jmethodID method_id =
1772 base::android::MethodID::LazyGet< 1704 base::android::MethodID::LazyGet<
1773 base::android::MethodID::TYPE_INSTANCE>( 1705 base::android::MethodID::TYPE_INSTANCE>(
1774 env, MotionEvent_clazz(env), 1706 env, MotionEvent_clazz(env),
1775 "getHistoricalTouchMinor", 1707 "getHistoricalTouchMinor",
1776 "(II)F", 1708 "(II)F",
1777 &g_MotionEvent_getHistoricalTouchMinorF_I_I); 1709 &g_MotionEvent_getHistoricalTouchMinorF_I_I);
1778 1710
1779 jfloat ret = 1711 jfloat ret =
1780 env->CallFloatMethod(obj, 1712 env->CallFloatMethod(obj,
1781 method_id, as_jint(p0), as_jint(p1)); 1713 method_id, as_jint(p0), as_jint(p1));
1782 jni_generator::CheckException(env); 1714 jni_generator::CheckException(env);
1783 return ret; 1715 return ret;
1784 } 1716 }
1785 1717
1786 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMajorF_I_I = 0; 1718 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMajorF_I_I = 0;
1787 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I_I(JNIEnv* env, jobject 1719 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I_I(JNIEnv* env, jobject
1788 obj, JniIntWrapper p0, 1720 obj, JniIntWrapper p0,
1789 JniIntWrapper p1) __attribute__ ((unused)); 1721 JniIntWrapper p1) __attribute__ ((unused));
1790 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I_I(JNIEnv* env, jobject 1722 static jfloat Java_MotionEvent_getHistoricalToolMajorF_I_I(JNIEnv* env, jobject
1791 obj, JniIntWrapper p0, 1723 obj, JniIntWrapper p0,
1792 JniIntWrapper p1) { 1724 JniIntWrapper p1) {
1793 /* Must call RegisterNativesImpl() */
1794 CHECK_CLAZZ(env, obj, 1725 CHECK_CLAZZ(env, obj,
1795 MotionEvent_clazz(env), 0); 1726 MotionEvent_clazz(env), 0);
1796 jmethodID method_id = 1727 jmethodID method_id =
1797 base::android::MethodID::LazyGet< 1728 base::android::MethodID::LazyGet<
1798 base::android::MethodID::TYPE_INSTANCE>( 1729 base::android::MethodID::TYPE_INSTANCE>(
1799 env, MotionEvent_clazz(env), 1730 env, MotionEvent_clazz(env),
1800 "getHistoricalToolMajor", 1731 "getHistoricalToolMajor",
1801 "(II)F", 1732 "(II)F",
1802 &g_MotionEvent_getHistoricalToolMajorF_I_I); 1733 &g_MotionEvent_getHistoricalToolMajorF_I_I);
1803 1734
1804 jfloat ret = 1735 jfloat ret =
1805 env->CallFloatMethod(obj, 1736 env->CallFloatMethod(obj,
1806 method_id, as_jint(p0), as_jint(p1)); 1737 method_id, as_jint(p0), as_jint(p1));
1807 jni_generator::CheckException(env); 1738 jni_generator::CheckException(env);
1808 return ret; 1739 return ret;
1809 } 1740 }
1810 1741
1811 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMinorF_I_I = 0; 1742 static base::subtle::AtomicWord g_MotionEvent_getHistoricalToolMinorF_I_I = 0;
1812 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I_I(JNIEnv* env, jobject 1743 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I_I(JNIEnv* env, jobject
1813 obj, JniIntWrapper p0, 1744 obj, JniIntWrapper p0,
1814 JniIntWrapper p1) __attribute__ ((unused)); 1745 JniIntWrapper p1) __attribute__ ((unused));
1815 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I_I(JNIEnv* env, jobject 1746 static jfloat Java_MotionEvent_getHistoricalToolMinorF_I_I(JNIEnv* env, jobject
1816 obj, JniIntWrapper p0, 1747 obj, JniIntWrapper p0,
1817 JniIntWrapper p1) { 1748 JniIntWrapper p1) {
1818 /* Must call RegisterNativesImpl() */
1819 CHECK_CLAZZ(env, obj, 1749 CHECK_CLAZZ(env, obj,
1820 MotionEvent_clazz(env), 0); 1750 MotionEvent_clazz(env), 0);
1821 jmethodID method_id = 1751 jmethodID method_id =
1822 base::android::MethodID::LazyGet< 1752 base::android::MethodID::LazyGet<
1823 base::android::MethodID::TYPE_INSTANCE>( 1753 base::android::MethodID::TYPE_INSTANCE>(
1824 env, MotionEvent_clazz(env), 1754 env, MotionEvent_clazz(env),
1825 "getHistoricalToolMinor", 1755 "getHistoricalToolMinor",
1826 "(II)F", 1756 "(II)F",
1827 &g_MotionEvent_getHistoricalToolMinorF_I_I); 1757 &g_MotionEvent_getHistoricalToolMinorF_I_I);
1828 1758
1829 jfloat ret = 1759 jfloat ret =
1830 env->CallFloatMethod(obj, 1760 env->CallFloatMethod(obj,
1831 method_id, as_jint(p0), as_jint(p1)); 1761 method_id, as_jint(p0), as_jint(p1));
1832 jni_generator::CheckException(env); 1762 jni_generator::CheckException(env);
1833 return ret; 1763 return ret;
1834 } 1764 }
1835 1765
1836 static base::subtle::AtomicWord g_MotionEvent_getHistoricalOrientationF_I_I = 0; 1766 static base::subtle::AtomicWord g_MotionEvent_getHistoricalOrientationF_I_I = 0;
1837 static jfloat Java_MotionEvent_getHistoricalOrientationF_I_I(JNIEnv* env, 1767 static jfloat Java_MotionEvent_getHistoricalOrientationF_I_I(JNIEnv* env,
1838 jobject obj, JniIntWrapper p0, 1768 jobject obj, JniIntWrapper p0,
1839 JniIntWrapper p1) __attribute__ ((unused)); 1769 JniIntWrapper p1) __attribute__ ((unused));
1840 static jfloat Java_MotionEvent_getHistoricalOrientationF_I_I(JNIEnv* env, 1770 static jfloat Java_MotionEvent_getHistoricalOrientationF_I_I(JNIEnv* env,
1841 jobject obj, JniIntWrapper p0, 1771 jobject obj, JniIntWrapper p0,
1842 JniIntWrapper p1) { 1772 JniIntWrapper p1) {
1843 /* Must call RegisterNativesImpl() */
1844 CHECK_CLAZZ(env, obj, 1773 CHECK_CLAZZ(env, obj,
1845 MotionEvent_clazz(env), 0); 1774 MotionEvent_clazz(env), 0);
1846 jmethodID method_id = 1775 jmethodID method_id =
1847 base::android::MethodID::LazyGet< 1776 base::android::MethodID::LazyGet<
1848 base::android::MethodID::TYPE_INSTANCE>( 1777 base::android::MethodID::TYPE_INSTANCE>(
1849 env, MotionEvent_clazz(env), 1778 env, MotionEvent_clazz(env),
1850 "getHistoricalOrientation", 1779 "getHistoricalOrientation",
1851 "(II)F", 1780 "(II)F",
1852 &g_MotionEvent_getHistoricalOrientationF_I_I); 1781 &g_MotionEvent_getHistoricalOrientationF_I_I);
1853 1782
1854 jfloat ret = 1783 jfloat ret =
1855 env->CallFloatMethod(obj, 1784 env->CallFloatMethod(obj,
1856 method_id, as_jint(p0), as_jint(p1)); 1785 method_id, as_jint(p0), as_jint(p1));
1857 jni_generator::CheckException(env); 1786 jni_generator::CheckException(env);
1858 return ret; 1787 return ret;
1859 } 1788 }
1860 1789
1861 static base::subtle::AtomicWord g_MotionEvent_getHistoricalAxisValueF_I_I_I = 0; 1790 static base::subtle::AtomicWord g_MotionEvent_getHistoricalAxisValueF_I_I_I = 0;
1862 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I_I(JNIEnv* env, 1791 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I_I(JNIEnv* env,
1863 jobject obj, JniIntWrapper p0, 1792 jobject obj, JniIntWrapper p0,
1864 JniIntWrapper p1, 1793 JniIntWrapper p1,
1865 JniIntWrapper p2) __attribute__ ((unused)); 1794 JniIntWrapper p2) __attribute__ ((unused));
1866 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I_I(JNIEnv* env, 1795 static jfloat Java_MotionEvent_getHistoricalAxisValueF_I_I_I(JNIEnv* env,
1867 jobject obj, JniIntWrapper p0, 1796 jobject obj, JniIntWrapper p0,
1868 JniIntWrapper p1, 1797 JniIntWrapper p1,
1869 JniIntWrapper p2) { 1798 JniIntWrapper p2) {
1870 /* Must call RegisterNativesImpl() */
1871 CHECK_CLAZZ(env, obj, 1799 CHECK_CLAZZ(env, obj,
1872 MotionEvent_clazz(env), 0); 1800 MotionEvent_clazz(env), 0);
1873 jmethodID method_id = 1801 jmethodID method_id =
1874 base::android::MethodID::LazyGet< 1802 base::android::MethodID::LazyGet<
1875 base::android::MethodID::TYPE_INSTANCE>( 1803 base::android::MethodID::TYPE_INSTANCE>(
1876 env, MotionEvent_clazz(env), 1804 env, MotionEvent_clazz(env),
1877 "getHistoricalAxisValue", 1805 "getHistoricalAxisValue",
1878 "(III)F", 1806 "(III)F",
1879 &g_MotionEvent_getHistoricalAxisValueF_I_I_I); 1807 &g_MotionEvent_getHistoricalAxisValueF_I_I_I);
1880 1808
1881 jfloat ret = 1809 jfloat ret =
1882 env->CallFloatMethod(obj, 1810 env->CallFloatMethod(obj,
1883 method_id, as_jint(p0), as_jint(p1), as_jint(p2)); 1811 method_id, as_jint(p0), as_jint(p1), as_jint(p2));
1884 jni_generator::CheckException(env); 1812 jni_generator::CheckException(env);
1885 return ret; 1813 return ret;
1886 } 1814 }
1887 1815
1888 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPointerCoords = 0; 1816 static base::subtle::AtomicWord g_MotionEvent_getHistoricalPointerCoords = 0;
1889 static void Java_MotionEvent_getHistoricalPointerCoords(JNIEnv* env, jobject 1817 static void Java_MotionEvent_getHistoricalPointerCoords(JNIEnv* env, jobject
1890 obj, JniIntWrapper p0, 1818 obj, JniIntWrapper p0,
1891 JniIntWrapper p1, 1819 JniIntWrapper p1,
1892 jobject p2) __attribute__ ((unused)); 1820 jobject p2) __attribute__ ((unused));
1893 static void Java_MotionEvent_getHistoricalPointerCoords(JNIEnv* env, jobject 1821 static void Java_MotionEvent_getHistoricalPointerCoords(JNIEnv* env, jobject
1894 obj, JniIntWrapper p0, 1822 obj, JniIntWrapper p0,
1895 JniIntWrapper p1, 1823 JniIntWrapper p1,
1896 jobject p2) { 1824 jobject p2) {
1897 /* Must call RegisterNativesImpl() */
1898 CHECK_CLAZZ(env, obj, 1825 CHECK_CLAZZ(env, obj,
1899 MotionEvent_clazz(env)); 1826 MotionEvent_clazz(env));
1900 jmethodID method_id = 1827 jmethodID method_id =
1901 base::android::MethodID::LazyGet< 1828 base::android::MethodID::LazyGet<
1902 base::android::MethodID::TYPE_INSTANCE>( 1829 base::android::MethodID::TYPE_INSTANCE>(
1903 env, MotionEvent_clazz(env), 1830 env, MotionEvent_clazz(env),
1904 "getHistoricalPointerCoords", 1831 "getHistoricalPointerCoords",
1905 "(IILandroid/view/MotionEvent$PointerCoords;)V", 1832 "(IILandroid/view/MotionEvent$PointerCoords;)V",
1906 &g_MotionEvent_getHistoricalPointerCoords); 1833 &g_MotionEvent_getHistoricalPointerCoords);
1907 1834
1908 env->CallVoidMethod(obj, 1835 env->CallVoidMethod(obj,
1909 method_id, as_jint(p0), as_jint(p1), p2); 1836 method_id, as_jint(p0), as_jint(p1), p2);
1910 jni_generator::CheckException(env); 1837 jni_generator::CheckException(env);
1911 1838
1912 } 1839 }
1913 1840
1914 static base::subtle::AtomicWord g_MotionEvent_getEdgeFlags = 0; 1841 static base::subtle::AtomicWord g_MotionEvent_getEdgeFlags = 0;
1915 static jint Java_MotionEvent_getEdgeFlags(JNIEnv* env, jobject obj) 1842 static jint Java_MotionEvent_getEdgeFlags(JNIEnv* env, jobject obj)
1916 __attribute__ ((unused)); 1843 __attribute__ ((unused));
1917 static jint Java_MotionEvent_getEdgeFlags(JNIEnv* env, jobject obj) { 1844 static jint Java_MotionEvent_getEdgeFlags(JNIEnv* env, jobject obj) {
1918 /* Must call RegisterNativesImpl() */
1919 CHECK_CLAZZ(env, obj, 1845 CHECK_CLAZZ(env, obj,
1920 MotionEvent_clazz(env), 0); 1846 MotionEvent_clazz(env), 0);
1921 jmethodID method_id = 1847 jmethodID method_id =
1922 base::android::MethodID::LazyGet< 1848 base::android::MethodID::LazyGet<
1923 base::android::MethodID::TYPE_INSTANCE>( 1849 base::android::MethodID::TYPE_INSTANCE>(
1924 env, MotionEvent_clazz(env), 1850 env, MotionEvent_clazz(env),
1925 "getEdgeFlags", 1851 "getEdgeFlags",
1926 "()I", 1852 "()I",
1927 &g_MotionEvent_getEdgeFlags); 1853 &g_MotionEvent_getEdgeFlags);
1928 1854
1929 jint ret = 1855 jint ret =
1930 env->CallIntMethod(obj, 1856 env->CallIntMethod(obj,
1931 method_id); 1857 method_id);
1932 jni_generator::CheckException(env); 1858 jni_generator::CheckException(env);
1933 return ret; 1859 return ret;
1934 } 1860 }
1935 1861
1936 static base::subtle::AtomicWord g_MotionEvent_setEdgeFlags = 0; 1862 static base::subtle::AtomicWord g_MotionEvent_setEdgeFlags = 0;
1937 static void Java_MotionEvent_setEdgeFlags(JNIEnv* env, jobject obj, 1863 static void Java_MotionEvent_setEdgeFlags(JNIEnv* env, jobject obj,
1938 JniIntWrapper p0) __attribute__ ((unused)); 1864 JniIntWrapper p0) __attribute__ ((unused));
1939 static void Java_MotionEvent_setEdgeFlags(JNIEnv* env, jobject obj, 1865 static void Java_MotionEvent_setEdgeFlags(JNIEnv* env, jobject obj,
1940 JniIntWrapper p0) { 1866 JniIntWrapper p0) {
1941 /* Must call RegisterNativesImpl() */
1942 CHECK_CLAZZ(env, obj, 1867 CHECK_CLAZZ(env, obj,
1943 MotionEvent_clazz(env)); 1868 MotionEvent_clazz(env));
1944 jmethodID method_id = 1869 jmethodID method_id =
1945 base::android::MethodID::LazyGet< 1870 base::android::MethodID::LazyGet<
1946 base::android::MethodID::TYPE_INSTANCE>( 1871 base::android::MethodID::TYPE_INSTANCE>(
1947 env, MotionEvent_clazz(env), 1872 env, MotionEvent_clazz(env),
1948 "setEdgeFlags", 1873 "setEdgeFlags",
1949 "(I)V", 1874 "(I)V",
1950 &g_MotionEvent_setEdgeFlags); 1875 &g_MotionEvent_setEdgeFlags);
1951 1876
1952 env->CallVoidMethod(obj, 1877 env->CallVoidMethod(obj,
1953 method_id, as_jint(p0)); 1878 method_id, as_jint(p0));
1954 jni_generator::CheckException(env); 1879 jni_generator::CheckException(env);
1955 1880
1956 } 1881 }
1957 1882
1958 static base::subtle::AtomicWord g_MotionEvent_setAction = 0; 1883 static base::subtle::AtomicWord g_MotionEvent_setAction = 0;
1959 static void Java_MotionEvent_setAction(JNIEnv* env, jobject obj, JniIntWrapper 1884 static void Java_MotionEvent_setAction(JNIEnv* env, jobject obj, JniIntWrapper
1960 p0) __attribute__ ((unused)); 1885 p0) __attribute__ ((unused));
1961 static void Java_MotionEvent_setAction(JNIEnv* env, jobject obj, JniIntWrapper 1886 static void Java_MotionEvent_setAction(JNIEnv* env, jobject obj, JniIntWrapper
1962 p0) { 1887 p0) {
1963 /* Must call RegisterNativesImpl() */
1964 CHECK_CLAZZ(env, obj, 1888 CHECK_CLAZZ(env, obj,
1965 MotionEvent_clazz(env)); 1889 MotionEvent_clazz(env));
1966 jmethodID method_id = 1890 jmethodID method_id =
1967 base::android::MethodID::LazyGet< 1891 base::android::MethodID::LazyGet<
1968 base::android::MethodID::TYPE_INSTANCE>( 1892 base::android::MethodID::TYPE_INSTANCE>(
1969 env, MotionEvent_clazz(env), 1893 env, MotionEvent_clazz(env),
1970 "setAction", 1894 "setAction",
1971 "(I)V", 1895 "(I)V",
1972 &g_MotionEvent_setAction); 1896 &g_MotionEvent_setAction);
1973 1897
1974 env->CallVoidMethod(obj, 1898 env->CallVoidMethod(obj,
1975 method_id, as_jint(p0)); 1899 method_id, as_jint(p0));
1976 jni_generator::CheckException(env); 1900 jni_generator::CheckException(env);
1977 1901
1978 } 1902 }
1979 1903
1980 static base::subtle::AtomicWord g_MotionEvent_offsetLocation = 0; 1904 static base::subtle::AtomicWord g_MotionEvent_offsetLocation = 0;
1981 static void Java_MotionEvent_offsetLocation(JNIEnv* env, jobject obj, jfloat p0, 1905 static void Java_MotionEvent_offsetLocation(JNIEnv* env, jobject obj, jfloat p0,
1982 jfloat p1) __attribute__ ((unused)); 1906 jfloat p1) __attribute__ ((unused));
1983 static void Java_MotionEvent_offsetLocation(JNIEnv* env, jobject obj, jfloat p0, 1907 static void Java_MotionEvent_offsetLocation(JNIEnv* env, jobject obj, jfloat p0,
1984 jfloat p1) { 1908 jfloat p1) {
1985 /* Must call RegisterNativesImpl() */
1986 CHECK_CLAZZ(env, obj, 1909 CHECK_CLAZZ(env, obj,
1987 MotionEvent_clazz(env)); 1910 MotionEvent_clazz(env));
1988 jmethodID method_id = 1911 jmethodID method_id =
1989 base::android::MethodID::LazyGet< 1912 base::android::MethodID::LazyGet<
1990 base::android::MethodID::TYPE_INSTANCE>( 1913 base::android::MethodID::TYPE_INSTANCE>(
1991 env, MotionEvent_clazz(env), 1914 env, MotionEvent_clazz(env),
1992 "offsetLocation", 1915 "offsetLocation",
1993 "(FF)V", 1916 "(FF)V",
1994 &g_MotionEvent_offsetLocation); 1917 &g_MotionEvent_offsetLocation);
1995 1918
1996 env->CallVoidMethod(obj, 1919 env->CallVoidMethod(obj,
1997 method_id, p0, p1); 1920 method_id, p0, p1);
1998 jni_generator::CheckException(env); 1921 jni_generator::CheckException(env);
1999 1922
2000 } 1923 }
2001 1924
2002 static base::subtle::AtomicWord g_MotionEvent_setLocation = 0; 1925 static base::subtle::AtomicWord g_MotionEvent_setLocation = 0;
2003 static void Java_MotionEvent_setLocation(JNIEnv* env, jobject obj, jfloat p0, 1926 static void Java_MotionEvent_setLocation(JNIEnv* env, jobject obj, jfloat p0,
2004 jfloat p1) __attribute__ ((unused)); 1927 jfloat p1) __attribute__ ((unused));
2005 static void Java_MotionEvent_setLocation(JNIEnv* env, jobject obj, jfloat p0, 1928 static void Java_MotionEvent_setLocation(JNIEnv* env, jobject obj, jfloat p0,
2006 jfloat p1) { 1929 jfloat p1) {
2007 /* Must call RegisterNativesImpl() */
2008 CHECK_CLAZZ(env, obj, 1930 CHECK_CLAZZ(env, obj,
2009 MotionEvent_clazz(env)); 1931 MotionEvent_clazz(env));
2010 jmethodID method_id = 1932 jmethodID method_id =
2011 base::android::MethodID::LazyGet< 1933 base::android::MethodID::LazyGet<
2012 base::android::MethodID::TYPE_INSTANCE>( 1934 base::android::MethodID::TYPE_INSTANCE>(
2013 env, MotionEvent_clazz(env), 1935 env, MotionEvent_clazz(env),
2014 "setLocation", 1936 "setLocation",
2015 "(FF)V", 1937 "(FF)V",
2016 &g_MotionEvent_setLocation); 1938 &g_MotionEvent_setLocation);
2017 1939
2018 env->CallVoidMethod(obj, 1940 env->CallVoidMethod(obj,
2019 method_id, p0, p1); 1941 method_id, p0, p1);
2020 jni_generator::CheckException(env); 1942 jni_generator::CheckException(env);
2021 1943
2022 } 1944 }
2023 1945
2024 static base::subtle::AtomicWord g_MotionEvent_transform = 0; 1946 static base::subtle::AtomicWord g_MotionEvent_transform = 0;
2025 static void Java_MotionEvent_transform(JNIEnv* env, jobject obj, jobject p0) 1947 static void Java_MotionEvent_transform(JNIEnv* env, jobject obj, jobject p0)
2026 __attribute__ ((unused)); 1948 __attribute__ ((unused));
2027 static void Java_MotionEvent_transform(JNIEnv* env, jobject obj, jobject p0) { 1949 static void Java_MotionEvent_transform(JNIEnv* env, jobject obj, jobject p0) {
2028 /* Must call RegisterNativesImpl() */
2029 CHECK_CLAZZ(env, obj, 1950 CHECK_CLAZZ(env, obj,
2030 MotionEvent_clazz(env)); 1951 MotionEvent_clazz(env));
2031 jmethodID method_id = 1952 jmethodID method_id =
2032 base::android::MethodID::LazyGet< 1953 base::android::MethodID::LazyGet<
2033 base::android::MethodID::TYPE_INSTANCE>( 1954 base::android::MethodID::TYPE_INSTANCE>(
2034 env, MotionEvent_clazz(env), 1955 env, MotionEvent_clazz(env),
2035 "transform", 1956 "transform",
2036 "(Landroid/graphics/Matrix;)V", 1957 "(Landroid/graphics/Matrix;)V",
2037 &g_MotionEvent_transform); 1958 &g_MotionEvent_transform);
2038 1959
(...skipping 11 matching lines...) Expand all
2050 jfloat p3, 1971 jfloat p3,
2051 jfloat p4, 1972 jfloat p4,
2052 JniIntWrapper p5) __attribute__ ((unused)); 1973 JniIntWrapper p5) __attribute__ ((unused));
2053 static void Java_MotionEvent_addBatchV_J_F_F_F_F_I(JNIEnv* env, jobject obj, 1974 static void Java_MotionEvent_addBatchV_J_F_F_F_F_I(JNIEnv* env, jobject obj,
2054 jlong p0, 1975 jlong p0,
2055 jfloat p1, 1976 jfloat p1,
2056 jfloat p2, 1977 jfloat p2,
2057 jfloat p3, 1978 jfloat p3,
2058 jfloat p4, 1979 jfloat p4,
2059 JniIntWrapper p5) { 1980 JniIntWrapper p5) {
2060 /* Must call RegisterNativesImpl() */
2061 CHECK_CLAZZ(env, obj, 1981 CHECK_CLAZZ(env, obj,
2062 MotionEvent_clazz(env)); 1982 MotionEvent_clazz(env));
2063 jmethodID method_id = 1983 jmethodID method_id =
2064 base::android::MethodID::LazyGet< 1984 base::android::MethodID::LazyGet<
2065 base::android::MethodID::TYPE_INSTANCE>( 1985 base::android::MethodID::TYPE_INSTANCE>(
2066 env, MotionEvent_clazz(env), 1986 env, MotionEvent_clazz(env),
2067 "addBatch", 1987 "addBatch",
2068 "(JFFFFI)V", 1988 "(JFFFFI)V",
2069 &g_MotionEvent_addBatchV_J_F_F_F_F_I); 1989 &g_MotionEvent_addBatchV_J_F_F_F_F_I);
2070 1990
2071 env->CallVoidMethod(obj, 1991 env->CallVoidMethod(obj,
2072 method_id, p0, p1, p2, p3, p4, as_jint(p5)); 1992 method_id, p0, p1, p2, p3, p4, as_jint(p5));
2073 jni_generator::CheckException(env); 1993 jni_generator::CheckException(env);
2074 1994
2075 } 1995 }
2076 1996
2077 static base::subtle::AtomicWord g_MotionEvent_addBatchV_J_LAVMEPC_I = 0; 1997 static base::subtle::AtomicWord g_MotionEvent_addBatchV_J_LAVMEPC_I = 0;
2078 static void Java_MotionEvent_addBatchV_J_LAVMEPC_I(JNIEnv* env, jobject obj, 1998 static void Java_MotionEvent_addBatchV_J_LAVMEPC_I(JNIEnv* env, jobject obj,
2079 jlong p0, 1999 jlong p0,
2080 jobjectArray p1, 2000 jobjectArray p1,
2081 JniIntWrapper p2) __attribute__ ((unused)); 2001 JniIntWrapper p2) __attribute__ ((unused));
2082 static void Java_MotionEvent_addBatchV_J_LAVMEPC_I(JNIEnv* env, jobject obj, 2002 static void Java_MotionEvent_addBatchV_J_LAVMEPC_I(JNIEnv* env, jobject obj,
2083 jlong p0, 2003 jlong p0,
2084 jobjectArray p1, 2004 jobjectArray p1,
2085 JniIntWrapper p2) { 2005 JniIntWrapper p2) {
2086 /* Must call RegisterNativesImpl() */
2087 CHECK_CLAZZ(env, obj, 2006 CHECK_CLAZZ(env, obj,
2088 MotionEvent_clazz(env)); 2007 MotionEvent_clazz(env));
2089 jmethodID method_id = 2008 jmethodID method_id =
2090 base::android::MethodID::LazyGet< 2009 base::android::MethodID::LazyGet<
2091 base::android::MethodID::TYPE_INSTANCE>( 2010 base::android::MethodID::TYPE_INSTANCE>(
2092 env, MotionEvent_clazz(env), 2011 env, MotionEvent_clazz(env),
2093 "addBatch", 2012 "addBatch",
2094 "(J[Landroid/view/MotionEvent$PointerCoords;I)V", 2013 "(J[Landroid/view/MotionEvent$PointerCoords;I)V",
2095 &g_MotionEvent_addBatchV_J_LAVMEPC_I); 2014 &g_MotionEvent_addBatchV_J_LAVMEPC_I);
2096 2015
2097 env->CallVoidMethod(obj, 2016 env->CallVoidMethod(obj,
2098 method_id, p0, p1, as_jint(p2)); 2017 method_id, p0, p1, as_jint(p2));
2099 jni_generator::CheckException(env); 2018 jni_generator::CheckException(env);
2100 2019
2101 } 2020 }
2102 2021
2103 static base::subtle::AtomicWord g_MotionEvent_toString = 0; 2022 static base::subtle::AtomicWord g_MotionEvent_toString = 0;
2104 static ScopedJavaLocalRef<jstring> Java_MotionEvent_toString(JNIEnv* env, 2023 static ScopedJavaLocalRef<jstring> Java_MotionEvent_toString(JNIEnv* env,
2105 jobject obj) __attribute__ ((unused)); 2024 jobject obj) __attribute__ ((unused));
2106 static ScopedJavaLocalRef<jstring> Java_MotionEvent_toString(JNIEnv* env, 2025 static ScopedJavaLocalRef<jstring> Java_MotionEvent_toString(JNIEnv* env,
2107 jobject obj) { 2026 jobject obj) {
2108 /* Must call RegisterNativesImpl() */
2109 CHECK_CLAZZ(env, obj, 2027 CHECK_CLAZZ(env, obj,
2110 MotionEvent_clazz(env), NULL); 2028 MotionEvent_clazz(env), NULL);
2111 jmethodID method_id = 2029 jmethodID method_id =
2112 base::android::MethodID::LazyGet< 2030 base::android::MethodID::LazyGet<
2113 base::android::MethodID::TYPE_INSTANCE>( 2031 base::android::MethodID::TYPE_INSTANCE>(
2114 env, MotionEvent_clazz(env), 2032 env, MotionEvent_clazz(env),
2115 "toString", 2033 "toString",
2116 "()Ljava/lang/String;", 2034 "()Ljava/lang/String;",
2117 &g_MotionEvent_toString); 2035 &g_MotionEvent_toString);
2118 2036
2119 jstring ret = 2037 jstring ret =
2120 static_cast<jstring>(env->CallObjectMethod(obj, 2038 static_cast<jstring>(env->CallObjectMethod(obj,
2121 method_id)); 2039 method_id));
2122 jni_generator::CheckException(env); 2040 jni_generator::CheckException(env);
2123 return ScopedJavaLocalRef<jstring>(env, ret); 2041 return ScopedJavaLocalRef<jstring>(env, ret);
2124 } 2042 }
2125 2043
2126 static base::subtle::AtomicWord g_MotionEvent_actionToString = 0; 2044 static base::subtle::AtomicWord g_MotionEvent_actionToString = 0;
2127 static ScopedJavaLocalRef<jstring> Java_MotionEvent_actionToString(JNIEnv* env, 2045 static ScopedJavaLocalRef<jstring> Java_MotionEvent_actionToString(JNIEnv* env,
2128 JniIntWrapper p0) __attribute__ ((unused)); 2046 JniIntWrapper p0) __attribute__ ((unused));
2129 static ScopedJavaLocalRef<jstring> Java_MotionEvent_actionToString(JNIEnv* env, 2047 static ScopedJavaLocalRef<jstring> Java_MotionEvent_actionToString(JNIEnv* env,
2130 JniIntWrapper p0) { 2048 JniIntWrapper p0) {
2131 /* Must call RegisterNativesImpl() */
2132 CHECK_CLAZZ(env, MotionEvent_clazz(env), 2049 CHECK_CLAZZ(env, MotionEvent_clazz(env),
2133 MotionEvent_clazz(env), NULL); 2050 MotionEvent_clazz(env), NULL);
2134 jmethodID method_id = 2051 jmethodID method_id =
2135 base::android::MethodID::LazyGet< 2052 base::android::MethodID::LazyGet<
2136 base::android::MethodID::TYPE_STATIC>( 2053 base::android::MethodID::TYPE_STATIC>(
2137 env, MotionEvent_clazz(env), 2054 env, MotionEvent_clazz(env),
2138 "actionToString", 2055 "actionToString",
2139 "(I)Ljava/lang/String;", 2056 "(I)Ljava/lang/String;",
2140 &g_MotionEvent_actionToString); 2057 &g_MotionEvent_actionToString);
2141 2058
2142 jstring ret = 2059 jstring ret =
2143 static_cast<jstring>(env->CallStaticObjectMethod(MotionEvent_clazz(env), 2060 static_cast<jstring>(env->CallStaticObjectMethod(MotionEvent_clazz(env),
2144 method_id, as_jint(p0))); 2061 method_id, as_jint(p0)));
2145 jni_generator::CheckException(env); 2062 jni_generator::CheckException(env);
2146 return ScopedJavaLocalRef<jstring>(env, ret); 2063 return ScopedJavaLocalRef<jstring>(env, ret);
2147 } 2064 }
2148 2065
2149 static base::subtle::AtomicWord g_MotionEvent_axisToString = 0; 2066 static base::subtle::AtomicWord g_MotionEvent_axisToString = 0;
2150 static ScopedJavaLocalRef<jstring> Java_MotionEvent_axisToString(JNIEnv* env, 2067 static ScopedJavaLocalRef<jstring> Java_MotionEvent_axisToString(JNIEnv* env,
2151 JniIntWrapper p0) __attribute__ ((unused)); 2068 JniIntWrapper p0) __attribute__ ((unused));
2152 static ScopedJavaLocalRef<jstring> Java_MotionEvent_axisToString(JNIEnv* env, 2069 static ScopedJavaLocalRef<jstring> Java_MotionEvent_axisToString(JNIEnv* env,
2153 JniIntWrapper p0) { 2070 JniIntWrapper p0) {
2154 /* Must call RegisterNativesImpl() */
2155 CHECK_CLAZZ(env, MotionEvent_clazz(env), 2071 CHECK_CLAZZ(env, MotionEvent_clazz(env),
2156 MotionEvent_clazz(env), NULL); 2072 MotionEvent_clazz(env), NULL);
2157 jmethodID method_id = 2073 jmethodID method_id =
2158 base::android::MethodID::LazyGet< 2074 base::android::MethodID::LazyGet<
2159 base::android::MethodID::TYPE_STATIC>( 2075 base::android::MethodID::TYPE_STATIC>(
2160 env, MotionEvent_clazz(env), 2076 env, MotionEvent_clazz(env),
2161 "axisToString", 2077 "axisToString",
2162 "(I)Ljava/lang/String;", 2078 "(I)Ljava/lang/String;",
2163 &g_MotionEvent_axisToString); 2079 &g_MotionEvent_axisToString);
2164 2080
2165 jstring ret = 2081 jstring ret =
2166 static_cast<jstring>(env->CallStaticObjectMethod(MotionEvent_clazz(env), 2082 static_cast<jstring>(env->CallStaticObjectMethod(MotionEvent_clazz(env),
2167 method_id, as_jint(p0))); 2083 method_id, as_jint(p0)));
2168 jni_generator::CheckException(env); 2084 jni_generator::CheckException(env);
2169 return ScopedJavaLocalRef<jstring>(env, ret); 2085 return ScopedJavaLocalRef<jstring>(env, ret);
2170 } 2086 }
2171 2087
2172 static base::subtle::AtomicWord g_MotionEvent_axisFromString = 0; 2088 static base::subtle::AtomicWord g_MotionEvent_axisFromString = 0;
2173 static jint Java_MotionEvent_axisFromString(JNIEnv* env, jstring p0) 2089 static jint Java_MotionEvent_axisFromString(JNIEnv* env, jstring p0)
2174 __attribute__ ((unused)); 2090 __attribute__ ((unused));
2175 static jint Java_MotionEvent_axisFromString(JNIEnv* env, jstring p0) { 2091 static jint Java_MotionEvent_axisFromString(JNIEnv* env, jstring p0) {
2176 /* Must call RegisterNativesImpl() */
2177 CHECK_CLAZZ(env, MotionEvent_clazz(env), 2092 CHECK_CLAZZ(env, MotionEvent_clazz(env),
2178 MotionEvent_clazz(env), 0); 2093 MotionEvent_clazz(env), 0);
2179 jmethodID method_id = 2094 jmethodID method_id =
2180 base::android::MethodID::LazyGet< 2095 base::android::MethodID::LazyGet<
2181 base::android::MethodID::TYPE_STATIC>( 2096 base::android::MethodID::TYPE_STATIC>(
2182 env, MotionEvent_clazz(env), 2097 env, MotionEvent_clazz(env),
2183 "axisFromString", 2098 "axisFromString",
2184 "(Ljava/lang/String;)I", 2099 "(Ljava/lang/String;)I",
2185 &g_MotionEvent_axisFromString); 2100 &g_MotionEvent_axisFromString);
2186 2101
2187 jint ret = 2102 jint ret =
2188 env->CallStaticIntMethod(MotionEvent_clazz(env), 2103 env->CallStaticIntMethod(MotionEvent_clazz(env),
2189 method_id, p0); 2104 method_id, p0);
2190 jni_generator::CheckException(env); 2105 jni_generator::CheckException(env);
2191 return ret; 2106 return ret;
2192 } 2107 }
2193 2108
2194 static base::subtle::AtomicWord g_MotionEvent_writeToParcel = 0; 2109 static base::subtle::AtomicWord g_MotionEvent_writeToParcel = 0;
2195 static void Java_MotionEvent_writeToParcel(JNIEnv* env, jobject obj, jobject p0, 2110 static void Java_MotionEvent_writeToParcel(JNIEnv* env, jobject obj, jobject p0,
2196 JniIntWrapper p1) __attribute__ ((unused)); 2111 JniIntWrapper p1) __attribute__ ((unused));
2197 static void Java_MotionEvent_writeToParcel(JNIEnv* env, jobject obj, jobject p0, 2112 static void Java_MotionEvent_writeToParcel(JNIEnv* env, jobject obj, jobject p0,
2198 JniIntWrapper p1) { 2113 JniIntWrapper p1) {
2199 /* Must call RegisterNativesImpl() */
2200 CHECK_CLAZZ(env, obj, 2114 CHECK_CLAZZ(env, obj,
2201 MotionEvent_clazz(env)); 2115 MotionEvent_clazz(env));
2202 jmethodID method_id = 2116 jmethodID method_id =
2203 base::android::MethodID::LazyGet< 2117 base::android::MethodID::LazyGet<
2204 base::android::MethodID::TYPE_INSTANCE>( 2118 base::android::MethodID::TYPE_INSTANCE>(
2205 env, MotionEvent_clazz(env), 2119 env, MotionEvent_clazz(env),
2206 "writeToParcel", 2120 "writeToParcel",
2207 "(Landroid/os/Parcel;I)V", 2121 "(Landroid/os/Parcel;I)V",
2208 &g_MotionEvent_writeToParcel); 2122 &g_MotionEvent_writeToParcel);
2209 2123
2210 env->CallVoidMethod(obj, 2124 env->CallVoidMethod(obj,
2211 method_id, p0, as_jint(p1)); 2125 method_id, p0, as_jint(p1));
2212 jni_generator::CheckException(env); 2126 jni_generator::CheckException(env);
2213 2127
2214 } 2128 }
2215 2129
2216 // Step 3: RegisterNatives. 2130 // Step 3: RegisterNatives.
2217 2131
2132 static bool RegisterNativesImpl(JNIEnv* env) __attribute__((unused));
2218 static bool RegisterNativesImpl(JNIEnv* env) { 2133 static bool RegisterNativesImpl(JNIEnv* env) {
2219 if (base::android::IsManualJniRegistrationDisabled()) return true; 2134 if (base::android::IsManualJniRegistrationDisabled()) return true;
2220 2135
2221 return true; 2136 return true;
2222 } 2137 }
2223 2138
2224 } // namespace JNI_MotionEvent 2139 } // namespace JNI_MotionEvent
2225 2140
2226 #endif // android_view_MotionEvent_JNI 2141 #endif // android_view_MotionEvent_JNI
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698