Esempio n. 1
0
 public void dismiss()
 {
   int i;
   if (c <= 1000L)
   {
     i = 1;
     if (i == 0) {
       break label33;
     }
     ManagerApp.a().d();
   }
   for (;;)
   {
     super.dismiss();
     return;
     i = 0;
     break;
     label33:
     k localk = new k("Roadblock.Cancel");
     localk.a("percentLikesLeft", Integer.valueOf(ManagerApp.n().a()));
     localk.a("otherId", d);
     localk.a("sku", h.b());
     localk.a("price", Float.valueOf(h.d()));
     localk.a("currency", h.a());
     localk.a("locale", com.tinder.utils.o.b());
     localk.a("roadblockVersion", Integer.valueOf(1));
     localk.a("timeRemaining", Long.valueOf(ManagerApp.n().b()));
     b.a(localk);
   }
 }
Esempio n. 2
0
 private void b()
 {
   a = ((TextView)findViewById(2131624176));
   e = new SimpleDateFormat("HH:mm:ss");
   e.setLenient(false);
   long l = System.currentTimeMillis();
   c = (ManagerApp.n().e() + 1000L - l);
   if (c <= 1000L)
   {
     dismiss();
     return;
   }
   a.setText(com.tinder.utils.g.c(c));
   f = new CountDownTimer(c, 1000L)
   {
     public void onFinish()
     {
       dismiss();
     }
     
     public void onTick(long paramAnonymousLong)
     {
       s.a(s.this, paramAnonymousLong - 1000L);
       s.b(s.this).setText(com.tinder.utils.g.c(s.a(s.this)));
     }
   };
   f.start();
 }
 public Fragment getItem(int paramInt)
 {
   q.a("position=" + paramInt);
   ModalType localModalType;
   switch (paramInt)
   {
   default: 
     localModalType = (ModalType)c.get(paramInt - 1);
     if (localModalType == ModalType.b) {
       return com.tinder.fragments.m.a(b);
     }
     break;
   case 0: 
     return new l();
   }
   if (localModalType == ModalType.c) {
     return new p();
   }
   if (localModalType == ModalType.d) {
     return y.a(ManagerApp.l().e(), UserType.c);
   }
   if (localModalType == ModalType.e) {
     return new d();
   }
   if (localModalType == ModalType.f) {
     return new f();
   }
   return null;
 }
Esempio n. 4
0
 public void show()
 {
   super.show();
   d();
   b();
   ManagerApp.d().z(true);
   k localk = new k("Roadblock.View");
   localk.a("percentLikesLeft", Integer.valueOf(ManagerApp.n().a()));
   localk.a("otherId", d);
   localk.a("sku", h.b());
   localk.a("price", Float.valueOf(h.d()));
   localk.a("currency", h.a());
   localk.a("locale", com.tinder.utils.o.b());
   localk.a("roadblockVersion", Integer.valueOf(1));
   localk.a("timeRemaining", Long.valueOf(ManagerApp.n().b()));
   b.a(localk);
 }
Esempio n. 5
0
 public void onClick(View paramView)
 {
   switch (paramView.getId())
   {
   default: 
     return;
   }
   paramView = new k("Roadblock.Select");
   paramView.a("percentLikesLeft", Integer.valueOf(ManagerApp.n().a()));
   paramView.a("otherId", d);
   paramView.a("sku", h.b());
   paramView.a("price", Float.valueOf(h.d()));
   paramView.a("currency", h.a());
   paramView.a("locale", com.tinder.utils.o.b());
   paramView.a("roadblockVersion", Integer.valueOf(1));
   paramView.a("timeRemaining", Long.valueOf(ManagerApp.n().b()));
   b.a(paramView);
   g.a(this, h);
 }
Esempio n. 6
0
 public static void start() {
   sMixpanelAPI = C2042h.m4769a(ManagerApp.m7917h(), TOKEN);
 }