Ejemplo n.º 1
0
 protected void onNewGAPager(GAUserInfo paramGAUserInfo) {
   GAUserInfo localGAUserInfo = paramGAUserInfo;
   if (paramGAUserInfo == null) localGAUserInfo = new GAUserInfo();
   if (this.dpDeal != null)
     localGAUserInfo.dealgroup_id = Integer.valueOf(this.dpDeal.getInt("ID"));
   super.onNewGAPager(localGAUserInfo);
 }
Ejemplo n.º 2
0
 public void onAgentChanged(Bundle paramBundle)
 {
   super.onAgentChanged(paramBundle);
   NewShopListDataSource localNewShopListDataSource = (NewShopListDataSource)getDataSource();
   int i = 0;
   label119: String str;
   label159: label226: GAUserInfo localGAUserInfo;
   if (localNewShopListDataSource != null)
   {
     if (!TextUtils.isEmpty(localNewShopListDataSource.weddingBanquetTitle))
       i = 1;
   }
   else
   {
     if ((i == 0) || ((this.mBannerID != 0) && (this.mBannerID != i)))
     {
       if (this.fab != null)
         this.frameLayout.removeView(this.fab);
       this.fab = null;
       this.showWeddingFab = false;
     }
     this.mBannerID = i;
     if ((localNewShopListDataSource != null) && (this.mBannerID != 0))
     {
       if (this.fab == null)
       {
         if (this.mBannerID != 1)
           break label458;
         i = R.layout.search_hotel_shoplist;
         this.fab = ((NovaLinearLayout)LayoutInflater.from(getActivity()).inflate(i, null));
         if (this.mBannerID != 1)
           break label466;
         i = ViewUtils.dip2px(getActivity(), 75.0F);
         paramBundle = new FrameLayout.LayoutParams(-2, -2);
         paramBundle.setMargins(0, ViewUtils.dip2px(getActivity(), 350.0F), -i, 0);
         paramBundle.gravity = 5;
         this.fab.setLayoutParams(paramBundle);
         this.frameLayout.addView(this.fab);
       }
       if (this.mBannerID != 1)
         break label481;
       str = "wedding_quicksearch";
       localGAUserInfo = new GAUserInfo();
       localGAUserInfo.query_id = localNewShopListDataSource.queryId();
       paramBundle = localNewShopListDataSource.weddingBanquetTitle;
       if (this.mBannerID == 2)
       {
         paramBundle = localNewShopListDataSource.hospitalEntryTitle;
         if (localNewShopListDataSource.hospitalEntryTitle.length() > 2)
           paramBundle = new StringBuilder(localNewShopListDataSource.hospitalEntryTitle).insert(2, "\n").toString();
       }
       ((TextView)this.frameLayout.findViewById(R.id.name)).setText(paramBundle);
       this.fab.setGAString(str, localGAUserInfo);
       this.fab.setOnClickListener(this.mClickListener);
       if (!this.showWeddingFab)
       {
         this.showWeddingFab = true;
         if (this.mBannerID != 1)
           break label488;
       }
     }
   }
   label458: label466: label481: label488: for (i = ViewUtils.dip2px(getActivity(), 75.0F); ; i = ViewUtils.dip2px(getActivity(), 90.0F))
   {
     paramBundle = ObjectAnimator.ofFloat(this.fab, "translationX", new float[] { 0.0F, ViewUtils.dip2px(getActivity(), 25.0F) - i });
     paramBundle.setStartDelay(100L);
     paramBundle.setDuration(500L);
     paramBundle.start();
     GAHelper.instance().contextStatisticsEvent(getContext(), str, localGAUserInfo, "view");
     return;
     if (!TextUtils.isEmpty(localNewShopListDataSource.hospitalEntryTitle))
     {
       i = 2;
       break;
     }
     i = 0;
     break;
     i = R.layout.search_hospital_shoplist;
     break label119;
     i = ViewUtils.dip2px(getActivity(), 90.0F);
     break label159;
     str = "wenzhen";
     break label226;
   }
 }