Home | History | Annotate | Download | only in com.example.android.wearable.quiz

Lines Matching full:quiz

17 package com.example.android.wearable.quiz;
19 import static com.example.android.wearable.quiz.Constants.ANSWERS;
20 import static com.example.android.wearable.quiz.Constants.CHOSEN_ANSWER_CORRECT;
21 import static com.example.android.wearable.quiz.Constants.CORRECT_ANSWER_INDEX;
22 import static com.example.android.wearable.quiz.Constants.NUM_CORRECT;
23 import static com.example.android.wearable.quiz.Constants.NUM_INCORRECT;
24 import static com.example.android.wearable.quiz.Constants.NUM_SKIPPED;
25 import static com.example.android.wearable.quiz.Constants.QUESTION;
26 import static com.example.android.wearable.quiz.Constants.QUESTION_INDEX;
27 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_ANSWERED;
28 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_DELETED;
29 import static com.example.android.wearable.quiz.Constants.QUIZ_ENDED_PATH;
30 import static com.example.android.wearable.quiz.Constants.QUIZ_EXITED_PATH;
31 import static com.example.android.wearable.quiz.Constants.RESET_QUIZ_PATH;
87 private static final String QUIZ_JSON_FILE = "Quiz.json";
162 // Tell the wearable to end the quiz (counting unanswered questions as skipped), and then
258 * Create a quiz, as defined in Quiz.json, when the user clicks on "Read quiz from file."
396 * Asks the next enqueued question if it exists, otherwise ends the quiz.
400 // Quiz has been completed - send message to wearable to display end report.
433 * Resets the current quiz when Reset Quiz is pressed.
436 // Reset quiz status in phone layout.
455 Log.d(TAG, "Reset quiz: failed to get Data Items to reset");
519 * Clears the current quiz when user clicks on "New Quiz."
520 * On this end, this involves clearing the quiz status layout and deleting all DataItems. The
539 Log.d(TAG, "Clear quiz: failed to get Data Items for "
556 * Removes quiz status views (i.e. the views describing the status of each question).