Home
last modified time | relevance | path

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

/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
DElizaResponder.java101 private int[] responseCurrentIndices = new int[36]; field in ElizaResponder
108 responseCurrentIndices[i] = CONVERSATION_TO_RESPONSES_MAP[2 * i]; in ElizaResponder()
155 String question = QUESTIONS[responseCurrentIndices[keywordIndex] - 1]; in elzTalk()
156 responseCurrentIndices[keywordIndex] = responseCurrentIndices[keywordIndex] + 1; in elzTalk()
157 if (responseCurrentIndices[keywordIndex] > responseEnds[keywordIndex]) { in elzTalk()
158 responseCurrentIndices[keywordIndex] = responseStarts[keywordIndex]; in elzTalk()