HomeSort by relevance Sort by last modified time
    Searched refs:mStreamCards (Results 1 - 2 of 2) sorted by null

  /packages/apps/Car/Overview/src/com/android/car/overview/
StreamAdapter.java 50 private final ArrayList<StreamCard> mStreamCards = new ArrayList<>(mMaxItems);
85 Log.d(TAG, "Stream Card being bound: " + mStreamCards.get(position));
87 holder.bindStreamCard(mStreamCards.get(position));
92 StreamCard card = mStreamCards.get(position);
111 return mStreamCards.size();
126 mStreamCards.clear();
146 if (mStreamCards.size() >= mMaxItems) {
147 StreamCard removedCard = mStreamCards.remove(mStreamCards.size() - 1);
153 int size = mStreamCards.size()
    [all...]
  /packages/apps/Car/Stream/src/com/android/car/stream/
StreamService.java 41 private LinkedHashMap<Pair<Integer, Long>, StreamCard> mStreamCards = new LinkedHashMap<>();
94 Log.d(TAG, "Fetching all stream items, # cards: " + mStreamCards.size());
97 List<StreamCard> cards = new ArrayList(mStreamCards.values());
125 mStreamCards.put(getStreamCardKey(card), card);
144 mStreamCards.remove(getStreamCardKey(card));

Completed in 945 milliseconds