Searched refs:Card (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamFragment.java | 41 … private LinkedHashMap<String, Card> mVisibleCards = new LinkedHashMap<String, Card>(INITIAL_SIZE); 42 private HashMap<String, Card> mHiddenCards = new HashMap<String, Card>(INITIAL_SIZE); 71 public void addCard(Card card) { in addCard() 87 public void addCard(Card card, boolean show) { in addCard() 102 Card card = mVisibleCards.get(tag); in removeCard() 133 final Card card = mHiddenCards.get(tag); in showCard() 154 final Card card = mVisibleCards.get(tag); in hideCard() 168 final Card card = mVisibleCards.get(tag); in dismissCard() 197 public Card getCard(String tag) { in getCard() 198 final Card card = mVisibleCards.get(tag); in getCard() [all …]
|
D | CardStreamState.java | 25 protected Card[] visibleCards; 26 protected Card[] hiddenCards; 30 …protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shown… in CardStreamState()
|
D | Card.java | 39 public class Card { class 97 public Card() { in Card() method in Card 109 public Card setDescription(String desc) { in setDescription() 117 public Card setTitle(String title) { in setTitle() 141 public Card setState(int state) { in setState() 187 public Card setProgressType(int progressType) { in setProgressType() 215 public Card setProgress(int progress) { in setProgress() 227 public Card setMaxProgress(int max){ in setMaxProgress() 241 public Card setProgressLabel(String text) { in setProgressLabel() 256 public Card setProgressVisibility(boolean isVisible) { in setProgressVisibility() [all …]
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
D | BatchStepSensorFragment.java | 29 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 …]
|