public void onCreateContextMenu(android.view.ContextMenu menu) { if (callbackProcs != null && callbackProcs[CB_CREATE_CONTEXT_MENU] != null) { super.onCreateContextMenu(menu); Script.callMethod(callbackProcs[CB_CREATE_CONTEXT_MENU], "call", menu); } else { super.onCreateContextMenu(menu); } }
public void onSizeChanged(int w, int h, int oldw, int oldh) { if (callbackProcs != null && callbackProcs[CB_SIZE_CHANGED] != null) { super.onSizeChanged(w, h, oldw, oldh); Script.callMethod(callbackProcs[CB_SIZE_CHANGED], "call", new Object[] {w, h, oldw, oldh}); } else { super.onSizeChanged(w, h, oldw, oldh); } }
public void onAnimationStart() { if (callbackProcs != null && callbackProcs[CB_ANIMATION_START] != null) { super.onAnimationStart(); Script.callMethod(callbackProcs[CB_ANIMATION_START], "call"); } else { super.onAnimationStart(); } }
public void onWindowFocusChanged(boolean hasWindowFocus) { if (callbackProcs != null && callbackProcs[CB_WINDOW_FOCUS_CHANGED] != null) { super.onWindowFocusChanged(hasWindowFocus); Script.callMethod(callbackProcs[CB_WINDOW_FOCUS_CHANGED], "call", hasWindowFocus); } else { super.onWindowFocusChanged(hasWindowFocus); } }
public void onWindowVisibilityChanged(int visibility) { if (callbackProcs != null && callbackProcs[CB_WINDOW_VISIBILITY_CHANGED] != null) { super.onWindowVisibilityChanged(visibility); Script.callMethod(callbackProcs[CB_WINDOW_VISIBILITY_CHANGED], "call", visibility); } else { super.onWindowVisibilityChanged(visibility); } }
public void onAttachedToWindow() { if (callbackProcs != null && callbackProcs[CB_ATTACHED_TO_WINDOW] != null) { super.onAttachedToWindow(); Script.callMethod(callbackProcs[CB_ATTACHED_TO_WINDOW], "call"); } else { super.onAttachedToWindow(); } }
public void onDetachedFromWindow() { if (callbackProcs != null && callbackProcs[CB_DETACHED_FROM_WINDOW] != null) { super.onDetachedFromWindow(); Script.callMethod(callbackProcs[CB_DETACHED_FROM_WINDOW], "call"); } else { super.onDetachedFromWindow(); } }
public void onStartTemporaryDetach() { if (callbackProcs != null && callbackProcs[CB_START_TEMPORARY_DETACH] != null) { super.onStartTemporaryDetach(); Script.callMethod(callbackProcs[CB_START_TEMPORARY_DETACH], "call"); } else { super.onStartTemporaryDetach(); } }
public boolean onSetAlpha(int alpha) { if (callbackProcs != null && callbackProcs[CB_SET_ALPHA] != null) { super.onSetAlpha(alpha); return (Boolean) Script.callMethod(callbackProcs[CB_SET_ALPHA], "call", alpha, Boolean.class); } else { return super.onSetAlpha(alpha); } }
public void onRestoreInstanceState(android.os.Parcelable state) { if (callbackProcs != null && callbackProcs[CB_RESTORE_INSTANCE_STATE] != null) { super.onRestoreInstanceState(state); Script.callMethod(callbackProcs[CB_RESTORE_INSTANCE_STATE], "call", state); } else { super.onRestoreInstanceState(state); } }
public void onFinishTemporaryDetach() { if (callbackProcs != null && callbackProcs[CB_FINISH_TEMPORARY_DETACH] != null) { super.onFinishTemporaryDetach(); Script.callMethod(callbackProcs[CB_FINISH_TEMPORARY_DETACH], "call"); } else { super.onFinishTemporaryDetach(); } }
public void onAnimationEnd() { if (callbackProcs != null && callbackProcs[CB_ANIMATION_END] != null) { super.onAnimationEnd(); Script.callMethod(callbackProcs[CB_ANIMATION_END], "call"); } else { super.onAnimationEnd(); } }
public void onFinishInflate() { if (callbackProcs != null && callbackProcs[CB_FINISH_INFLATE] != null) { super.onFinishInflate(); Script.callMethod(callbackProcs[CB_FINISH_INFLATE], "call"); } else { super.onFinishInflate(); } }
public void onDraw(android.graphics.Canvas canvas) { if (callbackProcs != null && callbackProcs[CB_DRAW] != null) { super.onDraw(canvas); Script.callMethod(callbackProcs[CB_DRAW], "call", canvas); } else { super.onDraw(canvas); } }
public void onScrollChanged(int l, int t, int oldl, int oldt) { if (callbackProcs != null && callbackProcs[CB_SCROLL_CHANGED] != null) { super.onScrollChanged(l, t, oldl, oldt); Script.callMethod(callbackProcs[CB_SCROLL_CHANGED], "call", new Object[] {l, t, oldl, oldt}); } else { super.onScrollChanged(l, t, oldl, oldt); } }
public boolean onCheckIsTextEditor() { if (callbackProcs != null && callbackProcs[CB_CHECK_IS_TEXT_EDITOR] != null) { super.onCheckIsTextEditor(); return (Boolean) Script.callMethod(callbackProcs[CB_CHECK_IS_TEXT_EDITOR], "call", Boolean.class); } else { return super.onCheckIsTextEditor(); } }
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { if (callbackProcs != null && callbackProcs[CB_MEASURE] != null) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); Script.callMethod( callbackProcs[CB_MEASURE], "call", new Object[] {widthMeasureSpec, heightMeasureSpec}); } else { super.onMeasure(widthMeasureSpec, heightMeasureSpec); } }
public boolean onInterceptTouchEvent(android.view.MotionEvent ev) { if (callbackProcs != null && callbackProcs[CB_INTERCEPT_TOUCH_EVENT] != null) { super.onInterceptTouchEvent(ev); return (Boolean) Script.callMethod(callbackProcs[CB_INTERCEPT_TOUCH_EVENT], "call", ev, Boolean.class); } else { return super.onInterceptTouchEvent(ev); } }
public void onLayout(boolean changed, int left, int top, int right, int bottom) { if (callbackProcs != null && callbackProcs[CB_LAYOUT] != null) { super.onLayout(changed, left, top, right, bottom); Script.callMethod( callbackProcs[CB_LAYOUT], "call", new Object[] {changed, left, top, right, bottom}); } else { super.onLayout(changed, left, top, right, bottom); } }
public boolean onTrackballEvent(android.view.MotionEvent event) { if (callbackProcs != null && callbackProcs[CB_TRACKBALL_EVENT] != null) { super.onTrackballEvent(event); return (Boolean) Script.callMethod(callbackProcs[CB_TRACKBALL_EVENT], "call", event, Boolean.class); } else { return super.onTrackballEvent(event); } }
public boolean onKeyPreIme(int keyCode, android.view.KeyEvent event) { if (callbackProcs != null && callbackProcs[CB_KEY_PRE_IME] != null) { super.onKeyPreIme(keyCode, event); return (Boolean) Script.callMethod( callbackProcs[CB_KEY_PRE_IME], "call", new Object[] {keyCode, event}, Boolean.class); } else { return super.onKeyPreIme(keyCode, event); } }
public android.os.Parcelable onSaveInstanceState() { if (callbackProcs != null && callbackProcs[CB_SAVE_INSTANCE_STATE] != null) { super.onSaveInstanceState(); return (android.os.Parcelable) Script.callMethod( callbackProcs[CB_SAVE_INSTANCE_STATE], "call", android.os.Parcelable.class); } else { return super.onSaveInstanceState(); } }
public int[] onCreateDrawableState(int extraSpace) { if (callbackProcs != null && callbackProcs[CB_CREATE_DRAWABLE_STATE] != null) { super.onCreateDrawableState(extraSpace); return (int[]) Script.callMethod( callbackProcs[CB_CREATE_DRAWABLE_STATE], "call", extraSpace, int[].class); } else { return super.onCreateDrawableState(extraSpace); } }
public void onFocusChanged( boolean gainFocus, int direction, android.graphics.Rect previouslyFocusedRect) { if (callbackProcs != null && callbackProcs[CB_FOCUS_CHANGED] != null) { super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); Script.callMethod( callbackProcs[CB_FOCUS_CHANGED], "call", new Object[] {gainFocus, direction, previouslyFocusedRect}); } else { super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); } }
public boolean onKeyMultiple(int keyCode, int repeatCount, android.view.KeyEvent event) { if (callbackProcs != null && callbackProcs[CB_KEY_MULTIPLE] != null) { super.onKeyMultiple(keyCode, repeatCount, event); return (Boolean) Script.callMethod( callbackProcs[CB_KEY_MULTIPLE], "call", new Object[] {keyCode, repeatCount, event}, Boolean.class); } else { return super.onKeyMultiple(keyCode, repeatCount, event); } }
public boolean onRequestFocusInDescendants( int direction, android.graphics.Rect previouslyFocusedRect) { if (callbackProcs != null && callbackProcs[CB_REQUEST_FOCUS_IN_DESCENDANTS] != null) { super.onRequestFocusInDescendants(direction, previouslyFocusedRect); return (Boolean) Script.callMethod( callbackProcs[CB_REQUEST_FOCUS_IN_DESCENDANTS], "call", new Object[] {direction, previouslyFocusedRect}, Boolean.class); } else { return super.onRequestFocusInDescendants(direction, previouslyFocusedRect); } }
public android.view.inputmethod.InputConnection onCreateInputConnection( android.view.inputmethod.EditorInfo outAttrs) { if (callbackProcs != null && callbackProcs[CB_CREATE_INPUT_CONNECTION] != null) { super.onCreateInputConnection(outAttrs); return (android.view.inputmethod.InputConnection) Script.callMethod( callbackProcs[CB_CREATE_INPUT_CONNECTION], "call", outAttrs, android.view.inputmethod.InputConnection.class); } else { return super.onCreateInputConnection(outAttrs); } }
private Ruby getRuby() { if (__ruby__ == null) __ruby__ = Script.getRuby(); return __ruby__; }