最終更新:2015-11-09 (月) 14:57:48 (1324d)  

InputManager はてなブックマークを見る
Top / InputManager

Java (Android/Application Framework)

Android/システムサービス

C++ (AOSP/frameworks)

Android 4.4

Android 5.0

  • AOSP/frameworks/native/services/inputflinger/InputManager.h
  • AOSP/frameworks/native/services/inputflinger/InputManager.cpp
    class InputManager : public InputManagerInterface {
    protected:
        virtual ~InputManager();
    
    public:
        InputManager(
                const sp<EventHubInterface>& eventHub,
                const sp<InputReaderPolicyInterface>& readerPolicy,
                const sp<InputDispatcherPolicyInterface>& dispatcherPolicy);
    
        // (used for testing purposes)
        InputManager(
                const sp<InputReaderInterface>& reader,
                const sp<InputDispatcherInterface>& dispatcher);
    
        virtual status_t start();
        virtual status_t stop();
    
        virtual sp<InputReaderInterface> getReader();
        virtual sp<InputDispatcherInterface> getDispatcher();
    
    private:
        sp<InputReaderInterface> mReader;
        sp<InputReaderThread> mReaderThread;
    
        sp<InputDispatcherInterface> mDispatcher;
        sp<InputDispatcherThread> mDispatcherThread;
    
        void initialize();
    };

コンストラクタの引数

メンバ

呼び出し順

関連