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

Lines Matching refs:Constants

45             bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText);
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage);
52 recipeStep.stepText = bundle.getString(Constants.RECIPE_FIELD_STEP_TEXT);
53 recipeStep.stepImage = bundle.getString(Constants.RECIPE_FIELD_STEP_IMAGE);
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE);
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY);
68 if (json.has(Constants.RECIPE_FIELD_IMAGE)) {
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE);
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS);
75 + ingredients.getJSONObject(i).getString(Constants.RECIPE_FIELD_TEXT) + "\n";
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS);
82 recipeStep.stepText = step.getString(Constants.RECIPE_FIELD_TEXT);
83 if (step.has(Constants.RECIPE_FIELD_IMAGE)) {
84 recipeStep.stepImage = step.getString(Constants.RECIPE_FIELD_IMAGE);
97 bundle.putString(Constants.RECIPE_FIELD_TITLE, titleText);
98 bundle.putString(Constants.RECIPE_FIELD_SUMMARY, summaryText);
99 bundle.putString(Constants.RECIPE_FIELD_IMAGE, recipeImage);
100 bundle.putString(Constants.RECIPE_FIELD_INGREDIENTS, ingredientsText);
106 bundle.putParcelableArrayList(Constants.RECIPE_FIELD_STEPS, stepBundles);
113 recipe.titleText = bundle.getString(Constants.RECIPE_FIELD_TITLE);
114 recipe.summaryText = bundle.getString(Constants.RECIPE_FIELD_SUMMARY);
115 recipe.recipeImage = bundle.getString(Constants.RECIPE_FIELD_IMAGE);
116 recipe.ingredientsText = bundle.getString(Constants.RECIPE_FIELD_INGREDIENTS);
118 bundle.getParcelableArrayList(Constants.RECIPE_FIELD_STEPS);