public final void a(@chc List<ChannelPage> paramList) {
   adh localadh = a;
   Object localObject = paramList.iterator();
   boolean bool = false;
   while (((Iterator) localObject).hasNext()) {
     ChannelPage localChannelPage = (ChannelPage) ((Iterator) localObject).next();
     if ((localChannelPage.n() == MediaState.SUCCESS)
         || (localChannelPage.n() != MediaState.NOT_STARTED)) {
       break label201;
     }
     if (b.e(localChannelPage.o())) {
       bool = d.a(localChannelPage, MediaState.SUCCESS) | bool;
     } else if (b.a()) {
       bool = localadh.a(localChannelPage) | bool;
     } else {
       bool |= d.a(localChannelPage, MediaState.EXTERNAL_STORAGE_UNAVAILABLE);
     }
   }
   label201:
   for (; ; ) {
     break;
     if (bool) {
       c.c();
     }
     localObject = new HashSet();
     paramList = paramList.iterator();
     while (paramList.hasNext()) {
       ((Set) localObject).add(((ChannelPage) paramList.next()).o());
     }
     b.a((Set) localObject);
     return;
   }
 }
  public final void a(List list) {
    at =
        new com.shazam.android.a.i.a(
            getActivity(),
            new com.shazam.android.fragment.myshazam.f(
                new p(), new y(com.shazam.i.d.d.a()), getLoaderManager()),
            com.shazam.i.b.z.a.a(),
            new com.shazam.android.v.f.a(com.shazam.i.b.n.b.D()));
    /* block-local class not found */
    class b {}

    o().setOnItemClickListener(new b((byte) 0));
    a(((ListAdapter) (at)));
    at.a(list);
    list = list.iterator();
    int i1 = 0;
    do {
      if (!list.hasNext()) {
        break;
      }
      Store store = ((MyShazamTag) list.next()).store;
      if (store != null && store.key.equals("google")) {
        i1++;
      }
    } while (true);
    if (getView() != null) {
      am.logEvent(
          getView(), StoreEventFactory.aggregateImpressionEventForStoreWithKey("google", i1));
    }
  }
 private void a(List<String> paramList) {
   mBestFriends.clear();
   akp localakp = akp.g();
   paramList = paramList.iterator();
   while (paramList.hasNext()) {
     String str = (String) paramList.next();
     mBestFriends.add(auk.e(str, localakp));
   }
 }
 public void invoke(List list) throws TwitterException {
   UserList userlist = AsyncTwitterImpl.access$000(AsyncTwitterImpl.this).showUserList(val$listId);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.gotShowUserList(userlist);
     } catch (Exception exception) {
     }
   }
 }
Example #5
0
    public static boolean b(List list, List list1)
    {
label0:
        {
            Object obj = list;
            if (list == null)
            {
                obj = new ArrayList();
            }
            list = list1;
            if (list1 == null)
            {
                list = new ArrayList();
            }
            if (((List) (obj)).size() == list.size())
            {
                for (list1 = ((List) (obj)).iterator(); list1.hasNext();)
                {
                    Device device = (Device)list1.next();
                    if (a(list, device.g()).isEmpty() || a(list, device.h()).isEmpty())
                    {
                        return true;
                    }
                }

                list = list.iterator();
                do
                {
                    if (!list.hasNext())
                    {
                        break label0;
                    }
                    list1 = (Device)list.next();
                } while (!a(((List) (obj)), list1.g()).isEmpty() && !a(((List) (obj)), list1.h()).isEmpty());
                return true;
            } else
            {
                return true;
            }
        }
        return false;
    }
 public void invoke(List list) {
   User user =
       AsyncTwitterImpl.access$000(AsyncTwitterImpl.this).createFriendship(val$userId, val$follow);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.createdFriendship(user);
     } catch (Exception exception) {
     }
   }
 }
 public void invoke(List list) throws TwitterException {
   PagableResponseList pagableresponselist =
       AsyncTwitterImpl.access$000(AsyncTwitterImpl.this).getBlocksList(val$cursor);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.gotBlocksList(pagableresponselist);
     } catch (Exception exception) {
     }
   }
 }
 public void invoke(List list) throws TwitterException {
   ResponseList responselist =
       AsyncTwitterImpl.access$000(AsyncTwitterImpl.this).getHomeTimeline(val$paging);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.gotHomeTimeline(responselist);
     } catch (Exception exception) {
     }
   }
 }
 public final void bA(List<com.tencent.mm.e.b.c> paramList) {
   if (paramList.size() == 0) {
     return;
   }
   long l = bvG.dY(Thread.currentThread().getId());
   paramList = paramList.iterator();
   while (paramList.hasNext()) {
     b((com.tencent.mm.e.b.c) paramList.next());
   }
   bvG.dZ(l);
 }
 public void invoke(List list) throws TwitterException {
   UserList userlist =
       AsyncTwitterImpl.access$000(AsyncTwitterImpl.this)
           .destroyUserListMember(val$ownerId, val$slug, val$userId);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.destroyedUserListMember(userlist);
     } catch (Exception exception) {
     }
   }
 }
 public static void setQueue(Object paramObject, List<Object> paramList) {
   if (paramList == null) {
     ((MediaSession) paramObject).setQueue(null);
     return;
   }
   ArrayList localArrayList = new ArrayList();
   paramList = paramList.iterator();
   while (paramList.hasNext()) {
     localArrayList.add((MediaSession.QueueItem) paramList.next());
   }
   ((MediaSession) paramObject).setQueue(localArrayList);
 }
 public void invoke(List list) throws TwitterException {
   User user =
       AsyncTwitterImpl.access$000(AsyncTwitterImpl.this)
           .updateProfileBackgroundImage(val$image, val$tile);
   for (list = list.iterator(); list.hasNext(); ) {
     TwitterListener twitterlistener = (TwitterListener) list.next();
     try {
       twitterlistener.updatedProfileBackgroundImage(user);
     } catch (Exception exception) {
     }
   }
 }
 public a a(List list) {
   if (list != null && !list.isEmpty()) {
     list = list.iterator();
     while (list.hasNext()) {
       g g1 = (g) list.next();
       if (g1 != null) {
         a(g1);
       }
     }
   }
   return this;
 }
Example #14
0
    public static boolean f(List list)
    {
        for (list = list.iterator(); list.hasNext();)
        {
            Device device = (Device)list.next();
            if (!device.h().equals(DeviceVersion.ARIA) && !device.h().equals(DeviceVersion.MOTIONBIT))
            {
                return false;
            }
        }

        return true;
    }
 private void b(List<h> paramList) {
   if (paramList.isEmpty()) {}
   for (; ; ) {
     return;
     paramList = paramList.iterator();
     while (paramList.hasNext()) {
       h localh = (h) paramList.next();
       b(s);
       i = false;
       r = 0;
     }
   }
 }
 public final atx addGeofences(List list)
 {
     if (list != null && !list.isEmpty())
     {
         list = list.iterator();
         while (list.hasNext()) 
         {
             Geofence geofence = (Geofence)list.next();
             if (geofence != null)
             {
                 addGeofence(geofence);
             }
         }
     }
     return this;
 }
Example #17
0
 public static List a(List list, List list1)
 {
     ArrayList arraylist = new ArrayList();
     if (list != null && list1 != null)
     {
         list = list.iterator();
         do
         {
             if (!list.hasNext())
             {
                 break;
             }
             Device device = (Device)list.next();
             boolean flag = true;
             if (DeviceVersion.MOTIONBIT.equals(device.h()))
             {
                 flag = com.fitbit.pedometer.e.h();
             }
             boolean flag1;
             if (flag)
             {
                 Iterator iterator = list1.iterator();
                 do
                 {
                     flag1 = flag;
                     if (!iterator.hasNext())
                     {
                         break;
                     }
                     if (!device.a((DeviceFeature)iterator.next()))
                     {
                         flag = false;
                     }
                 } while (true);
             } else
             {
                 flag1 = flag;
             }
             if (flag1)
             {
                 arraylist.add(device);
             }
         } while (true);
     }
     Collections.sort(arraylist, a);
     return arraylist;
 }
Example #18
0
 public void notifyObservers(List list, Topic topic, Message message) {
   if (list == null || list.size() == 0) {
     log.v("Attempted to dispatch message to empty observers");
   } else {
     log.v(
         (new StringBuilder())
             .append("Immediately dispatching: T: ")
             .append(topic.getIdentifier())
             .append(" M: ")
             .append(message.getClass().getName())
             .toString());
     list = list.iterator();
     while (list.hasNext()) {
       ((Observer) list.next()).onUpdate(topic, message);
     }
   }
 }
  public void setData(List list) {
    int i = 0;
    CountryInfo countryinfo;
    for (list = list.iterator(); list.hasNext(); add(countryinfo)) {
      countryinfo = (CountryInfo) list.next();
      String s = countryinfo.country.substring(0, 1).toUpperCase(Locale.getDefault());
      if (!alphaIndex.containsKey(s)) {
        alphaIndex.put(s, Integer.valueOf(i));
      }
      countryPosition.put(countryinfo.country, Integer.valueOf(i));
      i++;
    }

    sections = new String[alphaIndex.size()];
    alphaIndex.keySet().toArray(sections);
    notifyDataSetChanged();
  }
Example #20
0
 mq(List<Header> paramList) {
   if (paramList == null) {
     throw new IllegalArgumentException("headers must not be null");
   }
   this.Qu = System.currentTimeMillis();
   paramList = paramList.iterator();
   while (paramList.hasNext()) {
     Header localHeader = (Header) paramList.next();
     if ("x-rate-limit-limit".equals(localHeader.getName())) {
       this.limit = Integer.valueOf(localHeader.getValue()).intValue();
     } else if ("x-rate-limit-remaining".equals(localHeader.getName())) {
       this.Qv = Integer.valueOf(localHeader.getValue()).intValue();
     } else if ("x-rate-limit-reset".equals(localHeader.getName())) {
       this.Qw = Long.valueOf(localHeader.getValue()).longValue();
     }
   }
 }
 public void l(List<c.i> paramList)
 {
   for (;;)
   {
     try
     {
       paramList = paramList.iterator();
       if (!paramList.hasNext()) {
         break;
       }
       c.i locali = (c.i)paramList.next();
       if ((name == null) || (!name.startsWith("gaExperiment:"))) {
         bh.V("Ignored supplemental: " + locali);
       } else {
         ai.a(aqn, locali);
       }
     }
     finally {}
   }
 }
Example #22
0
 public static List a(List list)
 {
     ArrayList arraylist = new ArrayList();
     if (list != null)
     {
         list = list.iterator();
         do
         {
             if (!list.hasNext())
             {
                 break;
             }
             Device device = (Device)list.next();
             if (device.g() == DeviceType.TRACKER || device.h() == DeviceVersion.MOTIONBIT)
             {
                 arraylist.add(device);
             }
         } while (true);
     }
     return arraylist;
 }
Example #23
0
 public static List a(List list, DeviceVersion deviceversion)
 {
     ArrayList arraylist = new ArrayList();
     if (list != null)
     {
         list = list.iterator();
         do
         {
             if (!list.hasNext())
             {
                 break;
             }
             Device device = (Device)list.next();
             if (device.h() == deviceversion)
             {
                 arraylist.add(device);
             }
         } while (true);
     }
     return arraylist;
 }
Example #24
0
    public static Device i(List list)
    {
label0:
        {
            if (list == null)
            {
                break label0;
            }
            list = list.iterator();
            Device device;
            do
            {
                if (!list.hasNext())
                {
                    break label0;
                }
                device = (Device)list.next();
            } while (!e(device));
            return device;
        }
        return null;
    }
Example #25
0
    public static Device g(List list)
    {
label0:
        {
            if (list == null)
            {
                break label0;
            }
            list = list.iterator();
            Device device;
            do
            {
                if (!list.hasNext())
                {
                    break label0;
                }
                device = (Device)list.next();
            } while (!device.h().equals(DeviceVersion.CLASSIC) && !device.h().equals(DeviceVersion.ULTRA));
            return device;
        }
        return null;
    }
Example #26
0
 public static List b(List list, DeviceFeature devicefeature)
 {
     ArrayList arraylist = new ArrayList();
     if (list != null)
     {
         list = list.iterator();
         do
         {
             if (!list.hasNext())
             {
                 break;
             }
             Device device = (Device)list.next();
             if (device.a(devicefeature))
             {
                 arraylist.add(device);
             }
         } while (true);
     }
     Collections.sort(arraylist, a);
     return arraylist;
 }
 public void a(List<T> paramList, a<T> parama, boolean paramBoolean)
 {
   Iterator localIterator;
   if ((paramBoolean) && (l != null) && (!l.isEmpty()))
   {
     a(l);
     localIterator = paramList.iterator();
   }
   while (localIterator.hasNext())
   {
     com.yelp.android.serializable.f localf = (com.yelp.android.serializable.f)localIterator.next();
     if (com.yelp.android.util.i.a(localf.b(), o) < p * 1.5D)
     {
       l.add(localf);
       continue;
       l = paramList;
     }
   }
   paramList = paramList.iterator();
   while (paramList.hasNext()) {
     a((com.yelp.android.serializable.f)paramList.next(), parama);
   }
 }
 public LabelQueryBuilder filterCanonicalName(List<String> paramList) {
   if ((paramList != null) && (!paramList.isEmpty())) {
     StringBuilder localStringBuilder = new StringBuilder();
     int i = 1;
     paramList = paramList.iterator();
     if (paramList.hasNext()) {
       String str = (String) paramList.next();
       if (i != 0) {
         localStringBuilder.append("canonicalName IN (");
         i = 0;
       }
       for (; ; ) {
         localStringBuilder.append("?");
         mArgs.add(str);
         break;
         localStringBuilder.append(", ");
       }
     }
     localStringBuilder.append(")");
     appendWhereClause(localStringBuilder.toString());
   }
   return this;
 }
Example #29
0
 public final void a(List list) {
   a = list;
   list = a.iterator();
   int i;
   for (i = 0; list.hasNext(); i = Math.max(i, ((c.d) list.next()).b)) {}
   b = i;
   c = a(0.5F, 0.3F, 0.7F, 1.0F, 0.35F, 1.0F);
   g = a(0.74F, 0.55F, 1.0F, 1.0F, 0.35F, 1.0F);
   e = a(0.26F, 0.0F, 0.45F, 1.0F, 0.35F, 1.0F);
   d = a(0.5F, 0.3F, 0.7F, 0.3F, 0.0F, 0.4F);
   h = a(0.74F, 0.55F, 1.0F, 0.3F, 0.0F, 0.4F);
   f = a(0.26F, 0.0F, 0.45F, 0.3F, 0.0F, 0.4F);
   if (c == null && e != null) {
     list = a(e);
     list[2] = 0.5F;
     c = new c.d(android.support.v4.b.a.a(list), 0);
   }
   if (e == null && c != null) {
     list = a(c);
     list[2] = 0.26F;
     e = new c.d(android.support.v4.b.a.a(list), 0);
   }
 }
Example #30
0
  public void insert(List list) {
    if (mActiveIndexes.isEmpty() && mPendingItemsToInsert.isEmpty()) {
      Pair pair;
      for (list = list.iterator();
          list.hasNext();
          mInsertable.add(((Integer) pair.first).intValue(), pair.second)) {
        pair = (Pair) list.next();
        Iterator iterator = mActiveIndexes.iterator();
        do {
          if (!iterator.hasNext()) {
            break;
          }
          AtomicInteger atomicinteger = (AtomicInteger) iterator.next();
          if (atomicinteger.intValue() >= ((Integer) pair.first).intValue()) {
            atomicinteger.incrementAndGet();
          }
        } while (true);
        mActiveIndexes.add(new AtomicInteger(((Integer) pair.first).intValue()));
      }

    } else {
      mPendingItemsToInsert.addAll(list);
    }
  }