@Override
  public void onLowMemory() {
    super.onLowMemory();

    GiderosApplication app = GiderosApplication.getInstance();
    if (app != null) app.onLowMemory();
  }
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   if (this.architectView != null) {
     this.architectView.onLowMemory();
   }
 }
  @Override
  public void onLowMemory() {
    super.onLowMemory();

    if (mCache != null) {
      mCache.empty();
    }
  }
  @Override
  public void onLowMemory() {
    Log.v("SDL", "onLowMemory()");
    super.onLowMemory();

    if (SDLActivity.mBrokenLibraries) {
      return;
    }

    SDLActivity.nativeLowMemory();
  }
 @Override
 public void onLowMemory() {
   Log.e(LOG_FILE_NAME, "low memory");
   if (checkLaunchState(LaunchState.GeckoRunning)) GeckoAppShell.onLowMemory();
   super.onLowMemory();
 }
  @Override
  public void onLowMemory() {
    super.onLowMemory();

    mv.onLowMemory();
  }
 public void onLowMemory() {
   super.onLowMemory();
   this.f111b.m164s();
 }
Exemple #8
0
 @Override
 public void onLowMemory() {
   Log.v("SDL", "onLowMemory()");
   super.onLowMemory();
   SDLActivity.nativeLowMemory();
 }
 @Override
 public void onLowMemory() { // android系统调用
   super.onLowMemory();
   basePlayerManager.onLowMemory();
 }
 public void onLowMemory()
 {
   super.onLowMemory();
   b.s();
 }
  /**
   * create any associated state and call init methods on an activity
   *
   * <p>call any life cycle events for the activity
   *
   * @param activity
   */
  @DSVerified
  @DSBan(DSCat.DROIDSAFE_INTERNAL)
  public static void modelActivity(android.app.Activity activity) {
    if (mApplication != null) activity.setApplication(mApplication);

    Bundle b = new Bundle();
    activity.performCreate(b, context);

    activity.onAttachedToWindow();
    activity.onWindowFocusChanged(true);

    // Call all public methods with no params
    activity.onBackPressed();
    activity.onContentChanged();
    activity.onCreateDescription();
    activity.onLowMemory();
    activity.onRetainNonConfigurationInstance();
    // do not call this automatically because it leads to a crazy long path of crap
    // activity.onSearchRequested();
    activity.onUserInteraction();

    // TODO: DOES THIS MAKE SENSE?
    // We should not change method's visiblity
    /*
    activity.onCreateDialog(0);
    activity.onCreateDialog(0, new Bundle());
    activity.onPrepareDialog(0, new Dialog(context));
    */

    /*
    //TODO: WHAT ABOUT A REAL MENU?  We moved to Activity's droidsafeOnOtherHook
    activity.onCreateOptionsMenu(null);
    activity.onPrepareOptionsMenu(null);
    activity.onCreateContextMenu(null, null, null);
    activity.onOptionsItemSelected(null);
    activity.onContextItemSelected(null);
    activity.dispatchTouchEvent(new MotionEvent());

    //activity.droidsafeOnKeyEvents();
    */
    activity.onConfigurationChanged(new Configuration());
    activity.droidsafeOnSavedInstanceState(b);

    activity.droidsafeOnResume();
    activity.droidsafeOnPause();

    ////////////////
    // Callback hooks specific for SubActivity classes
    // All subclass of Activity should implment this in the model
    // so that their callback will be called
    // Map, listview, expandblelist, etc...
    activity.droidsafeSubActivityCallbackHook();

    activity.droidsafeOnStop();

    activity.droidsafeOnRestart();

    activity.droidsafeOnDestroy();

    activity.droidsafePerformRestoreInstanceState(b);

    activity.onDetachedFromWindow();
    // Calls for MapActivity from mapping library
  }
 @Override
 public void onLowMemory() {
   Log.e("SDL", "onLowMemory()");
   super.onLowMemory();
   if (player != null) player.onLowMemory();
 }
 @Override
 public void onLowMemory() {
   Log.w(TAG, "Low Memory!");
   super.onLowMemory();
 }
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   activityPresenter.onLowMemory();
 }
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   $.hook(LOW_MEM).fire(ACT_HOOK_ADMIN);
 }
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   Log.d(TAG, "BaseActivity onLowMemory Invoke...");
 }