Metadata fixups to make 25.2.0 build

This commit is contained in:
Redth 2017-02-27 15:12:12 -05:00
Родитель e54c89eb57
Коммит b15a5fe712
2 изменённых файлов: 57 добавлений и 57 удалений

Просмотреть файл

@ -1,12 +1,12 @@
using System; //using System;
namespace Android.Support.Graphics.Drawable //namespace Android.Support.Graphics.Drawable
{ //{
// Metadata.xml XPath class reference: path="/api/package[@name='android.support.graphics.drawable']/class[@name='AnimatedVectorDrawableCompat']" // // Metadata.xml XPath class reference: path="/api/package[@name='android.support.graphics.drawable']/class[@name='AnimatedVectorDrawableCompat']"
public partial class AnimatedVectorDrawableCompat // public partial class AnimatedVectorDrawableCompat
{ // {
public override void SetAlpha (int alpha) // public override void SetAlpha (int alpha)
{ // {
Alpha = alpha; // Alpha = alpha;
} // }
} // }
} //}

Просмотреть файл

@ -363,55 +363,55 @@ namespace Android.Support.V7.Widget
} }
public partial class ScrollingTabContainerView // public partial class ScrollingTabContainerView
{ // {
private partial class TabView // private partial class TabView
{ // {
public override bool Selected { // public override bool Selected {
set { // set {
SetSelected (value); // SetSelected (value);
} // }
get { // get {
return base.Selected; // return base.Selected;
} // }
} // }
static Delegate cb_setSelected_Z; // static Delegate cb_setSelected_Z;
#pragma warning disable 0169 //#pragma warning disable 0169
static Delegate GetSetSelected_ZHandler () // static Delegate GetSetSelected_ZHandler ()
{ // {
if (cb_setSelected_Z == null) // if (cb_setSelected_Z == null)
cb_setSelected_Z = JNINativeWrapper.CreateDelegate ((Action<IntPtr, IntPtr, bool>)n_SetSelected_Z); // cb_setSelected_Z = JNINativeWrapper.CreateDelegate ((Action<IntPtr, IntPtr, bool>)n_SetSelected_Z);
return cb_setSelected_Z; // return cb_setSelected_Z;
} // }
static void n_SetSelected_Z (IntPtr jnienv, IntPtr native__this, bool selected) // static void n_SetSelected_Z (IntPtr jnienv, IntPtr native__this, bool selected)
{ // {
global::Android.Support.V7.Widget.ScrollingTabContainerView.TabView __this = global::Java.Lang.Object.GetObject<global::Android.Support.V7.Widget.ScrollingTabContainerView.TabView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); // global::Android.Support.V7.Widget.ScrollingTabContainerView.TabView __this = global::Java.Lang.Object.GetObject<global::Android.Support.V7.Widget.ScrollingTabContainerView.TabView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
__this.SetSelected (selected); // __this.SetSelected (selected);
} // }
#pragma warning restore 0169 //#pragma warning restore 0169
static IntPtr id_setSelected_Z; // static IntPtr id_setSelected_Z;
// Metadata.xml XPath method reference: path="/api/package[@name='android.support.v7.widget']/class[@name='ScrollingTabContainerView.TabView']/method[@name='setSelected' and count(parameter)=1 and parameter[1][@type='boolean']]" // // Metadata.xml XPath method reference: path="/api/package[@name='android.support.v7.widget']/class[@name='ScrollingTabContainerView.TabView']/method[@name='setSelected' and count(parameter)=1 and parameter[1][@type='boolean']]"
[Register ("setSelected", "(Z)V", "GetSetSelected_ZHandler")] // [Register ("setSelected", "(Z)V", "GetSetSelected_ZHandler")]
public unsafe void SetSelected (bool selected) // public unsafe void SetSelected (bool selected)
{ // {
if (id_setSelected_Z == IntPtr.Zero) // if (id_setSelected_Z == IntPtr.Zero)
id_setSelected_Z = JNIEnv.GetMethodID (class_ref, "setSelected", "(Z)V"); // id_setSelected_Z = JNIEnv.GetMethodID (class_ref, "setSelected", "(Z)V");
try { // try {
JValue* __args = stackalloc JValue [1]; // JValue* __args = stackalloc JValue [1];
__args [0] = new JValue (selected); // __args [0] = new JValue (selected);
if (GetType () == ThresholdType) // if (GetType () == ThresholdType)
JNIEnv.CallVoidMethod (((global::Java.Lang.Object)this).Handle, id_setSelected_Z, __args); // JNIEnv.CallVoidMethod (((global::Java.Lang.Object)this).Handle, id_setSelected_Z, __args);
else // else
JNIEnv.CallNonvirtualVoidMethod (((global::Java.Lang.Object)this).Handle, ThresholdClass, JNIEnv.GetMethodID (ThresholdClass, "setSelected", "(Z)V"), __args); // JNIEnv.CallNonvirtualVoidMethod (((global::Java.Lang.Object)this).Handle, ThresholdClass, JNIEnv.GetMethodID (ThresholdClass, "setSelected", "(Z)V"), __args);
} finally { // } finally {
} // }
} // }
} // }
} // }
} }
namespace Android.Support.V7.View.Menu namespace Android.Support.V7.View.Menu