Exemplo 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);
   }
 }
Exemplo 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();
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
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);
 }