Home | History | Annotate | Download | only in com.example.android.batchstepsensor

Lines Matching refs:Card

29 import com.example.android.batchstepsensor.cardstream.Card;
40 // Card tags
56 // Action from COUNTING card
82 // Number of events to keep in queue and display on card
112 // Prepare all cards and show the intro card.
115 // Show the registration card if the hardware is supported, show an error otherwise
156 * Handles a click on a card action.
160 * Actions are defined when a card is created.
170 // Register Step Counter card
181 // Register Step Detector card
192 // Unregister card
202 // permanently remove the batch description card, it will not be shown again
206 // permanently remove the explanation card, it will not be shown again
210 // For register cards, display the counting card
274 // Batch mode was enabled successfully, show a description card
278 // Show the explanation card
329 // Update the card with the latest step count
357 // Update the card with the latest step count
454 * Hides the registration cards, reset the counter and show the step counting card.
461 // Show the explanation card if it has not been dismissed
464 // Reset the step counter, then show the step counting card
467 // Set the inital text for the step counting card before a step is recorded
479 // Show the counting card and make it undismissable
485 * Show the introduction card
488 Card c = new Card.Builder(this, CARD_INTRO)
510 * Show the error card.
521 Card c = new Card.Builder(this, CARD_COUNTING)
524 .addAction("Unregister Listener", ACTION_UNREGISTER, Card.ACTION_NEGATIVE)
529 c = new Card.Builder(this, CARD_REGISTER_DETECTOR)
533 ACTION_REGISTER_DETECT_NOBATCHING, Card.ACTION_NEUTRAL)
535 ACTION_REGISTER_DETECT_BATCHING_5s, Card.ACTION_NEUTRAL)
537 ACTION_REGISTER_DETECT_BATCHING_10s, Card.ACTION_NEUTRAL)
542 c = new Card.Builder(this, CARD_REGISTER_COUNTER)
546 ACTION_REGISTER_COUNT_NOBATCHING, Card.ACTION_NEUTRAL)
548 ACTION_REGISTER_COUNT_BATCHING_5s, Card.ACTION_NEUTRAL)
550 ACTION_REGISTER_COUNT_BATCHING_10s, Card.ACTION_NEUTRAL)
556 c = new Card.Builder(this, CARD_BATCHING_DESCRIPTION)
560 ACTION_BATCHING_DESCRIPTION_DISMISS, Card.ACTION_POSITIVE)
565 c = new Card.Builder(this, CARD_EXPLANATION)
568 ACTION_EXPLANATION_DISMISS, Card.ACTION_POSITIVE)
573 c = new Card.Builder(this, CARD_NOBATCHSUPPORT)