private static void nativeSetKeyFrame(android.graphics.Interpolator.NativeInterpolator native_instance, int index, int msec, float[] values, float[] blend) { Sharpen.INativeHandle values_handle = null; Sharpen.INativeHandle blend_handle = null; try { values_handle = XobotOS.Runtime.MarshalGlue.Array_float_Helper.GetPinnedPtr(values ); blend_handle = XobotOS.Runtime.MarshalGlue.Array_float_Helper.GetPinnedPtr(blend); libxobotos_Interpolator_setKeyFrame(native_instance, index, msec, values_handle.Address , blend_handle != null ? blend_handle.Address : System.IntPtr.Zero); } finally { if (values_handle != null) { values_handle.Free(); } if (blend_handle != null) { blend_handle.Free(); } } }
private static int nativeTimeToValues(android.graphics.Interpolator.NativeInterpolator native_instance, int msec, float[] values) { Sharpen.INativeHandle values_handle = null; try { values_handle = XobotOS.Runtime.MarshalGlue.Array_float_Helper.GetPinnedPtr(values ); return(libxobotos_Interpolator_timeToValues(native_instance, msec, values_handle != null ? values_handle.Address : System.IntPtr.Zero)); } finally { if (values_handle != null) { values_handle.Free(); } } }
private static extern int libxobotos_Interpolator_timeToValues(android.graphics.Interpolator.NativeInterpolator native_instance, int msec, System.IntPtr values);
private static void nativeSetRepeatMirror(android.graphics.Interpolator.NativeInterpolator native_instance, float repeatCount, bool mirror) { libxobotos_Interpolator_setRepeatMirror(native_instance, repeatCount, mirror); }
private static extern void libxobotos_Interpolator_setKeyFrame(android.graphics.Interpolator.NativeInterpolator native_instance, int index, int msec, System.IntPtr values, System.IntPtr blend );
private static void nativeReset(android.graphics.Interpolator.NativeInterpolator native_instance, int valueCount, int frameCount) { libxobotos_Interpolator_reset(native_instance, valueCount, frameCount); }
private static extern void libxobotos_Interpolator_reset(android.graphics.Interpolator.NativeInterpolator native_instance, int valueCount, int frameCount);
private static void nativeDestructor(android.graphics.Interpolator.NativeInterpolator native_instance) { native_instance.Dispose(); }