Ejemplo n.º 1
1
 public final boolean onPreDraw() {
   a.getViewTreeObserver().removeOnPreDrawListener(this);
   View view = b.a();
   if (view != null) {
     if (!c.isEmpty()) {
       a.a(d, view);
       d.keySet().retainAll(c.values());
       Iterator iterator = c.entrySet().iterator();
       do {
         if (!iterator.hasNext()) {
           break;
         }
         java.util.Map.Entry entry = (java.util.Map.Entry) iterator.next();
         Object obj = (String) entry.getValue();
         obj = (View) d.get(obj);
         if (obj != null) {
           ((View) (obj)).setTransitionName((String) entry.getKey());
         }
       } while (true);
     }
     if (e != null) {
       a.a(f, view);
       f.removeAll(d.values());
       a.b(e, f);
     }
   }
   return true;
 }
 public void onInitializeAccessibilityEvent(
     View paramView, AccessibilityEvent paramAccessibilityEvent) {
   super.onInitializeAccessibilityEvent(paramView, paramAccessibilityEvent);
   paramAccessibilityEvent.setClassName(ViewPager.class.getName());
   paramView = android.support.v4.view.a.a.a(paramAccessibilityEvent);
   paramView.a(a());
   if ((paramAccessibilityEvent.getEventType() == 4096) && (ViewPager.access$200(a) != null)) {
     paramView.a(ViewPager.access$200(a).getCount());
     paramView.b(ViewPager.access$300(a));
     paramView.c(ViewPager.access$300(a));
   }
 }
Ejemplo n.º 3
0
    public View getView(int i, View view, ViewGroup viewgroup)
    {
        getItemViewType(i);
        JVM INSTR tableswitch 0 1: default 28
    //                   0 32
    //                   1 67;
           goto _L1 _L2 _L3
_L1:
        viewgroup = null;
_L5:
        return viewgroup;
_L2:
        viewgroup = (hds)view;
        view = viewgroup;
        if (viewgroup == null)
        {
            view = new hds(a);
        }
        view.a(b[i]);
        return view;
_L3:
        viewgroup = view;
        if (view == null)
        {
            return LayoutInflater.from(a).inflate(g.to, null);
        }
        if (true) goto _L5; else goto _L4
Ejemplo n.º 4
0
 public void onClick(View view) {
   StickerFragment.a(a, (StickerObj) view.getTag());
   StickerFragment.a(a, null);
   if (StickerFragment.a(a) != null) {
     if (StickerFragment.b(a).equals(de.a)) {
       int ai[] = new int[2];
       view.getLocationInWindow(ai);
       StickerFragment.a(
           a,
           ai,
           Pair.create(Integer.valueOf(view.getWidth()), Integer.valueOf(view.getHeight())),
           StickerFragment.a(a));
       return;
     }
     if (StickerFragment.c(a) != null) {
       StickerFragment.c(a).a(StickerFragment.d(a));
     }
     view = (f) StickerFragment.e(a).getAdapter();
     if (view != null) {
       view.a(StickerFragment.e(a).getCurrentItem(), StickerFragment.a(a));
     }
     if (StickerFragment.c(a) != null) {
       StickerFragment.c(a).a(StickerFragment.a(a));
       return;
     }
   }
 }
 d a(View paramView)
 {
   d locald = (d)paramView.getLayoutParams();
   View localView;
   if (!b)
   {
     Class localClass = paramView.getClass();
     paramView = null;
     for (;;)
     {
       localView = paramView;
       if (localClass == null) {
         break;
       }
       paramView = (b)localClass.getAnnotation(b.class);
       localView = paramView;
       if (paramView != null) {
         break;
       }
       localClass = localClass.getSuperclass();
     }
     if (localView == null) {}
   }
   try
   {
     locald.a((Behavior)localView.a().newInstance());
     b = true;
     return locald;
   }
   catch (Exception paramView)
   {
     for (;;)
     {
       Log.e("CoordinatorLayout", "Default behavior class " + localView.a().getName() + " could not be instantiated. Did you forget a default constructor?", paramView);
     }
   }
 }
Ejemplo n.º 6
0
 public View getView(int i, View view, ViewGroup viewgroup) {
   viewgroup = StatusManager.j().s();
   view = a(view, viewgroup);
   if (e != null && e.size() > i) {
     at at1 = (at) e.get(i);
     if (at1 instanceof k) {
       view.b(true);
     } else {
       view.b(false);
       if (viewgroup == BeautyMode.y) {
         view.a(d, VenusHelper.a().a(at1));
       } else {
         view.setColor(at1);
       }
     }
   }
   if (f != null && f.size() > i) {
     viewgroup = (ba) f.get(i);
     view.setColor(viewgroup);
     view.setColorNumber(viewgroup.p());
     view.a(((ba) f.get(i)).q());
   }
   return view;
 }
Ejemplo n.º 7
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);
 }
Ejemplo n.º 8
0
 public com.estrongs.android.util.bf[] ai()
 {
   if (aA == null)
   {
     List localList = am.a();
     String str = com.estrongs.android.pop.b.b();
     if (localList.remove(str)) {
       localList.add(0, str);
     }
     aA = new com.estrongs.android.util.bf[localList.size()];
     int i = 0;
     while (i < localList.size())
     {
       aA[i] = new com.estrongs.android.util.bf();
       aAf = true;
       aAa = ("du://" + (String)localList.get(i));
       aAi = z.b((String)localList.get(i));
       aAj = 2130837698;
       i += 1;
     }
   }
   return aA;
 }
Ejemplo n.º 9
0
 protected void Z()
 {
   if ((!o()) && (am.a(c(), U)) && (g.getLastVisiblePosition() == g.getCount() - 1))
   {
     if (am == null) {
       am = k(2131362043);
     }
     if (am != null)
     {
       am.setVisibility(0);
       am.findViewById(2131362044).setVisibility(8);
       localTextView = (TextView)am.findViewById(2131362045);
       localTextView.setText(ad.getText(2131428196));
       getLayoutParamswidth = -1;
       localTextView.setOnClickListener(new bg(this));
     }
   }
   while ((am == null) || (am.getVisibility() != 0))
   {
     TextView localTextView;
     return;
   }
   am.setVisibility(8);
 }
public class PopVideoPlayer
  extends ESActivity
  implements com.estrongs.android.ui.e.jz
{
  private static final String k = PopVideoPlayer.class.getSimpleName();
  private int A = 0;
  private ag B = ag.g();
  private x C = null;
  private TextView D = null;
  private boolean E = false;
  private boolean F = false;
  private boolean G = true;
  private long H = 0L;
  private long I = 0L;
  private Handler J = new jg(this);
  private final BroadcastReceiver K = new js(this);
  private final BroadcastReceiver L = new kh(this);
  private final BroadcastReceiver M = new kj(this);
  private com.estrongs.android.ui.e.ju N;
  private hz O;
  private com.estrongs.android.view.a.a P;
  private com.estrongs.android.view.a.a Q;
  private com.estrongs.android.view.a.a R;
  private boolean S = false;
  private final int T = 0;
  private final int U = 1;
  private Object V = new Object();
  private com.estrongs.android.ui.e.ju W;
  private hz X;
  private com.estrongs.android.view.a.a Y;
  private com.estrongs.android.view.a.a Z;
  boolean a = true;
  private com.estrongs.android.view.a.a aa;
  private com.estrongs.android.view.a.a ab;
  private Rect ac;
  View b;
  boolean c = false;
  protected View d;
  boolean e = false;
  boolean f = false;
  boolean g = false;
  m h = null;
  Boolean i = Boolean.valueOf(false);
  boolean j = true;
  private d l = d.a(this);
  private ESVideoView m;
  private boolean n = false;
  private FrameLayout o;
  private MediaController p;
  private MediaController q;
  private kt r;
  private int t = 0;
  private Uri u = null;
  private String v = null;
  private c w = null;
  private View x;
  private TextView y;
  private View z;
  
  private String a(Uri paramUri)
  {
    Uri localUri = null;
    if (paramUri == null) {
      paramUri = localUri;
    }
    for (;;)
    {
      return paramUri;
      if (paramUri.getScheme().equals("file")) {
        return paramUri.getPath();
      }
      if (("http".equals(paramUri.getScheme())) && ("127.0.0.1".equals(paramUri.getHost()))) {
        return ap.bH(Uri.decode(paramUri.toString()));
      }
      Cursor localCursor = getContentResolver().query(paramUri, new String[] { "_data" }, null, null, null);
      try
      {
        int i1 = localCursor.getColumnIndexOrThrow("_data");
        if ((localCursor != null) && (localCursor.moveToFirst()))
        {
          paramUri = localCursor.getString(i1);
          localUri = paramUri;
          paramUri = localUri;
          return localUri;
        }
        paramUri = localUri;
        return null;
      }
      catch (Exception paramUri)
      {
        paramUri = localUri;
        return null;
      }
      finally
      {
        if (localCursor != null) {
          localCursor.close();
        }
      }
    }
  }
  
  private void a(boolean paramBoolean)
  {
    if (B.p())
    {
      if ((a()) || (paramBoolean))
      {
        B.a(u.getPath(), ap.a(v, com.estrongs.android.g.a.a(), true, true), ap.d(v), bg.U(ap.d(v)), null);
        h();
      }
      return;
    }
    if (C == null) {
      l();
    }
    if (a()) {
      m();
    }
    C.show();
  }
  
  private boolean e()
  {
    try
    {
      String str = Uri.decode(u.toString());
      if (str.startsWith("http://"))
      {
        str = str.substring("http://".length());
        int i1 = str.indexOf("/");
        if (i1 > 0)
        {
          if (!str.substring(0, i1).startsWith("127.0.0.1")) {
            return false;
          }
          str = ap.bH(str.substring(i1));
          Intent localIntent = new Intent(this, StreamingMediaPlayer.class);
          localIntent.addFlags(67108864);
          localIntent.setData(Uri.parse(str));
          startActivity(localIntent);
          return true;
        }
      }
    }
    catch (Exception localException) {}
    return false;
  }
  
  private void f()
  {
    if ((a()) && (o.getVisibility() != 0)) {
      p.show();
    }
  }
  
  private void g()
  {
    a(false);
  }
  
  private void h()
  {
    if (!B.p())
    {
      l.e(k, "changeToCastMode error, chromecast is not connected");
      return;
    }
    if (p != null) {
      p.hide();
    }
    m();
    A = 1;
    o.setVisibility(0);
    if (q == null)
    {
      q = new kk(this, this);
      if (r == null)
      {
        r = new kt(this);
        B.a(r);
        B.a(r);
        B.a(r);
      }
      q.setMediaPlayer(r);
      q.setAnchorView(o);
    }
    ((ImageView)z.findViewById(2131624054)).setImageResource(2130838531);
    if ((B.r() > 0) && (B.r() != 2)) {
      b.setVisibility(0);
    }
    J.sendMessageDelayed(J.obtainMessage(5), 1000L);
  }
  
  private void i()
  {
    if (ag.b())
    {
      z.setVisibility(0);
      return;
    }
    z.setVisibility(8);
  }
  
  private void j()
  {
    q.setMediaPlayer(r);
    J.sendMessageDelayed(J.obtainMessage(5), 1500L);
  }
  
  private void k()
  {
    A = 0;
    if (q != null) {
      q.hide();
    }
    o.setVisibility(8);
    Message localMessage = J.obtainMessage(4);
    J.sendMessageDelayed(localMessage, 100L);
    o();
    ((ImageView)z.findViewById(2131624054)).setImageResource(2130838530);
    if (b.getVisibility() == 0) {
      b.setVisibility(8);
    }
    J.removeMessages(5);
  }
  
  private void l()
  {
    if (C != null) {
      return;
    }
    C = new x(this);
    C.a(new jo(this));
    C.setOnCancelListener(new jp(this));
  }
  
  private void m()
  {
    t = m.getCurrentPosition();
    if (J.hasMessages(7)) {
      J.removeMessages(7);
    }
    if (J.hasMessages(9)) {
      J.removeMessages(9);
    }
    if (b.getVisibility() == 0) {
      b.setVisibility(8);
    }
    new Thread(new jw(this)).start();
  }
  
  private void o()
  {
    if (!a()) {
      ChromeCastPlayerNotificationHelper.a().j();
    }
    label107:
    do
    {
      return;
      if (!e)
      {
        if (f)
        {
          if (ac.a() >= 8)
          {
            new ao(m).a("resume");
            if (ac.a() >= 14) {
              m.seekTo(t);
            }
            if (com.estrongs.android.pop.view.a.a.startsWith("Spreadtrum"))
            {
              if (!j) {
                break label107;
              }
              u();
            }
          }
          for (;;)
          {
            f = false;
            t = 0;
            return;
            c = true;
            continue;
            u();
          }
        }
        if (g)
        {
          t = 0;
          g = false;
          return;
        }
        r();
        return;
      }
    } while (!e);
    r();
    t = 0;
    e = false;
  }
  
  private void p()
  {
    for (;;)
    {
      try
      {
        int i1 = ac.a();
        if (i1 >= 8) {
          continue;
        }
      }
      catch (Exception localException)
      {
        continue;
      }
      finally {}
      return;
      if (h == null) {
        h = new m(this, null);
      }
      synchronized (V)
      {
        if (!i.booleanValue()) {
          i = Boolean.valueOf(h.a());
        }
      }
    }
  }
  
  private void q()
  {
    for (;;)
    {
      try
      {
        if ((ac.a() >= 8) && (h != null))
        {
          bool = i.booleanValue();
          if (bool) {
            continue;
          }
        }
      }
      catch (Exception localException)
      {
        continue;
        boolean bool = false;
        continue;
      }
      finally {}
      return;
      synchronized (V)
      {
        if (i.booleanValue())
        {
          if (h.b()) {
            continue;
          }
          bool = true;
          i = Boolean.valueOf(bool);
        }
      }
    }
  }
  
  private void r()
  {
    int i1 = 0;
    Object localObject = getIntent().getData();
    try
    {
      if (((Uri)localObject).toString().startsWith("smb://"))
      {
        m.setVideoURI((Uri)localObject);
        new URL(((Uri)localObject).toString()).openStream().close();
        return;
      }
      m.requestFocus();
      localObject = J;
      int i2 = t;
      if (g) {
        i1 = 1;
      }
      localObject = ((Handler)localObject).obtainMessage(2, i2, i1);
      g = false;
      J.sendMessageDelayed((Message)localObject, 500L);
      return;
    }
    catch (Exception localException) {}
  }
  
  private boolean s()
  {
    return (N != null) && (N.b());
  }
  
  private boolean t()
  {
    return (W != null) && (W.b());
  }
  
  private void u()
  {
    try
    {
      m.start();
      if (!J.hasMessages(9))
      {
        Message localMessage = J.obtainMessage(9);
        J.sendMessageDelayed(localMessage, 1000L);
      }
      if (!F)
      {
        k.a();
        F = true;
      }
      return;
    }
    finally {}
  }
  
  private void v()
  {
    try
    {
      m.a();
      if (F)
      {
        k.b();
        F = false;
      }
      return;
    }
    finally
    {
      localObject = finally;
      throw ((Throwable)localObject);
    }
  }
  
  public boolean a()
  {
    return A == 0;
  }
  
  public void b()
  {
    if (N == null)
    {
      N = new jq(this, this, true, true);
      O = new hz(this, true);
      N.a(O);
      N.a(O.c());
      N.a(new jr(this));
      int i1 = J().c(2131558714);
      Q = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838578), i1), getString(2131231151)).a(new jt(this));
      P = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838530), i1), getString(2131231154)).a(new ju(this));
      R = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838530), i1), getString(2131231148)).a(new jv(this));
      com.estrongs.android.ui.e.km localkm = O.b();
      localkm.j();
      localkm.a(R);
      if ((!a()) && (!n)) {
        localkm.a(Q);
      }
    }
    if (!N.b())
    {
      N.c();
      return;
    }
    N.d();
  }
  
  public void c()
  {
    if (W == null)
    {
      W = new jx(this, this, true, true);
      X = new hz(this, true);
      W.a(X);
      W.a(X.c());
      W.a(new jy(this));
      int i1 = J().c(2131558714);
      Y = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838578), i1), getString(2131232546)).a(new jz(this));
      aa = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838539), i1), getString(2131230845)).a(new ka(this));
      ab = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838604), i1), getString(2131230892)).a(new kf(this));
      Z = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838578), i1), getString(2131232546)).a(new kg(this));
      P = new com.estrongs.android.view.a.a(g.a(getResources().getDrawable(2130838530), i1), getString(2131231154)).a(new ki(this));
    }
    com.estrongs.android.ui.e.km localkm = X.b();
    if ((localkm instanceof im)) {
      ((im)localkm).b(true);
    }
    localkm.j();
    String str = a(u);
    if ((str != null) && (!"http".equals(u.getScheme()))) {
      localkm.a(ab);
    }
    if ((!com.estrongs.android.pop.view.a.a.equals("Sharp")) && (str != null)) {
      localkm.a(aa);
    }
    if (a())
    {
      if (ag.a()) {
        localkm.a(P);
      }
      localkm.a(Y);
    }
    while (!W.b())
    {
      W.c();
      ((ImageView)d.findViewById(2131624054)).setImageResource(2130838565);
      return;
      if (ag.a()) {
        localkm.a(Z);
      }
    }
    W.d();
  }
  
  public void onConfigurationChanged(Configuration paramConfiguration)
  {
    super.onConfigurationChanged(paramConfiguration);
    p.hide();
  }
  
  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setDefaultKeyMode(2);
    getWindow().setFlags(2000, 1024);
    setContentView(2130903380);
    p = new kl(this, this);
    m = ((ESVideoView)findViewById(2131625376));
    o = ((FrameLayout)findViewById(2131625377));
    o.setOnClickListener(new km(this));
    D = ((TextView)findViewById(2131625378));
    D.setText(getString(2131232491) + getString(2131231155));
    m.setMediaController(p);
    try
    {
      p.setEnabled(false);
      p.requestFocus();
      m.setOnCompletionListener(new kn(this));
      m.setOnErrorListener(new ko(this));
      m.setOnPreparedListener(new jh(this));
      m.setSeekListener(new ji(this));
      u = getIntent().getData();
      if ((ac.a() < 8) && (e())) {
        finish();
      }
      for (;;)
      {
        return;
        t = 0;
        g = false;
        if (com.estrongs.android.pop.view.a.a.startsWith("Spreadtrum")) {}
        try
        {
          registerReceiver(K, new IntentFilter("android.intent.action.SCREEN_OFF"));
          registerReceiver(L, new IntentFilter("android.intent.action.USER_PRESENT"));
          registerReceiver(M, new IntentFilter("android.intent.action.ACTION_SHUTDOWN"));
          b = findViewById(2131624351);
          w = c.a(this);
          if (!getIntent().getBooleanExtra("islocalopen", false)) {}
          try
          {
            w.d("act3");
            w.a("act3", "video_player");
            x = findViewById(2131625379);
            y = ((TextView)x.findViewById(2131625380));
            paramBundle = getIntent().getData();
            v = a(paramBundle);
            if (v != null) {
              y.setText(ap.d(v));
            }
            View localView = x;
            if (p.isShown())
            {
              i1 = 0;
              localView.setVisibility(i1);
              d = x.findViewById(2131625031);
              d.setOnClickListener(new jj(this));
              z = findViewById(2131624418);
              z.setOnClickListener(new jk(this));
              findViewById(2131625030).setOnClickListener(new jl(this));
              m.setVideoURI(paramBundle);
              if (n) {
                continue;
              }
              if (!getIntent().getBooleanExtra("Chromecast", false)) {
                break label648;
              }
              h();
              if (getIntent().getStringExtra("ChromecastUrl") != null) {
                a(true);
              }
              if (!a()) {
                continue;
              }
              if (!p.isShown()) {
                f();
              }
              new jm(this).start();
              return;
            }
          }
          catch (Exception paramBundle)
          {
            for (;;)
            {
              paramBundle.printStackTrace();
              continue;
              int i1 = 4;
              continue;
              label648:
              p();
              r();
            }
          }
        }
        catch (Exception paramBundle)
        {
          for (;;) {}
        }
      }
    }
    catch (Exception paramBundle)
    {
      for (;;) {}
    }
  }
  
  protected Dialog onCreateDialog(int paramInt)
  {
    return null;
  }
  
  public void onDestroy()
  {
    if (r != null)
    {
      B.b(r);
      B.b(r);
      B.b(r);
    }
    if (C != null)
    {
      C.a();
      C = null;
    }
    q();
    if (com.estrongs.android.pop.view.a.a.startsWith("Spreadtrum")) {}
    try
    {
      unregisterReceiver(K);
      unregisterReceiver(L);
      unregisterReceiver(M);
      super.onDestroy();
      return;
    }
    catch (Exception localException)
    {
      for (;;) {}
    }
  }
  
  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    switch (paramInt)
    {
    default: 
    case 4: 
      for (;;)
      {
        return super.onKeyDown(paramInt, paramKeyEvent);
        S = true;
      }
    }
    if (!p.isShown()) {
      f();
    }
    c();
    return true;
  }
  
  public void onPause()
  {
    super.onPause();
    m();
  }
  
  public void onRestoreInstanceState(Bundle paramBundle)
  {
    t = paramBundle.getInt("playback_position", 0);
  }
  
  public void onResume()
  {
    super.onResume();
    o();
    i();
  }
  
  public void onSaveInstanceState(Bundle paramBundle)
  {
    t = m.getCurrentPosition();
    paramBundle.putInt("playback_position", t);
  }
  
  public void onStop()
  {
    super.onStop();
    if (!a()) {
      return;
    }
    try
    {
      v();
      e = true;
      return;
    }
    catch (Exception localException) {}
  }
  
  public Rect y()
  {
    if (ac == null)
    {
      ac = new Rect();
      int[] arrayOfInt = new int[2];
      View localView = findViewById(2131625381);
      localView.getLocationInWindow(arrayOfInt);
      ac = new Rect(arrayOfInt[0], arrayOfInt[1], arrayOfInt[0] + localView.getMeasuredWidth(), arrayOfInt[1] + localView.getMeasuredHeight());
    }
    return ac;
  }
}
 protected void onLayout(boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
 {
   int i2 = 1;
   int i3 = 0;
   super.onLayout(paramBoolean, paramInt1, paramInt2, paramInt3, paramInt4);
   if ((l) && (e != null))
   {
     if ((!cn.J(e)) || (e.getVisibility() != 0)) {
       break label308;
     }
     paramBoolean = true;
     m = paramBoolean;
     if (m) {
       if ((d == null) || (d == this)) {
         break label417;
       }
     }
   }
   label154:
   label171:
   label308:
   label319:
   label328:
   label417:
   for (int i1 = d.getLayoutParams()).bottomMargin;; i1 = 0)
   {
     dh.b(this, e, j);
     k.b(j.left, paramInt4 - j.height() - i1, j.right, paramInt4 - i1);
     Object localObject;
     int i4;
     int i5;
     if (cn.h(this) == 1)
     {
       localObject = k;
       if (i2 == 0) {
         break label319;
       }
       i1 = h;
       i4 = j.bottom;
       i5 = g;
       if (i2 == 0) {
         break label328;
       }
     }
     for (i2 = f;; i2 = h)
     {
       ((n)localObject).a(i1, i4 + i5, paramInt3 - paramInt1 - i2, paramInt4 - paramInt2 - i);
       k.h();
       paramInt2 = getChildCount();
       paramInt1 = i3;
       while (paramInt1 < paramInt2)
       {
         localObject = getChildAt(paramInt1);
         if ((u != null) && (!cn.z((View)localObject)))
         {
           paramInt3 = u.b();
           if (((View)localObject).getTop() < paramInt3) {
             cn.e((View)localObject, paramInt3);
           }
         }
         d((View)localObject).a();
         paramInt1 += 1;
       }
       paramBoolean = false;
       break;
       i2 = 0;
       break label154;
       i1 = f;
       break label171;
     }
     if (c != null)
     {
       if ((l) && (TextUtils.isEmpty(k.i()))) {
         k.a(c.getTitle());
       }
       if ((d == null) || (d == this)) {
         setMinimumHeight(c(c));
       }
     }
     else
     {
       return;
     }
     setMinimumHeight(c(d));
     return;
   }
 }
Ejemplo n.º 12
0
 public com.estrongs.android.util.bf[] ad()
 {
   int k = 0;
   for (;;)
   {
     int i;
     synchronized (aB)
     {
       if (aw == null)
       {
         localObject2 = am.a();
         String str = com.estrongs.android.pop.b.b();
         if (((List)localObject2).remove(str)) {
           ((List)localObject2).add(0, str);
         }
         i = ((List)localObject2).size();
         if (!z.n) {
           break label287;
         }
         i = ((List)localObject2).size();
         aw = new com.estrongs.android.util.bf[i];
         j = 0;
         if (j < i)
         {
           aw[j] = new com.estrongs.android.util.bf();
           awf = true;
           awh = true;
           j += 1;
           continue;
         }
         i = k;
         if (!z.n)
         {
           aw0a = "/";
           aw0i = ((String)ad.getText(2131428245));
           aw0j = 2130837697;
           aw0h = false;
           i = k;
         }
         if (i < ((List)localObject2).size())
         {
           if (!z.n) {
             break label280;
           }
           j = i;
           awa = ((String)((List)localObject2).get(i));
           awi = z.b((String)((List)localObject2).get(i));
           awj = 2130837698;
           i += 1;
           continue;
         }
       }
       Object localObject2 = aw;
       return (com.estrongs.android.util.bf[])localObject2;
     }
     label280:
     int j = i + 1;
     continue;
     label287:
     i += 1;
   }
 }
Ejemplo n.º 13
0
 protected void a(com.estrongs.fs.b.aj paramaj, List<com.estrongs.fs.h> paramList)
 {
   if (!bd.a(B, paramaj)) {
     return;
   }
   u();
   c = am.bg(w.getPath());
   c(paramList);
   int i = A.size();
   if (i == 0) {
     if (am.bg(c())) {
       if (am.aV(c())) {
         f(2131427741);
       }
     }
   }
   for (;;)
   {
     b(A);
     try
     {
       if (am.aE(c())) {
         if ((!l.m()) && (r.a().b())) {
           new Thread(new be(this)).start();
         }
       }
       for (;;)
       {
         if (ar)
         {
           g.requestFocus();
           ar = false;
         }
         g.post(new bf(this));
         return;
         if (am.K(c()))
         {
           f(2131428725);
           break;
         }
         f(2131427827);
         break;
         if ((am.aB(c())) || (am.az(c())))
         {
           if (r.a().c())
           {
             f(2131428646);
             break;
           }
           if (am.e("/files", am.a(c(), 23)))
           {
             f(2131428647);
             break;
           }
           f(2131427825);
           break;
         }
         if (am.bP(c()))
         {
           if (com.estrongs.fs.impl.l.a.b())
           {
             t();
             break;
           }
           f(2131428407);
           break;
         }
         if ("pcsres://".equals(c()))
         {
           f(2131428706);
           break;
         }
         if (!"mounted".equals(Environment.getExternalStorageState()))
         {
           f(2131427826);
           break;
         }
         f(2131427825);
         break;
         if (i < 200) {}
         for (;;)
         {
           R = i;
           b(A);
           break;
           i = 200;
         }
         if ((am.aw(v)) && (!am.aP(v))) {
           com.estrongs.fs.impl.j.b.b(ad, v);
         }
       }
     }
     catch (Exception paramaj)
     {
       for (;;) {}
     }
   }
 }
Ejemplo n.º 14
0
 private void a(com.estrongs.fs.b.aj paramaj, int paramInt, String paramString)
 {
   boolean bool;
   if (c != null)
   {
     if (!aq) {
       aq = d.a(b.getPath(), c, this);
     }
     if (((am.aB(v)) && (com.estrongs.fs.a.a.c(v).size() == 3)) || ("pcsres://".equals(v)) || (v.startsWith("usb://"))) {
       u();
     }
     c(true);
     bool = false;
     if (ai) {
       ai = false;
     }
     if (H != null) {
       H.a(this, bool);
     }
     if ((am.bb(v)) && (a.g(v))) {
       if ((am.K(v)) && (a.h(v).equalsIgnoreCase(am.a(v))))
       {
         if (!bd.m()) {
           break label505;
         }
         new Thread(new bn(this)).start();
       }
     }
   }
   for (;;)
   {
     a.b(paramString);
     al = null;
     AppFolderInfoManager.d().a(v, A);
     Object localObject;
     do
     {
       return;
       aq = false;
       if (paramInt == 5)
       {
         if (getTaskResulta != 1)
         {
           j();
           bool = false;
           break;
         }
         u();
         bool = false;
         break;
       }
       localObject = paramaj.getTaskResult();
     } while (a == 1);
     if (bd.a("ALL_LOADED", b))
     {
       u();
       b(C);
       label328:
       paramaj = b.getPath();
       localObject = (Parcelable)F.get(paramaj);
       if (paramaj.equals(v))
       {
         if ((localObject == null) || (al != null)) {
           break label494;
         }
         g.onRestoreInstanceState((Parcelable)localObject);
       }
     }
     for (;;)
     {
       if ((al != null) && (!am.aO(al)) && (!am.aG(paramaj)))
       {
         paramInt = l(al);
         if (paramInt >= 0)
         {
           g.setSelected(true);
           g.setSelection(paramInt);
           g.setFocusable(true);
           g.post(new bm(this, paramInt));
         }
       }
       bool = true;
       break;
       if (!(b instanceof List)) {
         break label328;
       }
       a(paramaj, (List)b);
       break label328;
       label494:
       g.setSelection(0);
     }
     label505:
     com.estrongs.fs.impl.adb.c.i(v);
   }
 }
Ejemplo n.º 15
0
 public void a(View view, Cursor cursor) {
   view = (ehw) view;
   view.a(cursor.getString(3));
   view.a(cursor.getString(4), cursor.getString(3), dcn.e(HiddenContactsFragment.c(j).a()));
   view.a(new cgd(cursor.getString(2), cursor.getString(1)));
 }