Home
last modified time | relevance | path

Searched refs:mVisibleCards (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java42 … private LinkedHashMap<String, Card> mVisibleCards = new LinkedHashMap<String, Card>(INITIAL_SIZE); field in CardStreamFragment
75 if (!mVisibleCards.containsKey(tag) && !mHiddenCards.containsKey(tag)) { in addCard()
103 Card card = mVisibleCards.get(tag); in removeCard()
106 mVisibleCards.remove(tag); in removeCard()
136 if (card != null && !mVisibleCards.containsValue(tag)) { in showCard()
138 mVisibleCards.put(tag, card); in showCard()
155 final Card card = mVisibleCards.get(tag); in hideCard()
157 mVisibleCards.remove(tag); in hideCard()
169 final Card card = mVisibleCards.get(tag); in dismissCard()
172 mVisibleCards.remove(tag); in dismissCard()
[all …]