Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ public void Dispose()
[DllImport(Libraries.InputMethod, EntryPoint = "ime_event_set_display_language_changed_cb")]
internal static extern ErrorCode ImeEventSetDisplayLanguageChangedCb(ImeDisplayLanguageChangedCb callbackFunction, IntPtr userData);

[DllImport(Libraries.InputMethod, EntryPoint = "ime_event_set_rotation_degree_changed_cb")]
internal static extern ErrorCode ImeEventSetRotationChangedCb(ImeRotationChangedCb callbackFunction, IntPtr userData);

[DllImport(Libraries.InputMethod, EntryPoint = "ime_event_set_accessibility_state_changed_cb")]
internal static extern ErrorCode ImeEventSetAccessibilityStateChangedCb(ImeAccessibilityStateChangedCb callbackFunction, IntPtr userData);

Expand Down Expand Up @@ -360,9 +357,6 @@ public void Dispose()
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate void ImeDisplayLanguageChangedCb(IntPtr language, IntPtr userData);

[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate void ImeRotationChangedCb(int degree, IntPtr userData);

[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate void ImeAccessibilityStateChangedCb(bool state, IntPtr userData);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -984,8 +984,6 @@ public static class InputMethodEditor
private static ImeProcessKeyEventCb _imeProcessKeyDelegate;
private static event EventHandler<DisplayLanguageChangedEventArgs> _displayLanguageChanged;
private static ImeDisplayLanguageChangedCb _imeDisplayLanguageChangedDelegate;
private static event EventHandler<RotationChangedEventArgs> _rotationDegreeChanged;
private static ImeRotationChangedCb _imeRotationChangedDelegate;
private static event EventHandler<AccessibilityStateChangedEventArgs> _accessibilityStateChanged;
private static ImeAccessibilityStateChangedCb _imeAccessibilityStateChangedDelegate;
private static event EventHandler<PredictionHintUpdatedEventArgs> _predictionHintUpdated;
Expand Down Expand Up @@ -1458,36 +1456,6 @@ public static event EventHandler<DisplayLanguageChangedEventArgs> DisplayLanguag
}
}

/// <summary>
/// Called when the device is rotated.
/// </summary>
/// <since_tizen> 4 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14. Please use Window.Resized instead.")]
public static event EventHandler<RotationChangedEventArgs> RotationChanged
{
add
{
_imeRotationChangedDelegate = (int degree, IntPtr userData) =>
{
RotationChangedEventArgs args = new RotationChangedEventArgs(degree);
_rotationDegreeChanged?.Invoke(null, args);
};
ErrorCode error = ImeEventSetRotationChangedCb(_imeRotationChangedDelegate, IntPtr.Zero);
if (error != ErrorCode.None)
{
Log.Error(LogTag, $"Add RotationChanged Failed with error {error}");
}
else
{
_rotationDegreeChanged += value;
}
}
remove
{
_rotationDegreeChanged -= value;
}
}

/// <summary>
/// Called when Accessibility in settings application is on or off.
/// </summary>
Expand Down

This file was deleted.

Loading