Home
last modified time | relevance | path

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

/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java216 private String[] answers; field in MainActivity.Question
219 public Question(String question, int questionIndex, String[] answers, in Question() argument
223 this.answers = answers; in Question()
231 String[] answers = new String[JsonUtils.NUM_ANSWER_CHOICES]; in fromJson() local
233 answers[j] = answersJsonArray.getString(j); in fromJson()
236 return new Question(question, questionIndex, answers, correctIndex); in fromJson()
249 dataMap.putStringArray(ANSWERS, answers); in toPutDataRequest()
280 String[] answers = new String[4]; in addQuestion() local
281 answers[0] = choiceAEditText.getText().toString(); in addQuestion()
282 answers[1] = choiceBEditText.getText().toString(); in addQuestion()
[all …]
/development/samples/browseable/Quiz/
D_index.jd12 …by answers as actions. When an answer is selected, the corresponding question\'s DataItem is updat…
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java106 String[] answers = dataMap.getStringArray(ANSWERS); in onDataChanged() local
124 for (int i = 0; i < answers.length; i++) { in onDataChanged()
127 .setContentText(answers[i]) in onDataChanged()
/development/tools/repo_pull/
Drepo_pull.py109 answers = {'': default, 'y': True, 'yes': True, 'n': False, 'no': False}
114 ans = answers.get(input().lower())