Home
last modified time | relevance | path

Searched refs:Card (Results 1 – 4 of 4) 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);
43 private HashMap<String, Card> mHiddenCards = new HashMap<String, Card>(INITIAL_SIZE);
72 public void addCard(Card card) { in addCard()
88 public void addCard(Card card, boolean show) { in addCard()
103 Card card = mVisibleCards.get(tag); in removeCard()
134 final Card card = mHiddenCards.get(tag); in showCard()
155 final Card card = mVisibleCards.get(tag); in hideCard()
169 final Card card = mVisibleCards.get(tag); in dismissCard()
198 public Card getCard(String tag) { in getCard()
199 final Card card = mVisibleCards.get(tag); in getCard()
[all …]
DCardStreamState.java26 protected Card[] visibleCards;
27 protected Card[] hiddenCards;
31 …protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shown… in CardStreamState()
DCard.java40 public class Card { class
98 public Card() { in Card() method in Card
110 public Card setDescription(String desc) { in setDescription()
118 public Card setTitle(String title) { in setTitle()
142 public Card setState(int state) { in setState()
188 public Card setProgressType(int progressType) { in setProgressType()
216 public Card setProgress(int progress) { in setProgress()
228 public Card setMaxProgress(int max){ in setMaxProgress()
242 public Card setProgressLabel(String text) { in setProgressLabel()
257 public Card setProgressVisibility(boolean isVisible) { in setProgressVisibility()
[all …]
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java29 import com.example.android.batchstepsensor.cardstream.Card;
488 Card c = new Card.Builder(this, CARD_INTRO) in showIntroCard()
521 Card c = new Card.Builder(this, CARD_COUNTING) in initialiseCards()
524 .addAction("Unregister Listener", ACTION_UNREGISTER, Card.ACTION_NEGATIVE) in initialiseCards()
529 c = new Card.Builder(this, CARD_REGISTER_DETECTOR) in initialiseCards()
533 ACTION_REGISTER_DETECT_NOBATCHING, Card.ACTION_NEUTRAL) in initialiseCards()
535 ACTION_REGISTER_DETECT_BATCHING_5s, Card.ACTION_NEUTRAL) in initialiseCards()
537 ACTION_REGISTER_DETECT_BATCHING_10s, Card.ACTION_NEUTRAL) in initialiseCards()
542 c = new Card.Builder(this, CARD_REGISTER_COUNTER) in initialiseCards()
546 ACTION_REGISTER_COUNT_NOBATCHING, Card.ACTION_NEUTRAL) in initialiseCards()
[all …]