public override void TogglePanel(int featureId, global::Android.Views.KeyEvent e) { if (id_togglePanel_ILandroid_view_KeyEvent_ == IntPtr.Zero) { id_togglePanel_ILandroid_view_KeyEvent_ = JNIEnv.GetMethodID(class_ref, "togglePanel", "(ILandroid/view/KeyEvent;)V"); } JNIEnv.CallVoidMethod(Handle, id_togglePanel_ILandroid_view_KeyEvent_, new JValue(featureId), new JValue(e)); }
static bool n_OnKeyDown_ILandroid_view_KeyEvent_(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1) { global::Com.Huawei.Android.Pushselfshow.Richpush.Favorites.FavoritesActivity __this = global::Java.Lang.Object.GetObject <global::Com.Huawei.Android.Pushselfshow.Richpush.Favorites.FavoritesActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.KeyEvent p1 = global::Java.Lang.Object.GetObject <global::Android.Views.KeyEvent> (native_p1, JniHandleOwnership.DoNotTransfer); bool __ret = __this.OnKeyDown(p0, p1); return(__ret); }
static bool n_OnKeyEvent_ILandroid_view_KeyEvent_(IntPtr jnienv, IntPtr native__this, int keyCode, IntPtr native_e) { global::CN.Sharesdk.Framework.Authorize.AuthorizeAdapter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Framework.Authorize.AuthorizeAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.KeyEvent e = global::Java.Lang.Object.GetObject <global::Android.Views.KeyEvent> (native_e, JniHandleOwnership.DoNotTransfer); bool __ret = __this.OnKeyEvent(keyCode, e); return(__ret); }
public override global::System.Boolean SuperDispatchKeyShortcutEvent(global::Android.Views.KeyEvent e) { if (id_superDispatchKeyShortcutEvent_Landroid_view_KeyEvent_ == IntPtr.Zero) { id_superDispatchKeyShortcutEvent_Landroid_view_KeyEvent_ = JNIEnv.GetMethodID(class_ref, "superDispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z"); } global::System.Boolean __ret = JNIEnv.CallBooleanMethod(Handle, id_superDispatchKeyShortcutEvent_Landroid_view_KeyEvent_, new JValue(e)); return(__ret); }
static bool n_PerformShortcut_ILandroid_view_KeyEvent_I(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1, int p2) { IMenu __this = Java.Lang.Object.GetObject <IMenu> (native__this, JniHandleOwnership.DoNotTransfer); global::Android.Views.KeyEvent p1 = Java.Lang.Object.GetObject <global::Android.Views.KeyEvent> (native_p1, JniHandleOwnership.DoNotTransfer); bool __ret = __this.PerformShortcut(p0, p1, p2); return(__ret); }
public bool PerformShortcut(int p0, global::Android.Views.KeyEvent p1, int p2) { if (id_performShortcut_ILandroid_view_KeyEvent_I == IntPtr.Zero) { id_performShortcut_ILandroid_view_KeyEvent_I = JNIEnv.GetMethodID(class_ref, "performShortcut", "(ILandroid/view/KeyEvent;I)Z"); } bool __ret = JNIEnv.CallBooleanMethod(Handle, id_performShortcut_ILandroid_view_KeyEvent_I, new JValue(p0), new JValue(p1), new JValue(p2)); return(__ret); }
public bool IsShortcutKey(int p0, global::Android.Views.KeyEvent p1) { if (id_isShortcutKey_ILandroid_view_KeyEvent_ == IntPtr.Zero) { id_isShortcutKey_ILandroid_view_KeyEvent_ = JNIEnv.GetMethodID(class_ref, "isShortcutKey", "(ILandroid/view/KeyEvent;)Z"); } bool __ret = JNIEnv.CallBooleanMethod(Handle, id_isShortcutKey_ILandroid_view_KeyEvent_, new JValue(p0), new JValue(p1)); return(__ret); }
public override sealed unsafe bool DispatchKeyEvent(global::Android.Views.KeyEvent p0) { const string __id = "dispatchKeyEvent.(Landroid/view/KeyEvent;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeNonvirtualBooleanMethod(__id, this, __args); return(__rm); } finally { } }
public virtual unsafe bool OnKeyEvent(int keyCode, global::Android.Views.KeyEvent e) { const string __id = "onKeyEvent.(ILandroid/view/KeyEvent;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue(keyCode); __args [1] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Object)e).Handle); var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args); return(__rm); } finally { } }
public virtual unsafe bool OnKeyDown(int p0, global::Android.Views.KeyEvent p1) { if (id_onKeyDown_ILandroid_view_KeyEvent_ == IntPtr.Zero) { id_onKeyDown_ILandroid_view_KeyEvent_ = JNIEnv.GetMethodID(class_ref, "onKeyDown", "(ILandroid/view/KeyEvent;)Z"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); bool __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_onKeyDown_ILandroid_view_KeyEvent_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onKeyDown", "(ILandroid/view/KeyEvent;)Z"), __args); } return(__ret); } finally { } }
public override global::System.Boolean PerformPanelShortcut(int featureId, [global::Android.Runtime.GeneratedEnum] global::Android.Views.Keycode keyCode, global::Android.Views.KeyEvent e, [global::Android.Runtime.GeneratedEnum] global::Android.Views.MenuPerformFlags flags) { if (id_performPanelShortcut_IILandroid_view_KeyEvent_I == IntPtr.Zero) { id_performPanelShortcut_IILandroid_view_KeyEvent_I = JNIEnv.GetMethodID(class_ref, "performPanelShortcut", "(IILandroid/view/KeyEvent;I)Z"); } global::System.Boolean __ret = JNIEnv.CallBooleanMethod(Handle, id_performPanelShortcut_IILandroid_view_KeyEvent_I, new JValue(featureId), new JValue((int)keyCode), new JValue(e), new JValue((int)flags)); return(__ret); }
public override global::System.Boolean IsShortcutKey([global::Android.Runtime.GeneratedEnum] global::Android.Views.Keycode keyCode, global::Android.Views.KeyEvent e) { if (id_isShortcutKey_ILandroid_view_KeyEvent_ == IntPtr.Zero) { id_isShortcutKey_ILandroid_view_KeyEvent_ = JNIEnv.GetMethodID(class_ref, "isShortcutKey", "(ILandroid/view/KeyEvent;)Z"); } global::System.Boolean __ret = JNIEnv.CallBooleanMethod(Handle, id_isShortcutKey_ILandroid_view_KeyEvent_, new JValue((int)keyCode), new JValue(e)); return(__ret); }
public virtual bool DispatchKeyShortcutEvent(global::Android.Views.KeyEvent @event) /* MethodBuilder.Create */ { return(default(bool)); }