Home | History | Annotate | Download | only in jni

Lines Matching defs:DeviceMotionAndOrientationManager

27 #include "DeviceMotionAndOrientationManager.h"
43 DeviceMotionAndOrientationManager::DeviceMotionAndOrientationManager(WebViewCore* webViewCore)
49 void DeviceMotionAndOrientationManager::setUseMock()
54 void DeviceMotionAndOrientationManager::setMockMotion(PassRefPtr<DeviceMotionData> motion)
59 void DeviceMotionAndOrientationManager::onMotionChange(PassRefPtr<DeviceMotionData> motion)
65 void DeviceMotionAndOrientationManager::setMockOrientation(PassRefPtr<DeviceOrientation> orientation)
71 void DeviceMotionAndOrientationManager::onOrientationChange(PassRefPtr<DeviceOrientation> orientation)
77 void DeviceMotionAndOrientationManager::maybeSuspendClients()
87 void DeviceMotionAndOrientationManager::maybeResumeClients()
97 DeviceMotionClient* DeviceMotionAndOrientationManager::motionClient()
107 DeviceOrientationClient* DeviceMotionAndOrientationManager::orientationClient()
116 // JNI for android.webkit.DeviceMotionAndOrientationManager
117 static const char* javaDeviceMotionAndOrientationManagerClass = "android/webkit/DeviceMotionAndOrientationManager";
129 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->setUseMock();
138 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->onMotionChange(motion.release());
144 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->setMockOrientation(orientation.release());
150 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->onOrientationChange(orientation.release());
163 jclass deviceMotionAndOrientationManager = env->FindClass(javaDeviceMotionAndOrientationManagerClass);
164 ALOG_ASSERT(deviceMotionAndOrientationManager, "Unable to find class");
165 env->DeleteLocalRef(deviceMotionAndOrientationManager);