コード例 #1
0
  @Override
  public void onLowMemory() {
    super.onLowMemory();

    GiderosApplication app = GiderosApplication.getInstance();
    if (app != null) app.onLowMemory();
  }
コード例 #2
0
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   if (this.architectView != null) {
     this.architectView.onLowMemory();
   }
 }
コード例 #3
0
  @Override
  public void onLowMemory() {
    super.onLowMemory();

    if (mCache != null) {
      mCache.empty();
    }
  }
コード例 #4
0
ファイル: SDLActivity.java プロジェクト: mactec0/flare-engine
  @Override
  public void onLowMemory() {
    Log.v("SDL", "onLowMemory()");
    super.onLowMemory();

    if (SDLActivity.mBrokenLibraries) {
      return;
    }

    SDLActivity.nativeLowMemory();
  }
コード例 #5
0
 @Override
 public void onLowMemory() {
   Log.e(LOG_FILE_NAME, "low memory");
   if (checkLaunchState(LaunchState.GeckoRunning)) GeckoAppShell.onLowMemory();
   super.onLowMemory();
 }
コード例 #6
0
  @Override
  public void onLowMemory() {
    super.onLowMemory();

    mv.onLowMemory();
  }
コード例 #7
0
 public void onLowMemory() {
   super.onLowMemory();
   this.f111b.m164s();
 }
コード例 #8
0
ファイル: SDLActivity.java プロジェクト: fcjailybo/asgp
 @Override
 public void onLowMemory() {
   Log.v("SDL", "onLowMemory()");
   super.onLowMemory();
   SDLActivity.nativeLowMemory();
 }
コード例 #9
0
 @Override
 public void onLowMemory() { // android系统调用
   super.onLowMemory();
   basePlayerManager.onLowMemory();
 }
コード例 #10
0
 public void onLowMemory()
 {
   super.onLowMemory();
   b.s();
 }
コード例 #11
0
  /**
   * 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
  }
コード例 #12
0
 @Override
 public void onLowMemory() {
   Log.e("SDL", "onLowMemory()");
   super.onLowMemory();
   if (player != null) player.onLowMemory();
 }
コード例 #13
0
 @Override
 public void onLowMemory() {
   Log.w(TAG, "Low Memory!");
   super.onLowMemory();
 }
コード例 #14
0
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   activityPresenter.onLowMemory();
 }
コード例 #15
0
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   $.hook(LOW_MEM).fire(ACT_HOOK_ADMIN);
 }
コード例 #16
0
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   Log.d(TAG, "BaseActivity onLowMemory Invoke...");
 }