コード例 #1
0
  public final boolean onPrepareOptionsMenu(Activity activity, Menu menu) {
    boolean flag = false;
    for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); ) {
      flag |= ((ActivityFilter) activity.next()).onPrepareOptionsMenu(menu);
    }

    return flag;
  }
コード例 #2
0
  public final boolean onOptionsMenuSelected(Activity activity, MenuItem menuitem) {
    for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); ) {
      if (((ActivityFilter) activity.next()).onOptionsMenuSelected(menuitem)) {
        return true;
      }
    }

    return false;
  }
コード例 #3
0
  public final boolean onCreateOptionsMenu(Activity activity, Menu menu) {
    boolean flag = false;
    for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); ) {
      activity.next();
      flag |= ActivityFilter.onCreateOptionsMenu(menu);
    }

    return flag;
  }
コード例 #4
0
 public final void onConfigurationChanged(Activity activity, Configuration configuration) {
   for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); activity.next()) {}
 }
コード例 #5
0
 public final void onAttachFragment(Activity activity, Fragment fragment) {
   for (activity = getFilterGroup(activity).iterator();
       activity.hasNext();
       ((ActivityFilter) activity.next()).onAttachFragment(fragment)) {}
 }
コード例 #6
0
 public final void onActivityResult(Activity activity, int i, int j, Intent intent) {
   for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); activity.next()) {}
 }
コード例 #7
0
 public final void onStop(Activity activity) {
   for (activity = getFilterGroup(activity).iterator(); activity.hasNext(); activity.next()) {}
 }
コード例 #8
0
 public final void onPostResume(Activity activity) {
   for (activity = getFilterGroup(activity).iterator();
       activity.hasNext();
       ((ActivityFilter) activity.next()).onPostResume()) {}
 }
コード例 #9
0
 public final void onPostCreate(Activity activity, Bundle bundle) {
   for (activity = getFilterGroup(activity).iterator();
       activity.hasNext();
       ((ActivityFilter) activity.next()).onPostCreate(bundle)) {}
 }
コード例 #10
0
 public final void onDestroy(Activity activity) {
   for (activity = getFilterGroup(activity).iterator();
       activity.hasNext();
       ((ActivityFilter) activity.next()).onDestroy()) {}
 }