// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.oliodevices.assist.app.fragments; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewPropertyAnimator; import android.widget.ImageView; import android.widget.TextView; import butterknife.ButterKnife; import com.olio.data.object.user.ActivityTime; import com.olio.data.object.user.ActivityTimes; import com.olio.data.object.user.CalendarSettings; import com.olio.data.object.user.FavoriteContacts; import com.olio.data.object.user.Location; import com.olio.data.object.user.Locations; import com.olio.data.object.user.OlioContact; import com.olio.data.object.user.TransportationSettings; import com.oliodevices.assist.app.core.ActivityTimeUtils; import com.oliodevices.assist.app.core.Utils; import com.oliodevices.assist.app.events.CalendarsUpdatedEvent; import com.oliodevices.assist.app.events.LocationsUpdatedEvent; import com.oliodevices.assist.app.events.TimesUpdatedEvent; import com.oliodevices.assist.app.events.TransportationOptionsUpdatedEvent; import com.oliodevices.assist.app.events.VipsUpdatedEvent; import com.oliodevices.assist.app.views.DeleteGestureListener; import com.squareup.otto.Bus; import com.squareup.picasso.Picasso; import com.squareup.picasso.RequestCreator; import java.lang.annotation.Annotation; import java.lang.ref.WeakReference; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.security.InvalidParameterException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map; // Referenced classes of package com.oliodevices.assist.app.fragments: // BaseFragment, TitleChanger, UpdateActivityTimesFragment, AddOrEditActivityNameFragment, // UpdateLocationFragment, VIPSelectionFragment, TransportationFragment, CalendarSelectionFragment public class PersonalInfoFragment extends BaseFragment implements TitleChanger { class ActivityTimeViewHolder extends ItemViewHolder { final PersonalInfoFragment this$0; public void bind(ActivityTime activitytime) { super.bind(activitytime); nameView.setText(activitytime.getName()); descriptionLine1View.setText(ActivityTimeUtils.buildTimeDescription(getActivity(), activitytime)); descriptionLine2View.setText(ActivityTimeUtils.buildDayDescription(getActivity(), activitytime)); } public volatile void bind(Object obj) { bind((ActivityTime)obj); } public boolean canEdit() { return true; } public void editItem() { if (isProtected) { startFragment(UpdateActivityTimesFragment.newInstance((ActivityTime)item)); return; } else { startFragment(AddOrEditActivityNameFragment.newInstance((ActivityTime)item)); return; } } public int getItemType() { return 3; } public void removeFromModel() { mTimesList.removeActivityTime((ActivityTime)item); mTimesList.save(getActivity().getContentResolver()); } ActivityTimeViewHolder() { this$0 = PersonalInfoFragment.this; super(); } } class CalendarViewHolder extends ItemViewHolder { final PersonalInfoFragment this$0; public volatile void bind(Object obj) { bind((String)obj); } public void bind(String s) { super.bind(s); nameView.setText(s); } public int getItemType() { return 4; } public void init(Context context, Bus bus, View view, boolean flag) { super.init(context, bus, view, flag); descriptionLine1View.setVisibility(8); descriptionLine2View.setVisibility(8); } public void removeFromModel() { mCalendarsList.getCalendarIdentifiers().remove(item); mCalendarsList.save(getActivity().getContentResolver()); } CalendarViewHolder() { this$0 = PersonalInfoFragment.this; super(); } } class HolderFactory { private Constructor constructor; private final Class holderClass; final PersonalInfoFragment this$0; ViewHolder create() { ViewHolder viewholder = (ViewHolder)constructor.newInstance(new Object[] { PersonalInfoFragment.this }); return viewholder; Object obj; obj; _L2: throw new InvalidParameterException((new StringBuilder()).append(holderClass.getSimpleName()).append(" must declare a public constructor with no parameter").toString()); obj; continue; /* Loop/switch isn't completed */ obj; if (true) goto _L2; else goto _L1 _L1: } void populate(LayoutInflater layoutinflater, Object obj, boolean flag, boolean flag1) { ViewHolder viewholder = create(); if (flag1) { layoutinflater.inflate(0x7f030065, mMainView, true); } layoutinflater = layoutinflater.inflate(viewholder.getLayoutId(), mMainView, false); layoutinflater.setTag(viewholder); mMainView.addView(layoutinflater); viewholder.init(getActivity(), mBus, layoutinflater, flag); viewholder.bind(obj); } HolderFactory(Class class1) { this$0 = PersonalInfoFragment.this; super(); holderClass = class1; try { constructor = class1.getDeclaredConstructor(new Class[] { com/oliodevices/assist/app/fragments/PersonalInfoFragment }); return; } // Misplaced declaration of an exception variable catch (PersonalInfoFragment personalinfofragment) { throw new InvalidParameterException((new StringBuilder()).append(class1.getSimpleName()).append(" must declare a public constructor with no parameter").toString()); } } } private static interface ItemType extends Annotation { } static abstract class ItemViewHolder implements ViewHolder { View confirmDeleteView; View deleteContainer; DeleteGestureListener deleteGestureListener; View deleteView; TextView descriptionLine1View; TextView descriptionLine2View; boolean isProtected; Object item; View mainView; TextView nameView; android.view.View.OnClickListener onClickListener; View root; View sliderView; public void bind(Object obj) { item = obj; } public boolean canEdit() { return false; } public void editItem() { } public int getLayoutId() { return 0x7f030064; } public void init(Context context, Bus bus, View view, boolean flag) { root = view; isProtected = flag; ButterKnife.inject(this, root); view = new WeakReference(this); onClickListener = view. new android.view.View.OnClickListener() { final ItemViewHolder this$0; final WeakReference val$weakRef; public void onClick(View view) { view = (ItemViewHolder)weakRef.get(); if (view != null) { view.editItem(); } } { this$0 = final_itemviewholder; weakRef = WeakReference.this; super(); } }; deleteGestureListener = new DeleteGestureListener(context, bus, confirmDeleteView, sliderView); deleteView.setOnClickListener(view. new android.view.View.OnClickListener() { final ItemViewHolder this$0; final WeakReference val$weakRef; public void onClick(View view) { view = (ItemViewHolder)weakRef.get(); if (view == null) { return; } else { int i = ((ItemViewHolder) (view)).confirmDeleteView.getWidth(); ((ItemViewHolder) (view)).sliderView.animate().translationX(-i).start(); return; } } { this$0 = final_itemviewholder; weakRef = WeakReference.this; super(); } }); if (canEdit()) { mainView.setOnClickListener(onClickListener); mainView.setBackground(context.getResources().getDrawable(0x7f0200a4)); } deleteContainer.setVisibility(8); context = deleteView; byte byte0; if (flag) { byte0 = 4; } else { byte0 = 0; } context.setVisibility(byte0); confirmDeleteView.setOnClickListener(view. new android.view.View.OnClickListener() { final ItemViewHolder this$0; final WeakReference val$weakRef; public void onClick(View view) { view = (ItemViewHolder)weakRef.get(); if (view == null) { return; } else { AnimatorListenerAdapter animatorlisteneradapter = new AnimatorListenerAdapter() { final ItemViewHolder._cls3 this$1; public void onAnimationEnd(Animator animator) { animator = (ItemViewHolder)weakRef.get(); if (animator == null) { return; } else { ((ViewGroup)((ItemViewHolder) (animator)).root.getParent()).removeView(((ItemViewHolder) (animator)).root); animator.removeFromModel(); return; } } { this$1 = ItemViewHolder._cls3.this; super(); } }; ((ItemViewHolder) (view)).root.animate().translationX(-((ItemViewHolder) (view)).root.getWidth()).setListener(animatorlisteneradapter).start(); return; } } { this$0 = final_itemviewholder; weakRef = WeakReference.this; super(); } }); } public void onModeChange(boolean flag) { if (flag) { deleteContainer.setVisibility(0); mainView.setOnClickListener(null); if (!isProtected) { sliderView.setOnTouchListener(deleteGestureListener); } } else { deleteContainer.setVisibility(8); mainView.setOnClickListener(onClickListener); sliderView.setOnTouchListener(null); if (deleteGestureListener.isSliderOpen()) { sliderView.animate().translationX(0.0F).start(); return; } } } ItemViewHolder() { } } class LocationViewHolder extends ItemViewHolder { final PersonalInfoFragment this$0; public void bind(Location location) { super.bind(location); String as[] = Utils.buildAddressArray(getActivity(), location.getDisplayAddress()); nameView.setText(location.getDisplayName()); descriptionLine1View.setText(as[0]); descriptionLine2View.setText(as[1]); } public volatile void bind(Object obj) { bind((Location)obj); } public boolean canEdit() { return true; } public void editItem() { startFragment(UpdateLocationFragment.newInstance((Location)item)); } public int getItemType() { return 2; } public void removeFromModel() { mLocationsList.removeLocation((Location)item); mLocationsList.save(getActivity().getContentResolver()); } LocationViewHolder() { this$0 = PersonalInfoFragment.this; super(); } } class TransportationSettingsViewHolder extends ItemViewHolder { final PersonalInfoFragment this$0; public volatile void bind(Object obj) { bind((String)obj); } public void bind(String s) { super.bind(s); nameView.setText(s); } public int getItemType() { return 5; } public void init(Context context, Bus bus, View view, boolean flag) { super.init(context, bus, view, flag); descriptionLine1View.setVisibility(8); descriptionLine2View.setVisibility(8); } public void removeFromModel() { mTransportationOptionsList.getTransportation().remove(item); mTransportationOptionsList.save(getActivity().getContentResolver()); } TransportationSettingsViewHolder() { this$0 = PersonalInfoFragment.this; super(); } } static interface ViewHolder { public abstract void bind(Object obj); public abstract int getItemType(); public abstract int getLayoutId(); public abstract void init(Context context, Bus bus, View view, boolean flag); public abstract void onModeChange(boolean flag); public abstract void removeFromModel(); } class VipViewHolder implements ViewHolder { View confirmDeleteView; DeleteGestureListener deleteGestureListener; View deleteView; OlioContact item; TextView nameView; ImageView photoView; View root; View sliderView; final PersonalInfoFragment this$0; public void bind(OlioContact oliocontact) { item = oliocontact; nameView.setText(oliocontact.getName()); if (oliocontact.getPhotoUri() != null) { Picasso.with(getActivity()).load(oliocontact.getPhotoUri()).placeholder(0x7f020067).into(photoView); return; } else { Picasso.with(getActivity()).load(0x7f020067).into(photoView); return; } } public volatile void bind(Object obj) { bind((OlioContact)obj); } public int getItemType() { return 1; } public int getLayoutId() { return 0x7f030066; } public void init(Context context, Bus bus, View view, boolean flag) { root = view; ButterKnife.inject(this, root); view = new WeakReference(this); deleteGestureListener = new DeleteGestureListener(context, bus, confirmDeleteView, sliderView); deleteView.setOnClickListener(view. new android.view.View.OnClickListener() { final VipViewHolder this$1; final WeakReference val$weakRef; public void onClick(View view) { view = (VipViewHolder)weakRef.get(); if (view == null) { return; } else { int i = ((VipViewHolder) (view)).confirmDeleteView.getWidth(); ((VipViewHolder) (view)).sliderView.animate().translationX(-i).start(); return; } } { this$1 = final_vipviewholder; weakRef = WeakReference.this; super(); } }); deleteView.setVisibility(8); confirmDeleteView.setOnClickListener(view. new android.view.View.OnClickListener() { final VipViewHolder this$1; final WeakReference val$weakRef; public void onClick(View view) { view = (VipViewHolder)weakRef.get(); if (view == null) { return; } else { AnimatorListenerAdapter animatorlisteneradapter = new AnimatorListenerAdapter() { final VipViewHolder._cls2 this$2; public void onAnimationEnd(Animator animator) { animator = (VipViewHolder)weakRef.get(); if (animator == null) { return; } else { ((ViewGroup)((VipViewHolder) (animator)).root.getParent()).removeView(((VipViewHolder) (animator)).root); animator.removeFromModel(); return; } } { this$2 = VipViewHolder._cls2.this; super(); } }; ((VipViewHolder) (view)).root.animate().translationX(-((VipViewHolder) (view)).root.getWidth()).setListener(animatorlisteneradapter).start(); return; } } { this$1 = final_vipviewholder; weakRef = WeakReference.this; super(); } }); } public void onModeChange(boolean flag) { if (flag) { deleteView.setVisibility(0); sliderView.setOnTouchListener(deleteGestureListener); } else { deleteView.setVisibility(8); sliderView.setOnTouchListener(null); if (deleteGestureListener.isSliderOpen()) { sliderView.animate().translationX(0.0F).start(); return; } } } public void removeFromModel() { mVipsList.getFavoriteContacts().remove(item); mVipsList.save(getActivity().getContentResolver()); } VipViewHolder() { this$0 = PersonalInfoFragment.this; super(); } } private static final int ITEM_CALENDAR = 4; private static final int ITEM_LOCATION = 2; private static final int ITEM_TIME = 3; private static final int ITEM_TRANSPORTATION_OPTION = 5; private static final int ITEM_VIP = 1; private static final String STATE_CALENDARS_LIST = "calendars_list"; private static final String STATE_LOCATIONS_LIST = "locations_list"; private static final String STATE_TIMES_LIST = "times_list"; private static final String STATE_TRANSPORTATION_OPTIONS_LIST = "transportation_options_list"; private static final String STATE_VIPS_LIST = "vips_list"; private CalendarSettings mCalendarsList; private AsyncTask mGetDataTask; private boolean mIsAlreadyLoaded; private Locations mLocationsList; ViewGroup mMainView; private ActivityTimes mTimesList; private TransportationSettings mTransportationOptionsList; private FavoriteContacts mVipsList; public PersonalInfoFragment() { } private void addAddItemToMainView(final int itemType) { View view; TextView textview; view = LayoutInflater.from(getActivity()).inflate(0x7f030062, mMainView, false); textview = (TextView)ButterKnife.findById(view, 0x7f0d0076); mMainView.addView(view); itemType; JVM INSTR tableswitch 1 5: default 72 // 1 86 // 2 95 // 3 104 // 4 122 // 5 113; goto _L1 _L2 _L3 _L4 _L5 _L6 _L1: view.setOnClickListener(new android.view.View.OnClickListener() { final PersonalInfoFragment this$0; final int val$itemType; public void onClick(View view1) { view1 = null; itemType; JVM INSTR tableswitch 1 5: default 40 // 1 53 // 2 67 // 3 78 // 4 103 // 5 89; goto _L1 _L2 _L3 _L4 _L5 _L6 _L1: if (view1 != null) { startFragment(view1); } return; _L2: view1 = VIPSelectionFragment.newInstance(mVipsList); continue; /* Loop/switch isn't completed */ _L3: view1 = new UpdateLocationFragment(); continue; /* Loop/switch isn't completed */ _L4: view1 = new AddOrEditActivityNameFragment(); continue; /* Loop/switch isn't completed */ _L6: view1 = TransportationFragment.newInstance(mTransportationOptionsList); continue; /* Loop/switch isn't completed */ _L5: view1 = CalendarSelectionFragment.newInstance(mCalendarsList); if (true) goto _L1; else goto _L7 _L7: } { this$0 = PersonalInfoFragment.this; itemType = i; super(); } }); return; _L2: textview.setText(0x7f06003a); continue; /* Loop/switch isn't completed */ _L3: textview.setText(0x7f060036); continue; /* Loop/switch isn't completed */ _L4: textview.setText(0x7f060039); continue; /* Loop/switch isn't completed */ _L6: textview.setText(0x7f0601bb); continue; /* Loop/switch isn't completed */ _L5: textview.setText(0x7f0601ba); if (true) goto _L1; else goto _L7 _L7: } private void addHeadingToMainView(final int itemType) { TextView textview; View view1; View view = LayoutInflater.from(getActivity()).inflate(0x7f030063, mMainView, false); textview = (TextView)ButterKnife.findById(view, 0x7f0d0076); view1 = ButterKnife.findById(view, 0x7f0d0197); view1.setTag(Boolean.valueOf(false)); if (itemType == 3 || itemType == 2) { view1.setVisibility(8); } mMainView.addView(view); itemType; JVM INSTR tableswitch 1 5: default 104 // 1 119 // 2 128 // 3 137 // 4 155 // 5 146; goto _L1 _L2 _L3 _L4 _L5 _L6 _L1: view1.setOnClickListener(new android.view.View.OnClickListener() { final PersonalInfoFragment this$0; final int val$itemType; public void onClick(View view2) { int i; int j; boolean flag; if (!((Boolean)view2.getTag()).booleanValue()) { flag = true; } else { flag = false; } view2.setTag(Boolean.valueOf(flag)); view2 = (TextView)view2; if (flag) { i = 0x7f0600a3; } else { i = 0x7f0600a9; } view2.setText(i); j = mMainView.getChildCount(); for (i = 0; i < j; i++) { view2 = mMainView.getChildAt(i); if (view2.getTag() == null || !(view2.getTag() instanceof ViewHolder)) { continue; } view2 = (ViewHolder)view2.getTag(); if (view2.getItemType() == itemType) { view2.onModeChange(flag); } } } { this$0 = PersonalInfoFragment.this; itemType = i; super(); } }); return; _L2: textview.setText(0x7f0601c2); continue; /* Loop/switch isn't completed */ _L3: textview.setText(0x7f0600d1); continue; /* Loop/switch isn't completed */ _L4: textview.setText(0x7f060183); continue; /* Loop/switch isn't completed */ _L6: textview.setText(0x7f0601ab); continue; /* Loop/switch isn't completed */ _L5: textview.setText(0x7f06004e); if (true) goto _L1; else goto _L7 _L7: } private void buildList(int i, Collection collection, HolderFactory holderfactory, Comparator comparator) { addHeadingToMainView(i); LayoutInflater layoutinflater = LayoutInflater.from(getActivity()); ArrayList arraylist = null; if (collection != null) { arraylist = new ArrayList(collection); } if (arraylist != null && comparator != null) { Collections.sort(arraylist, comparator); } if (arraylist != null) { collection = arraylist.iterator(); while (collection.hasNext()) { comparator = ((Comparator) (collection.next())); boolean flag1 = Utils.isItemProtected(getActivity(), comparator); boolean flag; if (arraylist.indexOf(comparator) > 0) { flag = true; } else { flag = false; } holderfactory.populate(layoutinflater, comparator, flag1, flag); } } if (i != 3 && i != 2) { if (arraylist != null && arraylist.size() > 0) { layoutinflater.inflate(0x7f030065, mMainView, true); } addAddItemToMainView(i); } } private void populateMainView() { buildList(1, mVipsList.getFavoriteContacts(), new HolderFactory(com/oliodevices/assist/app/fragments/PersonalInfoFragment$VipViewHolder), Utils.vipComparator); buildList(2, mLocationsList.getLocations().values(), new HolderFactory(com/oliodevices/assist/app/fragments/PersonalInfoFragment$LocationViewHolder), new Comparator() { final PersonalInfoFragment this$0; public int compare(Location location, Location location1) { return location.getDisplayName().compareTo(location1.getDisplayName()); } public volatile int compare(Object obj, Object obj1) { return compare((Location)obj, (Location)obj1); } { this$0 = PersonalInfoFragment.this; super(); } }); buildList(3, mTimesList.getActivityTimes().values(), new HolderFactory(com/oliodevices/assist/app/fragments/PersonalInfoFragment$ActivityTimeViewHolder), new Comparator() { final PersonalInfoFragment this$0; public int compare(ActivityTime activitytime, ActivityTime activitytime1) { return activitytime.getName().compareTo(activitytime1.getName()); } public volatile int compare(Object obj, Object obj1) { return compare((ActivityTime)obj, (ActivityTime)obj1); } { this$0 = PersonalInfoFragment.this; super(); } }); buildList(4, mCalendarsList.getCalendarIdentifiers(), new HolderFactory(com/oliodevices/assist/app/fragments/PersonalInfoFragment$CalendarViewHolder), new Comparator() { final PersonalInfoFragment this$0; public volatile int compare(Object obj, Object obj1) { return compare((String)obj, (String)obj1); } public int compare(String s, String s1) { return s.compareTo(s1); } { this$0 = PersonalInfoFragment.this; super(); } }); final ArrayList orderedTransitOptions = new ArrayList(Arrays.asList(getResources().getStringArray(0x7f0b0003))); buildList(5, mTransportationOptionsList.getTransportation(), new HolderFactory(com/oliodevices/assist/app/fragments/PersonalInfoFragment$TransportationSettingsViewHolder), new Comparator() { final PersonalInfoFragment this$0; final List val$orderedTransitOptions; public volatile int compare(Object obj, Object obj1) { return compare((String)obj, (String)obj1); } public int compare(String s, String s1) { return Integer.valueOf(orderedTransitOptions.indexOf(s)).compareTo(Integer.valueOf(orderedTransitOptions.indexOf(s1))); } { this$0 = PersonalInfoFragment.this; orderedTransitOptions = list; super(); } }); } private void refreshMainView() { mMainView.removeAllViews(); populateMainView(); getActivity().getSupportFragmentManager().popBackStack(null, 1); } private void retrieveDataItems() { mGetDataTask = (new AsyncTask() { final PersonalInfoFragment this$0; protected volatile Object doInBackground(Object aobj[]) { return doInBackground((Void[])aobj); } protected transient Void doInBackground(Void avoid[]) { if (isCancelled()) { return null; } else { avoid = getActivity().getContentResolver(); mVipsList = FavoriteContacts.get(avoid); mLocationsList = Locations.get(avoid); mTimesList = ActivityTimes.get(avoid); mTransportationOptionsList = TransportationSettings.get(avoid); mCalendarsList = CalendarSettings.get(avoid); return null; } } protected volatile void onPostExecute(Object obj) { onPostExecute((Void)obj); } protected void onPostExecute(Void void1) { if (isAdded()) { populateMainView(); } } { this$0 = PersonalInfoFragment.this; super(); } }).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]); } public void onActivityCreated(Bundle bundle) { super.onActivityCreated(bundle); setActivityTitle(getActivity()); if (bundle == null && !mIsAlreadyLoaded) { retrieveDataItems(); } else { if (bundle != null) { mVipsList = (FavoriteContacts)bundle.getParcelable("vips_list"); mLocationsList = (Locations)bundle.getParcelable("locations_list"); mTimesList = (ActivityTimes)bundle.getParcelable("times_list"); mTransportationOptionsList = (TransportationSettings)bundle.getParcelable("transportation_options_list"); mCalendarsList = (CalendarSettings)bundle.getParcelable("calendars_list"); } populateMainView(); } mIsAlreadyLoaded = true; } public void onCalendarsUpdated(CalendarsUpdatedEvent calendarsupdatedevent) { mCalendarsList = calendarsupdatedevent.calendars; refreshMainView(); } public View onCreateView(LayoutInflater layoutinflater, ViewGroup viewgroup, Bundle bundle) { layoutinflater = layoutinflater.inflate(0x7f03003f, viewgroup, false); ButterKnife.inject(this, layoutinflater); return layoutinflater; } public void onDetach() { if (mGetDataTask != null) { mGetDataTask.cancel(true); } super.onDetach(); } public void onLocationsUpdated(LocationsUpdatedEvent locationsupdatedevent) { mLocationsList = locationsupdatedevent.locations; refreshMainView(); } public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); bundle.putParcelable("vips_list", mVipsList); bundle.putParcelable("locations_list", mLocationsList); bundle.putParcelable("times_list", mTimesList); bundle.putParcelable("transportation_options_list", mTransportationOptionsList); bundle.putParcelable("calendars_list", mCalendarsList); } public void onTimesUpdated(TimesUpdatedEvent timesupdatedevent) { mTimesList = timesupdatedevent.times; refreshMainView(); } public void onTransportationOptionsUpdated(TransportationOptionsUpdatedEvent transportationoptionsupdatedevent) { mTransportationOptionsList = transportationoptionsupdatedevent.transportationOptions; refreshMainView(); } public void onVipsUpdated(VipsUpdatedEvent vipsupdatedevent) { mVipsList = vipsupdatedevent.vips; refreshMainView(); } public void setActivityTitle(Activity activity) { Fragment fragment = ((FragmentActivity)activity).getSupportFragmentManager().findFragmentById(0x7f0d0067); if ((fragment instanceof TitleChanger) && fragment.isResumed()) { ((TitleChanger)fragment).setActivityTitle(activity); return; } else { activity.setTitle(0x7f0600fe); return; } } /* static FavoriteContacts access$002(PersonalInfoFragment personalinfofragment, FavoriteContacts favoritecontacts) { personalinfofragment.mVipsList = favoritecontacts; return favoritecontacts; } */ /* static Locations access$102(PersonalInfoFragment personalinfofragment, Locations locations) { personalinfofragment.mLocationsList = locations; return locations; } */ /* static ActivityTimes access$202(PersonalInfoFragment personalinfofragment, ActivityTimes activitytimes) { personalinfofragment.mTimesList = activitytimes; return activitytimes; } */ /* static TransportationSettings access$302(PersonalInfoFragment personalinfofragment, TransportationSettings transportationsettings) { personalinfofragment.mTransportationOptionsList = transportationsettings; return transportationsettings; } */ /* static CalendarSettings access$402(PersonalInfoFragment personalinfofragment, CalendarSettings calendarsettings) { personalinfofragment.mCalendarsList = calendarsettings; return calendarsettings; } */ }