• Home
  • Raw
  • Download

Lines Matching refs:Constants

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