예제 #1
0
        public override void OnClick()
        {
            base.OnClick();

            if (!IsLocked)
            {
                dispatcher.Post(new SwSystem.Messages.ShowImeMessage());
            }
        }
예제 #2
0
        public override void OnReceive(Context context, Intent intent)
        {
            String action = intent.Action;

            Log.Info(TAG, "NotificationReceiver.onReceive called, action=" + action);

            if (action.Equals(ACTION_SHOW))
            {
                dispatcher.Post(new SwSystem.Messages.ShowImeMessage());
            }
        }
예제 #3
0
        public override void OnSwivelStateChanged(int state)
        {
            Log.Debug(TAG, "OnSwivelStateChanged");
            // The callback manager runs once on startup to report the initial state.
            // We only want updates if that state changes.
            if (ignore_transition)
            {
                Log.Debug(TAG, "Ignoring first swivel action");
                ignore_transition = false;
                return;
            }

            dispatcher.Post(new DisplayUpdateMessage(state));
        }