Exemple #1
0
		public override bool dispatchKeyEvent(android.view.KeyEvent @event)
		{
			// Gallery steals all key events
			return @event.dispatch(this, null, null);
		}
Exemple #2
0
		public virtual bool dispatchKeyEvent(android.view.KeyEvent @event)
		{
			onUserInteraction();
			android.view.Window win = getWindow();
			if (win.superDispatchKeyEvent(@event))
			{
				return true;
			}
			android.view.View decor = mDecor;
			if (decor == null)
			{
				decor = win.getDecorView();
			}
			return @event.dispatch(this, decor != null ? decor.getKeyDispatcherState() : null
				, this);
		}