Example #1
0
		public override void sendAccessibilityEventUnchecked(android.view.accessibility.AccessibilityEvent
			 @event)
		{
			// this class fires events only when tabs are focused or selected
			if (@event.getEventType() == android.view.accessibility.AccessibilityEvent.TYPE_VIEW_FOCUSED
				 && isFocused())
			{
				@event.recycle();
				return;
			}
			base.sendAccessibilityEventUnchecked(@event);
		}
Example #2
0
		public override void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent
			 @event)
		{
			if (@event.getEventType() == android.view.accessibility.AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED)
			{
				// Action mode started
				@event.setSource(this);
				@event.setClassName(java.lang.CharSequenceProxy.Wrap(GetType().FullName));
				@event.setPackageName(java.lang.CharSequenceProxy.Wrap(getContext().getPackageName
					()));
				@event.setContentDescription(mTitle);
			}
			else
			{
				base.onInitializeAccessibilityEvent(@event);
			}
		}