}
/// <summary>
- /// Prevents from showing child widgets in AT-SPI tree.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected override bool AccessibilityShouldReportZeroChildren()
- {
- return true;
- }
-
- /// <summary>
/// The ButtonExtension instance that is injected by ButtonStyle.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
{
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center,
- AccessibilityHighlightable = false,
+ AccessibilityHidden = true,
};
}
{
return new ImageView()
{
- AccessibilityHighlightable = false
+ AccessibilityHidden = true,
};
}
PivotPoint = NUI.PivotPoint.Center,
WidthResizePolicy = ResizePolicyType.FillToParent,
HeightResizePolicy = ResizePolicyType.FillToParent,
- AccessibilityHighlightable = false
+ AccessibilityHidden = true,
};
}
}
/// <summary>
- /// Prevents from showing child widgets in AT-SPI tree.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected override bool AccessibilityShouldReportZeroChildren()
- {
- return true;
- }
-
- /// <summary>
/// Gets minimum value for Accessibility.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
{
indeterminateAnimation = new Animation(2000);
}
-
+
float destination = (this.SizeWidth - indeterminateImage.SizeWidth);
KeyFrames keyFrames = new KeyFrames();
HeightResizePolicy = ResizePolicyType.FillToParent,
PositionUsesPivotPoint = true,
ParentOrigin = NUI.ParentOrigin.TopLeft,
- PivotPoint = NUI.PivotPoint.TopLeft
+ PivotPoint = NUI.PivotPoint.TopLeft,
+ AccessibilityHidden = true,
};
Add(trackImage);
}
HeightResizePolicy = ResizePolicyType.FillToParent,
PositionUsesPivotPoint = true,
ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft,
- PivotPoint = Tizen.NUI.PivotPoint.TopLeft
+ PivotPoint = Tizen.NUI.PivotPoint.TopLeft,
+ AccessibilityHidden = true,
};
Add(progressImage);
}
HeightResizePolicy = ResizePolicyType.FillToParent,
PositionUsesPivotPoint = true,
ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft,
- PivotPoint = Tizen.NUI.PivotPoint.TopLeft
+ PivotPoint = Tizen.NUI.PivotPoint.TopLeft,
+ AccessibilityHidden = true,
};
Add(bufferImage);
bufferImage.Hide(); // At first, buffer image does not show.
Size = new Size(16, 16),
PositionUsesPivotPoint = true,
ParentOrigin = Tizen.NUI.ParentOrigin.CenterLeft,
- PivotPoint = Tizen.NUI.PivotPoint.CenterLeft
+ PivotPoint = Tizen.NUI.PivotPoint.CenterLeft,
+ AccessibilityHidden = true,
};
trackImage.Add(indeterminateImage);
indeterminateImage.Hide();
slidedTrackImage = new ImageView()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
if (bgTrackImage != null)
warningTrackImage = new ImageView()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
if (bgTrackImage != null)
warningSlidedTrackImage = new ImageView()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
if (warningTrackImage != null)
lowIndicatorText = new TextLabel()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
this.Add(lowIndicatorText);
}
highIndicatorText = new TextLabel()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
this.Add(highIndicatorText);
}
HeightResizePolicy = ResizePolicyType.Fixed,
ParentOrigin = Tizen.NUI.ParentOrigin.Center,
PivotPoint = Tizen.NUI.PivotPoint.Center,
- PositionUsesPivotPoint = true
+ PositionUsesPivotPoint = true,
+ AccessibilityHidden = true,
};
this.Add(bgTrackImage);
ParentOrigin = NUI.ParentOrigin.Center,
PivotPoint = NUI.PivotPoint.Center,
PositionUsesPivotPoint = true,
- EnableControlState = true
+ EnableControlState = true,
+ AccessibilityHidden = true,
};
if (bgTrackImage != null)
{
PivotPoint = Tizen.NUI.PivotPoint.Center,
WidthResizePolicy = ResizePolicyType.Fixed,
HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
if (valueIndicatorText != null)
{
valueIndicatorText = new TextLabel()
{
WidthResizePolicy = ResizePolicyType.Fixed,
- HeightResizePolicy = ResizePolicyType.Fixed
+ HeightResizePolicy = ResizePolicyType.Fixed,
+ AccessibilityHidden = true,
};
if (valueIndicatorImage != null)
{
}
set
{
- if (null == lowIndicatorImage) lowIndicatorImage = new ImageView();
+ if (null == lowIndicatorImage)
+ {
+ lowIndicatorImage = new ImageView
+ {
+ AccessibilityHidden = true,
+ };
+ }
+
lowIndicatorImage.ResourceUrl = value;
}
}
}
set
{
- if (null == highIndicatorImage) highIndicatorImage = new ImageView();
+ if (null == highIndicatorImage)
+ {
+ highIndicatorImage = new ImageView
+ {
+ AccessibilityHidden = true,
+ };
+ }
+
highIndicatorImage.ResourceUrl = value;
}
}
BorderlineWidth = 6.0f,
BorderlineOffset = -1f,
BackgroundColor = new Color(0.2f, 0.2f, 0.2f, 0.4f),
+ AccessibilityHidden = true,
};
}
recoverIndicator = FocusManager.Instance.FocusIndicator;
}
/// <summary>
- /// Prevents from showing child widgets in AT-SPI tree.
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected override bool AccessibilityShouldReportZeroChildren()
- {
- return true;
- }
-
- /// <summary>
/// Gets minimum value for Accessibility.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public AccessibilityGetActionName GetActionName; // 6
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- public delegate bool AccessibilityShouldReportZeroChildren(IntPtr self);
+ public delegate uint AccessibilityGetInterfaces(IntPtr self);
[EditorBrowsable(EditorBrowsableState.Never)]
- public AccessibilityShouldReportZeroChildren ShouldReportZeroChildren; // 7
+ public AccessibilityGetInterfaces GetInterfaces; // 7
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate double AccessibilityGetMinimum(IntPtr self);
public AccessibilityDeselectChild DeselectChild; // 35
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- public delegate uint AccessibilityGetInterfaces(IntPtr self);
- [EditorBrowsable(EditorBrowsableState.Never)]
- public AccessibilityGetInterfaces GetInterfaces; // 36
-
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate IntPtr AccessibilityGetRangeExtents(IntPtr self, int startOffset, int endOffset, int coordType);
[EditorBrowsable(EditorBrowsableState.Never)]
- public AccessibilityGetRangeExtents GetRangeExtents; // 37
+ public AccessibilityGetRangeExtents GetRangeExtents; // 36
}
[DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Accessibility_DuplicateString")]
}
[EditorBrowsable(EditorBrowsableState.Never)]
- protected virtual bool AccessibilityShouldReportZeroChildren()
- {
- return false;
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
protected virtual bool AccessibilityIsScrollable()
{
return false;
var ad = Interop.ControlDevel.AccessibilityDelegate.Instance;
ad.ScrollToChild = AccessibilityScrollToChildWrapper;
- ad.ShouldReportZeroChildren = AccessibilityShouldReportZeroChildrenWrapper;
}
private static bool AccessibilityScrollToChildWrapper(IntPtr self, IntPtr child)
return view.AccessibilityScrollToChild(view.GetInstanceSafely<View>(child));
}
-
- private static bool AccessibilityShouldReportZeroChildrenWrapper(IntPtr self)
- {
- return GetViewFromRefObject(self).AccessibilityShouldReportZeroChildren();
- }
}
}