Loading services/core/jni/com_android_server_input_InputManagerService.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -194,7 +194,7 @@ protected: public: NativeInputManager(jobject contextObj, jobject serviceObj, const sp<Looper>& looper); inline sp<InputManager> getInputManager() const { return mInputManager; } inline sp<InputManagerInterface> getInputManager() const { return mInputManager; } void dump(std::string& dump); Loading Loading @@ -270,7 +270,7 @@ public: virtual int32_t getCustomPointerIconId(); private: sp<InputManager> mInputManager; sp<InputManagerInterface> mInputManager; jobject mServiceObj; sp<Looper> mLooper; Loading Loading @@ -342,9 +342,9 @@ NativeInputManager::NativeInputManager(jobject contextObj, } mInteractive = true; mInputManager = new InputManager(this, this); defaultServiceManager()->addService(String16("inputflinger"), mInputManager, false); InputManager* im = new InputManager(this, this); mInputManager = im; defaultServiceManager()->addService(String16("inputflinger"), im); } NativeInputManager::~NativeInputManager() { Loading Loading @@ -1253,7 +1253,7 @@ int32_t NativeInputManager::getCustomPointerIconId() { } void NativeInputManager::setMotionClassifierEnabled(bool enabled) { mInputManager->setMotionClassifierEnabled(enabled); mInputManager->getClassifier()->setMotionClassifierEnabled(enabled); } // ---------------------------------------------------------------------------- Loading Loading
services/core/jni/com_android_server_input_InputManagerService.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -194,7 +194,7 @@ protected: public: NativeInputManager(jobject contextObj, jobject serviceObj, const sp<Looper>& looper); inline sp<InputManager> getInputManager() const { return mInputManager; } inline sp<InputManagerInterface> getInputManager() const { return mInputManager; } void dump(std::string& dump); Loading Loading @@ -270,7 +270,7 @@ public: virtual int32_t getCustomPointerIconId(); private: sp<InputManager> mInputManager; sp<InputManagerInterface> mInputManager; jobject mServiceObj; sp<Looper> mLooper; Loading Loading @@ -342,9 +342,9 @@ NativeInputManager::NativeInputManager(jobject contextObj, } mInteractive = true; mInputManager = new InputManager(this, this); defaultServiceManager()->addService(String16("inputflinger"), mInputManager, false); InputManager* im = new InputManager(this, this); mInputManager = im; defaultServiceManager()->addService(String16("inputflinger"), im); } NativeInputManager::~NativeInputManager() { Loading Loading @@ -1253,7 +1253,7 @@ int32_t NativeInputManager::getCustomPointerIconId() { } void NativeInputManager::setMotionClassifierEnabled(bool enabled) { mInputManager->setMotionClassifierEnabled(enabled); mInputManager->getClassifier()->setMotionClassifierEnabled(enabled); } // ---------------------------------------------------------------------------- Loading